File size: 1,543 Bytes
e855284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6af1737
e855284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6af1737
 
 
 
 
 
 
 
 
e855284
 
 
 
6af1737
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
license: apache-2.0
tags:
  - serl
  - reinforcement-learning
  - qwen2.5
  - checkpoints
---

# SeRL Training Checkpoints

Compressed checkpoints from SeRL (Self-Evolving Reinforcement Learning) experiments.
Files use **ZipNN lossless compression** (~33% smaller, transparent loading).

## Quick Start

```bash
pip install zipnn huggingface_hub transformers
```

```python
# Enable ZipNN transparent loading
from zipnn import zipnn_hf
zipnn_hf()

from huggingface_hub import snapshot_download
from transformers import AutoModelForCausalLM, AutoTokenizer

# Download specific checkpoint
path = snapshot_download(
    "AshwinKM2005/serl-checkpoints",
    allow_patterns="serl_arce_qwen25_1_5b/huggingface/*"
)

# Load model (auto-decompresses .znn files)
model = AutoModelForCausalLM.from_pretrained(
    f"{path}/serl_arce_qwen25_1_5b/huggingface/global_step200_hf"
)
```

## Experiments

| Experiment | Base Model | Dataset |
|------------|-----------|---------|
| serl_arcc_qwen25_0_5b | Qwen2.5-0.5B | ARC-Challenge |
| serl_ARC-c_qwen25_1_5b | Qwen2.5-1.5B | ARC-Challenge |
| serl_arce_qwen25_0_5b | Qwen2.5-0.5B | ARC-Easy |
| serl_arce_qwen25_1_5b | Qwen2.5-1.5B | ARC-Easy |

## Structure

```
serl-checkpoints/
β”œβ”€β”€ serl_arcc_qwen25_0_5b/
β”‚   β”œβ”€β”€ huggingface/global_step100_hf/
β”‚   └── deepspeed/global_step100/
β”œβ”€β”€ serl_ARC-c_qwen25_1_5b/
β”‚   └── ...
└── ...
```

## Compression

Files ending in `.safetensors.znn` are ZipNN compressed.
The `zipnn_hf()` hook enables transparent loading.