readme: ---
  license: mit
  tags:
  - generated_from_trainer
  metrics:
  - accuracy
  model-index:
  - name: tluo_xml_roberta_base_amazon_review_sentiment_v2
    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. -->
  
  # tluo_xml_roberta_base_amazon_review_sentiment_v2
  
  This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on an unknown dataset.
  It achieves the following results on the evaluation set:
  - Loss: 0.9630
  - Accuracy: 0.6057
  
  ## 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: 2e-05
  - train_batch_size: 8
  - eval_batch_size: 8
  - seed: 123
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  - lr_scheduler_type: linear
  - num_epochs: 3
  - mixed_precision_training: Native AMP
  
  ### Training results
  
  | Training Loss | Epoch | Step  | Validation Loss | Accuracy |
  |:-------------:|:-----:|:-----:|:---------------:|:--------:|
  | 1.0561        | 0.33  | 5000  | 0.9954          | 0.567    |
  | 0.948         | 0.67  | 10000 | 0.9641          | 0.5862   |
  | 0.9557        | 1.0   | 15000 | 0.9605          | 0.589    |
  | 0.8891        | 1.33  | 20000 | 0.9420          | 0.5875   |
  | 0.8889        | 1.67  | 25000 | 0.9397          | 0.592    |
  | 0.8777        | 2.0   | 30000 | 0.9236          | 0.6042   |
  | 0.778         | 2.33  | 35000 | 0.9612          | 0.5972   |
  | 0.7589        | 2.67  | 40000 | 0.9728          | 0.5995   |
  | 0.7593        | 3.0   | 45000 | 0.9630          | 0.6057   |
  
  
  ### Framework versions
  
  - Transformers 4.23.1
  - Pytorch 1.12.1+cu113
  - Datasets 2.6.1
  - Tokenizers 0.13.1
  