Instructions to use Benedict258/adaption_testing_datasets_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Benedict258/adaption_testing_datasets_1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("togethercomputer/gpt-oss-20b-bf16") model = PeftModel.from_pretrained(base_model, "Benedict258/adaption_testing_datasets_1") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Benedict258/adaption_testing_datasets_1: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/Benedict258/adaption_testing_datasets_1/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Benedict258/adaption_testing_datasets_1/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Benedict258/adaption_testing_datasets_1/resolve/main/tokenizer_config.json
382 Bytes
| { | |
| "backend": "tokenizers", | |
| "bos_token": "<|startoftext|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|return|>", | |
| "is_local": false, | |
| "local_files_only": true, | |
| "model_input_names": [ | |
| "input_ids", | |
| "attention_mask" | |
| ], | |
| "model_max_length": 131072, | |
| "pad_token": "<|endoftext|>", | |
| "padding_side": "right", | |
| "tokenizer_class": "TokenizersBackend" | |
| } | |