Instructions to use OrangeMoon0711/mathLLM-7B-Instruct-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OrangeMoon0711/mathLLM-7B-Instruct-adapter with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OrangeMoon0711/mathLLM-7B-Instruct-adapter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use OrangeMoon0711/mathLLM-7B-Instruct-adapter with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for OrangeMoon0711/mathLLM-7B-Instruct-adapter to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for OrangeMoon0711/mathLLM-7B-Instruct-adapter to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for OrangeMoon0711/mathLLM-7B-Instruct-adapter to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="OrangeMoon0711/mathLLM-7B-Instruct-adapter", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|end▁of▁sentence|>",
|
| 7 |
+
"is_local": false,
|
| 8 |
+
"model_max_length": 4096,
|
| 9 |
+
"pad_token": "<|PAD_TOKEN|>",
|
| 10 |
+
"padding_side": "left",
|
| 11 |
+
"sp_model_kwargs": {},
|
| 12 |
+
"tokenizer_class": "LlamaTokenizer",
|
| 13 |
+
"unk_token": null,
|
| 14 |
+
"use_default_system_prompt": false
|
| 15 |
+
}
|