Downloads · 30 days
30
27% of all-time downloads
johkamb/task-decomposer-270m
task-decomposer-270m is a text generation model from johkamb. Use it when you need the model to write or continue text. It is set up for llama.cpp. The card lists the license as mit.
A fine-tuned version of Gemma3 270M optimized for decomposing tasks into actionable subtasks with time estimates.
Downloads · 30 days
30
27% of all-time downloads
All-time downloads
110
Public
Repo size
292 MB
Likes
0
Public
Click a slice to open those files.
.gguf292 MB · 100%
From the Hugging Face model README
A fine-tuned version of Gemma3 270M optimized for decomposing tasks into actionable subtasks with time estimates.
The model was trained on 804 examples across 11 diverse categories:
| Category | Examples | Description |
|---|---|---|
| Household Chores | 147 | Cleaning, laundry, organization, maintenance |
| Shopping/Errands | 90 | Grocery shopping, returns, pickups, banking |
| Cooking/Meals | 80 | Meal prep, baking, special occasions |
| School Projects | 103 | Research papers, presentations, studying |
| Work Tasks | 112 | Reports, meetings, reviews, planning |
| Personal Projects | 81 | Learning, websites, home renovation |
| Health/Fitness | 63 | Exercise routines, meal prep, wellness |
| Events/Travel | 68 | Parties, weddings, vacations, moves |
| Maintenance | 58 | Car, home, appliance, tech repairs |
Total: 804 examples (723 training, 81 evaluation)
Decompose this task into subtasks: [YOUR TASK HERE]
The model outputs JSON with subtasks containing:
title: Brief, actionable subtask descriptionestimateMinutes: Conservative time estimate in minutesorder: Sequential order (1, 2, 3, ...)[
{"title": "Choose party date and time", "estimateMinutes": 15, "order": 1},
{"title": "Create guest list", "estimateMinutes": 20, "order": 2},
{"title": "Book venue or prepare home", "estimateMinutes": 45, "order": 3},
{"title": "Order cake and plan menu", "estimateMinutes": 30, "order": 4},
{"title": "Send invitations", "estimateMinutes": 20, "order": 5},
{"title": "Shop for decorations", "estimateMinutes": 60, "order": 6}
]
./llama-cli -m taskapp-gemma3-270m-Q8_0.gguf \
-p "Decompose this task into subtasks: Clean the garage" \
--temp 0.7 \
--top-p 0.9
final llama = Llama(LlamaController(
modelPath: 'path/to/taskapp-gemma3-270m-Q8_0.gguf',
nCtx: 2048,
nBatch: 512,
greedy: false,
));
final messages = [
UserLlamaMessage('Decompose this task into subtasks: Plan birthday party'),
];
final stream = llama.prompt(messages);
await for (final response in stream) {
print(response.text);
}
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("johkamb/task-decomposer-270m")
tokenizer = AutoTokenizer.from_pretrained("johkamb/task-decomposer-270m")
prompt = "Decompose this task into subtasks: Organize garage"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0]))
[
{"title": "Choose date and send save-the-dates", "estimateMinutes": 15, "order": 1},
{"title": "Create guest list", "estimateMinutes": 20, "order": 2},
{"title": "Book venue or prepare home", "estimateMinutes": 45, "order": 3},
{"title": "Order cake and plan menu", "estimateMinutes": 30, "order": 4},
{"title": "Send formal invitations", "estimateMinutes": 20, "order": 5},
{"title": "Shop for decorations and party supplies", "estimateMinutes": 60, "order": 6}
]
[
{"title": "Choose topic and create thesis", "estimateMinutes": 45, "order": 1},
{"title": "Research and gather sources", "estimateMinutes": 120, "order": 2},
{"title": "Create detailed outline", "estimateMinutes": 30, "order": 3},
{"title": "Write first draft", "estimateMinutes": 180, "order": 4},
{"title": "Revise and edit", "estimateMinutes": 90, "order": 5},
{"title": "Format citations and bibliography", "estimateMinutes": 45, "order": 6}
]
[
{"title": "Remove everything from garage", "estimateMinutes": 60, "order": 1},
{"title": "Sweep and clean floor", "estimateMinutes": 20, "order": 2},
{"title": "Sort items into keep/donate/trash", "estimateMinutes": 45, "order": 3},
{"title": "Organize items on shelves", "estimateMinutes": 40, "order": 4},
{"title": "Dispose of unwanted items", "estimateMinutes": 30, "order": 5}
]