huwprosser/jarvis-mlx
Acerca de
Una solución todo en uno para una productividad de nivel Stark, que funciona sin conexión en tu MacBook mediante tecnología SOTA.
Productividad y automatizaciónCrecimiento de estrellas medido
- in 24h
- +1
- in 7 days
- +5
- in 15 days
- +10
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalJarvis MLX
⚠️ This project is very out of date - while it offers a great place to start, it does not reflect current progress! Follow me on IG for updates!
An all-in-one solution to stark-level productivity running offline on your MacBook using SOTA technology and MLX, Apple's new machine learning framework optimized for Apple Silicon.
Native python is required to run MLX libs:
python -c "import platform; print(platform.processor())"
should say "arm"
CONDA_SUBDIR=osx-arm64 conda create -n native numpy -c conda-forge
will create a conda env with numpy for arm64 called "native"
Firstly, pip install the requirements:
pip install -r requirements.txt
Speech-to-text (STT)
Using Whisper for this. SOTA speech recognition opensourced by openai and trained on 1.5k hours of audio. It's a tiny model that runs on your macbook, upgradable to larger models in the series for better performance.
Helpful link: Whisper MLX
Large Language Model
Using Phi 3 out the box you can achieve 60 tokens per second on an M1 Max. You can also finetune your own models and load them in. I'd highly recommend Mistral or Llama 3.
Text-to-speech (TTS)
For this, I opted to use MeloTTS. It's not as hyped up as some other offerings but it's fast, runs on a mac and finetunable on custom data using the original repo. A stripped down version of the inference code for english can be found in /melo.
Please note, out the box Jarvis-mlx has a female voice. You will need to train your own MeloTTS model to change this. Finetuning Phi 3 will also achieve much better behaviour.
PRs Welcome!
Explorar proyectos relacionados
Cargando…