Instructions to use MRNH/llama-2-13b-GEC with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use MRNH/llama-2-13b-GEC with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("daryl149/llama-2-13b-chat-hf") model = PeftModel.from_pretrained(base_model, "MRNH/llama-2-13b-GEC") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from MRNH/llama-2-13b-GEC: direct link, hf CLI and curl.
- Browser
- Download file 713 Bytes
-
https://huggingface.co/MRNH/llama-2-13b-GEC/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://MRNH/llama-2-13b-GEC/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/MRNH/llama-2-13b-GEC/resolve/main/tokenizer_config.json
713 Bytes
| { | |
| "bos_token": { | |
| "__type": "AddedToken", | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": { | |
| "__type": "AddedToken", | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "pad_token": null, | |
| "sp_model_kwargs": {}, | |
| "tokenizer_class": "LlamaTokenizer", | |
| "unk_token": { | |
| "__type": "AddedToken", | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "use_default_system_prompt": true | |
| } | |