Instructions to use shubhxho/cmf-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use shubhxho/cmf-2 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download shubhxho/cmf-2 --local-dir cmf-2
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download model.json from shubhxho/cmf-2: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/shubhxho/cmf-2/resolve/main/model.json
- Command line
-
hf download hf://shubhxho/cmf-2/model.json
-
curl -L -o model.json https://huggingface.co/shubhxho/cmf-2/resolve/main/model.json
1.24 kB
| { | |
| "history": 64, | |
| "fast_dim": 24, | |
| "slow_dim": 16, | |
| "pos_dim": 8, | |
| "lag_dim": 8, | |
| "n_actions": 3, | |
| "dim": 384, | |
| "heads": 8, | |
| "layers": 7, | |
| "coarse_layers": 2, | |
| "layer_scale": 0.01, | |
| "dropout": 0.08, | |
| "lacuna_hidden": 64, | |
| "lacuna_critic_hidden": 96, | |
| "lacuna_history": 5, | |
| "episode_ticks": 240, | |
| "dt": 1.0, | |
| "trade_size": 50.0, | |
| "max_spread": 0.04, | |
| "lag_min": 4.758854904575381, | |
| "lag_max": 11.971664305358779, | |
| "pretrain_steps": 12000, | |
| "pretrain_batch": 32, | |
| "pretrain_lr": 0.00015, | |
| "warmup_steps": 400, | |
| "train_hours": 3.5, | |
| "val_every": 400, | |
| "val_frames": 256, | |
| "ema_decay": 0.999, | |
| "aug_noise": 0.02, | |
| "real_mix": 0.88, | |
| "finetune_steps": 1200, | |
| "finetune_lr": 4e-05, | |
| "utility_coef": 0.7, | |
| "brier_coef": 0.55, | |
| "unc_coef": 0.12, | |
| "ppo_updates": 0, | |
| "rollout_envs": 8, | |
| "rollout_steps": 48, | |
| "ppo_epochs": 3, | |
| "ppo_batch": 32, | |
| "ppo_lr": 0.00025, | |
| "gamma": 0.97, | |
| "gae_lambda": 0.95, | |
| "clip_eps": 0.2, | |
| "entropy_coef": 0.03, | |
| "value_coef": 0.5, | |
| "aux_coef": 0.35, | |
| "max_grad_norm": 1.0, | |
| "target_kl": 0.03, | |
| "weight_decay": 0.02, | |
| "eval_episodes": 80, | |
| "seed": 7, | |
| "checkpoint_dir": "checkpoints", | |
| "format": "safetensors", | |
| "params": 50515313, | |
| "bytes_f32": 202061252 | |
| } |