transformers pytorch distilbert text-classification generated_from_trainer dataset:tweet_eval license:apache-2.0 model-index autotrain_compatible endpoints_compatible region:us
---
datasets:
- tweet_eval
license: apache-2.0
metrics:
- f1
tags:
- generated_from_trainer
model-index:
- name: test_hate_trained_test
  results:
  - task:
      type: text-classification
      name: Text Classification
    dataset:
      name: tweet_eval
      type: tweet_eval
      args: hate
    metrics:
    - type: f1
      value: 0.7691585677255204
      name: F1
---

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

# test_hate_trained_test

This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the tweet_eval dataset.
It achieves the following results on the evaluation set:
- Loss: 1.1807
- F1: 0.7692

## 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: 5.257754679724796e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 0
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 4

### Training results

| Training Loss | Epoch | Step | Validation Loss | F1     |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 0.4362        | 1.0   | 1125 | 0.5282          | 0.7369 |
| 0.3193        | 2.0   | 2250 | 0.6364          | 0.7571 |
| 0.1834        | 3.0   | 3375 | 1.0346          | 0.7625 |
| 0.0776        | 4.0   | 4500 | 1.1807          | 0.7692 |


### Framework versions

- Transformers 4.12.5
- Pytorch 1.9.1
- Datasets 1.16.1
- Tokenizers 0.10.3
