Skip to content

Personal voice assistant using Whisper Ai and OpenLLaMa

License

Notifications You must be signed in to change notification settings

mlemosf/jarvis-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jarvis

Jarvis is a personal voice assistant built on open source software. It runs everything on the host machine and is intended for people looking to run a GPT-like assistant on their own infrastructure.
Jarvis uses OpenAI's Whisper for speech-to-text transcription and llama.cpp (with the OpenLLaMa 3b model) as a Large Language Model, focused on user interaction. OpenLLaMa is an openly licensed reproduction of Meta's original LlaMa model.

Dependencies

The project uses the folowing projects as dependencies:

  • arecord (voice recording);
  • Python >= 3.9
  • virtualenv
  • whisper (speech-to-text);
  • llama.cpp (Text generation);

Installation

  1. Clone the repository:
git clone https://github.com/mlemosf/jarvis-assistant
  1. Enter the main folder:
cd jarvis-assistant
  1. Create a virtual environment and activate it:
virtualenv venv
source venv/bin/activate
  1. Clone the whisper repository:
git clone https://github.com/openai/whisper.git
  1. Clone the llama.cpp repository and follow the installation procedures. We recommend using the CUDA build:
git clone https://github.com/ggerganov/llama.cpp
  1. Run the setup script:
./setup.sh
  1. Run the Jarvis script
./run.sh

References

  1. OpenLLaMa

About

Personal voice assistant using Whisper Ai and OpenLLaMa

Resources

License

Stars

Watchers

Forks

Packages

No packages published