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