Instructions to use CMU-AIR2/deepseek-math-base-LORA-ArithSteps-8k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CMU-AIR2/deepseek-math-base-LORA-ArithSteps-8k with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("deepseek-ai/deepseek-math-7b-base") model = PeftModel.from_pretrained(base_model, "CMU-AIR2/deepseek-math-base-LORA-ArithSteps-8k") - Notebooks
- Google Colab
- Kaggle
Download config.json from CMU-AIR2/deepseek-math-base-LORA-ArithSteps-8k: direct link, hf CLI and curl.
- Browser
- Download file 594 Bytes
-
https://huggingface.co/CMU-AIR2/deepseek-math-base-LORA-ArithSteps-8k/resolve/main/config.json
- Command line
-
hf download hf://CMU-AIR2/deepseek-math-base-LORA-ArithSteps-8k/config.json
-
curl -L -o config.json https://huggingface.co/CMU-AIR2/deepseek-math-base-LORA-ArithSteps-8k/resolve/main/config.json
594 Bytes
| { | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "bos_token_id": 100000, | |
| "eos_token_id": 100001, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 11008, | |
| "max_position_embeddings": 4096, | |
| "model_type": "llama", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 30, | |
| "num_key_value_heads": 32, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 10000.0, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.33.1", | |
| "use_cache": true, | |
| "vocab_size": 102400 | |
| } | |