tensorboard safetensors generated_from_trainer region:us
---
tags:
- generated_from_trainer
model-index:
- name: llama-2-7b-hf-ft-compact
  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. -->

# llama-2-7b-hf-ft-compact

This model was trained from scratch on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.8401

## 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: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 64
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 3
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 3.9985        | 0.36  | 25   | 2.9796          |
| 1.2719        | 0.73  | 50   | 1.1674          |
| 1.025         | 1.09  | 75   | 0.9475          |
| 0.8963        | 1.45  | 100  | 0.8777          |
| 0.8663        | 1.82  | 125  | 0.8582          |
| 0.8393        | 2.18  | 150  | 0.8469          |
| 0.8188        | 2.55  | 175  | 0.8415          |
| 0.8015        | 2.91  | 200  | 0.8401          |


### Framework versions

- Transformers 4.35.2
- Pytorch 2.0.0+cu118
- Datasets 2.15.0
- Tokenizers 0.15.0
