Views
No views yet
Input: Go program source + partial trace (GoStart, GoBlock, GoUnblock, GoCreate, GoEnd, GoSched events)
Output: {"event_type": "GoBlock", "goroutine_id": 3, "reasoning": "...", "confidence": "high"}| Setting | Value |
|---|---|
| Base model | Qwen/Qwen2.5-Coder-7B-Instruct |
| Method | Unsloth + QLoRA |
| Dataset | kavirubc/weave-bench |
| Model | Accuracy | Notes |
|---|---|---|
| Qwen2.5-Coder-7B fine-tuned (this model) | 36.2% | Phase 13 on GoKer held-out set |
| Qwen2.5-Coder-1.5B fine-tuned | 40.2% | Phase 12 (in-distribution evaluation) |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3import torch
4
5base = AutoModelForCausalLM.from_pretrained(
6 "Qwen/Qwen2.5-Coder-7B-Instruct",
7 torch_dtype=torch.bfloat16,
8 device_map="auto",
9)
10model = PeftModel.from_pretrained(base, "kavirubc/weave-ccwm-qwen2.5-coder-7b-lora")
11tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-Coder-7B-Instruct")1uv run python scripts/run_eval_unsloth.py \
2 --adapter kavirubc/weave-ccwm-qwen2.5-coder-7b-lora \
3 --val_file dataset/output/kaggle_upload/val_point_dups.jsonl1@misc{weave2026,
2 author = {Hapuarachchi, Kaviru},
3 title = {Weave: Concurrent Code World Models},
4 year = {2026},
5 url = {https://github.com/kaviru2/Weave}
6}