transformers safetensors distilbert text-classification generated_from_trainer dataset:generator model-index autotrain_compatible endpoints_compatible region:us
---
datasets:
- generator
metrics:
- accuracy
tags:
- generated_from_trainer
model-index:
- name: distilbert-sql-timeout-classifier-2024022823
  results:
  - task:
      type: text-classification
      name: Text Classification
    dataset:
      name: generator
      type: generator
      config: default
      split: train
      args: default
    metrics:
    - type: accuracy
      value: 0.8431902669820885
      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. -->

# distilbert-sql-timeout-classifier-2024022823

This model was trained from scratch on the generator dataset.
It achieves the following results on the evaluation set:
- Loss: 0.6255
- Accuracy: 0.8432

## 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: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.3076        | 1.0   | 702  | 0.4457          | 0.8545   |
| 0.139         | 2.0   | 1404 | 0.5291          | 0.8296   |
| 0.0807        | 3.0   | 2106 | 0.6255          | 0.8432   |


### Framework versions

- Transformers 4.38.1
- Pytorch 2.2.1+cu121
- Datasets 2.17.1
- Tokenizers 0.15.2
