Edit model card

bert-base-cased_yelp_review_fullv2

This model is a fine-tuned version of google-bert/bert-base-cased on the yelp_review_full dataset. It achieves the following results on the evaluation set:

  • Loss: 1.0013
  • Accuracy: 0.582
  • Precision: 0.5867
  • Recall: 0.582
  • F1: 0.5802

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • train_batch_size: 16
  • eval_batch_size: 64
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 3

Training results

Training Loss Epoch Step Validation Loss Accuracy Precision Recall F1
1.2595 1.0 63 1.0856 0.547 0.5440 0.547 0.5257
0.8253 2.0 126 0.9801 0.581 0.5768 0.581 0.5691
0.5651 3.0 189 1.0013 0.582 0.5867 0.582 0.5802

Framework versions

  • Transformers 4.45.1
  • Pytorch 2.4.1+cu121
  • Datasets 3.0.1
  • Tokenizers 0.20.0
Downloads last month
19
Safetensors
Model size
108M params
Tensor type
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Model tree for mariamoracrossitcr/bert-base-cased_yelp_review_fullv2

Finetuned
(1764)
this model