Text Classification
PEFT
Safetensors
English
Japanese
d1a
decision-model
calibration
lora
gemma4
typesafe
system-one
pull-requests
Instructions to use JohnP1/d1a-e4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use JohnP1/d1a-e4b with PEFT:
from peft import PeftModel from transformers import AutoModel base_model = AutoModel.from_pretrained("google/gemma-4-E4B") model = PeftModel.from_pretrained(base_model, "JohnP1/d1a-e4b") - Notebooks
- Google Colab
- Kaggle
Download training_config.json from JohnP1/d1a-e4b: direct link, hf CLI and curl.
- Browser
- Download file 1.55 kB
-
https://huggingface.co/JohnP1/d1a-e4b/resolve/main/training_config.json
- Command line
-
hf download hf://JohnP1/d1a-e4b/training_config.json
-
curl -L -o training_config.json https://huggingface.co/JohnP1/d1a-e4b/resolve/main/training_config.json
1.55 kB
| { | |
| "args": { | |
| "base": "google/gemma-4-E4B", | |
| "n_per_source": 1000, | |
| "epochs": 1, | |
| "lr": 2e-05, | |
| "head_lr": 0.0, | |
| "weight_decay": 0.01, | |
| "lora": 16, | |
| "accum": 4, | |
| "holdout": "", | |
| "suite": "evals/v7/decision-v7", | |
| "train_sources": "", | |
| "device": "mps", | |
| "batch": 2, | |
| "dtype": "fp32", | |
| "weights_dtype": "bf16", | |
| "checkpointing": 1, | |
| "head_dim": 256, | |
| "lora_targets": "all", | |
| "base_revision": "411aa17b749aa952df1359d2dcea73917a544d9a", | |
| "p_none": 0.1, | |
| "p_none_distract": 0.12, | |
| "p_distract": 0.15, | |
| "p_none_pair": 0.0, | |
| "none_pair_max_state": null, | |
| "synthetic_repeat": 1, | |
| "public_frac": 1.0, | |
| "out": "d1", | |
| "data": "train.jsonl", | |
| "max_state": 5120, | |
| "extra_suites": "", | |
| "replay": 0, | |
| "init_from": "JohnP1/d1a-e4b@v0.5", | |
| "row_budget": 0, | |
| "shared_prefix": 0, | |
| "length_sort": 0, | |
| "pass_tokens_max": 0, | |
| "max_steps": 0, | |
| "save_every_steps": 0, | |
| "save_every_minutes": 30.0, | |
| "resume": 1, | |
| "stop_after": 0, | |
| "seed": 0 | |
| }, | |
| "suite_sha256": "a8f50e481b7d90b97da049e0ff6a01cee2f1ed204aed61a8265af0edbb5514d2", | |
| "base_revision": "411aa17b749aa952df1359d2dcea73917a544d9a", | |
| "init_source": { | |
| "init_from": "JohnP1/d1a-e4b@v0.5", | |
| "resolved": "JohnP1/d1a-e4b@e7db32f2254b6feb6ec830ae98662755dce39504", | |
| "weights_sha256": "314242334d9483563d015b7dfb5971e774d03df075bdcb4da7f270cf2e356a1e", | |
| "head_sha256": "4391749cd23185ea1dcd9039cd767aeaf3db915ff0db238ed485b4103bd9930c", | |
| "tensors": 516 | |
| }, | |
| "holdout": [] | |
| } | |