Instructions to use ulas742/lora-mid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ulas742/lora-mid with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B") model = PeftModel.from_pretrained(base_model, "ulas742/lora-mid") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from ulas742/lora-mid: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/ulas742/lora-mid/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://ulas742/lora-mid/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/ulas742/lora-mid/resolve/main/special_tokens_map.json
301 Bytes
| { | |
| "bos_token": { | |
| "content": "<|begin_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "<|end_of_text|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |