Instructions to use xfbai/AMRBART-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xfbai/AMRBART-large with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("xfbai/AMRBART-large") model = AutoModelForSeq2SeqLM.from_pretrained("xfbai/AMRBART-large") - Notebooks
- Google Colab
- Kaggle
issue - Can't load tokenizer using from_pretrained
#2
by melmell - opened
Seeing the following error when trying to test the model in hugging face
Can't load tokenizer using from_pretrained, please update its configuration: Can't load tokenizer for 'xfbai/AMRBART-large'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'xfbai/AMRBART-large' is the correct path to a directory containing all relevant files for a BartTokenizerFast tokenizer.