File size: 2,251 Bytes
d5ce927
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fe37350
 
cd8f157
fe37350
 
 
 
 
 
b963315
1141051
acc7f50
 
 
 
cd8f157
a4a899a
 
 
 
 
 
 
 
6a8c344
fe37350
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
language:
- en
license: apache-2.0
tags:
- text-generation-inference
- transformers
- unsloth
- llama
- trl
base_model: unsloth/llama-3-8b-Instruct-bnb-4bit
---

# Uploaded  model

- **Developed by:** Angelectronic
- **License:** apache-2.0
- **Finetuned from model :** unsloth/llama-3-8b-Instruct-bnb-4bit

This llama model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.

[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)

### Evaluation
- **ViMMRC test set:** 0.8385 accuracy

### Training results

| Training Loss | Accuracy  | Step  | Validation Loss |
|:-------------:|:---------:|:-----:|:---------------:|
| 1.836600      | 0.822141  | 240   | 2.302049        |
| 1.648300      | 0.827586  | 480   | 2.330861        |
| 1.511700      | 0.833031  | 720   | 2.388702        |
| 1.376200      | 0.833031  | 960   | 2.528673        |
| 1.240900      | 0.833031  | 1200  | 2.592396        |
| 1.069600      | 0.831216  | 1440  | 2.697354        |
| 0.860700      | 0.827586  | 1680  | 2.827819        |
| 0.767000      | 0.838475  | 1920  | 2.826283        |
| 0.677900      | 0.822142  | 2160  | 2.965557        |
| 0.594500      | 0.822142  | 2400  | 2.979151        |
| 0.514500      | 0.820327  | 2640  | 3.109596        |
| 0.406800      | 0.818512  | 2880  | 3.196722        |
| 0.320700      | 0.818512  | 3120  | 3.232843        |
| 0.296100      | 0.822142  | 3360  | 3.294877        |
| 0.273400      | 0.818512  | 3600  | 3.346133        |
| 0.262800      | 0.816697  | 3840  | 3.344488        |
| 0.255100      | 0.818511  | 4080  | 3.349281        |



### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 0.0002
- train_batch_size: 16
- eval_batch_size: 8
- seed: 3407
- gradient_accumulation_steps: 4
- eval_accumulation_steps: 4
- total_train_batch_size: 64
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 5
- num_epochs: 3

### Framework versions

- PEFT 0.10.0
- Transformers 4.40.2
- Pytorch 2.3.0
- Datasets 2.19.1
- Tokenizers 0.19.1