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

# d2p_raw_meta-llama_Llama-2-7b-hf_2e-5_lora

This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the tyzhu/d2p_raw dataset.
It achieves the following results on the evaluation set:
- Loss: 1.4578
- Accuracy: 0.7253

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

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 2.5244        | 1.0   | 113  | 2.7390          | 0.5233   |
| 0.4684        | 2.0   | 226  | 1.0652          | 0.7236   |
| 0.2528        | 3.0   | 339  | 1.2500          | 0.7248   |
| 0.2269        | 4.0   | 452  | 1.3056          | 0.7251   |
| 0.2165        | 5.0   | 565  | 1.3506          | 0.7250   |
| 0.2074        | 6.0   | 678  | 1.3898          | 0.7248   |
| 0.2057        | 7.0   | 791  | 1.3940          | 0.7250   |
| 0.2009        | 8.0   | 904  | 1.4282          | 0.7252   |
| 0.2017        | 9.0   | 1017 | 1.4478          | 0.7252   |
| 0.1941        | 10.0  | 1130 | 1.4578          | 0.7253   |


### Framework versions

- Transformers 4.34.0
- Pytorch 2.1.0+cu121
- Datasets 2.14.5
- Tokenizers 0.14.1

{"tags": ["generated_from_trainer"], "datasets": ["tyzhu/d2p_raw"], "metrics": ["accuracy"], "base_model": "meta-llama/Llama-2-7b-hf", "model-index": [{"name": "d2p_raw_meta-llama_Llama-2-7b-hf_2e-5_lora", "results": [{"task": {"type": "text-generation", "name": "Causal Language Modeling"}, "dataset": {"name": "tyzhu/d2p_raw", "type": "tyzhu/d2p_raw"}, "metrics": [{"type": "accuracy", "value": 0.7253191489361702, "name": "Accuracy"}]}]}]}
generated_from_trainer dataset:tyzhu/d2p_raw base_model:meta-llama/Llama-2-7b-hf model-index region:us