AdithyaSK HF Staff commited on
Commit
0073d2a
·
verified ·
1 Parent(s): 7d3a3b5

v0: model card

Browse files
Files changed (1) hide show
  1. README.md +45 -0
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen3.5-2B
4
+ tags:
5
+ - reinforcement-learning
6
+ - grpo
7
+ - trl
8
+ - harbor
9
+ - data-agent
10
+ - agentic
11
+ pipeline_tag: text-generation
12
+ library_name: transformers
13
+ ---
14
+
15
+ # data-agent-2b-normal-final (v0)
16
+
17
+ A **2B** data-science agent finetuned from [`Qwen/Qwen3.5-2B`](https://huggingface.co/Qwen/Qwen3.5-2B) with
18
+ **GRPO** (online RL) to solve data-analysis tasks in a sandboxed bash environment. This repo holds
19
+ the **final** checkpoint (end of a full 1-epoch run) of the `2b-normal` run.
20
+
21
+ ## Training
22
+ - **Method:** GRPO (Group Relative Policy Optimization) via [TRL](https://github.com/huggingface/trl).
23
+ - **Environment:** [Harbor](https://github.com/huggingface/trl) task spec + **E2B** cloud sandboxes; single `bash` tool, answer submitted to `/workdir/answer.txt`.
24
+ - **Dataset:** [`AdithyaSK/data_agent_rl_environment_train`](https://huggingface.co/datasets/AdithyaSK/data_agent_rl_environment_train).
25
+ - **Schedule:** 1 epoch (1119 steps), 8 generations/prompt, KL-anchored to the reference. Tasks were presented in random order (standard).
26
+ - **This checkpoint:** step **1119** (final).
27
+
28
+ ## Evaluation
29
+ Agentic pass@k on the held-out [`data_agent_rl_environment_eval`](https://huggingface.co/datasets/AdithyaSK/data_agent_rl_environment_eval) suite (366 tasks, 4 samples/task, unbiased estimator):
30
+
31
+ | metric | base (Qwen3.5-2B) | this model | Δ |
32
+ |---|---|---|---|
33
+ | pass@1 | 0.098 | **0.408** | +0.310 |
34
+ | pass@2 | 0.168 | **0.514** | +0.346 |
35
+ | pass@3 | 0.229 | **0.567** | +0.338 |
36
+ | pass@4 | 0.284 | **0.603** | +0.319 |
37
+
38
+ ## Usage
39
+ ```python
40
+ from transformers import AutoModelForCausalLM, AutoTokenizer
41
+ m = AutoModelForCausalLM.from_pretrained("AdithyaSK/data-agent-2b-normal-final", revision="v0", torch_dtype="bfloat16")
42
+ tok = AutoTokenizer.from_pretrained("AdithyaSK/data-agent-2b-normal-final", revision="v0")
43
+ ```
44
+
45
+ *Part of the **data-agent v0** release. Served non-thinking with a single `bash` tool (Qwen tool-calling).*