rcds/swiss_judgment_prediction
Updated • 351 • 15
How to use mhmmterts/my_fine_tuned_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="mhmmterts/my_fine_tuned_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("mhmmterts/my_fine_tuned_model")
model = AutoModelForSequenceClassification.from_pretrained("mhmmterts/my_fine_tuned_model")This model is a fine-tuned version of joelniklaus/legal-swiss-roberta-large on the swiss_judgment_prediction 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 | Accuracy |
|---|---|---|---|---|
| 0.4692 | 1.0 | 2217 | 0.4277 | 0.8305 |
| 0.4261 | 2.0 | 4434 | 0.4358 | 0.8314 |
Base model
joelniklaus/legal-swiss-roberta-large