Views
No views yet
executor agent in a multi-agent system. This model is the
distilled student that learns to play the same role as Qwen3-32B in that pipeline.| Branch | Epochs trained | Notes |
|---|---|---|
epoch2 | 2 | intermediate |
epoch5 | 5 | intermediate |
main | 10 | final |
Qwen/Qwen3-1.7BDivij/qwen3-32b-mas-traces (config executor)1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4repo = "STEVENZHANG904/Qwen3-1.7B-executor-sft"
5tok = AutoTokenizer.from_pretrained(repo)
6model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="cuda")
7
8# Executor role expects a task-spec prompt — see the dataset card for the exact format.
9messages = [
10 {"role": "system", "content": "You are a helpful, creative, and smart assistant."},
11 {"role": "user", "content": "<your executor task spec here>"},
12]
13inputs = tok.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True).to("cuda")
14out = model.generate(
15 inputs, max_new_tokens=4096,
16 do_sample=True, temperature=0.6, top_p=0.95, # Qwen3 thinking-mode defaults
17)
18print(tok.decode(out[0][inputs.shape[-1]:], skip_special_tokens=True))<think>...</think> reasoning blocks (inherited from Qwen3-32B traces).
Use sampling, not greedy decoding — small distilled models can loop in <think> under greedy.