Instructions to use efficiency-learning/muon-gradientMatching with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use efficiency-learning/muon-gradientMatching with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("efficiency-learning/muon-gradientMatching", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from efficiency-learning/muon-gradientMatching: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/efficiency-learning/muon-gradientMatching/resolve/main/README.md
- Command line
-
hf download hf://efficiency-learning/muon-gradientMatching/README.md
-
curl -L -o README.md https://huggingface.co/efficiency-learning/muon-gradientMatching/resolve/main/README.md
1.4 kB
metadata
base_model: Qwen/Qwen2.5-0.5B
library_name: transformers
tags:
- qwen2
- pretraining
- mu-greats
muon-gradientMatching
Qwen2.5-0.5B models pretrained from scratch on openwebtext-100k, from the Mu-GREATS subset-selection / Muon gradient-matching experiments.
Each run is a subfolder; load one with:
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "efficiency-learning/muon-gradientMatching"
sub = "full_muon_lr0.001" # any folder below
model = AutoModelForCausalLM.from_pretrained(repo, subfolder=sub)
tokenizer = AutoTokenizer.from_pretrained(repo, subfolder=sub)
| Subfolder | Optimizer | LR | Mode | Step | dtype |
|---|---|---|---|---|---|
full_adamw_lr0.0001 |
adamw | 0.0001 | full | 6317 | ? |
full_adamw_lr0.0005 |
adamw | 0.0005 | full | 6317 | ? |
full_adamw_lr0.001 |
adamw | 0.001 | full | 6317 | ? |
full_adamw_lr0.005 |
adamw | 0.005 | full | 6317 | ? |
full_adamw_lr5e-05 |
adamw | 5e-05 | full | 6317 | ? |
full_muon_lr0.0001 |
muon | 0.0001 | full | 6317 | ? |
full_muon_lr0.0002 |
muon | 0.0002 | full | 6317 | ? |
full_muon_lr0.0005 |
muon | 0.0005 | full | 6317 | ? |
full_muon_lr0.001 |
muon | 0.001 | full | 6317 | ? |
full_muon_lr0.005 |
muon | 0.005 | full | 6317 | ? |
full_muon_lr5e-05 |
muon | 5e-05 | full | 6317 | ? |
random_muon_lr0.001 |
muon | 0.001 | random | 6317 | ? |