Instructions to use Codemaster67/Unichem_1M_tokens with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Codemaster67/Unichem_1M_tokens with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("allenai/OLMo-1B-hf") model = PeftModel.from_pretrained(base_model, "Codemaster67/Unichem_1M_tokens") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Codemaster67/Unichem_1M_tokens: direct link, hf CLI and curl.
- Browser
- Download file 396 Bytes
-
https://huggingface.co/Codemaster67/Unichem_1M_tokens/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Codemaster67/Unichem_1M_tokens/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Codemaster67/Unichem_1M_tokens/resolve/main/tokenizer_config.json
396 Bytes
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "<|endoftext|>", | |
| "errors": "replace", | |
| "is_local": false, | |
| "local_files_only": false, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "<|padding|>", | |
| "tokenizer_class": "GPTNeoXTokenizer", | |
| "trim_offsets": true, | |
| "unk_token": null | |
| } | |