SCAD-4B
Text-only model for SCAD: Structured Credit Assignment and Distillation for Long-Horizon Agents, fine-tuned from Qwen3-4B.
This repository contains full model weights in BF16 Safetensors format, the tokenizer, and inference configuration.
Loading
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "shangyangwu2002/SCAD"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
Use the SCAD code repository for agent prompts, search tools, and evaluation. Retrieval uses the separately hosted SCAD corpus.
License
The model is released under Apache License 2.0; see LICENSE. The weights were fine-tuned from Qwen3-4B. Qwen's upstream attribution and license are retained.