perelloliver commited on
Commit
8719575
·
1 Parent(s): 80164d7

End of training

Browse files
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: peft
4
+ tags:
5
+ - generated_from_trainer
6
+ base_model: microsoft/Phi-3-mini-128k-instruct
7
+ model-index:
8
+ - name: results
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # results
16
+
17
+ This model is a fine-tuned version of [microsoft/Phi-3-mini-128k-instruct](https://huggingface.co/microsoft/Phi-3-mini-128k-instruct) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.1119
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 5e-05
39
+ - train_batch_size: 4
40
+ - eval_batch_size: 4
41
+ - seed: 42
42
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
43
+ - lr_scheduler_type: linear
44
+ - num_epochs: 3
45
+
46
+ ### Training results
47
+
48
+ | Training Loss | Epoch | Step | Validation Loss |
49
+ |:-------------:|:-----:|:----:|:---------------:|
50
+ | 0.1029 | 0.5 | 100 | 0.1042 |
51
+ | 0.0507 | 1.0 | 200 | 0.1324 |
52
+ | 0.0123 | 1.5 | 300 | 0.1853 |
53
+ | 0.0648 | 2.0 | 400 | 0.1053 |
54
+ | 0.0032 | 2.5 | 500 | 0.1233 |
55
+ | 0.0639 | 3.0 | 600 | 0.1119 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - PEFT 0.10.0
61
+ - Transformers 4.40.0
62
+ - Pytorch 2.2.1+cu121
63
+ - Datasets 2.19.0
64
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_mapping": null,
3
+ "base_model_name_or_path": "microsoft/Phi-3-mini-128k-instruct",
4
+ "inference_mode": true,
5
+ "num_attention_heads": 32,
6
+ "num_layers": 32,
7
+ "num_transformer_submodules": 1,
8
+ "num_virtual_tokens": 8,
9
+ "peft_type": "PROMPT_TUNING",
10
+ "prompt_tuning_init": "TEXT",
11
+ "prompt_tuning_init_text": "Classify if the text contains hateful speech or not: ",
12
+ "revision": null,
13
+ "task_type": "CAUSAL_LM",
14
+ "token_dim": 3072,
15
+ "tokenizer_kwargs": null,
16
+ "tokenizer_name_or_path": "microsoft/Phi-3-mini-128k-instruct"
17
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baa15c7504a3b8e45b3a17ca6c924b9164fa8b18b52b799a98e9f64a2aa8e116
3
+ size 98424
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e47f997e0813dc6ce62a0187261d8da12b77974d3196b1478cbc72bcc96d4c99
3
+ size 4920