Quantized GGUF version of Orbi-1B, a fine-tuned TinyLlama-1.1B-Chat specialized for function calling and robotic assistant interactions. This model generates structured tool calls in response to natural language commands and is optimized for CPU inference with llama.cpp.
Model Description
Base Model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
Model Size: 1.1B parameters
Format: GGUF (llama.cpp compatible)
Quantization: Q4_K_M (4-bit quantization)
Optimized for: CPU inference, low memory usage
License: Apache 2.0
Why GGUF?
GGUF (GPT-Generated Unified Format) offers several advantages:
Faster CPU Inference: Optimized for running on CPU without GPU
Lower Memory Usage: 4-bit quantization reduces model size by ~75%
Cross-Platform: Works on Windows, Linux, macOS (including Apple Silicon)
No GPU Required: Perfect for edge devices and embedded systems
Efficient: Powered by llama.cpp's optimized C++ inference engine
1llm = Llama(2 model_path="orbi-1b-q4.gguf",3 n_ctx=4096,# Context window size4 n_threads=8,# CPU threads (adjust based on your CPU)5 n_gpu_layers=0,# Set > 0 for GPU offloading6 use_mlock=True,# Lock model in RAM (prevents swapping)7 verbose=False,# Disable verbose logging8 seed=42,# Set seed for reproducibility9)
Generation Parameters
python
1output = llm(2 prompt,3 max_tokens=256,# Maximum tokens to generate4 temperature=0.0,# 0.0 = greedy (recommended for tool calling)5 top_p=0.95,# Nucleus sampling6 repeat_penalty=1.1,# Penalize repetition7 stop=["</tool_call>"],# Stop sequences8)
Use Cases
Robotics: Control physical robots with natural language
IoT Devices: Run on Raspberry Pi or similar edge devices
Embedded Systems: Low-memory environments
Offline Applications: No internet connection required
Desktop Assistants: CPU-only machines without GPU
Limitations
Quantization may result in slight quality degradation compared to full precision
Best performance with greedy decoding (temperature=0.0)
Limited to the predefined set of tools
Context window is 4096 tokens (inherited from base model)
Model Details
Training
Method: LoRA fine-tuning on TinyLlama-1.1B-Chat
Dataset: Custom conversational dataset with tool calling examples
Framework: Transformers + PEFT + TRL
Quantization
Method: Q4_K_M quantization via llama.cpp
Benefits: ~75% size reduction with minimal quality loss