readme: ---
  license: mit
  tags:
  - generated_from_trainer
  metrics:
  - accuracy
  model-index:
  - name: SentimentBert
    results: []
  ---
  
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
  should probably proofread and complete it, then remove this comment. -->
  
  # SentimentBert
  
  This model is a fine-tuned version of [cahya/bert-base-indonesian-522M](https://huggingface.co/cahya/bert-base-indonesian-522M) on an unknown dataset.
  It achieves the following results on the evaluation set:
  - Loss: 0.2005
  - Accuracy: 0.965
  
  ## 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: 8
  - eval_batch_size: 8
  - seed: 42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  - lr_scheduler_type: linear
  - num_epochs: 5
  
  ### Training results
  
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
  | No log        | 1.0   | 275  | 0.7807          | 0.715    |
  | 0.835         | 2.0   | 550  | 1.0588          | 0.635    |
  | 0.835         | 3.0   | 825  | 0.2764          | 0.94     |
  | 0.5263        | 4.0   | 1100 | 0.1913          | 0.97     |
  | 0.5263        | 5.0   | 1375 | 0.2005          | 0.965    |
  
  
  ### Framework versions
  
  - Transformers 4.22.0
  - Pytorch 1.12.1+cu113
  - Datasets 2.4.0
  - Tokenizers 0.12.1
  