Instructions to use johnpaulbin/translator-llm 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 johnpaulbin/translator-llm 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 johnpaulbin/translator-llm # Run inference directly in the terminal: llama cli -hf johnpaulbin/translator-llm
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf johnpaulbin/translator-llm # Run inference directly in the terminal: llama cli -hf johnpaulbin/translator-llm
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 johnpaulbin/translator-llm # Run inference directly in the terminal: ./llama-cli -hf johnpaulbin/translator-llm
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 johnpaulbin/translator-llm # Run inference directly in the terminal: ./build/bin/llama-cli -hf johnpaulbin/translator-llm
Use Docker
docker model run hf.co/johnpaulbin/translator-llm
- LM Studio
- Jan
- Ollama
How to use johnpaulbin/translator-llm with Ollama:
ollama run hf.co/johnpaulbin/translator-llm
- Unsloth Desktop
- Docker Model Runner
How to use johnpaulbin/translator-llm with Docker Model Runner:
docker model run hf.co/johnpaulbin/translator-llm
- Lemonade
How to use johnpaulbin/translator-llm with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull johnpaulbin/translator-llm
Run and chat with the model
lemonade run user.translator-llm-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Download Modelfile from johnpaulbin/translator-llm: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/johnpaulbin/translator-llm/resolve/main/Modelfile
- Command line
-
hf download hf://johnpaulbin/translator-llm/Modelfile
-
curl -L -o Modelfile https://huggingface.co/johnpaulbin/translator-llm/resolve/main/Modelfile
285 Bytes
| FROM translator-llama3.1-q4km.gguf | |
| # sets the temperature to 1 [higher is more creative, lower is more coherent] | |
| PARAMETER temperature 0.1 | |
| # sets the context window size to 2000, this controls how many tokens the LLM can use as context to generate the next token | |
| PARAMETER num_ctx 2000 |