Instructions to use Gsj49/adaptiveG with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Gsj49/adaptiveG with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Gsj49/adaptiveG", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,231 Bytes
877068f | 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 | ---
library_name: transformers
tags:
- policy-gradient
- adaptive-group-size
---
# Adaptive group-size policy checkpoints
Final fixed-group and adaptive policy checkpoints for GSM8K, mathematical
reasoning and code generation. This is a multi-model archive: choose a model
subdirectory from `checkpoints.json`, rather than loading the repository root.
| Family | Models | Final step |
|---|---:|---:|
| GSM8K / Qwen2.5-1.5B-Instruct | 21 | 500 |
| Math / Qwen3-8B-SFT496 | 6 | 300 |
| Math / Qwen2.5-Math-7B | 6 | 500 |
| Coding / DeepSeek-Coder-1.3B-Base | 6 | 500 |
The manifest lists planned models; a model is available after its folder has
been committed. Historical hybrid runs retain their original configuration
name. Base-model licenses remain applicable; no optimizer states or training
datasets are published here.
```python
from pathlib import Path
from huggingface_hub import snapshot_download
from transformers import AutoModelForCausalLM, AutoTokenizer
subdir = "models/gsm8k/fixed2/seed42/step500"
root = snapshot_download("Gsj49/adaptiveG", allow_patterns=[subdir + "/*"])
folder = Path(root) / subdir
tokenizer = AutoTokenizer.from_pretrained(folder)
model = AutoModelForCausalLM.from_pretrained(folder)
```
|