How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="AdithyaSK/data-agent-2b-curriculum-final")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("AdithyaSK/data-agent-2b-curriculum-final")
model = AutoModelForMultimodalLM.from_pretrained("AdithyaSK/data-agent-2b-curriculum-final", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

data-agent-2b-curriculum-final (v0)

A 2B data-science agent finetuned from Qwen/Qwen3.5-2B with GRPO (online RL) to solve data-analysis tasks in a sandboxed bash environment. This repo holds the final checkpoint (end of a full 1-epoch run) of the 2b-curriculum run.

Training

  • Method: GRPO (Group Relative Policy Optimization) via TRL.
  • Environment: Harbor task spec + E2B cloud sandboxes; single bash tool, answer submitted to /workdir/answer.txt.
  • Dataset: AdithyaSK/data_agent_rl_environment_train.
  • Schedule: 1 epoch (1119 steps), 8 generations/prompt, KL-anchored to the reference. Tasks were presented in a difficulty-ranked curriculum (easy→hard).
  • This checkpoint: step 1119 (final).

Evaluation

Agentic pass@k on the held-out data_agent_rl_environment_eval suite (366 tasks, 4 samples/task, unbiased estimator):

metric base (Qwen3.5-2B) this model Δ
pass@1 0.098 0.402 +0.304
pass@2 0.168 0.509 +0.341
pass@3 0.229 0.563 +0.334
pass@4 0.284 0.603 +0.319

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
m = AutoModelForCausalLM.from_pretrained("AdithyaSK/data-agent-2b-curriculum-final", revision="v0", torch_dtype="bfloat16")
tok = AutoTokenizer.from_pretrained("AdithyaSK/data-agent-2b-curriculum-final", revision="v0")

Part of the data-agent v0 release. Served non-thinking with a single bash tool (Qwen tool-calling).

Downloads last month
39
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for AdithyaSK/data-agent-2b-curriculum-final

Finetuned
Qwen/Qwen3.5-2B
Finetuned
(307)
this model

Collection including AdithyaSK/data-agent-2b-curriculum-final