Run this model with HF Jobs
Run jyh8876/vinylo-e2b-lyrics on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/jyh8876/vinylo-e2b-lyrics. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/jyh8876/vinylo-e2b-lyrics on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/jyh8876/vinylo-e2b-lyrics. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/jyh8876/vinylo-e2b-lyrics. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use jyh8876/vinylo-e2b-lyrics with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT-LM
How to use jyh8876/vinylo-e2b-lyrics with LiteRT-LM:
# LiteRT-LM runs on various platforms (Android, iOS, Windows, Linux, macOS, IoT, Web/WASM) # and supports many APIs (C++, Python, Kotlin, Swift, JavaScript, Flutter). # For platform-specific integration guides, please refer to the official developer website: # https://ai.google.dev/edge/litert-lm # To try LiteRT-LM, the easiest way is to use our CLI tool. # 1. Install the LiteRT-LM CLI tool: pip install -U litert-lm # 2. Download and run this model locally: # See: https://ai.google.dev/edge/litert-lm/cli # A single .litertlm file in the repo is picked automatically; otherwise the CLI asks which one to run # (or pass its name right after the repo id). litert-lm run \ --from-huggingface-repo=jyh8876/vinylo-e2b-lyrics \ --prompt="Write me a poem"
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use jyh8876/vinylo-e2b-lyrics with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf jyh8876/vinylo-e2b-lyrics:Q2_K # Run inference directly in the terminal: llama cli -hf jyh8876/vinylo-e2b-lyrics:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf jyh8876/vinylo-e2b-lyrics:Q2_K # Run inference directly in the terminal: llama cli -hf jyh8876/vinylo-e2b-lyrics:Q2_K
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf jyh8876/vinylo-e2b-lyrics:Q2_K # Run inference directly in the terminal: ./build/bin/llama cli -hf jyh8876/vinylo-e2b-lyrics:Q2_K
Use Docker
docker model run hf.co/jyh8876/vinylo-e2b-lyrics:Q2_K
- Llama new
- LM Studio
- Jan
- vLLM
How to use jyh8876/vinylo-e2b-lyrics with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jyh8876/vinylo-e2b-lyrics" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jyh8876/vinylo-e2b-lyrics", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jyh8876/vinylo-e2b-lyrics:Q2_K
- Ollama
How to use jyh8876/vinylo-e2b-lyrics with Ollama:
ollama run hf.co/jyh8876/vinylo-e2b-lyrics:Q2_K
- Unsloth Desktop
- Pi
How to use jyh8876/vinylo-e2b-lyrics with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jyh8876/vinylo-e2b-lyrics:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "jyh8876/vinylo-e2b-lyrics:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use jyh8876/vinylo-e2b-lyrics with Docker Model Runner:
docker model run hf.co/jyh8876/vinylo-e2b-lyrics:Q2_K
- Lemonade
How to use jyh8876/vinylo-e2b-lyrics with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull jyh8876/vinylo-e2b-lyrics:Q2_K
Run and chat with the model
lemonade run user.vinylo-e2b-lyrics-Q2_K
List all available models
lemonade list
- Hermes Agent
How to use jyh8876/vinylo-e2b-lyrics with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jyh8876/vinylo-e2b-lyrics:Q2_K
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:9931/v1 hermes config set model.default jyh8876/vinylo-e2b-lyrics:Q2_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use jyh8876/vinylo-e2b-lyrics with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf jyh8876/vinylo-e2b-lyrics:Q2_K
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:9931/v1 \ --custom-model-id "jyh8876/vinylo-e2b-lyrics:Q2_K" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Vinylo E2B Lyrics
On-device song-lyrics translation between Korean, English, Japanese and Chinese (12 directions), with a sung-pronunciation reading for every line, as JSON.
- Original model: google/gemma-4-E2B-it (Google DeepMind, Apache 2.0). Fine-tuned and quantized derivative; not an official Google release.
- Teacher: google/gemma-4-31B-it, which wrote the training lyrics and reference translations.
| File | Format | Size | Runtime |
|---|---|---|---|
vinylo-e2b-lyrics-Q2_K-qat.gguf |
2-bit QAT, 52k vocab | 0.98 GB | llama.cpp |
vinylo-e2b-lyrics-Q5_K_M.gguf |
Q5_K_M + imatrix | 3.62 GB | llama.cpp |
vinylo-e2b-lyrics-int4.litertlm |
int4 | 2.64 GB | LiteRT-LM (Android) |
Text only (no vision/audio encoders).
Usage
llama-server -m vinylo-e2b-lyrics-Q2_K-qat.gguf -c 4096 -ngl 99 --port 8080
python example.py --target ko lyrics.txt # one lyric line per text line
example.py builds the exact prompt below and sends 8-line chunks (greedy). Prompt (<TARGET> = Korean (ko),
English (en), Japanese (ja) or Simplified Chinese (zh); the reading script is Hangul, Katakana, Pinyin or Latin letters):
<bos><|turn>system
You translate song lyrics for language learners.
Translate each numbered line into natural, idiomatic <TARGET>.
Rules:
- Keep the meaning, tone and register of the song; prefer natural phrasing over literal word order.
- Use the surrounding lines as context for pronouns, tense and slang.
- Return exactly one entry per input index. Never merge or split lines.
- If a line is already in <TARGET NAME>, return it with "copy": true and no translation.
- For every translated line also give "r": how the ORIGINAL line sounds when sung, written in <READING SCRIPT>. Transcribe the sound only; do not translate it. Leave "r" out when the original is already written in that script.
- Do not censor the original meaning.
Respond only with JSON: {"lines":[{"i":0,"t":"...","r":"..."},{"i":1,"copy":true}]}<turn|>
<|turn>user
0 時計の針が 胸を突き
1 眠れぬ夜の 迷い路(みじ)を行く<turn|>
<|turn>model
Output (Q2_K QAT, unedited):
{"lines":[{"i":0,"t":"시계 바늘이 가슴을 찔러","r":"토케이노 하리가 무네오 츠키"},{"i":1,"t":"잠 못 이루는 밤의 미로를 헤매네","r":"네무레누 요루노 미지오 오쿠"}]}
Benchmarks
129 held-out eight-line chunks (12 directions), greedy, llama.cpp. valid = passes the app's JSON/language validator; chrF = agreement with the teacher's translation (t) and reading (r).
| Model | Size | valid % | chrF t | chrF r |
|---|---|---|---|---|
| Stock Gemma 4 E2B QAT Q4_0 (Google) | 3.35 GB | 67.4 | 33.0 | 34.7 |
| This model, f16 (not uploaded) | 9.27 GB | 99.2 | 48.7 | 78.3 |
| This model, Q5_K_M | 3.62 GB | 98.4 | 48.4 | 79.1 |
| This model, Q2_K QAT | 0.98 GB | 100.0 | 48.4 | 82.0 |
LiteRT-LM int4 (mean over directions): 95.2 valid, 37.9 chrF t, 64.1 chrF r.
Examples (Q2_K QAT, unedited)
| Direction | Original | Translation | Reading |
|---|---|---|---|
| ja→ko | 酒に酔いしれて 夢を請う | 술에 취해 꿈을 청하네 | 사케니 요이시레테 유메오 우타우 ✗ |
| zh→ko | 霓虹灯把影子拉得太长 像个还没睡醒的梦在游荡 | 네온사인이 그림자를 너무 길게 늘어뜨려, 깨어나지 못한 꿈이 방황하는 것 같아 | 니홍덩 바 잉즈 라더 타이창 샹거 하이메이 슈이싱더 멍 짜이 요우당 |
| en→ja | Sick of the games and the snakes in the grass | 駆け引きも、裏切り者も、もううんざりだ | シック オブ ザ ゲームズ アンド ザ スネイクス イン ザグラス |
| ko→en | 금강산 옥빛보다 찬란한 내 자태여 | My figure is more brilliant than the jade-green of Mount Songgang ✗ | geumgangsan okbit-boda chanranhan nae jateyeo |
✗ = error (請う should read 코우; 금강산 is Mount Geumgang). Inputs are lyrics written by the teacher, not real songs.
How it was made
- Data: the teacher wrote 600 original songs (150 per language) and translated each into the other three languages with the app prompt; ~5k validated examples.
- SFT: LoRA r=32 on the text decoder, merged.
- Q2_K QAT file:
- vocabulary trimmed 262k → 52k (ko/ja/zh/en, byte fallback)
- embeddings → Q4_0
- decoder trained with 2-bit quantization-aware self-distillation in the exact ggml Q2_K format and written bit-exact into the GGUF
Limitations
- Proper nouns are weak, especially in the 2-bit file (渋谷 → "Shinjuku", 浅草の雷門 → "Senso-ji Torii gate"). Use Q5_K_M when names matter.
- Occasional homograph or reading errors; rare slang may stay untranslated.
- Built for this prompt and ≤ 8 lines per request; not a chat model.
License
Apache 2.0, the same as the original model (Gemma 4 license).
See LICENSE and NOTICE (attribution and list of modifications). Provided "as is", without
warranty. Not affiliated with or endorsed by Google.
- Downloads last month
- 437
2-bit
5-bit


