Instructions to use RAANA-IA/Pite12-coder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RAANA-IA/Pite12-coder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="RAANA-IA/Pite12-coder") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("RAANA-IA/Pite12-coder") model = AutoModelForCausalLM.from_pretrained("RAANA-IA/Pite12-coder", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use RAANA-IA/Pite12-coder with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RAANA-IA/Pite12-coder" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RAANA-IA/Pite12-coder", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/RAANA-IA/Pite12-coder
- SGLang
How to use RAANA-IA/Pite12-coder 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 "RAANA-IA/Pite12-coder" \ --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": "RAANA-IA/Pite12-coder", "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 "RAANA-IA/Pite12-coder" \ --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": "RAANA-IA/Pite12-coder", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use RAANA-IA/Pite12-coder with Docker Model Runner:
docker model run hf.co/RAANA-IA/Pite12-coder
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,4 +7,80 @@ tags:
|
|
| 7 |
model-index:
|
| 8 |
- name: Pite12
|
| 9 |
results: []
|
| 10 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
model-index:
|
| 8 |
- name: Pite12
|
| 9 |
results: []
|
| 10 |
+
---
|
| 11 |
+
# 🚀 Pyte12-coder : Ton Assistant Code Compact & Puissant
|
| 12 |
+
|
| 13 |
+

|
| 14 |
+
|
| 15 |
+
Bienvenue dans la documentation officielle de **Pyte12**, le modèle de langage optimisé pour dompter vos bugs et sublimer votre syntaxe. Développé par **Finisha (APPA)** via un *full fine-tuning* rigoureux.
|
| 16 |
+
|
| 17 |
+
### 🧠 Fiche Technique
|
| 18 |
+
|
| 19 |
+
* **Taille :** 1B de paramètres (Léger, rapide, efficace).
|
| 20 |
+
* **Méthode :** Full Fine-Tuning (Entièrement affiné pour une cohérence maximale).
|
| 21 |
+
* **Spécialité :** Développement logiciel, débogage et correction syntaxique.
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## 🛠 Langages de Prédilection
|
| 26 |
+
|
| 27 |
+
Pyte12 a été entraîné spécifiquement pour exceller dans le trio de tête du développement moderne :
|
| 28 |
+
|
| 29 |
+
* **🐍 Python :** Gestion des indentations, logique algorithmique et bibliothèques standards.
|
| 30 |
+
* **🟨 JavaScript :** Manipulation du DOM, ES6+, et promesses.
|
| 31 |
+
* **🟦 Langage C :** Gestion de la mémoire, pointeurs et rigueur de syntaxe.
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## ✨ Points Forts du Modèle
|
| 36 |
+
|
| 37 |
+
### 1. 🔍 Correction de Syntaxe Flash
|
| 38 |
+
|
| 39 |
+
Plus besoin de chercher le point-virgule manquant pendant des heures. Pyte12 repère l'erreur et te propose la version corrigée instantanément.
|
| 40 |
+
|
| 41 |
+
### 2. 💡 Explications Claires
|
| 42 |
+
|
| 43 |
+
Il ne se contente pas de corriger ; il t'explique **pourquoi** ça ne marchait pas. C'est l'outil parfait pour progresser.
|
| 44 |
+
|
| 45 |
+
### 3. ⚡ Ultra-Réactif
|
| 46 |
+
|
| 47 |
+
Grâce à son architecture de **1B**, il tourne parfaitement sur des configurations locales ou des environnements cloud légers avec une latence quasi nulle.
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## 🚀 Exemple d'Utilisation
|
| 52 |
+
|
| 53 |
+
**Utilisateur :** > "Pourquoi mon code C ne compile pas ? `int x = "10";`"
|
| 54 |
+
|
| 55 |
+
**Pyte12 :**
|
| 56 |
+
|
| 57 |
+
> ⚠️ **Erreur de type détectée !** > En C, tu essaies d'assigner une chaîne de caractères (string) à une variable de type entier (`int`).
|
| 58 |
+
> ✅ **Correction :**
|
| 59 |
+
> ```c
|
| 60 |
+
> int x = 10; // Utilise un entier sans guillemets
|
| 61 |
+
>
|
| 62 |
+
> ```
|
| 63 |
+
>
|
| 64 |
+
>
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
## 📝 Guide d'Installation Rapide
|
| 69 |
+
|
| 70 |
+
```bash
|
| 71 |
+
# Exemple de chargement (si disponible via Hugging Face)
|
| 72 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 73 |
+
|
| 74 |
+
model_name = "APPA-CLEM/Pyte12-coder"
|
| 75 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 76 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
| 77 |
+
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## 🤝 Contact & Support
|
| 83 |
+
|
| 84 |
+
Développé avec passion par **Finisha (APPA)**. Si tu souhaites explorer d'autres modèles de la gamme ou contribuer au projet, n'hésite pas à nous contacter !
|
| 85 |
+
|
| 86 |
+
**Pyte12 : Petit par la taille, Géant par le code. 💻✨**
|