Перейти к содержимому
TakoAPI
Назад к навыкам

mlx-local-inference

от bendusy

DevOps & Cloud
329Число загрузок по данным clawskills.sh
1Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Full local AI inference stack on Apple Silicon Macs via MLX.

Описание

Что делает этот навык

Runs a full AI inference stack locally on Apple Silicon Macs using the MLX framework. Covers LLM chat (Qwen3-14B, Gemma3-12B), speech-to-text via Whisper and Qwen3-ASR, text embeddings, OCR with PaddleOCR, and text-to-speech. All services expose OpenAI-compatible APIs on localhost.

Eliminates cloud API costs and keeps all data local while exposing the same OpenAI-compatible API format that most AI tooling already supports.

Когда его использовать

  • Transcribing Cantonese audio without uploading to cloud services
  • Running privacy-sensitive LLM queries entirely on-device
  • Extracting text from scanned documents or images via OCR
  • Building local semantic search with on-device text embeddings
  • Auto-transcribing a folder of meeting recordings in the background

Пример сценария

ВВОД

User asks: Transcribe and clean up the Cantonese meeting recording at ~/Downloads/meeting.m4a

АГЕНТ
  1. 1

    Copy meeting.m4a into ~/transcribe/ to trigger the daemon

  2. 2

    Daemon detects the file within 15 seconds and sends it to Qwen3-ASR on port 8788

  3. 3

    ASR output is saved as meeting_raw.md with the raw transcript

  4. 4

    Qwen3-14B reads the raw transcript, corrects homophones, adds punctuation, and preserves Cantonese characters

  5. 5

    Corrected file is moved to ~/transcribe/done/meeting_corrected.md

ВЫВОД

meeting_corrected.md in ~/transcribe/done/ with a clean, punctuated Cantonese transcript

Требования

  • Apple Silicon Mac (M1, M2, M3, or M4)
  • Python packages: mlx, mlx-lm, mlx-audio, mlx-vlm

Установка

clawhub install bendusy/mlx-local-inference

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки