transformers pytorch bert text-classification classification generated_from_trainer dataset:amazon_reviews_multi model-index autotrain_compatible endpoints_compatible region:us
---
datasets:
- amazon_reviews_multi
metrics:
- accuracy
tags:
- classification
- generated_from_trainer
model-index:
- name: clasificador-amazonproducts2
  results:
  - task:
      type: text-classification
      name: Text Classification
    dataset:
      name: amazon_reviews_multi
      type: amazon_reviews_multi
      config: es
      split: validation
      args: es
    metrics:
    - type: accuracy
      value: 0.5563380281690141
      name: Accuracy
---

<!-- 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. -->

# clasificador-amazonproducts2

This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-uncased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-uncased) on the amazon_reviews_multi dataset.
It achieves the following results on the evaluation set:
- Loss: 1.2356
- Accuracy: 0.5563

## 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: 3.0

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 1.2045        | 1.0   | 658  | 1.0496          | 0.5845   |
| 0.9569        | 2.0   | 1316 | 1.0380          | 0.5704   |
| 0.7637        | 3.0   | 1974 | 1.2356          | 0.5563   |


### Framework versions

- Transformers 4.26.0
- Pytorch 1.13.1+cu116
- Datasets 2.9.0
- Tokenizers 0.13.2
