This model was fine-tuned on
nex-agi/agent-sft.
Please refer to the dataset card for detailed documentation, licensing, and usage constraints.
1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4model_id = "OpenMOSS-Team/Qwen3-8B-ABC"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
7model = AutoModelForCausalLM.from_pretrained(
8 model_id,
9 torch_dtype=torch.bfloat16,
10 device_map="auto",
11 trust_remote_code=True,
12)
13
14prompt = "Write a FastAPI endpoint that returns health status as JSON."
15inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
16
17with torch.no_grad():
18 output = model.generate(
19 **inputs,
20 max_new_tokens=256,
21 do_sample=True,
22 temperature=0.7,
23 top_p=0.9,
24 )
25
26print(tokenizer.decode(output[0], skip_special_tokens=True))
1@misc{yang2026abcbenchbenchmarkingagenticbackend,
2 title={ABC-Bench: Benchmarking Agentic Backend Coding in Real-World Development},
3 author={Jie Yang and Honglin Guo and Li Ji and Jiazheng Zhou and Rui Zheng and Zhikai Lei and Shuo Zhang and Zhiheng Xi and Shichun Liu and Yuxin Wang and Bo Wang and Yining Zheng and Tao Gui and Xipeng Qiu},
4 year={2026},
5 eprint={2601.11077},
6 archivePrefix={arXiv},
7 primaryClass={cs.SE},
8 url={https://arxiv.org/abs/2601.11077},
9}