Instructions to use RthItalia/PINDARO-AI-CODE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RthItalia/PINDARO-AI-CODE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="RthItalia/PINDARO-AI-CODE") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("RthItalia/PINDARO-AI-CODE") model = AutoModelForCausalLM.from_pretrained("RthItalia/PINDARO-AI-CODE") 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use RthItalia/PINDARO-AI-CODE with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="RthItalia/PINDARO-AI-CODE", filename="pindaro-f16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use RthItalia/PINDARO-AI-CODE with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf RthItalia/PINDARO-AI-CODE:F16 # Run inference directly in the terminal: llama-cli -hf RthItalia/PINDARO-AI-CODE:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf RthItalia/PINDARO-AI-CODE:F16 # Run inference directly in the terminal: llama-cli -hf RthItalia/PINDARO-AI-CODE:F16
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/PINDARO-AI-CODE:F16 # Run inference directly in the terminal: ./llama-cli -hf RthItalia/PINDARO-AI-CODE:F16
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/PINDARO-AI-CODE:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf RthItalia/PINDARO-AI-CODE:F16
Use Docker
docker model run hf.co/RthItalia/PINDARO-AI-CODE:F16
- LM Studio
- Jan
- vLLM
How to use RthItalia/PINDARO-AI-CODE with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "RthItalia/PINDARO-AI-CODE" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "RthItalia/PINDARO-AI-CODE", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/RthItalia/PINDARO-AI-CODE:F16
- SGLang
How to use RthItalia/PINDARO-AI-CODE 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 "RthItalia/PINDARO-AI-CODE" \ --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": "RthItalia/PINDARO-AI-CODE", "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 "RthItalia/PINDARO-AI-CODE" \ --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": "RthItalia/PINDARO-AI-CODE", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use RthItalia/PINDARO-AI-CODE with Ollama:
ollama run hf.co/RthItalia/PINDARO-AI-CODE:F16
- Unsloth Studio new
How to use RthItalia/PINDARO-AI-CODE 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 RthItalia/PINDARO-AI-CODE 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 RthItalia/PINDARO-AI-CODE to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for RthItalia/PINDARO-AI-CODE to start chatting
- Docker Model Runner
How to use RthItalia/PINDARO-AI-CODE with Docker Model Runner:
docker model run hf.co/RthItalia/PINDARO-AI-CODE:F16
- Lemonade
How to use RthItalia/PINDARO-AI-CODE with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull RthItalia/PINDARO-AI-CODE:F16
Run and chat with the model
lemonade run user.PINDARO-AI-CODE-F16
List all available models
lemonade list
PINDARO AI CODE
PINDARO AI CODE is the code-specialized release of the Pindaro model family.
Model At A Glance
- Architecture:
LlamaForCausalLM - Model type:
llama - Approx. parameters: ~1.1B
- Precision:
float16 - Context length:
2048 - Vocabulary size:
32002 - Languages: English, Italian
- Primary use: code generation and coding assistance
Included Artifacts
Hugging Face format:
model.safetensorsconfig.jsongeneration_config.jsontokenizer.jsontokenizer.modeltokenizer_config.jsonspecial_tokens_map.jsonadded_tokens.json
GGUF format:
pindaro-f16.ggufpindaro-q4_k_m.gguf
Release docs:
release/RELEASE_MANIFEST.jsonrelease/RELEASE_NOTES.mdrelease/SHA256SUMS.txt
Prompt Format
Special tokens:
<|noesis|>(id32000)<|end|>(id32001)
Configured chat template uses role sections and appends a code-fence prefix in generation prompt:
{{ bos_token }}{% for message in messages %}<|noesis|>
{% if message['role'] == 'system' %}### System
{{ message['content'] }}
{% elif message['role'] == 'user' %}### Question
{{ message['content'] }}
{% elif message['role'] == 'assistant' %}### Answer
{{ message['content'] }}
{% endif %}<|end|>
{% endfor %}{% if add_generation_prompt %}<|noesis|>
### Answer
{% endif %}
Minimal manual prompt example:
```text
<|noesis|>
### Question
Write a Python function add(a, b).
<|end|>
<|noesis|>
### Answer
## Quickstart (Transformers)
```python
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "RthItalia/PINDARO-AI-CODE"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
)
messages = [
{"role": "system", "content": "You are a coding assistant."},
{"role": "user", "content": "Write a Python function add(a, b)."},
]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt",
)
attention_mask = torch.ones_like(inputs)
outputs = model.generate(
inputs,
attention_mask=attention_mask,
max_new_tokens=120,
do_sample=False,
)
print(tokenizer.decode(outputs[0], skip_special_tokens=False))
Quickstart (GGUF / llama.cpp)
./llama-cli -m pindaro-q4_k_m.gguf -p "<|noesis|>
### Question
Write a Python function add(a, b).
<|end|>
<|noesis|>
### Answer
```" -n 120
Validation Snapshot
Last internal validation snapshot: 2026-03-02
- HF smoke tests: PASS
- HF mini-eval coding quality: 1.00
- GGUF F16 quality gate: PASS
- GGUF Q4_K_M quality gate: PASS
- Release verdict: publishable: true
Notes:
- Results are from internal sanity checks, not a full public benchmark suite.
Known Limitations
- Generated code can be syntactically correct but logically wrong.
- May emit verbose outputs or repeated scaffolding.
- Always run tests and static checks on generated code.
Safety
- Do not execute generated code in privileged environments without review.
- Use sandboxing for untrusted snippets.
- Add dependency and secret scanning in deployment workflows.
Artifact Checksums (SHA256)
model.safetensors:f77c27b8babf9fcab83a7dc68ba58934e8c8c031c9f10b4b73e802d4fbfe0cecconfig.json:b37c45060f3e2f5f9b91903c9ccb32f3c21076e809954fda6c01d987cd8f25ccgeneration_config.json:6ff47e725c0ec6d0f1895670de7ee68e61a4f99703f6c8e89aea6ab14ea02dc3tokenizer.json:51433f06369ac3e597dfa23a811215e3511b8f86588a830ded72344b76a193eetokenizer.model:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347tokenizer_config.json:a0567c49a117af9af332874cfd333ddd622a09c5e9765131ceee6344cb22a3despecial_tokens_map.json:d7805e093432afcde852968cdeba3de08a6fe66e77609f4701decb87fc492f33added_tokens.json:ece349d292e246eac9a9072c1730f023e61567984a828fb0d25dccb14e3b7592pindaro-f16.gguf:bdaaeb6fb712e9a4d952082cf415b05c7d076b33786d39063bbfb3a7e5db2031pindaro-q4_k_m.gguf:5f98cc3454774ed5ed80d71a71adfd0daff760fc9eef0900ddd4f7eda2e20fef
- Downloads last month
- 39