Run this model with HF Jobs
Run ScalableMath/Lean-STaR-base on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ScalableMath/Lean-STaR-base. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ScalableMath/Lean-STaR-base on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ScalableMath/Lean-STaR-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ScalableMath/Lean-STaR-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ScalableMath/Lean-STaR-base", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ScalableMath/Lean-STaR-base", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from ScalableMath/Lean-STaR-base: direct link, hf CLI and curl.
- Browser
- Download file 955 Bytes
-
https://huggingface.co/ScalableMath/Lean-STaR-base/resolve/main/config.json
- Command line
-
hf download hf://ScalableMath/Lean-STaR-base/config.json
-
curl -L -o config.json https://huggingface.co/ScalableMath/Lean-STaR-base/resolve/main/config.json
955 Bytes
| { | |
| "_name_or_path": "/nobackup/users/zhiqings/haohanl/Lean/checkpoints/internlm/internlm2-math-base-7b", | |
| "architectures": [ | |
| "InternLM2ForCausalLM" | |
| ], | |
| "attn_implementation": "eager", | |
| "auto_map": { | |
| "AutoConfig": "configuration_internlm2.InternLM2Config", | |
| "AutoModel": "modeling_internlm2.InternLM2ForCausalLM", | |
| "AutoModelForCausalLM": "modeling_internlm2.InternLM2ForCausalLM" | |
| }, | |
| "bias": false, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "hidden_act": "silu", | |
| "hidden_size": 4096, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "max_position_embeddings": 8192, | |
| "model_type": "internlm2", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pad_token_id": 2, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.39.3", | |
| "use_cache": true, | |
| "vocab_size": 92544 | |
| } | |