Safetensors
GGUF
English
Spanish
code
qwen2
code-generation
android
kotlin
java
jetpack-compose
qwen2.5
unsloth
ollama
3b
conversational
Instructions to use LaboAI/LaboAI-0.3.3-3B 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 LaboAI/LaboAI-0.3.3-3B 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 LaboAI/LaboAI-0.3.3-3B:Q4_K_M # Run inference directly in the terminal: llama cli -hf LaboAI/LaboAI-0.3.3-3B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf LaboAI/LaboAI-0.3.3-3B:Q4_K_M # Run inference directly in the terminal: llama cli -hf LaboAI/LaboAI-0.3.3-3B:Q4_K_M
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 LaboAI/LaboAI-0.3.3-3B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf LaboAI/LaboAI-0.3.3-3B:Q4_K_M
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 LaboAI/LaboAI-0.3.3-3B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf LaboAI/LaboAI-0.3.3-3B:Q4_K_M
Use Docker
docker model run hf.co/LaboAI/LaboAI-0.3.3-3B:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use LaboAI/LaboAI-0.3.3-3B with Ollama:
ollama run hf.co/LaboAI/LaboAI-0.3.3-3B:Q4_K_M
- Unsloth Desktop
- Pi
How to use LaboAI/LaboAI-0.3.3-3B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LaboAI/LaboAI-0.3.3-3B:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "LaboAI/LaboAI-0.3.3-3B:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use LaboAI/LaboAI-0.3.3-3B with Docker Model Runner:
docker model run hf.co/LaboAI/LaboAI-0.3.3-3B:Q4_K_M
- Lemonade
How to use LaboAI/LaboAI-0.3.3-3B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull LaboAI/LaboAI-0.3.3-3B:Q4_K_M
Run and chat with the model
lemonade run user.LaboAI-0.3.3-3B-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use LaboAI/LaboAI-0.3.3-3B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LaboAI/LaboAI-0.3.3-3B:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default LaboAI/LaboAI-0.3.3-3B:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use LaboAI/LaboAI-0.3.3-3B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf LaboAI/LaboAI-0.3.3-3B:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "LaboAI/LaboAI-0.3.3-3B:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,23 +1,68 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
tags:
|
| 3 |
-
-
|
| 4 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
- unsloth
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
-
# LaboAI-0.3.3-3B
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
- For text only LLMs: `llama-cli -hf LaboAI/LaboAI-0.3.3-3B --jinja`
|
| 15 |
-
- For multimodal models: `llama-mtmd-cli -hf LaboAI/LaboAI-0.3.3-3B --jinja`
|
| 16 |
|
| 17 |
-
|
| 18 |
-
- `Qwen2.5-3B-Instruct.Q4_K_M.gguf`
|
| 19 |
|
| 20 |
-
## Ollama
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- es
|
| 5 |
+
- code
|
| 6 |
tags:
|
| 7 |
+
- code-generation
|
| 8 |
+
- android
|
| 9 |
+
- kotlin
|
| 10 |
+
- java
|
| 11 |
+
- jetpack-compose
|
| 12 |
+
- qwen2.5
|
| 13 |
- unsloth
|
| 14 |
+
- gguf
|
| 15 |
+
- ollama
|
| 16 |
+
- 3b
|
| 17 |
+
- function-calling
|
| 18 |
+
license: apache-2.0
|
| 19 |
+
base_model: Qwen/Qwen2.5-3B-Instruct
|
| 20 |
+
datasets:
|
| 21 |
+
- giggiovpg/ornith-android-instruct
|
| 22 |
+
- giggiovpg/android-kotlin-compose-compiler-verified
|
| 23 |
+
- microsoft/NextCoderDataset
|
| 24 |
+
- glaiveai/glaive-code-assistant-v3
|
| 25 |
---
|
| 26 |
|
| 27 |
+
# 🤖 LaboAI-0.3.3-3B
|
| 28 |
+
|
| 29 |
+
This is a versatile, 3-billion parameter language model heavily fine-tuned for **Kotlin** and **Android** development, while retaining strong general-purpose capabilities.
|
| 30 |
+
|
| 31 |
+
Built on the robust `Qwen2.5-3B-Instruct` architecture, this model underwent a massive, high-quality fine-tuning regimen (v0.3.3). It excels at generating, understanding, and debugging modern Android code (Jetpack Compose, Coroutines, MVVM) but remains highly capable in general chat, reasoning, and tool-calling tasks.
|
| 32 |
+
|
| 33 |
+
## 📋 Model Details
|
| 34 |
+
|
| 35 |
+
- **Developed by:** Mmxa
|
| 36 |
+
- **Organization:** LaboAI
|
| 37 |
+
- **Model type:** Causal Language Model (Code Generation & General Assistant)
|
| 38 |
+
- **Languages:** Kotlin, Java, English, Spanish
|
| 39 |
+
- **License:** Apache 2.0 (inherited from Qwen2.5)
|
| 40 |
+
- **Base model:** [Qwen/Qwen2.5-3B-Instruct](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct)
|
| 41 |
+
|
| 42 |
+
## 🚀 Uses
|
| 43 |
+
|
| 44 |
+
### Direct Use
|
| 45 |
+
- **Android Development:** Generating boilerplate, Jetpack Compose UIs, ViewModels, and debugging Kotlin code.
|
| 46 |
+
- **General Assistant:** Answering questions, summarizing text, and logical reasoning.
|
| 47 |
+
- **Tool Calling:** Capable of structured JSON output for function calling and agentic workflows.
|
| 48 |
+
|
| 49 |
+
### Ecosystem Use (Recommended)
|
| 50 |
+
This model is optimized for local inference via **Ollama** and integrates seamlessly with the **Continue** extension in VS Code. It strikes the perfect balance between intelligence and local hardware efficiency.
|
| 51 |
+
|
| 52 |
+
### Out-of-Scope Uses
|
| 53 |
+
- It should not be used to generate malicious code, exploits, or harmful content.
|
| 54 |
+
- All generated code must be reviewed by a human developer before deployment.
|
| 55 |
|
| 56 |
+
## ⚠️ Limitations and Risks
|
| 57 |
+
- **Context Window:** Optimized for 2048-4096 tokens. It may lose coherence in extremely long, multi-file contexts.
|
| 58 |
+
- **API Hallucinations:** In rare cases, it might suggest slightly deprecated Android APIs.
|
| 59 |
+
- **General Knowledge:** While fine-tuned for code, its general world knowledge is bounded by its base model and the fine-tuning data distribution.
|
| 60 |
|
| 61 |
+
## How to Get Started (Local Setup)
|
|
|
|
|
|
|
| 62 |
|
| 63 |
+
This repository includes both the original format (`safetensors`) and the quantized format (`GGUF` Q4_K_M).
|
|
|
|
| 64 |
|
| 65 |
+
### Quick Start with Ollama
|
| 66 |
+
The fastest way to run this model is directly from Hugging Face via Ollama:
|
| 67 |
+
```bash
|
| 68 |
+
ollama run hf.co/LaboAI/LaboAI-0.3.3-3B:Q4_K_M
|