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: hate_trained_1234567
  results:
  - task:
      type: text-classification
      name: Text Classification
    dataset:
      name: tweet_eval
      type: tweet_eval
      args: hate
    metrics:
    - type: f1
      value: 0.7750768993843997
      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. -->

# hate_trained_1234567

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: 0.7927
- F1: 0.7751

## 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: 2.7272339744854407e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 1234567
- 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.4835        | 1.0   | 563  | 0.4882          | 0.7534 |
| 0.3236        | 2.0   | 1126 | 0.5286          | 0.7590 |
| 0.2191        | 3.0   | 1689 | 0.6103          | 0.7717 |
| 0.1408        | 4.0   | 2252 | 0.7927          | 0.7751 |


### Framework versions

- Transformers 4.13.0
- Pytorch 1.10.0+cu111
- Datasets 1.16.1
- Tokenizers 0.10.3
