Instructions to use jc80622/unilora_sec151 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jc80622/unilora_sec151 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Universal-NER/UniNER-7B-type") model = PeftModel.from_pretrained(base_model, "jc80622/unilora_sec151") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from jc80622/unilora_sec151: direct link, hf CLI and curl.
- Browser
- Download file 748 Bytes
-
https://huggingface.co/jc80622/unilora_sec151/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://jc80622/unilora_sec151/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/jc80622/unilora_sec151/resolve/main/tokenizer_config.json
748 Bytes
| { | |
| "add_bos_token": true, | |
| "add_eos_token": false, | |
| "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": 2048, | |
| "pad_token": null, | |
| "padding_side": "right", | |
| "sp_model_kwargs": {}, | |
| "tokenizer_class": "LlamaTokenizer", | |
| "unk_token": { | |
| "__type": "AddedToken", | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": true, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "use_fast": false | |
| } | |