Text Generation
Transformers
Safetensors
English
llama
reasoning
cot
atii
qwen
vllm
conversational
text-generation-inference
Instructions to use BIBLIOKLEPT/Atii-Llama-3.2-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BIBLIOKLEPT/Atii-Llama-3.2-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="BIBLIOKLEPT/Atii-Llama-3.2-3B") 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("BIBLIOKLEPT/Atii-Llama-3.2-3B") model = AutoModelForCausalLM.from_pretrained("BIBLIOKLEPT/Atii-Llama-3.2-3B", 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 BIBLIOKLEPT/Atii-Llama-3.2-3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BIBLIOKLEPT/Atii-Llama-3.2-3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BIBLIOKLEPT/Atii-Llama-3.2-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/BIBLIOKLEPT/Atii-Llama-3.2-3B
- SGLang
How to use BIBLIOKLEPT/Atii-Llama-3.2-3B 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 "BIBLIOKLEPT/Atii-Llama-3.2-3B" \ --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": "BIBLIOKLEPT/Atii-Llama-3.2-3B", "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 "BIBLIOKLEPT/Atii-Llama-3.2-3B" \ --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": "BIBLIOKLEPT/Atii-Llama-3.2-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use BIBLIOKLEPT/Atii-Llama-3.2-3B with Docker Model Runner:
docker model run hf.co/BIBLIOKLEPT/Atii-Llama-3.2-3B
Atii-Llama-3.2-3B
Atii stands for Adapter for Training Isometrically Inherently.
Model Overview
Atii-Llama-3.2-3B is a high-performance reasoning model built on top of meta-llama/Llama-3.2-3B-Instruct.
This model was trained without traditional training. Instead of running expensive multi-stage post-training or RL from scratch, it leverages the Atii method to directly transpose and adapt specialized Qwen post-training reasoning capabilities into the Llama architecture.
Key Features
- Zero-Shot Architecture Transfer: Transposes verifiable reasoning and cognitive search behaviors across model families without retraining.
- Autonomous Chain-of-Thought: Naturally initiates internal self-correction and multi-step verification inside
<think> ... </think>blocks before delivering the final answer. - Test-Time Compute Scaling: Dynamically scales its reasoning trace length based on problem difficulty (from ~800 words on elementary math to 5,000+ words on Olympiad competitions).
Verification Benchmarks (N=4 Majority Vote Consensus)
- GSM8K: 80.52% (Pass@4 Ceiling: 89.61%)
- MATH-500: 34.00% (Pass@4 Ceiling: 44.60%)
- AIME: Successfully proves and solves Olympiad competition problems over 5,000-word reasoning horizons.
Usage with vLLM
from vllm import LLM, SamplingParams
llm = LLM(
model="BIBLIOKLEPT/Atii-Llama-3.2-3B",
max_model_len=16384,
dtype="bfloat16"
)
sampling_params = SamplingParams(
temperature=0.6,
top_p=0.95,
max_tokens=8192,
skip_special_tokens=False
)
prompt = "A farmer has 17 sheep, and all but 9 die. How many sheep are left?"
formatted = f"<|begin_of_text|><|start_header_id|>user<|end_header_id|>\n\n{prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n"
outputs = llm.generate([formatted], sampling_params)
print(outputs[0].outputs[0].text)
Attribution & Base Model
- Base Architecture:
meta-llama/Llama-3.2-3B-Instruct - Methodology: Atii (Adapter for Training Isometrically Inherently)
- Downloads last month
- 65