Instructions to use tomlee3ddesign/Codie with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tomlee3ddesign/Codie with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "tomlee3ddesign/Codie") - Notebooks
- Google Colab
- Kaggle
codie-oracle
A 0.5B parameter routing model that maps natural language to structured symbolic decisions using the CODIE symbolic layer.
85.3% accuracy. 1GB VRAM. 16ms inference.
What it does
Given any natural language input, returns a deterministic JSON routing decision:
The 15 CODIE symbols
| Symbol | Name | Accuracy |
|---|---|---|
| β | COND | 100% |
| β‘ | CONTAINER | 100% |
| βΆ | TRIGGER | 100% |
| β³ | LOOP | 95% |
| Β± | STATE | 90% |
| β | MERGE | 90% |
| β | NODE | 90% |
| β | READ | 85% |
| β | WRITE | 85% |
| β | OP | 80% |
| β | INPUT | 80% |
| β | FLOW | 75% |
| β | AGGREGATE | 75% |
| # | HASH_REF | 70% |
| β | NULL | 65% |
Overall: 85.3% (300-sample eval across all symbols)
Usage
Architecture
Training
- Base: Qwen2.5-0.5B-Instruct
- QLoRA: r=16, alpha=32, 4-bit NF4
- Corpus: 14,617 balanced pairs (harvested + synthetic + targeted patches)
- Hardware: RTX 3090 Ti, ~16 min per run
- 10 training rounds with per-symbol accuracy-guided corpus patching
GitHub
- Downloads last month
- 3
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "tomlee3ddesign/Codie")