Text Generation
GGUF
rth_tcn
code-generation
non-transformer
tcn
fractal
lora
genome
rth-code
zetagrid
Instructions to use RthItalia/Rth-lm-code-25b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RthItalia/Rth-lm-code-25b 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 RthItalia/Rth-lm-code-25b # Run inference directly in the terminal: llama cli -hf RthItalia/Rth-lm-code-25b
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf RthItalia/Rth-lm-code-25b # Run inference directly in the terminal: llama cli -hf RthItalia/Rth-lm-code-25b
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 RthItalia/Rth-lm-code-25b # Run inference directly in the terminal: ./llama-cli -hf RthItalia/Rth-lm-code-25b
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 RthItalia/Rth-lm-code-25b # Run inference directly in the terminal: ./build/bin/llama-cli -hf RthItalia/Rth-lm-code-25b
Use Docker
docker model run hf.co/RthItalia/Rth-lm-code-25b
- LM Studio
- Jan
- vLLM
How to use RthItalia/Rth-lm-code-25b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RthItalia/Rth-lm-code-25b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RthItalia/Rth-lm-code-25b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/RthItalia/Rth-lm-code-25b
- Ollama
How to use RthItalia/Rth-lm-code-25b with Ollama:
ollama run hf.co/RthItalia/Rth-lm-code-25b
- Unsloth Desktop
- Docker Model Runner
How to use RthItalia/Rth-lm-code-25b with Docker Model Runner:
docker model run hf.co/RthItalia/Rth-lm-code-25b
- Lemonade
How to use RthItalia/Rth-lm-code-25b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RthItalia/Rth-lm-code-25b
Run and chat with the model
lemonade run user.Rth-lm-code-25b-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,8 +20,8 @@ pipeline_tag: text-generation
|
|
| 20 |
# 💻 RTH-Code 25B — Code Specialist Soul
|
| 21 |
|
| 22 |
> **"L'intelligenza è nell'architettura, non nelle GPU."**
|
| 23 |
-
> Questa è la **Soul Specialista per il Codice** dell'ecosistema RTH-LM.
|
| 24 |
-
> Stesso Genome (7B) di base, ma con una "anima" addestrata per programmare.
|
| 25 |
|
| 26 |
⚠️ **PROOF OF CONCEPT** ⚠️
|
| 27 |
Questa è una versione **BASE** creata per dimostrare l'efficienza scalare dell'architettura RTH-LM.
|
|
@@ -34,7 +34,7 @@ Questa è una versione **BASE** creata per dimostrare l'efficienza scalare dell'
|
|
| 34 |
## ⚡ Che cos'è?
|
| 35 |
|
| 36 |
**RTH-Code 25B** non è un modello a sé stante. È una **Soul intercambiabile**.
|
| 37 |
-
Invece di scaricare un modello da 30GB per ogni task, mantieni il **Genome congelato (7B)** e cambi solo la Soul (~
|
| 38 |
|
| 39 |
Questa Soul è stata addestrata specificamente su:
|
| 40 |
- **Python** (Data Science, Backend, Torch)
|
|
@@ -45,8 +45,8 @@ Questa Soul è stata addestrata specificamente su:
|
|
| 45 |
```mermaid
|
| 46 |
graph TD
|
| 47 |
G["Genome 7B<br/>(Frozen Core)"]
|
| 48 |
-
G --> SC["🔹 Soul CODE<br/>Specialista
|
| 49 |
-
G --> SG["Soul Generalista<br/>Chat & Knowledge"]
|
| 50 |
G --> SL["Soul Legal/Medical<br/>(Future)"]
|
| 51 |
```
|
| 52 |
|
|
@@ -56,11 +56,11 @@ Basta **swappare** i file `.pt` (o usare il GGUF unificato) e il tuo modello pas
|
|
| 56 |
|
| 57 |
## 📊 Specifiche Tecniche
|
| 58 |
|
| 59 |
-
| Feature | Dettaglio |
|
| 60 |
|---|---|
|
| 61 |
-
| **Architettura** | Fractal Gated Causal TCN (No Attention) |
|
| 62 |
-
| **Parametri Totali** | 25B (
|
| 63 |
-
| **
|
| 64 |
| **Dataset Training** | **5GB** (Misto: Python, JS, C++, Go) |
|
| 65 |
| **Tempo Training** | **8 ORE** (Singola Epoch) ⏱️ |
|
| 66 |
| **Contesto** | 2048+ (Teoricamente infinito grazie a TCN) |
|
|
|
|
| 20 |
# 💻 RTH-Code 25B — Code Specialist Soul
|
| 21 |
|
| 22 |
> **"L'intelligenza è nell'architettura, non nelle GPU."**
|
| 23 |
+
> Questa è la **Soul Specialista per il Codice** dell'ecosistema RTH-LM (V4 Architecture).
|
| 24 |
+
> Stesso Genome (7B) di base, ma con una "anima" addestrata per programmare (basata su V4 Expanded).
|
| 25 |
|
| 26 |
⚠️ **PROOF OF CONCEPT** ⚠️
|
| 27 |
Questa è una versione **BASE** creata per dimostrare l'efficienza scalare dell'architettura RTH-LM.
|
|
|
|
| 34 |
## ⚡ Che cos'è?
|
| 35 |
|
| 36 |
**RTH-Code 25B** non è un modello a sé stante. È una **Soul intercambiabile**.
|
| 37 |
+
Invece di scaricare un modello da 30GB per ogni task, mantieni il **Genome congelato (7B)** e cambi solo la Soul (**~3.8GB**).
|
| 38 |
|
| 39 |
Questa Soul è stata addestrata specificamente su:
|
| 40 |
- **Python** (Data Science, Backend, Torch)
|
|
|
|
| 45 |
```mermaid
|
| 46 |
graph TD
|
| 47 |
G["Genome 7B<br/>(Frozen Core)"]
|
| 48 |
+
G --> SC["🔹 Soul CODE<br/>Specialista V4 (25B)"]
|
| 49 |
+
G --> SG["Soul Generalista<br/>Chat & Knowledge V4"]
|
| 50 |
G --> SL["Soul Legal/Medical<br/>(Future)"]
|
| 51 |
```
|
| 52 |
|
|
|
|
| 56 |
|
| 57 |
## 📊 Specifiche Tecniche
|
| 58 |
|
| 59 |
+
| **Feature** | **Dettaglio** |
|
| 60 |
|---|---|
|
| 61 |
+
| **Architettura** | Fractal Gated Causal TCN (No Attention) - **V4 Enhanced** |
|
| 62 |
+
| **Parametri Totali** | **25B** (Genome + Soul V4 Expanded) |
|
| 63 |
+
| **Dimensione Soul** | **~3.8GB** (LoRA Rank 512, ~950M params) |
|
| 64 |
| **Dataset Training** | **5GB** (Misto: Python, JS, C++, Go) |
|
| 65 |
| **Tempo Training** | **8 ORE** (Singola Epoch) ⏱️ |
|
| 66 |
| **Contesto** | 2048+ (Teoricamente infinito grazie a TCN) |
|