Instructions to use MoYoYoTech/Translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use MoYoYoTech/Translator with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="MoYoYoTech/Translator", filename="moyoyo_asr_models/qwen2.5-1.5b-instruct-q5_0.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use MoYoYoTech/Translator with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf MoYoYoTech/Translator:Q5_0 # Run inference directly in the terminal: llama-cli -hf MoYoYoTech/Translator:Q5_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf MoYoYoTech/Translator:Q5_0 # Run inference directly in the terminal: llama-cli -hf MoYoYoTech/Translator:Q5_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf MoYoYoTech/Translator:Q5_0 # Run inference directly in the terminal: ./llama-cli -hf MoYoYoTech/Translator:Q5_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf MoYoYoTech/Translator:Q5_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf MoYoYoTech/Translator:Q5_0
Use Docker
docker model run hf.co/MoYoYoTech/Translator:Q5_0
- LM Studio
- Jan
- Ollama
How to use MoYoYoTech/Translator with Ollama:
ollama run hf.co/MoYoYoTech/Translator:Q5_0
- Unsloth Studio
How to use MoYoYoTech/Translator with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MoYoYoTech/Translator to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MoYoYoTech/Translator to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for MoYoYoTech/Translator to start chatting
- Pi
How to use MoYoYoTech/Translator with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf MoYoYoTech/Translator:Q5_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "MoYoYoTech/Translator:Q5_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use MoYoYoTech/Translator with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf MoYoYoTech/Translator:Q5_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default MoYoYoTech/Translator:Q5_0
Run Hermes
hermes
- Docker Model Runner
How to use MoYoYoTech/Translator with Docker Model Runner:
docker model run hf.co/MoYoYoTech/Translator:Q5_0
- Lemonade
How to use MoYoYoTech/Translator with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MoYoYoTech/Translator:Q5_0
Run and chat with the model
lemonade run user.Translator-Q5_0
List all available models
lemonade list
Commit History
update prompt for en de24d4c
update prompt for en 92c088c
fix bug of queue lock 9694503
daihui.zhang commited on
update english prompt 22453ce
daihui.zhang commited on
[fix]: upate web. 58fbad4
Xin Zhang commited on
remove truncate in audio buffer 812e042
daihui.zhang commited on
[docs]: update installation. 9435daa
Xin Zhang commited on
[fix]: remove 3b fef15f0
Xin Zhang commited on
[fix]: update web. 9226b1d
Xin Zhang commited on
[fix]: whisper_full_with_state: input is too short - 990 ms < 1000 ms. consider padding the input audio with silence. 1b8024b
Xin Zhang commited on
[fix]: to 1.5b 632b469
Xin Zhang commited on
filter empty message 0b2caa6
daihui.zhang commited on
update zh-en prompt add limit d138458
daihui.zhang commited on
update code structures and some code 83ea845
daihui.zhang commited on
update prompts and words b37f1c3
daihui.zhang commited on
Merge branch 'vad' of https://huggingface.co/MoYoYoTech/Translator into vad ad6ae02
update llm prompt bfd9052
moyoyo commited on
update whipser model default d2c2833
daihui.zhang commited on
update whipser model 1bc8991
daihui.zhang commited on
Using local model for FunASR. ffb2e23
liumaolin commited on
Track some large files or binary files by Git-LFS. 22452df
liumaolin commited on
fix translate 7b bug 24e1205
daihui.zhang commited on
update prompt keywords 9522b50
daihui.zhang commited on
在FunASR模型初始化时添加disable_update参数以禁用更新。 1c053c4
liumaolin commited on
change config folder structures 3acb7f3
daihui.zhang commited on
update and add keywords list afeed8e
daihui.zhang commited on
[fix]: update web. dfe0957
Xin Zhang commited on
add translate from 7b model when partial==False f13dceb
daihui.zhang commited on
[fix]: logging level. 418e265
Xin Zhang commited on
add string replace 0d81579
david commited on
[fix]: parameter. 3556e74
Xin Zhang commited on
[fix]: hot words. 74a8bdc
Xin Zhang commited on
Merge branches 'vad' and 'vad' of hf.co:MoYoYoTech/Translator into vad 678732f
Xin Zhang commited on
[fix]: update. 11f0e65
Xin Zhang commited on
fix 'transcrible' named error 1c6c20c
daihui.zhang commited on
Merge branch 'vad' of hf.co:MoYoYoTech/Translator into vad 23ac623
Xin Zhang commited on
[fix]: hot words. de598c1
Xin Zhang commited on
update some keywords 996895d
daihui.zhang commited on
add speech start padding 100ms f14a125
daihui.zhang commited on
Merge branch 'vad' of hf.co:MoYoYoTech/Translator into vad 89384e7
Xin Zhang commited on
[fix]: words. e2963fd
Xin Zhang commited on
fix max speech duration bug 93a0cf7
daihui.zhang commited on
remove time delaly in loop 4499bab
daihui.zhang commited on
add DESIGN_TIME_THREHOLD 9be4c60
daihui.zhang commited on
添加热词文件路径配置,并在生成模型时使用热词参数。 d289ad0
liumaolin commited on
Disable FunASR pbar in Warmup. 4c23586
liumaolin commited on
update log level c5cc64b
daihui.zhang commited on
remove unused codes 07f9733
daihui.zhang commited on
remove unused codes 98c9c23
daihui.zhang commited on