Text Generation
Transformers
Safetensors
GGUF
Portuguese
text-generation-inference
unsloth
qwen
pt-br
conversational
Instructions to use Kodjaoglanian/Athenas-Reasoning-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kodjaoglanian/Athenas-Reasoning-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Kodjaoglanian/Athenas-Reasoning-9B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Kodjaoglanian/Athenas-Reasoning-9B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Kodjaoglanian/Athenas-Reasoning-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Kodjaoglanian/Athenas-Reasoning-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kodjaoglanian/Athenas-Reasoning-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Kodjaoglanian/Athenas-Reasoning-9B
- SGLang
How to use Kodjaoglanian/Athenas-Reasoning-9B 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 "Kodjaoglanian/Athenas-Reasoning-9B" \ --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": "Kodjaoglanian/Athenas-Reasoning-9B", "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 "Kodjaoglanian/Athenas-Reasoning-9B" \ --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": "Kodjaoglanian/Athenas-Reasoning-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio
How to use Kodjaoglanian/Athenas-Reasoning-9B with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Kodjaoglanian/Athenas-Reasoning-9B to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Kodjaoglanian/Athenas-Reasoning-9B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Kodjaoglanian/Athenas-Reasoning-9B to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Kodjaoglanian/Athenas-Reasoning-9B", max_seq_length=2048, ) - Docker Model Runner
How to use Kodjaoglanian/Athenas-Reasoning-9B with Docker Model Runner:
docker model run hf.co/Kodjaoglanian/Athenas-Reasoning-9B
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,40 +1,27 @@
|
|
| 1 |
-
```yaml
|
| 2 |
---
|
| 3 |
base_model: unsloth/Qwen3.5-9B-Base
|
| 4 |
language:
|
| 5 |
- pt
|
| 6 |
license: apache-2.0
|
| 7 |
tags:
|
| 8 |
-
-
|
| 9 |
- transformers
|
|
|
|
| 10 |
- qwen
|
| 11 |
-
- instruction-tuning
|
| 12 |
-
- reasoning
|
| 13 |
- gguf
|
| 14 |
- pt-br
|
| 15 |
-
- llama-cpp
|
| 16 |
pipeline_tag: text-generation
|
| 17 |
-
widget:
|
| 18 |
-
- text: |
|
| 19 |
-
<|im_start|>system
|
| 20 |
-
Você é a Athenas, uma assistente virtual brasileira de código aberto, projetada para ser altamente inteligente, versátil e precisa nas suas respostas.<|im_end|>
|
| 21 |
-
<|im_start|>user
|
| 22 |
-
Explique a diferença entre dolo e culpa no direito penal brasileiro.<|im_end|>
|
| 23 |
-
<|im_start|>assistant
|
| 24 |
---
|
| 25 |
|
| 26 |
-
```
|
| 27 |
-
|
| 28 |
# Model Card: Athenas-Reasoning-9B
|
| 29 |
|
| 30 |
## 1. Model Summary
|
| 31 |
|
| 32 |
-
**Athenas-Reasoning-9B** is an advanced, instruction-tuned Large Language Model (LLM) specifically engineered for the Brazilian Portuguese language. Built upon the robust Qwen 3.5 (9B) architecture, this model has been fine-tuned to excel in complex logical reasoning, academic synthesis, and high-fidelity text generation.
|
| 33 |
|
| 34 |
-
The model was optimized using Low-Rank Adaptation (LoRA) on a heavily filtered, high-quality subset of conversational data, ensuring strict adherence to user instructions and professional output formatting.
|
| 35 |
|
| 36 |
### Model Identifiers
|
| 37 |
-
|
| 38 |
* **Developer:** Kodjaoglanian
|
| 39 |
* **Architecture:** Qwen 3.5 (9 Billion Parameters)
|
| 40 |
* **Training Stage:** Supervised Fine-Tuning (SFT)
|
|
@@ -47,11 +34,9 @@ The model was optimized using Low-Rank Adaptation (LoRA) on a heavily filtered,
|
|
| 47 |
To achieve optimal performance, inferences must strictly follow the **ChatML** formatting used during training. The model is highly responsive to its designated system prompt.
|
| 48 |
|
| 49 |
### Recommended System Prompt
|
| 50 |
-
|
| 51 |
> *"Você é a Athenas, uma assistente virtual brasileira de código aberto, projetada para ser altamente inteligente, versátil e precisa nas suas respostas."*
|
| 52 |
|
| 53 |
### ChatML Template Structure
|
| 54 |
-
|
| 55 |
```text
|
| 56 |
<|im_start|>system
|
| 57 |
Você é a Athenas, uma assistente virtual brasileira de código aberto, projetada para ser altamente inteligente, versátil e precisa nas suas respostas.<|im_end|>
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
base_model: unsloth/Qwen3.5-9B-Base
|
| 3 |
language:
|
| 4 |
- pt
|
| 5 |
license: apache-2.0
|
| 6 |
tags:
|
| 7 |
+
- text-generation-inference
|
| 8 |
- transformers
|
| 9 |
+
- unsloth
|
| 10 |
- qwen
|
|
|
|
|
|
|
| 11 |
- gguf
|
| 12 |
- pt-br
|
|
|
|
| 13 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
|
|
|
|
|
|
| 16 |
# Model Card: Athenas-Reasoning-9B
|
| 17 |
|
| 18 |
## 1. Model Summary
|
| 19 |
|
| 20 |
+
**Athenas-Reasoning-9B** is an advanced, instruction-tuned Large Language Model (LLM) specifically engineered for the Brazilian Portuguese language. Built upon the robust Qwen 3.5 (9B) architecture, this model has been fine-tuned to excel in complex logical reasoning, academic synthesis, and high-fidelity text generation.
|
| 21 |
|
| 22 |
+
The model was optimized using Low-Rank Adaptation (LoRA) on a heavily filtered, high-quality subset of conversational data, ensuring strict adherence to user instructions and professional output formatting.
|
| 23 |
|
| 24 |
### Model Identifiers
|
|
|
|
| 25 |
* **Developer:** Kodjaoglanian
|
| 26 |
* **Architecture:** Qwen 3.5 (9 Billion Parameters)
|
| 27 |
* **Training Stage:** Supervised Fine-Tuning (SFT)
|
|
|
|
| 34 |
To achieve optimal performance, inferences must strictly follow the **ChatML** formatting used during training. The model is highly responsive to its designated system prompt.
|
| 35 |
|
| 36 |
### Recommended System Prompt
|
|
|
|
| 37 |
> *"Você é a Athenas, uma assistente virtual brasileira de código aberto, projetada para ser altamente inteligente, versátil e precisa nas suas respostas."*
|
| 38 |
|
| 39 |
### ChatML Template Structure
|
|
|
|
| 40 |
```text
|
| 41 |
<|im_start|>system
|
| 42 |
Você é a Athenas, uma assistente virtual brasileira de código aberto, projetada para ser altamente inteligente, versátil e precisa nas suas respostas.<|im_end|>
|