Instructions to use vngrs/VBART-Large-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vngrs/VBART-Large-Base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("vngrs/VBART-Large-Base") model = AutoModelForSeq2SeqLM.from_pretrained("vngrs/VBART-Large-Base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from vngrs/VBART-Large-Base: direct link, hf CLI and curl.
- Browser
- Download file 1.17 kB
-
https://huggingface.co/vngrs/VBART-Large-Base/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://vngrs/VBART-Large-Base/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/vngrs/VBART-Large-Base/resolve/main/tokenizer_config.json
1.17 kB
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "<PAD>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "<UNK>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "<BOS>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "3": { | |
| "content": "<EOS>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "32000": { | |
| "content": "<MASK>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "bos_token": "<BOS>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<EOS>", | |
| "mask_token": "<MASK>", | |
| "model_max_length": 1024, | |
| "pad_token": "<PAD>", | |
| "padding_side": "right", | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "truncation_side": "right", | |
| "unk_token": "<UNK>" | |
| } | |