initial commit a3f5edd
Griffin Adams commited on
How to use griffin/redress-clinical-hallucination-generator with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("griffin/redress-clinical-hallucination-generator")
model = AutoModelForSeq2SeqLM.from_pretrained("griffin/redress-clinical-hallucination-generator", device_map="auto")