cmotions/NL_restaurant_reviews
Viewer • Updated • 146k • 75 • 2
How to use wvangils/NL_BERT_michelin_finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="wvangils/NL_BERT_michelin_finetuned") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("wvangils/NL_BERT_michelin_finetuned")
model = AutoModelForSequenceClassification.from_pretrained("wvangils/NL_BERT_michelin_finetuned", device_map="auto")This model is a fine-tuned version of GroNLP/bert-base-dutch-cased on a Dutch restaurant reviews dataset. Provide Dutch review text to the API on the right and receive a score that indicates whether this restaurant is eligible for a Michelin star ;) 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 | Recall | Precision | F1 | Mse |
|---|---|---|---|---|---|---|---|---|
| 0.1043 | 1.0 | 3647 | 0.0961 | 0.9792 | 0.3566 | 0.7606 | 0.4856 | 0.0208 |
| 0.0799 | 2.0 | 7294 | 0.0797 | 0.9803 | 0.4364 | 0.7415 | 0.5495 | 0.0197 |
| 0.0589 | 3.0 | 10941 | 0.0637 | 0.9836 | 0.5486 | 0.7914 | 0.6480 | 0.0164 |