BiboyQG commited on
Commit
bf4b3fc
·
verified ·
1 Parent(s): ffdcd38

Add 8B model card

Browse files

Adapt the Spreadsheet-RL-4B card with 8B metadata, results, and checkpoint comparison.\n\nAssisted-by: OpenAI Codex

Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +118 -0
  3. spreadsheet-rl.png +3 -0
.gitattributes CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ spreadsheet-rl.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen3-8B
4
+ library_name: transformers
5
+ pipeline_tag: text-generation
6
+ datasets:
7
+ - Spreadsheet-RL/Spreadsheet-RL
8
+ language:
9
+ - en
10
+ tags:
11
+ - spreadsheet
12
+ - excel
13
+ - reinforcement-learning
14
+ - grpo
15
+ - agents
16
+ - tool-use
17
+ - verl
18
+ - qwen3
19
+ ---
20
+
21
+ # Spreadsheet-RL-8B
22
+
23
+ <p align="center">
24
+ <img src="spreadsheet-rl.png" alt="Spreadsheet-RL logo" width="700">
25
+ </p>
26
+
27
+ [**Project Page**](https://spreadsheet-rl.github.io/) | [**Paper**](https://arxiv.org/abs/2605.22642) | [**Dataset**](https://huggingface.co/datasets/Spreadsheet-RL/Spreadsheet-RL) | [**Code**](https://github.com/Spreadsheet-RL/Spreadsheet-RL)
28
+
29
+ Spreadsheet-RL-8B is the RL-trained 8B spreadsheet agent checkpoint from **Spreadsheet-RL: Advancing Large Language Model Agents on Realistic Spreadsheet Tasks via Reinforcement Learning**. It starts from [`Qwen/Qwen3-8B`](https://huggingface.co/Qwen/Qwen3-8B) and is post-trained with outcome-based reinforcement learning in Spreadsheet Gym, a multi-turn Microsoft Excel environment with spreadsheet-native tools, sandboxed code execution, and Excel-based recalculation rewards.
30
+
31
+ This checkpoint is intended to be used with the Spreadsheet-RL agent harness and tool environment. Loading it as a plain chat model can be useful for inspection, but it will not reproduce the reported results without Spreadsheet Gym, the tool set, and the reward/evaluation pipeline.
32
+
33
+ ## News
34
+
35
+ - 2026-08-01: Released the Spreadsheet-RL-8B model checkpoint on Hugging Face at [`Spreadsheet-RL/Spreadsheet-RL-8B`](https://huggingface.co/Spreadsheet-RL/Spreadsheet-RL-8B).
36
+
37
+ ## Model Details
38
+
39
+ | Field | Value |
40
+ | --- | --- |
41
+ | Base model | [`Qwen/Qwen3-8B`](https://huggingface.co/Qwen/Qwen3-8B) |
42
+ | Released checkpoint | Step 35, the best observed checkpoint |
43
+ | Training method | GRPO with outcome-based rewards |
44
+ | Environment | Spreadsheet Gym with Microsoft Excel 365, spreadsheet-native tools, SandboxFusion code execution, and async Excel recalculation/reward service |
45
+ | Training data | Spreadsheet-RL training split: 5,928 filtered ExcelForum tasks |
46
+ | Evaluation | SpreadsheetBench |
47
+ | License | Apache-2.0, following the base model license |
48
+
49
+ ## Training Configuration
50
+
51
+ For full details, please see the paper. The released 8B checkpoint uses:
52
+
53
+ | Hyperparameter | Value |
54
+ | --- | --- |
55
+ | Algorithm | GRPO; KL-regularized against a frozen reference model; 1 PPO epoch |
56
+ | Released checkpoint | 35 RL steps |
57
+ | Prompt/response limits | 8,192 / 24,576 tokens |
58
+ | Rollout sampling | temperature 0.6; top-p 0.95; top-k 20 |
59
+ | Batching | 128 prompts/step; 8 rollouts/prompt; 1,024 rollouts/step |
60
+ | Training sampler | Difficulty-aware mixture with difficulty level 5 excluded |
61
+ | Optimizer | AdamW; learning rate 2e-6; weight decay 0.01; constant schedule |
62
+ | KL loss | low-var KL; coefficient 0.001 |
63
+ | Actor update batching | mini-batch 64; dynamic batch sizing enabled |
64
+ | Hardware | 2 nodes x 4 GPUs |
65
+
66
+ ## Results
67
+
68
+ Spreadsheet-RL improves Qwen3-8B through spreadsheet-native interaction design, comprehensive tool access, and RL post-training.
69
+
70
+ | Benchmark | Base | + Agent Harness & Full Tools | Spreadsheet-RL-8B (step 35) |
71
+ | --- | ---: | ---: | ---: |
72
+ | SpreadsheetBench Pass@1 | 15.9 | 16.7 | 22.3 |
73
+
74
+ The released step-35 checkpoint is the best observed checkpoint and improves the full-harness pre-RL result by 5.6 percentage points.
75
+
76
+ The corresponding 4B release starts from [`Qwen/Qwen3-4B-Thinking-2507`](https://huggingface.co/Qwen/Qwen3-4B-Thinking-2507). Its `2507` checkpoint postdates the original Qwen3 series, including `Qwen/Qwen3-8B`, so model size and base-checkpoint vintage are confounded. Under the full Spreadsheet-RL harness, the 8B model trails the 4B model both before RL (16.7 versus 19.3) and after RL (22.3 versus 23.4); this should not be interpreted as a clean size-only comparison. Instead, the 8B gain from 16.7 to 22.3 shows that Spreadsheet-RL remains effective at a larger model scale, and we release the post-RL checkpoint to make that scaling result reproducible.
77
+
78
+ ## Usage
79
+
80
+ Install the standard Transformers stack and load the checkpoint:
81
+
82
+ ```python
83
+ from transformers import AutoModelForCausalLM, AutoTokenizer
84
+
85
+ model_id = "Spreadsheet-RL/Spreadsheet-RL-8B"
86
+
87
+ tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
88
+ model = AutoModelForCausalLM.from_pretrained(
89
+ model_id,
90
+ torch_dtype="auto",
91
+ device_map="auto",
92
+ trust_remote_code=True,
93
+ )
94
+ ```
95
+
96
+ For task evaluation and agent rollouts, use the full Spreadsheet-RL codebase with the released dataset and Spreadsheet Gym:
97
+
98
+ ```bash
99
+ hf download Spreadsheet-RL/Spreadsheet-RL --repo-type dataset --local-dir data
100
+ git clone https://github.com/Spreadsheet-RL/Spreadsheet-RL.git
101
+ ```
102
+
103
+ The default training/evaluation harness is maintained in the code repository under `configs/`, `scripts/`, `reward/`, and `verl/`.
104
+
105
+ ## Citation
106
+
107
+ ```bibtex
108
+ @misc{chi2026spreadsheetrl,
109
+ title = {Spreadsheet-RL: Advancing Large Language Model Agents on Realistic Spreadsheet Tasks via Reinforcement Learning},
110
+ author = {Banghao Chi and Yining Xie and Mingyuan Wu and Jingcheng Yang and Jize Jiang and Zhaoheng Li and Shengyi Qian and Minjia Zhang and Klara Nahrstedt and Rui Hou and Xiangjun Fan and Hanchao Yu},
111
+ year = {2026},
112
+ eprint = {2605.22642},
113
+ archivePrefix = {arXiv},
114
+ primaryClass = {cs.AI},
115
+ doi = {10.48550/arXiv.2605.22642},
116
+ url = {https://arxiv.org/abs/2605.22642}
117
+ }
118
+ ```
spreadsheet-rl.png ADDED

Git LFS Details

  • SHA256: e8270ac051bd07abd1c02db7263f4dfde6aba5d0cfa68381f5ec26c8e99ca145
  • Pointer size: 131 Bytes
  • Size of remote file: 345 kB