Instructions to use Nara-Lab/nallm-bart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nara-Lab/nallm-bart with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Nara-Lab/nallm-bart") model = AutoModelForSeq2SeqLM.from_pretrained("Nara-Lab/nallm-bart", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "clean_up_tokenization_spaces": true, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "tokenizer_class": "PreTrainedTokenizerFast" | |
| } | |