Spaces:
Runtime error
Runtime error
Download sample/zero_config.json from teachyourselfcoding/chatlawv1: direct link, hf CLI and curl.
- Browser
- Download file 1.32 kB
-
https://huggingface.co/spaces/teachyourselfcoding/chatlawv1/resolve/83f63dc6b3fd16cb880ec30860e44f1d683c5bdf/sample/zero_config.json
- Command line
-
hf download hf://spaces/teachyourselfcoding/chatlawv1@83f63dc6b3fd16cb880ec30860e44f1d683c5bdf/sample/zero_config.json
-
curl -L -o zero_config.json https://huggingface.co/spaces/teachyourselfcoding/chatlawv1/resolve/83f63dc6b3fd16cb880ec30860e44f1d683c5bdf/sample/zero_config.json
1.32 kB
| { | |
| "fp16": { | |
| "enabled": true, | |
| "loss_scale": 0, | |
| "loss_scale_window": 1000, | |
| "initial_scale_power": 16, | |
| "hysteresis": 2, | |
| "min_loss_scale": 1, | |
| "opt_level": "O2" | |
| }, | |
| "optimizer": { | |
| "type": "AdamW", | |
| "params": { | |
| "lr": "auto", | |
| "betas": "auto", | |
| "eps": "auto", | |
| "weight_decay": "auto" | |
| } | |
| }, | |
| "scheduler": { | |
| "type": "WarmupDecayLR", | |
| "params": { | |
| "warmup_min_lr": "auto", | |
| "warmup_max_lr": "auto", | |
| "warmup_num_steps": "auto", | |
| "total_num_steps": "auto" | |
| } | |
| }, | |
| "zero_optimization": { | |
| "stage": 3, | |
| "offload_param": { | |
| "device": "cpu" | |
| }, | |
| "offload_optimizer": { | |
| "device": "cpu" | |
| }, | |
| "allgather_partitions": true, | |
| "allgather_bucket_size": 5e8, | |
| "contiguous_gradients": true, | |
| "overlap_comm": true, | |
| "sub_group_size": 1e9, | |
| "reduce_bucket_size": "auto", | |
| "stage3_prefetch_bucket_size": "auto", | |
| "stage3_param_persistence_threshold": "auto", | |
| "stage3_max_live_parameters": 1e9, | |
| "stage3_max_reuse_distance": 1e9, | |
| "stage3_gather_fp16_weights_on_model_save": true | |
| }, | |
| "gradient_accumulation_steps": "auto", | |
| "gradient_clipping": "auto", | |
| "steps_per_print": 2000, | |
| "train_batch_size": "auto", | |
| "train_micro_batch_size_per_gpu": "auto", | |
| "wall_clock_breakdown": false | |
| } | |