Instructions to use interneuronai/az-chopt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use interneuronai/az-chopt with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("aisquared/chopt-research-1_3b") model = PeftModel.from_pretrained(base_model, "interneuronai/az-chopt") - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_bos_token": true, | |
| "add_eos_token": true, | |
| "add_prefix_space": false, | |
| "added_tokens_decoder": { | |
| "2": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "50265": { | |
| "content": "### End", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "50266": { | |
| "content": "### Instruction:", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "50267": { | |
| "content": "### Response:\n", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [ | |
| "### End", | |
| "### Instruction:", | |
| "### Response:\n" | |
| ], | |
| "bos_token": "</s>", | |
| "clean_up_tokenization_spaces": true, | |
| "eos_token": "</s>", | |
| "errors": "replace", | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": "</s>", | |
| "tokenizer_class": "GPT2Tokenizer", | |
| "unk_token": "</s>" | |
| } | |