alex-apostolo/filtered-cuad
Viewer • Updated • 6.38k • 174 • 4
How to use alex-apostolo/legal-roberta-base-filtered-cuad with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="alex-apostolo/legal-roberta-base-filtered-cuad") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("alex-apostolo/legal-roberta-base-filtered-cuad")
model = AutoModelForQuestionAnswering.from_pretrained("alex-apostolo/legal-roberta-base-filtered-cuad")This model is a fine-tuned version of saibo/legal-roberta-base on the cuad dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.0556 | 1.0 | 12279 | 0.0517 |
| 0.0406 | 2.0 | 24558 | 0.0425 |
| 0.0332 | 3.0 | 36837 | 0.0428 |