Instructions to use error577/942cfd35-534e-4ab7-9dd2-335ce292d7c2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use error577/942cfd35-534e-4ab7-9dd2-335ce292d7c2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("hf-tiny-model-private/tiny-random-OPTForCausalLM") model = PeftModel.from_pretrained(base_model, "error577/942cfd35-534e-4ab7-9dd2-335ce292d7c2") - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from error577/942cfd35-534e-4ab7-9dd2-335ce292d7c2: direct link, hf CLI and curl.
- Browser
- Download file 548 Bytes
-
https://huggingface.co/error577/942cfd35-534e-4ab7-9dd2-335ce292d7c2/resolve/3abae98d787e0595edd217baad8b198d92f0bc91/special_tokens_map.json
- Command line
-
hf download hf://error577/942cfd35-534e-4ab7-9dd2-335ce292d7c2@3abae98d787e0595edd217baad8b198d92f0bc91/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/error577/942cfd35-534e-4ab7-9dd2-335ce292d7c2/resolve/3abae98d787e0595edd217baad8b198d92f0bc91/special_tokens_map.json
548 Bytes
| { | |
| "bos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |