Instructions to use luqh/ClinicalT5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use luqh/ClinicalT5-base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("luqh/ClinicalT5-base") model = AutoModelForSeq2SeqLM.from_pretrained("luqh/ClinicalT5-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
error
#1
by Amalq - opened
OSError: luqh/ClinicalT5-large does not appear to have a file named pytorch_model.bin but there is a file for Flax weights. Use from_flax=True to load this model from those weights
I added from_flax=True and it worked. Thank you
Amalq changed discussion status to closed