Instructions to use Sankar-2910/genz-translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Sankar-2910/genz-translator 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 Sankar-2910/genz-translator:Q4_K_M # Run inference directly in the terminal: llama cli -hf Sankar-2910/genz-translator:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Sankar-2910/genz-translator:Q4_K_M # Run inference directly in the terminal: llama cli -hf Sankar-2910/genz-translator:Q4_K_M
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 Sankar-2910/genz-translator:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Sankar-2910/genz-translator:Q4_K_M
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 Sankar-2910/genz-translator:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Sankar-2910/genz-translator:Q4_K_M
Use Docker
docker model run hf.co/Sankar-2910/genz-translator:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use Sankar-2910/genz-translator with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Sankar-2910/genz-translator" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Sankar-2910/genz-translator", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Sankar-2910/genz-translator:Q4_K_M
- Ollama
How to use Sankar-2910/genz-translator with Ollama:
ollama run hf.co/Sankar-2910/genz-translator:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Sankar-2910/genz-translator with Docker Model Runner:
docker model run hf.co/Sankar-2910/genz-translator:Q4_K_M
- Lemonade
How to use Sankar-2910/genz-translator with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Sankar-2910/genz-translator:Q4_K_M
Run and chat with the model
lemonade run user.genz-translator-Q4_K_M
List all available models
lemonade list
- Atomic Chat
genz-translator
A small (~17M parameter) decoder-only transformer trained entirely from scratch β random weight initialization, no pretrained base, no fine-tuning β to translate Gen Z slang into standard English.
Training data
~139,074 cleaned instruction/input/output rows (two fixed instruction types: single sentence vs. paragraph translation). Split 90/5/5 into train/val/test, seeded and stratified by instruction type.
Architecture
- Decoder-only transformer (
LlamaConfig), 6 layers, hidden size 384, 6 attention heads, tied embeddings. - Custom byte-level BPE tokenizer, vocab size 8000, trained only on this dataset.
- Max sequence length 384 (chosen from the p99 of training token lengths).
Limitation β small from-scratch dataset
~130k short instruction pairs is small for pretraining completely from random initialization. This model has not seen any English outside its training set, so its general grammar and fluency are narrower than a fine-tuned pretrained model, and it may overfit to phrasing patterns present in the training data. Treat outputs accordingly, especially for slang or phrasing far from the training distribution.
Intended use
Translating short Gen Z slang sentences/paragraphs into clear standard English. Not intended as a general-purpose chat or instruction-following model.
Example
Input: "bro that fit is so mid ngl" Output: (see the model's actual generation β varies by checkpoint/quantization)
Files
pytorch_model.bin/ tokenizer files β base HF-format model.genz-translator-f16.ggufβ full-precision GGUF.genz-translator-q4_k_m.ggufβ recommended default for local use.genz-translator-q8_0.ggufβ higher-fidelity quantization.
Usage
llama.cpp:
llama-cli -m genz-translator-q4_k_m.gguf -p "<s><|instruction|>Translate the following Gen Z slang sentence into clear, standard English.<|input|>bro that fit is so mid ngl<|response|>" -n 96
Ollama (after ollama create, see the Modelfile in this repo / notebook):
ollama run genz-translator "bro that fit is so mid ngl"
- Downloads last month
- 353