Instructions to use defnic/ShittyTranslator-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use defnic/ShittyTranslator-GGUF with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("translation", model="defnic/ShittyTranslator-GGUF")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("defnic/ShittyTranslator-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use defnic/ShittyTranslator-GGUF 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 defnic/ShittyTranslator-GGUF:F16 # Run inference directly in the terminal: llama cli -hf defnic/ShittyTranslator-GGUF:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf defnic/ShittyTranslator-GGUF:F16 # Run inference directly in the terminal: llama cli -hf defnic/ShittyTranslator-GGUF:F16
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 defnic/ShittyTranslator-GGUF:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf defnic/ShittyTranslator-GGUF:F16
Use Docker
docker model run hf.co/defnic/ShittyTranslator-GGUF:F16
- Llama new
- LM Studio
- Jan
- Ollama
How to use defnic/ShittyTranslator-GGUF with Ollama:
ollama run hf.co/defnic/ShittyTranslator-GGUF:F16
- Unsloth Desktop
- Docker Model Runner
How to use defnic/ShittyTranslator-GGUF with Docker Model Runner:
docker model run hf.co/defnic/ShittyTranslator-GGUF:F16
- Lemonade
How to use defnic/ShittyTranslator-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull defnic/ShittyTranslator-GGUF:F16
Run and chat with the model
lemonade run user.ShittyTranslator-GGUF-F16
List all available models
lemonade list
- Atomic Chat
File size: 165 Bytes
c20f54c | 1 2 3 4 5 6 7 8 9 | FROM ./ShittyTranslator_f16.gguf
TEMPLATE """Original:{{ .Prompt }}
Translated:"""
PARAMETER num_predict 128
PARAMETER temperature 1.1
PARAMETER top_p 0.9
|