Commit
·
c12efe7
1
Parent(s):
130aa04
upload
Browse files- .gitattributes +1 -0
- README.md +83 -0
- all_results.json +3 -0
- config.json +3 -0
- generation_config.json +3 -0
- model-00001-of-00004.safetensors +3 -0
- model-00002-of-00004.safetensors +3 -0
- model-00003-of-00004.safetensors +3 -0
- model-00004-of-00004.safetensors +3 -0
- model.safetensors.index.json +3 -0
- special_tokens_map.json +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +3 -0
- train_results.json +3 -0
- trainer_state.json +3 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: llama3.1
|
| 3 |
+
base_model: meta-llama/Llama-3.1-8B-Instruct
|
| 4 |
+
tags:
|
| 5 |
+
- alignment-handbook
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
datasets:
|
| 8 |
+
- meng-lab/Llama-3.1-8B-Instruct-xsum
|
| 9 |
+
model-index:
|
| 10 |
+
- name: Llama-3.1-8B-Instruct-sft-5e-3-epoch-100-xsum
|
| 11 |
+
results: []
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 15 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 16 |
+
|
| 17 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/uva-llm/huggingface/runs/0cft2k89)
|
| 18 |
+
# Llama-3.1-8B-Instruct-sft-5e-3-epoch-100-xsum
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) on the meng-lab/Llama-3.1-8B-Instruct-xsum dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 6.7117
|
| 23 |
+
- Loss Layer 4 Head: 1.7377
|
| 24 |
+
- Loss Layer 8 Head: 1.4957
|
| 25 |
+
- Loss Layer 12 Head: 1.4384
|
| 26 |
+
- Loss Layer 16 Head: 0.9421
|
| 27 |
+
- Loss Layer 20 Head: 0.5804
|
| 28 |
+
- Loss Layer 24 Head: 0.3724
|
| 29 |
+
- Loss Layer 28 Head: 0.1958
|
| 30 |
+
|
| 31 |
+
## Model description
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Intended uses & limitations
|
| 36 |
+
|
| 37 |
+
More information needed
|
| 38 |
+
|
| 39 |
+
## Training and evaluation data
|
| 40 |
+
|
| 41 |
+
More information needed
|
| 42 |
+
|
| 43 |
+
## Training procedure
|
| 44 |
+
|
| 45 |
+
### Training hyperparameters
|
| 46 |
+
|
| 47 |
+
The following hyperparameters were used during training:
|
| 48 |
+
- learning_rate: 0.005
|
| 49 |
+
- train_batch_size: 1
|
| 50 |
+
- eval_batch_size: 2
|
| 51 |
+
- seed: 42
|
| 52 |
+
- distributed_type: multi-GPU
|
| 53 |
+
- num_devices: 4
|
| 54 |
+
- gradient_accumulation_steps: 32
|
| 55 |
+
- total_train_batch_size: 128
|
| 56 |
+
- total_eval_batch_size: 8
|
| 57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 58 |
+
- lr_scheduler_type: cosine
|
| 59 |
+
- lr_scheduler_warmup_ratio: 0.1
|
| 60 |
+
- num_epochs: 100
|
| 61 |
+
|
| 62 |
+
### Training results
|
| 63 |
+
|
| 64 |
+
| Training Loss | Epoch | Step | Validation Loss | Loss Layer 4 Head | Loss Layer 8 Head | Loss Layer 12 Head | Loss Layer 16 Head | Loss Layer 20 Head | Loss Layer 24 Head | Loss Layer 28 Head |
|
| 65 |
+
|:-------------:|:-------:|:----:|:---------------:|:-----------------:|:-----------------:|:------------------:|:------------------:|:------------------:|:------------------:|:------------------:|
|
| 66 |
+
| 9.417 | 9.5522 | 200 | 10.6034 | 2.1800 | 2.1484 | 1.8370 | 1.5560 | 0.8850 | 0.7908 | 1.1904 |
|
| 67 |
+
| 7.0666 | 19.1045 | 400 | 8.3242 | 2.0259 | 1.8363 | 1.7901 | 1.0876 | 0.8469 | 0.4822 | 0.2917 |
|
| 68 |
+
| 6.5999 | 28.6567 | 600 | 7.8689 | 1.9122 | 1.7362 | 1.7044 | 1.0472 | 0.6722 | 0.4620 | 0.3698 |
|
| 69 |
+
| 5.8586 | 38.2090 | 800 | 7.5812 | 2.0916 | 1.5734 | 1.6211 | 1.0056 | 0.6192 | 0.4660 | 0.2400 |
|
| 70 |
+
| 5.4725 | 47.7612 | 1000 | 7.0153 | 1.8457 | 1.5162 | 1.4691 | 0.9794 | 0.6236 | 0.3980 | 0.2260 |
|
| 71 |
+
| 5.3026 | 57.3134 | 1200 | 7.0204 | 1.9164 | 1.5058 | 1.5172 | 0.9522 | 0.5897 | 0.3804 | 0.2035 |
|
| 72 |
+
| 4.9989 | 66.8657 | 1400 | 6.7446 | 1.7458 | 1.5005 | 1.4430 | 0.9468 | 0.5843 | 0.3757 | 0.1990 |
|
| 73 |
+
| 4.9163 | 76.4179 | 1600 | 6.7228 | 1.7406 | 1.4972 | 1.4401 | 0.9436 | 0.5816 | 0.3734 | 0.1968 |
|
| 74 |
+
| 4.9194 | 85.9701 | 1800 | 6.7132 | 1.7381 | 1.4960 | 1.4385 | 0.9424 | 0.5807 | 0.3726 | 0.1959 |
|
| 75 |
+
| 4.9063 | 95.5224 | 2000 | 6.7117 | 1.7377 | 1.4957 | 1.4384 | 0.9421 | 0.5804 | 0.3724 | 0.1958 |
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
### Framework versions
|
| 79 |
+
|
| 80 |
+
- Transformers 4.43.2
|
| 81 |
+
- Pytorch 2.4.1+cu121
|
| 82 |
+
- Datasets 3.0.1
|
| 83 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:204c66cf21abc9c9af928986ec33c5a54ae1c698eb737a23a1d24275f077e0c1
|
| 3 |
+
size 249
|
config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0853bee540c88980a875e719009ab014f3e2705748fc076a98348bbebc7eaabc
|
| 3 |
+
size 951
|
generation_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:324483b31149f2d62161e2fa091349f0dab8dac13704351ef2fd0a7076aca7ce
|
| 3 |
+
size 284
|
model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b1879f356aed350030bb40eb45ad362c89d9891096f79a3ab323d3ba5607668
|
| 3 |
+
size 4976698672
|
model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09d433f650646834a83c580877bd60c6d1f88f7755305c12576b5c7058f9af15
|
| 3 |
+
size 4999802720
|
model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc1cdddd6bfa91128d6e94ee73d0ce62bfcdb7af29e978ddcab30c66ae9ea7fa
|
| 3 |
+
size 4915916176
|
model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e46db8c87c392958cde0cc245087b067248f8b4a967cce674cc5ec506a49e381
|
| 3 |
+
size 1403020632
|
model.safetensors.index.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c03816fe763739367a4a05039e17c75cfc4d7d9388d4aa56bf8aaab0952e3d0b
|
| 3 |
+
size 24522
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b1835caa5b4d70acaa210fa222b0036f1882f9525c4660fd4810fb3e1e40ff8
|
| 3 |
+
size 325
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79e3e522635f3171300913bb421464a87de6222182a0570b9b2ccba2a964b2b4
|
| 3 |
+
size 9085657
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d67100f4fc8212c9bca4aea3c80348d0269240c483f96da7d8065104322391dc
|
| 3 |
+
size 50938
|
train_results.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:204c66cf21abc9c9af928986ec33c5a54ae1c698eb737a23a1d24275f077e0c1
|
| 3 |
+
size 249
|
trainer_state.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3613d51b3b16d441695c347b26536c9705d0572f66f32f0caf48e0cca7e1fef2
|
| 3 |
+
size 209427
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc776fa3cf777fd102297e8f771b62109959f0629b4d9c4161b1f5395b03a0ab
|
| 3 |
+
size 6840
|