stanfordnlp/snli
Viewer • Updated • 570k • 31.8k • 91
How to use domenicrosati/t5-small-finetuned-contradiction-local-test with Transformers:
# Use a pipeline as a high-level helper
# Warning: Pipeline type "summarization" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# 'pip install "transformers<5.0.0'
from transformers import pipeline
pipe = pipeline("summarization", model="domenicrosati/t5-small-finetuned-contradiction-local-test") # Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("domenicrosati/t5-small-finetuned-contradiction-local-test")
model = AutoModelForSeq2SeqLM.from_pretrained("domenicrosati/t5-small-finetuned-contradiction-local-test")# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("domenicrosati/t5-small-finetuned-contradiction-local-test")
model = AutoModelForSeq2SeqLM.from_pretrained("domenicrosati/t5-small-finetuned-contradiction-local-test")This model is a fine-tuned version of t5-small on the snli dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 405 | 2.5110 | 23.4004 | 8.9397 | 20.9541 | 21.5922 |
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("summarization", model="domenicrosati/t5-small-finetuned-contradiction-local-test")