ishaanranjan's picture
Upload reproduced trace_localizer qwen2.5-1.5b specialist
440a093 verified
|
Raw
History Blame Contribute Delete
3.08 kB
metadata
license: apache-2.0
language:
  - en
library_name: transformers
pipeline_tag: text-generation
base_model: Qwen/Qwen2.5-1.5B-Instruct
base_model_relation: finetune
tags:
  - code
  - coding-agent
  - tool-use
  - function-calling
  - small-language-model
  - full-parameter-finetuning
  - supervised-fine-tuning
  - deterministic-verification
  - safetensors
  - subroutine:trace_localizer
model-index:
  - name: Python Traceback Localizer (Qwen2.5 1.5B)
    results:
      - task:
          type: text-generation
          name: Python Traceback Localizer
        dataset:
          name: Held-out HTTPX and Jinja2 oracle benchmark
          type: custom
        metrics:
          - type: accuracy
            value: 1
            name: Success after one schema-feedback retry
          - type: accuracy
            value: 1
            name: First-pass schema validity

Python Traceback Localizer (Qwen2.5 1.5B)

This is a full-parameter supervised fine-tune of Qwen/Qwen2.5-1.5B-Instruct for one narrow, schema-bound developer-agent subroutine:

Identify culprit project frame and failure category in a traceback.

The model is one cell from the Parameter Floors for Developer-Agent Subroutines experiment. Labels are generated by deterministic oracles over real Python repositories; no teacher model or human judge labels the data.

Intended Use

Use this checkpoint inside the repository's verified subroutine harness, which renders the task-specific prompt, parses strict JSON, permits one localized schema-feedback retry, applies deterministic guards, and falls back to rules where appropriate. This is not a general coding assistant or chat model.

Evaluation

Evaluation uses up to 250 examples from HTTPX and Jinja2, both held out entirely from training. Decoding is greedy.

Metric Result
Success after one schema retry 100.0%
First-pass success 100.0%
First-pass schema validity 100.0%
Base instruct success after retry 24.4% for the base instruct model
Rules-only success 100.0%

Experiment verdict for this subroutine: rules suffice.

Training

  • Training examples: 2000
  • Epochs: 2.0
  • Learning rate: 2e-05
  • Effective batch configuration: 4 per device x 4 gradient accumulation
  • Maximum sequence length: 2048
  • Seed: 0
  • Final training loss: 0.349579
  • Reproduction hardware: one NVIDIA A100 80GB PCIe
  • Source revision: d0fd7bf

The dataset was generated from pinned Flask, Click, and Rich repositories for training/validation. HTTPX and Jinja2 were reserved for testing.

Limitations

The checkpoint is specialized to one closed JSON schema and should not be expected to retain broad instruction-following ability. The experiment mixes two base-model families across its size sweep. Some subroutines are better served by deterministic rules; consult the verdict above before deployment.

License

Apache-2.0, following the base model. Experiment code is MIT licensed.