jamesliu23 commited on
Commit
29cc232
1 Parent(s): 0eb9599

jamesliu23/openhermes-mistral-gptq-dpo

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: TheBloke/OpenHermes-2-Mistral-7B-GPTQ
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: openhermes-mistral-gptq-dpo
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # openhermes-mistral-gptq-dpo
15
+
16
+ This model is a fine-tuned version of [TheBloke/OpenHermes-2-Mistral-7B-GPTQ](https://huggingface.co/TheBloke/OpenHermes-2-Mistral-7B-GPTQ) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.8689
19
+ - Rewards/chosen: -1.0765
20
+ - Rewards/rejected: -0.9664
21
+ - Rewards/accuracies: 0.4800
22
+ - Rewards/margins: -0.1101
23
+ - Logps/rejected: -139.8855
24
+ - Logps/chosen: -135.5758
25
+ - Logits/rejected: -2.2110
26
+ - Logits/chosen: -2.2313
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 0.0003
46
+ - train_batch_size: 1
47
+ - eval_batch_size: 8
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - lr_scheduler_warmup_steps: 2
52
+ - training_steps: 50
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
58
+ | 0.6842 | 0.01 | 10 | 0.7768 | -0.4985 | -0.4411 | 0.5750 | -0.0574 | -134.6327 | -129.7961 | -2.2478 | -2.2667 |
59
+ | 0.8539 | 0.02 | 20 | 2.0287 | -9.4492 | -8.7234 | 0.4800 | -0.7258 | -217.4559 | -219.3030 | -1.5781 | -1.5859 |
60
+ | 0.9433 | 0.03 | 30 | 1.6915 | -7.3191 | -6.8845 | 0.5 | -0.4346 | -199.0667 | -198.0014 | -1.6865 | -1.6973 |
61
+ | 0.6295 | 0.04 | 40 | 0.9729 | -1.6986 | -1.5214 | 0.5200 | -0.1772 | -145.4362 | -141.7968 | -2.1859 | -2.2057 |
62
+ | 0.8681 | 0.05 | 50 | 0.8689 | -1.0765 | -0.9664 | 0.4800 | -0.1101 | -139.8855 | -135.5758 | -2.2110 | -2.2313 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.34.1
68
+ - Pytorch 2.1.0+cu121
69
+ - Datasets 2.14.6
70
+ - Tokenizers 0.14.1
adapter_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "TheBloke/OpenHermes-2-Mistral-7B-GPTQ",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "lora_alpha": 8,
12
+ "lora_dropout": 0.1,
13
+ "modules_to_save": null,
14
+ "peft_type": "LORA",
15
+ "r": 4,
16
+ "rank_pattern": {},
17
+ "revision": null,
18
+ "target_modules": [
19
+ "v_proj",
20
+ "q_proj"
21
+ ],
22
+ "task_type": "CAUSAL_LM"
23
+ }
adapter_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:283347dc17611be501dbb65b559d29c75bf84a37adaf3d20abccfcb41715dc76
3
+ size 6861962
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<|im_end|>": 32000,
3
+ "<|im_start|>": 32001
4
+ }
emissions.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ timestamp,project_name,run_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
2
+ 2023-11-09T06:37:17,codecarbon,099668be-6d86-4a98-a229-f321fd327ec7,375.4025270938873,0.0079922137553183,2.1289717512528927e-05,82.5,222.151,47.05446195602417,0.0086026503706971,0.0254286187869067,0.0049040212218882,0.0389352903794922,United States,USA,california,,,Linux-5.4.0-166-generic-x86_64-with-glibc2.31,3.11.3,2.2.3,20,Intel(R) Core(TM) i9-9820X CPU @ 3.30GHz,1,1 x NVIDIA GeForce RTX 2080 Ti,-121.8595,37.374,125.47856521606444,machine,N,1.0
3
+ 2023-11-09T07:04:14,codecarbon,daefa877-7165-45e1-82b7-9eb53d8c4deb,373.4955837726593,0.00797799572814249,2.1360348220338173e-05,82.5,214.47400000000002,47.05446195602417,0.008558964617053667,0.025427699463984564,0.0048793610068009275,0.03886602508783918,United States,USA,california,,,Linux-5.4.0-166-generic-x86_64-with-glibc2.31,3.11.3,2.2.3,20,Intel(R) Core(TM) i9-9820X CPU @ 3.30GHz,1,1 x NVIDIA GeForce RTX 2080 Ti,-121.8595,37.374,125.47856521606445,machine,N,1.0
special_tokens_map.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
+ "bos_token": {
8
+ "content": "<s>",
9
+ "lstrip": false,
10
+ "normalized": false,
11
+ "rstrip": false,
12
+ "single_word": false
13
+ },
14
+ "eos_token": {
15
+ "content": "<|im_end|>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false
20
+ },
21
+ "pad_token": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false
27
+ },
28
+ "unk_token": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false
34
+ }
35
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<|im_end|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "32001": {
38
+ "content": "<|im_start|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": false
44
+ }
45
+ },
46
+ "additional_special_tokens": [
47
+ "<unk>",
48
+ "<s>",
49
+ "</s>"
50
+ ],
51
+ "bos_token": "<s>",
52
+ "clean_up_tokenization_spaces": false,
53
+ "eos_token": "<|im_end|>",
54
+ "legacy": true,
55
+ "model_max_length": 1000000000000000019884624838656,
56
+ "pad_token": "</s>",
57
+ "sp_model_kwargs": {},
58
+ "spaces_between_special_tokens": false,
59
+ "tokenizer_class": "LlamaTokenizer",
60
+ "trust_remote_code": false,
61
+ "unk_token": "<unk>",
62
+ "use_default_system_prompt": true,
63
+ "use_fast": true
64
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbad7e9be1b578380f26069d8e96865b1944c733e5b1c7055f092482d0ef8d41
3
+ size 4536