Instructions to use Prience91/SFT_Trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Prience91/SFT_Trainer with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Prience91/SFT_Trainer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Prience91/SFT_Trainer: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/Prience91/SFT_Trainer/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Prience91/SFT_Trainer/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Prience91/SFT_Trainer/resolve/main/tokenizer_config.json
460 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": "<|endoftext|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>" | |
| ], | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_max_length": 8192, | |
| "pad_token": "<|endoftext|>", | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|endoftext|>", | |
| "vocab_size": 49152 | |
| } | |