transformers safetensors opt text-generation generated_from_trainer autotrain_compatible endpoints_compatible text-generation-inference region:us
---
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: smolm-autoreg-bpe-counterfactual-babylm-indef-naan_non_num-1e-4
  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. -->

# smolm-autoreg-bpe-counterfactual-babylm-indef-naan_non_num-1e-4

This model was trained from scratch on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 3.4405
- Accuracy: 0.4061

## 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: 0.0001
- train_batch_size: 32
- eval_batch_size: 64
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 32000
- num_epochs: 20.0
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step   | Validation Loss | Accuracy |
|:-------------:|:-----:|:------:|:---------------:|:--------:|
| 4.0452        | 1.0   | 18592  | 4.2720          | 0.3087   |
| 3.5656        | 2.0   | 37184  | 3.7328          | 0.3625   |
| 3.3921        | 3.0   | 55776  | 3.6072          | 0.3791   |
| 3.2896        | 4.0   | 74368  | 3.5309          | 0.3889   |
| 3.2212        | 5.0   | 92960  | 3.4874          | 0.3932   |
| 3.1702        | 6.0   | 111552 | 3.4738          | 0.3958   |
| 3.1319        | 7.0   | 130144 | 3.4332          | 0.3990   |
| 3.0928        | 8.0   | 148736 | 3.4564          | 0.3997   |
| 3.069         | 9.0   | 167328 | 3.4281          | 0.4012   |
| 3.0383        | 10.0  | 185920 | 3.4213          | 0.4028   |
| 3.0149        | 11.0  | 204512 | 3.4187          | 0.4034   |
| 2.9911        | 12.0  | 223104 | 3.4122          | 0.4043   |
| 2.9671        | 13.0  | 241696 | 3.4319          | 0.4049   |
| 2.954         | 14.0  | 260288 | 3.4280          | 0.4052   |
| 2.9292        | 15.0  | 278880 | 3.4261          | 0.4055   |
| 2.9075        | 16.0  | 297472 | 3.4235          | 0.4059   |
| 2.8965        | 17.0  | 316064 | 3.4331          | 0.4056   |
| 2.8784        | 18.0  | 334656 | 3.4367          | 0.4058   |
| 2.8638        | 19.0  | 353248 | 3.4383          | 0.4059   |
| 2.8456        | 20.0  | 371840 | 3.4405          | 0.4061   |


### Framework versions

- Transformers 4.35.0
- Pytorch 2.1.0+cu121
- Datasets 2.12.0
- Tokenizers 0.14.1
