This repository contains a fully functional speech-to-speech chatbot pipeline that supports conversation in Malayalam. The chatbot allows users to interact in Malayalam, both in spoken form and through image-based queries. And the model will respond back in Malayalam.
18
stars
5
commits
Python
primary language
Aug 28, 2024
updated
MalayaLLM AI Assistant is a comprehensive speech-to-speech pipeline that enables users to interact with an AI assistant in the Malayalam language. The application integrates state-of-the-art Automatic Speech Recognition (ASR), Voice Activity Detection (VAD), Text-to-Speech (TTS), and Natural Language Processing (NLP) to create a seamless user experience. This project is developed in Python and uses a variety of libraries to perform real-time audio processing, transcription, and response generation.
Replace <porcupine_token> in the code with your actual Porcupine access token. You also need to download or create a keyword model file (e.g., jarvis.ppn).
Run the Application:
Either you can run the llamacpp server to run a GGUF file.(See the details below), or you can start the flask server
python flask_server.py
python Malayalam_chatbot.py
GUI Overview:
Real-Time Interaction:
Wake Word Detection:
Audio Recording:
Voice Activity Detection:
Speech Recognition:
Response Generation:
Text-to-Speech:
Real-Time Display:
Image Processing:
llama.cpp locally, follow the instructions provided in the build documentation.llama.cpp, you can run it as a web server. Below is an example of how to start the server:
llama-server.exe -m gemma_2_9b_instruction.Q4_K_M.gguf -ngl 42 -c 128 -n 100
5 commits
Python
100.0%
This repository contains a fully functional speech-to-speech chatbot pipeline that supports conversation in Malayalam. The chatbot allows users to interact in Malayalam, both in spoken form and through image-based queries. And the model will respond back in Malayalam.
18
stars
5
commits
Python
primary language
Aug 28, 2024
updated
MalayaLLM AI Assistant is a comprehensive speech-to-speech pipeline that enables users to interact with an AI assistant in the Malayalam language. The application integrates state-of-the-art Automatic Speech Recognition (ASR), Voice Activity Detection (VAD), Text-to-Speech (TTS), and Natural Language Processing (NLP) to create a seamless user experience. This project is developed in Python and uses a variety of libraries to perform real-time audio processing, transcription, and response generation.
Replace <porcupine_token> in the code with your actual Porcupine access token. You also need to download or create a keyword model file (e.g., jarvis.ppn).
Run the Application:
Either you can run the llamacpp server to run a GGUF file.(See the details below), or you can start the flask server
python flask_server.py
python Malayalam_chatbot.py
GUI Overview:
Real-Time Interaction:
Wake Word Detection:
Audio Recording:
Voice Activity Detection:
Speech Recognition:
Response Generation:
Text-to-Speech:
Real-Time Display:
Image Processing:
llama.cpp locally, follow the instructions provided in the build documentation.llama.cpp, you can run it as a web server. Below is an example of how to start the server:
llama-server.exe -m gemma_2_9b_instruction.Q4_K_M.gguf -ngl 42 -c 128 -n 100
5 commits
Python
100.0%