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
|
Download README.md from Gsj49/adaptiveG: direct link, hf CLI and curl.
- Browser
- Download file 1.23 kB
-
https://huggingface.co/Gsj49/adaptiveG/resolve/main/README.md
- Command line
-
hf download hf://Gsj49/adaptiveG/README.md
-
curl -L -o README.md https://huggingface.co/Gsj49/adaptiveG/resolve/main/README.md
1.23 kB
| 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) | |
| ``` | |