Instructions to use allenai/PRIMERA-multixscience with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/PRIMERA-multixscience with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("allenai/PRIMERA-multixscience") model = AutoModelForSeq2SeqLM.from_pretrained("allenai/PRIMERA-multixscience", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
f561c04 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5c7f8e287b9b3caea59af31d0cfc0d985e7bcd14a200862a441de2130d6d1a74
size 1789292593
|