huwprosser/jarvis-mlx
概要
SOTA 技術を使い、MacBook 上でオフライン動作する、Stark 級の生産性を実現するオールインワンソリューション。
仕事効率化・自動化計測したスター増加
- 24時間
- +1
- 7日間
- +5
- 15日間
- +10
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルJarvis 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!
関連プロジェクトを探す
読み込み中…