osunlp/AttrScore
Viewer • Updated • 1.8M • 138 • 11
How to use osunlp/attrscore-flan-t5-large with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("osunlp/attrscore-flan-t5-large")
model = AutoModelForSeq2SeqLM.from_pretrained("osunlp/attrscore-flan-t5-large")AttributionScore model fine-tuned from FLAN-t5-large on the combined repurposed data from https://huggingface.co/datasets/osunlp/AttrScore