Upload 11 files
Browse files- README.md +59 -3
- adapter_config.json +29 -0
- adapter_model.safetensors +3 -0
- added_tokens.json +4 -0
- all_results.json +7 -0
- special_tokens_map.json +28 -0
- tokenizer.model +3 -0
- tokenizer_config.json +65 -0
- train_results.json +7 -0
- trainer_state.json +72 -0
- training_args.bin +3 -0
    	
        README.md
    CHANGED
    
    | @@ -1,3 +1,59 @@ | |
| 1 | 
            -
            ---
         | 
| 2 | 
            -
            license:  | 
| 3 | 
            -
             | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            license: other
         | 
| 3 | 
            +
            library_name: peft
         | 
| 4 | 
            +
            tags:
         | 
| 5 | 
            +
            - llama-factory
         | 
| 6 | 
            +
            - lora
         | 
| 7 | 
            +
            - generated_from_trainer
         | 
| 8 | 
            +
            base_model: openchat/openchat-3.5-0106
         | 
| 9 | 
            +
            model-index:
         | 
| 10 | 
            +
            - name: en-mr
         | 
| 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 | 
            +
            # en-mr
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            This model is a fine-tuned version of [openchat/openchat-3.5-0106](https://huggingface.co/openchat/openchat-3.5-0106) on the enmr_train_template3 dataset.
         | 
| 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: 2
         | 
| 40 | 
            +
            - eval_batch_size: 8
         | 
| 41 | 
            +
            - seed: 42
         | 
| 42 | 
            +
            - gradient_accumulation_steps: 2
         | 
| 43 | 
            +
            - total_train_batch_size: 4
         | 
| 44 | 
            +
            - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
         | 
| 45 | 
            +
            - lr_scheduler_type: cosine
         | 
| 46 | 
            +
            - num_epochs: 1.0
         | 
| 47 | 
            +
            - mixed_precision_training: Native AMP
         | 
| 48 | 
            +
             | 
| 49 | 
            +
            ### Training results
         | 
| 50 | 
            +
             | 
| 51 | 
            +
             | 
| 52 | 
            +
             | 
| 53 | 
            +
            ### Framework versions
         | 
| 54 | 
            +
             | 
| 55 | 
            +
            - PEFT 0.10.0
         | 
| 56 | 
            +
            - Transformers 4.39.3
         | 
| 57 | 
            +
            - Pytorch 2.1.2+cu121
         | 
| 58 | 
            +
            - Datasets 2.18.0
         | 
| 59 | 
            +
            - Tokenizers 0.15.2
         | 
    	
        adapter_config.json
    ADDED
    
    | @@ -0,0 +1,29 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "alpha_pattern": {},
         | 
| 3 | 
            +
              "auto_mapping": null,
         | 
| 4 | 
            +
              "base_model_name_or_path": "openchat/openchat-3.5-0106",
         | 
| 5 | 
            +
              "bias": "none",
         | 
| 6 | 
            +
              "fan_in_fan_out": false,
         | 
| 7 | 
            +
              "inference_mode": true,
         | 
| 8 | 
            +
              "init_lora_weights": true,
         | 
| 9 | 
            +
              "layer_replication": null,
         | 
| 10 | 
            +
              "layers_pattern": null,
         | 
| 11 | 
            +
              "layers_to_transform": null,
         | 
| 12 | 
            +
              "loftq_config": {},
         | 
| 13 | 
            +
              "lora_alpha": 128,
         | 
| 14 | 
            +
              "lora_dropout": 0.0,
         | 
| 15 | 
            +
              "megatron_config": null,
         | 
| 16 | 
            +
              "megatron_core": "megatron.core",
         | 
| 17 | 
            +
              "modules_to_save": null,
         | 
| 18 | 
            +
              "peft_type": "LORA",
         | 
| 19 | 
            +
              "r": 64,
         | 
| 20 | 
            +
              "rank_pattern": {},
         | 
| 21 | 
            +
              "revision": null,
         | 
| 22 | 
            +
              "target_modules": [
         | 
| 23 | 
            +
                "v_proj",
         | 
| 24 | 
            +
                "q_proj"
         | 
| 25 | 
            +
              ],
         | 
| 26 | 
            +
              "task_type": "CAUSAL_LM",
         | 
| 27 | 
            +
              "use_dora": false,
         | 
| 28 | 
            +
              "use_rslora": false
         | 
| 29 | 
            +
            }
         | 
    	
        adapter_model.safetensors
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:8dd716db1f93db0082b36e7213c6f59ca7bd30de3f86bf6ee75a584a6d8af6f6
         | 
| 3 | 
            +
            size 109069176
         | 
    	
        added_tokens.json
    ADDED
    
    | @@ -0,0 +1,4 @@ | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "<|end_of_turn|>": 32000,
         | 
| 3 | 
            +
              "<|pad_0|>": 32001
         | 
| 4 | 
            +
            }
         | 
    	
        all_results.json
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
                "epoch": 1.0,
         | 
| 3 | 
            +
                "train_loss": 0.5714873938927284,
         | 
| 4 | 
            +
                "train_runtime": 18928.0922,
         | 
| 5 | 
            +
                "train_samples_per_second": 1.374,
         | 
| 6 | 
            +
                "train_steps_per_second": 0.343
         | 
| 7 | 
            +
            }
         | 
    	
        special_tokens_map.json
    ADDED
    
    | @@ -0,0 +1,28 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "additional_special_tokens": [
         | 
| 3 | 
            +
                "<|end_of_turn|>",
         | 
| 4 | 
            +
                "<|pad_0|>"
         | 
| 5 | 
            +
              ],
         | 
| 6 | 
            +
              "bos_token": {
         | 
| 7 | 
            +
                "content": "<s>",
         | 
| 8 | 
            +
                "lstrip": false,
         | 
| 9 | 
            +
                "normalized": false,
         | 
| 10 | 
            +
                "rstrip": false,
         | 
| 11 | 
            +
                "single_word": false
         | 
| 12 | 
            +
              },
         | 
| 13 | 
            +
              "eos_token": {
         | 
| 14 | 
            +
                "content": "<|end_of_turn|>",
         | 
| 15 | 
            +
                "lstrip": false,
         | 
| 16 | 
            +
                "normalized": false,
         | 
| 17 | 
            +
                "rstrip": false,
         | 
| 18 | 
            +
                "single_word": false
         | 
| 19 | 
            +
              },
         | 
| 20 | 
            +
              "pad_token": "<|end_of_turn|>",
         | 
| 21 | 
            +
              "unk_token": {
         | 
| 22 | 
            +
                "content": "<unk>",
         | 
| 23 | 
            +
                "lstrip": false,
         | 
| 24 | 
            +
                "normalized": false,
         | 
| 25 | 
            +
                "rstrip": false,
         | 
| 26 | 
            +
                "single_word": false
         | 
| 27 | 
            +
              }
         | 
| 28 | 
            +
            }
         | 
    	
        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,65 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "add_bos_token": true,
         | 
| 3 | 
            +
              "add_eos_token": false,
         | 
| 4 | 
            +
              "add_prefix_space": true,
         | 
| 5 | 
            +
              "added_tokens_decoder": {
         | 
| 6 | 
            +
                "0": {
         | 
| 7 | 
            +
                  "content": "<unk>",
         | 
| 8 | 
            +
                  "lstrip": false,
         | 
| 9 | 
            +
                  "normalized": false,
         | 
| 10 | 
            +
                  "rstrip": false,
         | 
| 11 | 
            +
                  "single_word": false,
         | 
| 12 | 
            +
                  "special": true
         | 
| 13 | 
            +
                },
         | 
| 14 | 
            +
                "1": {
         | 
| 15 | 
            +
                  "content": "<s>",
         | 
| 16 | 
            +
                  "lstrip": false,
         | 
| 17 | 
            +
                  "normalized": false,
         | 
| 18 | 
            +
                  "rstrip": false,
         | 
| 19 | 
            +
                  "single_word": false,
         | 
| 20 | 
            +
                  "special": true
         | 
| 21 | 
            +
                },
         | 
| 22 | 
            +
                "2": {
         | 
| 23 | 
            +
                  "content": "</s>",
         | 
| 24 | 
            +
                  "lstrip": false,
         | 
| 25 | 
            +
                  "normalized": false,
         | 
| 26 | 
            +
                  "rstrip": false,
         | 
| 27 | 
            +
                  "single_word": false,
         | 
| 28 | 
            +
                  "special": true
         | 
| 29 | 
            +
                },
         | 
| 30 | 
            +
                "32000": {
         | 
| 31 | 
            +
                  "content": "<|end_of_turn|>",
         | 
| 32 | 
            +
                  "lstrip": false,
         | 
| 33 | 
            +
                  "normalized": false,
         | 
| 34 | 
            +
                  "rstrip": false,
         | 
| 35 | 
            +
                  "single_word": false,
         | 
| 36 | 
            +
                  "special": true
         | 
| 37 | 
            +
                },
         | 
| 38 | 
            +
                "32001": {
         | 
| 39 | 
            +
                  "content": "<|pad_0|>",
         | 
| 40 | 
            +
                  "lstrip": false,
         | 
| 41 | 
            +
                  "normalized": false,
         | 
| 42 | 
            +
                  "rstrip": false,
         | 
| 43 | 
            +
                  "single_word": false,
         | 
| 44 | 
            +
                  "special": true
         | 
| 45 | 
            +
                }
         | 
| 46 | 
            +
              },
         | 
| 47 | 
            +
              "additional_special_tokens": [
         | 
| 48 | 
            +
                "<|end_of_turn|>",
         | 
| 49 | 
            +
                "<|pad_0|>"
         | 
| 50 | 
            +
              ],
         | 
| 51 | 
            +
              "bos_token": "<s>",
         | 
| 52 | 
            +
              "chat_template": "{% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{{ '<s>' + system_message }}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'GPT4 Correct User: ' + content + '<|end_of_turn|>' + 'GPT4 Correct Assistant:' }}{% elif message['role'] == 'assistant' %}{{ content + '<|end_of_turn|>' }}{% endif %}{% endfor %}",
         | 
| 53 | 
            +
              "clean_up_tokenization_spaces": false,
         | 
| 54 | 
            +
              "eos_token": "<|end_of_turn|>",
         | 
| 55 | 
            +
              "legacy": true,
         | 
| 56 | 
            +
              "model_max_length": 1000000000000000019884624838656,
         | 
| 57 | 
            +
              "pad_token": "<|end_of_turn|>",
         | 
| 58 | 
            +
              "padding_side": "right",
         | 
| 59 | 
            +
              "sp_model_kwargs": {},
         | 
| 60 | 
            +
              "spaces_between_special_tokens": false,
         | 
| 61 | 
            +
              "split_special_tokens": false,
         | 
| 62 | 
            +
              "tokenizer_class": "LlamaTokenizer",
         | 
| 63 | 
            +
              "unk_token": "<unk>",
         | 
| 64 | 
            +
              "use_default_system_prompt": true
         | 
| 65 | 
            +
            }
         | 
    	
        train_results.json
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
                "epoch": 1.0,
         | 
| 3 | 
            +
                "train_loss": 0.5714873938927284,
         | 
| 4 | 
            +
                "train_runtime": 18928.0922,
         | 
| 5 | 
            +
                "train_samples_per_second": 1.374,
         | 
| 6 | 
            +
                "train_steps_per_second": 0.343
         | 
| 7 | 
            +
            }
         | 
    	
        trainer_state.json
    ADDED
    
    | @@ -0,0 +1,72 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "best_metric": null,
         | 
| 3 | 
            +
              "best_model_checkpoint": null,
         | 
| 4 | 
            +
              "epoch": 1.0,
         | 
| 5 | 
            +
              "eval_steps": 500,
         | 
| 6 | 
            +
              "global_step": 6500,
         | 
| 7 | 
            +
              "is_hyper_param_search": false,
         | 
| 8 | 
            +
              "is_local_process_zero": true,
         | 
| 9 | 
            +
              "is_world_process_zero": true,
         | 
| 10 | 
            +
              "log_history": [
         | 
| 11 | 
            +
                {
         | 
| 12 | 
            +
                  "epoch": 0.15,
         | 
| 13 | 
            +
                  "grad_norm": 0.9831129908561707,
         | 
| 14 | 
            +
                  "learning_rate": 4.714201332828372e-05,
         | 
| 15 | 
            +
                  "loss": 0.6011,
         | 
| 16 | 
            +
                  "step": 1000
         | 
| 17 | 
            +
                },
         | 
| 18 | 
            +
                {
         | 
| 19 | 
            +
                  "epoch": 0.31,
         | 
| 20 | 
            +
                  "grad_norm": 0.8143503665924072,
         | 
| 21 | 
            +
                  "learning_rate": 3.921156116324626e-05,
         | 
| 22 | 
            +
                  "loss": 0.58,
         | 
| 23 | 
            +
                  "step": 2000
         | 
| 24 | 
            +
                },
         | 
| 25 | 
            +
                {
         | 
| 26 | 
            +
                  "epoch": 0.46,
         | 
| 27 | 
            +
                  "grad_norm": 0.9323546290397644,
         | 
| 28 | 
            +
                  "learning_rate": 2.8025411603587355e-05,
         | 
| 29 | 
            +
                  "loss": 0.5678,
         | 
| 30 | 
            +
                  "step": 3000
         | 
| 31 | 
            +
                },
         | 
| 32 | 
            +
                {
         | 
| 33 | 
            +
                  "epoch": 0.62,
         | 
| 34 | 
            +
                  "grad_norm": 0.5892429947853088,
         | 
| 35 | 
            +
                  "learning_rate": 1.6146176705708874e-05,
         | 
| 36 | 
            +
                  "loss": 0.5665,
         | 
| 37 | 
            +
                  "step": 4000
         | 
| 38 | 
            +
                },
         | 
| 39 | 
            +
                {
         | 
| 40 | 
            +
                  "epoch": 0.77,
         | 
| 41 | 
            +
                  "grad_norm": 0.8226454257965088,
         | 
| 42 | 
            +
                  "learning_rate": 6.311288588223915e-06,
         | 
| 43 | 
            +
                  "loss": 0.564,
         | 
| 44 | 
            +
                  "step": 5000
         | 
| 45 | 
            +
                },
         | 
| 46 | 
            +
                {
         | 
| 47 | 
            +
                  "epoch": 0.92,
         | 
| 48 | 
            +
                  "grad_norm": 2.0760297775268555,
         | 
| 49 | 
            +
                  "learning_rate": 7.351550661224088e-07,
         | 
| 50 | 
            +
                  "loss": 0.5565,
         | 
| 51 | 
            +
                  "step": 6000
         | 
| 52 | 
            +
                },
         | 
| 53 | 
            +
                {
         | 
| 54 | 
            +
                  "epoch": 1.0,
         | 
| 55 | 
            +
                  "step": 6500,
         | 
| 56 | 
            +
                  "total_flos": 5.347603338846536e+17,
         | 
| 57 | 
            +
                  "train_loss": 0.5714873938927284,
         | 
| 58 | 
            +
                  "train_runtime": 18928.0922,
         | 
| 59 | 
            +
                  "train_samples_per_second": 1.374,
         | 
| 60 | 
            +
                  "train_steps_per_second": 0.343
         | 
| 61 | 
            +
                }
         | 
| 62 | 
            +
              ],
         | 
| 63 | 
            +
              "logging_steps": 1000,
         | 
| 64 | 
            +
              "max_steps": 6500,
         | 
| 65 | 
            +
              "num_input_tokens_seen": 0,
         | 
| 66 | 
            +
              "num_train_epochs": 1,
         | 
| 67 | 
            +
              "save_steps": 1000,
         | 
| 68 | 
            +
              "total_flos": 5.347603338846536e+17,
         | 
| 69 | 
            +
              "train_batch_size": 2,
         | 
| 70 | 
            +
              "trial_name": null,
         | 
| 71 | 
            +
              "trial_params": null
         | 
| 72 | 
            +
            }
         | 
    	
        training_args.bin
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:e5022354f0429a72a5e7d0a27cb5d6323f1c9214e2795b4c3a429f5b651f1ba5
         | 
| 3 | 
            +
            size 5176
         | 
