Instructions to use Paladiso/bb73a8ba-f2ad-4dad-a9e7-46da888461bc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Paladiso/bb73a8ba-f2ad-4dad-a9e7-46da888461bc with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("samoline/d06bfecd-ea82-4f80-8b9f-98631e6886ba") model = PeftModel.from_pretrained(base_model, "Paladiso/bb73a8ba-f2ad-4dad-a9e7-46da888461bc") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from Paladiso/bb73a8ba-f2ad-4dad-a9e7-46da888461bc: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/Paladiso/bb73a8ba-f2ad-4dad-a9e7-46da888461bc/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Paladiso/bb73a8ba-f2ad-4dad-a9e7-46da888461bc/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Paladiso/bb73a8ba-f2ad-4dad-a9e7-46da888461bc/resolve/main/tokenizer_config.json
2.1 kB
| { | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "100257": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100258": { | |
| "content": "<|fim_prefix|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100259": { | |
| "content": "<|fim_middle|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100260": { | |
| "content": "<|fim_suffix|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100264": { | |
| "content": "<|im_start|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100265": { | |
| "content": "<|im_end|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100276": { | |
| "content": "<|endofprompt|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "<|endoftext|>", | |
| "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|endoftext|>", | |
| "extra_special_tokens": {}, | |
| "model_max_length": 8192, | |
| "pad_token": "<|endoftext|>", | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "<|endoftext|>" | |
| } | |