End of training
Browse files- README.md +73 -0
 - adapter_config.json +32 -0
 - adapter_model.safetensors +3 -0
 - runs/Jan24_05-56-27_7b100915705f/events.out.tfevents.1706075792.7b100915705f.1483.0 +3 -0
 - special_tokens_map.json +35 -0
 - tokenizer.json +0 -0
 - tokenizer_config.json +46 -0
 - training_args.bin +3 -0
 
    	
        README.md
    ADDED
    
    | 
         @@ -0,0 +1,73 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            ---
         
     | 
| 2 | 
         
            +
            license: mit
         
     | 
| 3 | 
         
            +
            base_model: HuggingFaceH4/zephyr-7b-beta
         
     | 
| 4 | 
         
            +
            tags:
         
     | 
| 5 | 
         
            +
            - trl
         
     | 
| 6 | 
         
            +
            - sft
         
     | 
| 7 | 
         
            +
            - generated_from_trainer
         
     | 
| 8 | 
         
            +
            model-index:
         
     | 
| 9 | 
         
            +
            - name: results
         
     | 
| 10 | 
         
            +
              results: []
         
     | 
| 11 | 
         
            +
            ---
         
     | 
| 12 | 
         
            +
             
     | 
| 13 | 
         
            +
            <!-- This model card has been generated automatically according to the information the Trainer had access to. You
         
     | 
| 14 | 
         
            +
            should probably proofread and complete it, then remove this comment. -->
         
     | 
| 15 | 
         
            +
             
     | 
| 16 | 
         
            +
            # results
         
     | 
| 17 | 
         
            +
             
     | 
| 18 | 
         
            +
            This model is a fine-tuned version of [HuggingFaceH4/zephyr-7b-beta](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) on the None dataset.
         
     | 
| 19 | 
         
            +
            It achieves the following results on the evaluation set:
         
     | 
| 20 | 
         
            +
            - Loss: 0.6670
         
     | 
| 21 | 
         
            +
             
     | 
| 22 | 
         
            +
            ## Model description
         
     | 
| 23 | 
         
            +
             
     | 
| 24 | 
         
            +
            More information needed
         
     | 
| 25 | 
         
            +
             
     | 
| 26 | 
         
            +
            ## Intended uses & limitations
         
     | 
| 27 | 
         
            +
             
     | 
| 28 | 
         
            +
            More information needed
         
     | 
| 29 | 
         
            +
             
     | 
| 30 | 
         
            +
            ## Training and evaluation data
         
     | 
| 31 | 
         
            +
             
     | 
| 32 | 
         
            +
            More information needed
         
     | 
| 33 | 
         
            +
             
     | 
| 34 | 
         
            +
            ## Training procedure
         
     | 
| 35 | 
         
            +
             
     | 
| 36 | 
         
            +
            ### Training hyperparameters
         
     | 
| 37 | 
         
            +
             
     | 
| 38 | 
         
            +
            The following hyperparameters were used during training:
         
     | 
| 39 | 
         
            +
            - learning_rate: 0.00025
         
     | 
| 40 | 
         
            +
            - train_batch_size: 4
         
     | 
| 41 | 
         
            +
            - eval_batch_size: 8
         
     | 
| 42 | 
         
            +
            - seed: 42
         
     | 
| 43 | 
         
            +
            - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
         
     | 
| 44 | 
         
            +
            - lr_scheduler_type: constant
         
     | 
| 45 | 
         
            +
            - lr_scheduler_warmup_ratio: 0.03
         
     | 
| 46 | 
         
            +
            - num_epochs: 5
         
     | 
| 47 | 
         
            +
             
     | 
| 48 | 
         
            +
            ### Training results
         
     | 
| 49 | 
         
            +
             
     | 
| 50 | 
         
            +
            | Training Loss | Epoch | Step | Validation Loss |
         
     | 
| 51 | 
         
            +
            |:-------------:|:-----:|:----:|:---------------:|
         
     | 
| 52 | 
         
            +
            | 0.7604        | 0.35  | 100  | 0.9897          |
         
     | 
| 53 | 
         
            +
            | 0.6403        | 0.69  | 200  | 0.8543          |
         
     | 
| 54 | 
         
            +
            | 0.6267        | 1.04  | 300  | 0.7156          |
         
     | 
| 55 | 
         
            +
            | 0.5962        | 1.39  | 400  | 0.7106          |
         
     | 
| 56 | 
         
            +
            | 0.5715        | 1.74  | 500  | 0.6555          |
         
     | 
| 57 | 
         
            +
            | 0.4264        | 2.08  | 600  | 0.6715          |
         
     | 
| 58 | 
         
            +
            | 0.4729        | 2.43  | 700  | 0.6421          |
         
     | 
| 59 | 
         
            +
            | 0.4342        | 2.78  | 800  | 0.6459          |
         
     | 
| 60 | 
         
            +
            | 0.3264        | 3.12  | 900  | 0.6558          |
         
     | 
| 61 | 
         
            +
            | 0.3497        | 3.47  | 1000 | 0.6695          |
         
     | 
| 62 | 
         
            +
            | 0.3517        | 3.82  | 1100 | 0.6312          |
         
     | 
| 63 | 
         
            +
            | 0.3116        | 4.17  | 1200 | 0.6810          |
         
     | 
| 64 | 
         
            +
            | 0.3324        | 4.51  | 1300 | 0.7153          |
         
     | 
| 65 | 
         
            +
            | 0.3497        | 4.86  | 1400 | 0.6670          |
         
     | 
| 66 | 
         
            +
             
     | 
| 67 | 
         
            +
             
     | 
| 68 | 
         
            +
            ### Framework versions
         
     | 
| 69 | 
         
            +
             
     | 
| 70 | 
         
            +
            - Transformers 4.35.2
         
     | 
| 71 | 
         
            +
            - Pytorch 2.1.0+cu121
         
     | 
| 72 | 
         
            +
            - Datasets 2.16.1
         
     | 
| 73 | 
         
            +
            - Tokenizers 0.15.0
         
     | 
    	
        adapter_config.json
    ADDED
    
    | 
         @@ -0,0 +1,32 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "alpha_pattern": {},
         
     | 
| 3 | 
         
            +
              "auto_mapping": null,
         
     | 
| 4 | 
         
            +
              "base_model_name_or_path": "HuggingFaceH4/zephyr-7b-beta",
         
     | 
| 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 | 
         
            +
              "loftq_config": {},
         
     | 
| 12 | 
         
            +
              "lora_alpha": 8,
         
     | 
| 13 | 
         
            +
              "lora_dropout": 0.05,
         
     | 
| 14 | 
         
            +
              "megatron_config": null,
         
     | 
| 15 | 
         
            +
              "megatron_core": "megatron.core",
         
     | 
| 16 | 
         
            +
              "modules_to_save": null,
         
     | 
| 17 | 
         
            +
              "peft_type": "LORA",
         
     | 
| 18 | 
         
            +
              "r": 8,
         
     | 
| 19 | 
         
            +
              "rank_pattern": {},
         
     | 
| 20 | 
         
            +
              "revision": null,
         
     | 
| 21 | 
         
            +
              "target_modules": [
         
     | 
| 22 | 
         
            +
                "gate_proj",
         
     | 
| 23 | 
         
            +
                "v_proj",
         
     | 
| 24 | 
         
            +
                "lm_head",
         
     | 
| 25 | 
         
            +
                "down_proj",
         
     | 
| 26 | 
         
            +
                "up_proj",
         
     | 
| 27 | 
         
            +
                "k_proj",
         
     | 
| 28 | 
         
            +
                "o_proj",
         
     | 
| 29 | 
         
            +
                "q_proj"
         
     | 
| 30 | 
         
            +
              ],
         
     | 
| 31 | 
         
            +
              "task_type": "CAUSAL_LM"
         
     | 
| 32 | 
         
            +
            }
         
     | 
    	
        adapter_model.safetensors
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:6aabc606c6d3116408b146a6ebee602f12a4d4a3b9d2c0ab1c6f0c265cd0829b
         
     | 
| 3 | 
         
            +
            size 609389712
         
     | 
    	
        runs/Jan24_05-56-27_7b100915705f/events.out.tfevents.1706075792.7b100915705f.1483.0
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:952b6d88288e0b792bfdfb616a211efe096dc2d09164cdf335de32530e937b36
         
     | 
| 3 | 
         
            +
            size 17657
         
     | 
    	
        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": "</s>",
         
     | 
| 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_config.json
    ADDED
    
    | 
         @@ -0,0 +1,46 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            {
         
     | 
| 2 | 
         
            +
              "added_tokens_decoder": {
         
     | 
| 3 | 
         
            +
                "0": {
         
     | 
| 4 | 
         
            +
                  "content": "<unk>",
         
     | 
| 5 | 
         
            +
                  "lstrip": false,
         
     | 
| 6 | 
         
            +
                  "normalized": false,
         
     | 
| 7 | 
         
            +
                  "rstrip": false,
         
     | 
| 8 | 
         
            +
                  "single_word": false,
         
     | 
| 9 | 
         
            +
                  "special": true
         
     | 
| 10 | 
         
            +
                },
         
     | 
| 11 | 
         
            +
                "1": {
         
     | 
| 12 | 
         
            +
                  "content": "<s>",
         
     | 
| 13 | 
         
            +
                  "lstrip": false,
         
     | 
| 14 | 
         
            +
                  "normalized": false,
         
     | 
| 15 | 
         
            +
                  "rstrip": false,
         
     | 
| 16 | 
         
            +
                  "single_word": false,
         
     | 
| 17 | 
         
            +
                  "special": true
         
     | 
| 18 | 
         
            +
                },
         
     | 
| 19 | 
         
            +
                "2": {
         
     | 
| 20 | 
         
            +
                  "content": "</s>",
         
     | 
| 21 | 
         
            +
                  "lstrip": false,
         
     | 
| 22 | 
         
            +
                  "normalized": false,
         
     | 
| 23 | 
         
            +
                  "rstrip": false,
         
     | 
| 24 | 
         
            +
                  "single_word": false,
         
     | 
| 25 | 
         
            +
                  "special": true
         
     | 
| 26 | 
         
            +
                }
         
     | 
| 27 | 
         
            +
              },
         
     | 
| 28 | 
         
            +
              "additional_special_tokens": [
         
     | 
| 29 | 
         
            +
                "<unk>",
         
     | 
| 30 | 
         
            +
                "<s>",
         
     | 
| 31 | 
         
            +
                "</s>"
         
     | 
| 32 | 
         
            +
              ],
         
     | 
| 33 | 
         
            +
              "bos_token": "<s>",
         
     | 
| 34 | 
         
            +
              "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n'  + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
         
     | 
| 35 | 
         
            +
              "clean_up_tokenization_spaces": false,
         
     | 
| 36 | 
         
            +
              "eos_token": "</s>",
         
     | 
| 37 | 
         
            +
              "legacy": true,
         
     | 
| 38 | 
         
            +
              "model_max_length": 1000000000000000019884624838656,
         
     | 
| 39 | 
         
            +
              "pad_token": "</s>",
         
     | 
| 40 | 
         
            +
              "sp_model_kwargs": {},
         
     | 
| 41 | 
         
            +
              "spaces_between_special_tokens": false,
         
     | 
| 42 | 
         
            +
              "tokenizer_class": "LlamaTokenizer",
         
     | 
| 43 | 
         
            +
              "truncation_side": "left",
         
     | 
| 44 | 
         
            +
              "unk_token": "<unk>",
         
     | 
| 45 | 
         
            +
              "use_default_system_prompt": true
         
     | 
| 46 | 
         
            +
            }
         
     | 
    	
        training_args.bin
    ADDED
    
    | 
         @@ -0,0 +1,3 @@ 
     | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
| 
         | 
|
| 1 | 
         
            +
            version https://git-lfs.github.com/spec/v1
         
     | 
| 2 | 
         
            +
            oid sha256:97955ad2c924a20c5b8cf9af55a413bc159834571ec746c93f0b203606502ead
         
     | 
| 3 | 
         
            +
            size 4536
         
     |