Text Generation
Transformers
Safetensors
GGUF
English
Italian
llama
code
coding-assistant
instruct
1b
conversational
text-generation-inference
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", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use RthItalia/PINDARO-AI-CODE 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/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 serve -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 Desktop
- 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
- Atomic Chat
Release AICE-v1: README
Browse files
README.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- it
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
+
tags:
|
| 7 |
+
- gguf
|
| 8 |
+
- code
|
| 9 |
+
- instruct
|
| 10 |
+
- llama
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# MODEL_CARD - PINDARO AI CODE
|
| 14 |
+
|
| 15 |
+
Date: 2026-03-02
|
| 16 |
+
Model path: `e:\Pindaro\PINDARO AI CODE`
|
| 17 |
+
|
| 18 |
+
## 1. Model Identity
|
| 19 |
+
- Name: `PINDARO AI CODE`
|
| 20 |
+
- Family: LLaMA-style causal LM
|
| 21 |
+
- Intended role: coding assistant
|
| 22 |
+
- Format support:
|
| 23 |
+
- Hugging Face (`model.safetensors`)
|
| 24 |
+
- No GGUF artifact in this folder
|
| 25 |
+
|
| 26 |
+
## 2. Technical Specs
|
| 27 |
+
- Architecture: `LlamaForCausalLM`
|
| 28 |
+
- `model_type`: `llama`
|
| 29 |
+
- Layers: `22`
|
| 30 |
+
- Hidden size: `2048`
|
| 31 |
+
- Attention heads: `32`
|
| 32 |
+
- KV heads: `4`
|
| 33 |
+
- Intermediate size: `5632`
|
| 34 |
+
- Max context: `2048`
|
| 35 |
+
- Vocab size: `32002`
|
| 36 |
+
- Tensor count in safetensors: `201`
|
| 37 |
+
- Parameter count (computed): `1,100,056,576`
|
| 38 |
+
- Dtype in config: `float16`
|
| 39 |
+
|
| 40 |
+
## 3. Chat / Prompt Format
|
| 41 |
+
Template is aligned to registered special tokens:
|
| 42 |
+
- `<|noesis|>` (id `32000`)
|
| 43 |
+
- `<|end|>` (id `32001`)
|
| 44 |
+
|
| 45 |
+
Configured template:
|
| 46 |
+
````jinja
|
| 47 |
+
{{ bos_token }}{% for message in messages %}<|noesis|>
|
| 48 |
+
{% if message['role'] == 'system' %}### System
|
| 49 |
+
{{ message['content'] }}
|
| 50 |
+
{% elif message['role'] == 'user' %}### Question
|
| 51 |
+
{{ message['content'] }}
|
| 52 |
+
{% elif message['role'] == 'assistant' %}### Answer
|
| 53 |
+
{{ message['content'] }}
|
| 54 |
+
{% endif %}<|end|>
|
| 55 |
+
{% endfor %}{% if add_generation_prompt %}<|noesis|>
|
| 56 |
+
### Answer
|
| 57 |
+
```
|
| 58 |
+
{% endif %}
|
| 59 |
+
````
|
| 60 |
+
|
| 61 |
+
## 4. Local Artifact Integrity (SHA256)
|
| 62 |
+
- `model.safetensors`: `F77C27B8BABF9FCAB83A7DC68BA58934E8C8C031C9F10B4B73E802D4FBFE0CEC`
|
| 63 |
+
- `config.json`: `B37C45060F3E2F5F9B91903C9CCB32F3C21076E809954FDA6C01D987CD8F25CC`
|
| 64 |
+
- `generation_config.json`: `6FF47E725C0EC6D0F1895670DE7EE68E61A4F99703F6C8E89AEA6AB14EA02DC3`
|
| 65 |
+
- `tokenizer_config.json`: `4AE48D4963835B0767DC6510D1DF8AE76E636ED35BE021F02F5B344353BDFA21`
|
| 66 |
+
- `tokenizer.model`: `9E556AFD44213B6BD1BE2B850EBBBD98F5481437A8021AFAF58EE7FB1818D347`
|
| 67 |
+
|
| 68 |
+
## 5. Smoke Tests (2026-03-02)
|
| 69 |
+
Environment:
|
| 70 |
+
- Python `3.11.9`
|
| 71 |
+
- Transformers `4.57.3`
|
| 72 |
+
- Torch `2.10.0+cpu`
|
| 73 |
+
|
| 74 |
+
Results:
|
| 75 |
+
- AutoConfig load: PASS
|
| 76 |
+
- AutoTokenizer load: PASS
|
| 77 |
+
- AutoModel load: PASS
|
| 78 |
+
- Chat-template render: PASS
|
| 79 |
+
- Template special-token alignment: PASS
|
| 80 |
+
- Deterministic generation: PASS
|
| 81 |
+
|
| 82 |
+
Observed non-blocking warning:
|
| 83 |
+
- Folder name with spaces may trigger a Python module-name warning in some runtimes.
|
| 84 |
+
|
| 85 |
+
## 6. Known Issues
|
| 86 |
+
1. Folder-name warning risk
|
| 87 |
+
- `PINDARO AI CODE` has spaces; some tools warn on module naming.
|
| 88 |
+
|
| 89 |
+
2. Attention-mask warning in some calls
|
| 90 |
+
- As `pad_token` equals `eos_token`, pass `attention_mask` explicitly for stable behavior.
|
| 91 |
+
|
| 92 |
+
## 7. Recommended Next Steps
|
| 93 |
+
1. Optional packaging cleanup
|
| 94 |
+
- Rename folder to a no-space slug (example: `PINDARO_AI_CODE`) when compatible with your deployment scripts.
|
| 95 |
+
|
| 96 |
+
2. Add coding eval gate
|
| 97 |
+
- HumanEval pass@1
|
| 98 |
+
- MBPP subset
|
| 99 |
+
- Prompt-format adherence checks
|
| 100 |
+
|
| 101 |
+
## 8. Usage Example
|
| 102 |
+
```python
|
| 103 |
+
import torch
|
| 104 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 105 |
+
|
| 106 |
+
path = r"e:\Pindaro\PINDARO AI CODE"
|
| 107 |
+
tokenizer = AutoTokenizer.from_pretrained(path, local_files_only=True)
|
| 108 |
+
model = AutoModelForCausalLM.from_pretrained(path, local_files_only=True, dtype=torch.float16)
|
| 109 |
+
|
| 110 |
+
messages = [
|
| 111 |
+
{"role": "system", "content": "You are a coding assistant."},
|
| 112 |
+
{"role": "user", "content": "Write a Python function add(a, b)."},
|
| 113 |
+
]
|
| 114 |
+
|
| 115 |
+
inputs = tokenizer.apply_chat_template(
|
| 116 |
+
messages,
|
| 117 |
+
tokenize=True,
|
| 118 |
+
add_generation_prompt=True,
|
| 119 |
+
return_tensors="pt",
|
| 120 |
+
)
|
| 121 |
+
outputs = model.generate(inputs, max_new_tokens=80, do_sample=False)
|
| 122 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=False))
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
## 9. Limitations and Safety
|
| 126 |
+
- No training-data statement is included in this folder.
|
| 127 |
+
- No official benchmark sheet is included.
|
| 128 |
+
- Code generation can be plausible but wrong; always run tests.
|
| 129 |
+
|
| 130 |
+
## 10. Release Readiness
|
| 131 |
+
Current status: READY FOR LOCAL USE.
|
| 132 |
+
- Packaging/runtime blockers are resolved.
|
| 133 |
+
- Remaining items are evaluation and packaging polish.
|