← 开源

An all-in-one solution to stark-level productivity running offline on your MacBook using SOTA technology.

Python
增长势头
+024 小时新增 Star0.0%
547
Star
70
Fork
+5
本周
2
贡献者
创建于 2024-04-28 · 更新于 2026-12-05 · 今日第 22249 名
主要开发者
carterlabshuwprosser
README

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!

排名相邻

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载