Translation
Transformers
GGUF
multilingual
Translation
Multilingual
Instruction-Tuned
Natural Language Processing
Text Generation
conversational
Instructions to use SandLogicTechnologies/translategemma-4b-it-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SandLogicTechnologies/translategemma-4b-it-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="SandLogicTechnologies/translategemma-4b-it-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SandLogicTechnologies/translategemma-4b-it-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use SandLogicTechnologies/translategemma-4b-it-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 SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf SandLogicTechnologies/translategemma-4b-it-GGUF: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 SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf SandLogicTechnologies/translategemma-4b-it-GGUF: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 SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M
Use Docker
docker model run hf.co/SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use SandLogicTechnologies/translategemma-4b-it-GGUF with Ollama:
ollama run hf.co/SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use SandLogicTechnologies/translategemma-4b-it-GGUF with Docker Model Runner:
docker model run hf.co/SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M
- Lemonade
How to use SandLogicTechnologies/translategemma-4b-it-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SandLogicTechnologies/translategemma-4b-it-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.translategemma-4b-it-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,18 @@
|
|
| 1 |
---
|
| 2 |
license: gemma
|
| 3 |
-
language:
|
| 4 |
- multilingual
|
| 5 |
-
-base_model: google/translategemma-4b-it
|
| 6 |
tags:
|
| 7 |
- Translation
|
| 8 |
- Multilingual
|
| 9 |
- Instruction-Tuned
|
| 10 |
- Natural Language Processing
|
| 11 |
- Text Generation
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Quantized TranslateGemma-4B-IT Model
|
|
|
|
| 1 |
---
|
| 2 |
license: gemma
|
| 3 |
+
language:
|
| 4 |
- multilingual
|
| 5 |
+
'-base_model': google/translategemma-4b-it
|
| 6 |
tags:
|
| 7 |
- Translation
|
| 8 |
- Multilingual
|
| 9 |
- Instruction-Tuned
|
| 10 |
- Natural Language Processing
|
| 11 |
- Text Generation
|
| 12 |
+
base_model:
|
| 13 |
+
- google/translategemma-4b-it
|
| 14 |
+
pipeline_tag: translation
|
| 15 |
+
library_name: transformers
|
| 16 |
---
|
| 17 |
|
| 18 |
# Quantized TranslateGemma-4B-IT Model
|