Instructions to use SangBinCho/long_context_32k_testing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use SangBinCho/long_context_32k_testing with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/mnt/local_storage/.cache/huggingface/hub/models--meta-llama--Llama-2-13b-chat-hf/snapshots/ee41e514ee23be967cc6a698dba34c5fd08ab9b5") model = PeftModel.from_pretrained(base_model, "SangBinCho/long_context_32k_testing") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from SangBinCho/long_context_32k_testing: direct link, hf CLI and curl.
- Browser
- Download file 875 Bytes
-
https://huggingface.co/SangBinCho/long_context_32k_testing/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://SangBinCho/long_context_32k_testing/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/SangBinCho/long_context_32k_testing/resolve/main/tokenizer_config.json
875 Bytes
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [], | |
| "bos_token": "<s>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "</s>", | |
| "legacy": true, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "</s>", | |
| "sp_model_kwargs": {}, | |
| "tokenizer_class": "LlamaTokenizer", | |
| "unk_token": "<unk>", | |
| "use_default_system_prompt": true | |
| } | |