Downloads · 30 days
0
foduucom/VoiceAssistant
VoiceAssistant is a machine learning model from foduucom. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
<p align="center" <img src="https://img.freepik.com/free-vector/people-with-mobile-phones-using-smart-voice-assistant-software-man-woman-near-screen-with-microphone-soundwaves-sound-recording-app-interface-ai-technolo…
Downloads · 30 days
0
Access
Public
Updated Jul 20, 2024
Repo size
—
Likes
1
Public
Click a slice to open those files.
.jpg50.2 KB · 81%
From the Hugging Face model README
This project implements a voice assistant that uses Retrieval-Augmented Generation (RAG) and speech recognition to provide responses to user queries. The assistant can listen to voice input, process it, and respond with synthesized speech based on the knowledge base you passed.
Before running this project, make sure you have the following dependencies installed:
git clone https://huggingface.co/foduucom/Voice-Assistant-using-RAG
conda create -n VoiceAI python==3.10
conda activate VoiceAI
pip install -r requirements.txt
For Ollama, follow the installation instructions on their official website https://ollama.com/library/llama3.
KnowledgeBase.pdf file in the same directory as the script. This file will be used to create the knowledge base for the RAG system.http://localhost:11434 with the llama3 model loaded.To run the voice assistant, execute the following command in your terminal:
python Voice_Assistant.py
The assistant will start listening for your voice input. Speak clearly into your microphone to ask questions or give commands. The assistant will process your input and respond with synthesized speech.
KnowledgeBase.pdf and creates a FAISS vector store using sentence embeddings.KnowledgeBase.pdf with your own PDF file and update the filename in the script.model_name in the HuggingFaceEmbeddings initialization.model parameter in the Ollama initialization.For inquiries and contributions, please contact us at info@foduu.com.
@ModelCard{
author = {Nehul Agrawal and Roshan Kshirsagar}
title = {Voice Assistant},
year = {2024}
}