Text Generation
Transformers
Safetensors
PEFT
gemma
gemma-4
12b
lora
adapter
conversational
moroccan-darija
darija
coding
reasoning
Instructions to use CompiwerAI/Mtrini-Tellus-12B-Sahara-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CompiwerAI/Mtrini-Tellus-12B-Sahara-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CompiwerAI/Mtrini-Tellus-12B-Sahara-2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("CompiwerAI/Mtrini-Tellus-12B-Sahara-2", device_map="auto") - PEFT
How to use CompiwerAI/Mtrini-Tellus-12B-Sahara-2 with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CompiwerAI/Mtrini-Tellus-12B-Sahara-2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CompiwerAI/Mtrini-Tellus-12B-Sahara-2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CompiwerAI/Mtrini-Tellus-12B-Sahara-2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/CompiwerAI/Mtrini-Tellus-12B-Sahara-2
- SGLang
How to use CompiwerAI/Mtrini-Tellus-12B-Sahara-2 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "CompiwerAI/Mtrini-Tellus-12B-Sahara-2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CompiwerAI/Mtrini-Tellus-12B-Sahara-2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "CompiwerAI/Mtrini-Tellus-12B-Sahara-2" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CompiwerAI/Mtrini-Tellus-12B-Sahara-2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use CompiwerAI/Mtrini-Tellus-12B-Sahara-2 with Docker Model Runner:
docker model run hf.co/CompiwerAI/Mtrini-Tellus-12B-Sahara-2
| language: | |
| - en | |
| - ar | |
| - fr | |
| - ary | |
| library_name: transformers | |
| tags: | |
| - text-generation | |
| - gemma | |
| - gemma-4 | |
| - 12b | |
| - peft | |
| - lora | |
| - adapter | |
| - safetensors | |
| - conversational | |
| - moroccan-darija | |
| - darija | |
| - coding | |
| - reasoning | |
| base_model: | |
| - google/gemma-4-12B-it | |
| # Mtrini Tellus 12B — Sahara 2 | |
| **Compiwer AI** | |
| > ⚠️ **EARLY DEVELOPMENT CHECKPOINT — NOT THE FINAL MODEL** | |
| Mtrini Tellus 12B — Sahara 2 is an **early development checkpoint** of the Mtrini Tellus 12B project. | |
| It is a **continued-training LoRA/PEFT adapter based on Gemma 4 12B**, with a strong focus on: | |
| - 🇲🇦 Moroccan Darija | |
| - 💻 Coding | |
| - 🧠 Reasoning | |
| - 🌍 Multilingual interaction | |
| - 💬 Conversational capabilities | |
| --- | |
| ## ⚠️ Important | |
| ### This is NOT the final Tellus model. | |
| Sahara 2 is an **early checkpoint released during the development of Mtrini Tellus 12B**. | |
| The model is still being trained, evaluated and improved. | |
| Future checkpoints may have significantly different capabilities, behavior and performance. | |
| This release is intended for: | |
| - Experimentation | |
| - Community testing | |
| - Research | |
| - Feedback | |
| - Development | |
| - Comparing future checkpoints | |
| Do not treat this checkpoint as the final representation of Mtrini Tellus. | |
| --- | |
| # 🏜️ What does "Sahara 2" mean? | |
| **Sahara 2 is a development codename.** | |
| It is not intended to represent the final model name, final architecture or final release version. | |
| The repository is currently named: | |
| ```text | |
| Mtrini-Tellus-12B-Sahara-2 |