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

# p2d_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/p2d_raw dataset.
It achieves the following results on the evaluation set:
- Loss: 1.9692
- Accuracy: 0.6970

## 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.8056        | 1.0   | 113  | 2.8196          | 0.5297   |
| 0.8734        | 2.0   | 226  | 1.4697          | 0.6733   |
| 0.2447        | 3.0   | 339  | 1.6612          | 0.6921   |
| 0.22          | 4.0   | 452  | 1.6755          | 0.6942   |
| 0.2052        | 5.0   | 565  | 1.7637          | 0.6957   |
| 0.2094        | 6.0   | 678  | 1.7976          | 0.6964   |
| 0.1924        | 7.0   | 791  | 1.8572          | 0.6956   |
| 0.1993        | 8.0   | 904  | 1.9042          | 0.6962   |
| 0.1962        | 9.0   | 1017 | 1.9406          | 0.6974   |
| 0.1897        | 10.0  | 1130 | 1.9692          | 0.6970   |


### 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/p2d_raw"], "metrics": ["accuracy"], "base_model": "meta-llama/Llama-2-7b-hf", "model-index": [{"name": "p2d_raw_meta-llama_Llama-2-7b-hf_2e-5_lora", "results": [{"task": {"type": "text-generation", "name": "Causal Language Modeling"}, "dataset": {"name": "tyzhu/p2d_raw", "type": "tyzhu/p2d_raw"}, "metrics": [{"type": "accuracy", "value": 0.696969696969697, "name": "Accuracy"}]}]}]}
generated_from_trainer dataset:tyzhu/p2d_raw base_model:meta-llama/Llama-2-7b-hf model-index region:us