Add paper link, GitHub link, and metadata

#2
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +45 -11
README.md CHANGED
@@ -1,27 +1,39 @@
1
  ---
2
  license: mit
 
 
 
 
3
  configs:
4
  - config_name: train
5
  data_files:
6
- - split: train
7
- path: train.jsonl
8
  - config_name: single_test
9
  data_files:
10
- - split: train
11
- path: single_test.jsonl
12
  - config_name: multiple_test
13
  data_files:
14
- - split: train
15
- path: multiple_test.jsonl
16
  ---
17
 
18
- ## dataset structure
 
 
 
 
 
 
 
 
19
 
20
  The SE-Bench contains the following subsets (configurations). Please note that all data is loaded under the `train` split key regardless of the subset.
21
- - `train`:
22
- - `train` train set
23
- - `single_test`: single function test set
24
- - `multiple_test`: multiple function test set
25
 
26
  ## Usage
27
 
@@ -38,6 +50,8 @@ print(dataset)
38
 
39
  ### Load Single Function Test Set
40
  ```python
 
 
41
  dataset = load_dataset("jintailin/SE-Bench", "single_test")
42
  # Data is in dataset['train']
43
  print(dataset)
@@ -45,7 +59,27 @@ print(dataset)
45
 
46
  ### Load Multiple Function Test Set
47
  ```python
 
 
48
  dataset = load_dataset("jintailin/SE-Bench", "multiple_test")
49
  # Data is in dataset['train']
50
  print(dataset)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  ```
 
1
  ---
2
  license: mit
3
+ language:
4
+ - en
5
+ task_categories:
6
+ - text-generation
7
  configs:
8
  - config_name: train
9
  data_files:
10
+ - split: train
11
+ path: train.jsonl
12
  - config_name: single_test
13
  data_files:
14
+ - split: train
15
+ path: single_test.jsonl
16
  - config_name: multiple_test
17
  data_files:
18
+ - split: train
19
+ path: multiple_test.jsonl
20
  ---
21
 
22
+ # SE-Bench: Benchmarking Self-Evolution with Knowledge Internalization
23
+
24
+ [**Paper**](https://huggingface.co/papers/2602.04811) | [**GitHub**](https://github.com/thunlp/SE-Bench)
25
+
26
+ SE-Bench is a diagnostic environment designed to rigorously measure an agent's ability to **internalize** novel knowledge, which is a foundational capability for true self-evolution.
27
+
28
+ The benchmark obfuscates the NumPy library and its API documentation into a pseudo-novel package with randomized identifiers. Agents are trained to internalize this package and are then evaluated on simple coding tasks without access to documentation. This yields a clean setting where tasks are trivial with the new API doc but impossible for base models without it.
29
+
30
+ ## Dataset Structure
31
 
32
  The SE-Bench contains the following subsets (configurations). Please note that all data is loaded under the `train` split key regardless of the subset.
33
+
34
+ - `train`: Training questions and materials (including API documentation) used to teach the model the pseudo-novel API.
35
+ - `single_test`: Test set for single-function coding problems.
36
+ - `multiple_test`: Test set for multiple-function composition coding problems.
37
 
38
  ## Usage
39
 
 
50
 
51
  ### Load Single Function Test Set
52
  ```python
53
+ from datasets import load_dataset
54
+
55
  dataset = load_dataset("jintailin/SE-Bench", "single_test")
56
  # Data is in dataset['train']
57
  print(dataset)
 
59
 
60
  ### Load Multiple Function Test Set
61
  ```python
62
+ from datasets import load_dataset
63
+
64
  dataset = load_dataset("jintailin/SE-Bench", "multiple_test")
65
  # Data is in dataset['train']
66
  print(dataset)
67
+ ```
68
+
69
+ ## Protocol
70
+ To use SE-Bench correctly for measuring knowledge internalization:
71
+ 1. Train your model or agent using **only** the information provided in the `train` configuration.
72
+ 2. Evaluate on problems in the `test` configurations **without** providing the model access to documentation at inference time.
73
+
74
+ ## Citation
75
+
76
+ If you find SE-Bench useful in your research, please cite:
77
+
78
+ ```bibtex
79
+ @article{yuan2025sebench,
80
+ title={SE-Bench: Benchmarking Self-Evolution with Knowledge Internalization},
81
+ author={Jiarui Yuan and Tailin Jin and Weize Chen and Zeyuan Liu and Zhiyuan Liu and Maosong Sun},
82
+ journal={arXiv preprint arXiv:2602.04811},
83
+ year={2025}
84
+ }
85
  ```