Zhangchen Xu
		
	commited on
		
		
					Model save
Browse files- README.md +79 -0
- all_results.json +9 -0
- generation_config.json +9 -0
- train_results.json +9 -0
- trainer_state.json +0 -0
    	
        README.md
    ADDED
    
    | @@ -0,0 +1,79 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            license: llama3.1
         | 
| 3 | 
            +
            base_model: Magpie-Align/Llama-3.1-8B-Magpie-SFT-650KR
         | 
| 4 | 
            +
            tags:
         | 
| 5 | 
            +
            - trl
         | 
| 6 | 
            +
            - dpo
         | 
| 7 | 
            +
            - generated_from_trainer
         | 
| 8 | 
            +
            model-index:
         | 
| 9 | 
            +
            - name: Llama-3.1-8B-Magpie-SFT-650KR-Magpo-Armorm-3.1-70B-05
         | 
| 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 | 
            +
            # Llama-3.1-8B-Magpie-SFT-650KR-Magpo-Armorm-3.1-70B-05
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            This model is a fine-tuned version of [Magpie-Align/Llama-3.1-8B-Magpie-SFT-650KR](https://huggingface.co/Magpie-Align/Llama-3.1-8B-Magpie-SFT-650KR) on an unknown dataset.
         | 
| 19 | 
            +
            It achieves the following results on the evaluation set:
         | 
| 20 | 
            +
            - Loss: 0.3335
         | 
| 21 | 
            +
            - Rewards/chosen: -4.8366
         | 
| 22 | 
            +
            - Rewards/rejected: -7.5394
         | 
| 23 | 
            +
            - Rewards/accuracies: 0.8880
         | 
| 24 | 
            +
            - Rewards/margins: 2.7028
         | 
| 25 | 
            +
            - Logps/rejected: -1104.0730
         | 
| 26 | 
            +
            - Logps/chosen: -827.6954
         | 
| 27 | 
            +
            - Logits/rejected: -0.8119
         | 
| 28 | 
            +
            - Logits/chosen: -0.8042
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            ## Model description
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            More information needed
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            ## Intended uses & limitations
         | 
| 35 | 
            +
             | 
| 36 | 
            +
            More information needed
         | 
| 37 | 
            +
             | 
| 38 | 
            +
            ## Training and evaluation data
         | 
| 39 | 
            +
             | 
| 40 | 
            +
            More information needed
         | 
| 41 | 
            +
             | 
| 42 | 
            +
            ## Training procedure
         | 
| 43 | 
            +
             | 
| 44 | 
            +
            ### Training hyperparameters
         | 
| 45 | 
            +
             | 
| 46 | 
            +
            The following hyperparameters were used during training:
         | 
| 47 | 
            +
            - learning_rate: 5e-07
         | 
| 48 | 
            +
            - train_batch_size: 2
         | 
| 49 | 
            +
            - eval_batch_size: 4
         | 
| 50 | 
            +
            - seed: 42
         | 
| 51 | 
            +
            - distributed_type: multi-GPU
         | 
| 52 | 
            +
            - num_devices: 4
         | 
| 53 | 
            +
            - gradient_accumulation_steps: 16
         | 
| 54 | 
            +
            - total_train_batch_size: 128
         | 
| 55 | 
            +
            - total_eval_batch_size: 16
         | 
| 56 | 
            +
            - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
         | 
| 57 | 
            +
            - lr_scheduler_type: cosine
         | 
| 58 | 
            +
            - lr_scheduler_warmup_ratio: 0.1
         | 
| 59 | 
            +
            - num_epochs: 1
         | 
| 60 | 
            +
             | 
| 61 | 
            +
            ### Training results
         | 
| 62 | 
            +
             | 
| 63 | 
            +
            | Training Loss | Epoch  | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
         | 
| 64 | 
            +
            |:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
         | 
| 65 | 
            +
            | 0.5603        | 0.1306 | 100  | 0.5762          | -1.0828        | -1.5526          | 0.7620             | 0.4698          | -505.3885      | -452.3145    | -0.7241         | -0.7285       |
         | 
| 66 | 
            +
            | 0.5441        | 0.2612 | 200  | 0.4445          | -3.4116        | -5.1002          | 0.8360             | 1.6886          | -860.1481      | -685.1905    | -0.6966         | -0.6964       |
         | 
| 67 | 
            +
            | 0.3586        | 0.3919 | 300  | 0.3949          | -3.4100        | -5.2798          | 0.8720             | 1.8698          | -878.1118      | -685.0309    | -0.7677         | -0.7653       |
         | 
| 68 | 
            +
            | 0.3737        | 0.5225 | 400  | 0.3653          | -4.3580        | -6.6737          | 0.8760             | 2.3157          | -1017.5        | -779.8291    | -0.7777         | -0.7711       |
         | 
| 69 | 
            +
            | 0.2611        | 0.6531 | 500  | 0.3457          | -4.9017        | -7.6712          | 0.8860             | 2.7695          | -1117.2515     | -834.2015    | -0.8137         | -0.8074       |
         | 
| 70 | 
            +
            | 0.3342        | 0.7837 | 600  | 0.3354          | -4.7041        | -7.3342          | 0.8920             | 2.6301          | -1083.5503     | -814.4402    | -0.8081         | -0.7999       |
         | 
| 71 | 
            +
            | 0.3251        | 0.9144 | 700  | 0.3335          | -4.8366        | -7.5394          | 0.8880             | 2.7028          | -1104.0730     | -827.6954    | -0.8119         | -0.8042       |
         | 
| 72 | 
            +
             | 
| 73 | 
            +
             | 
| 74 | 
            +
            ### Framework versions
         | 
| 75 | 
            +
             | 
| 76 | 
            +
            - Transformers 4.43.3
         | 
| 77 | 
            +
            - Pytorch 2.4.0+cu121
         | 
| 78 | 
            +
            - Datasets 2.20.0
         | 
| 79 | 
            +
            - Tokenizers 0.19.1
         | 
    	
        all_results.json
    ADDED
    
    | @@ -0,0 +1,9 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
                "epoch": 0.9992652461425422,
         | 
| 3 | 
            +
                "total_flos": 0.0,
         | 
| 4 | 
            +
                "train_loss": 0.41019999388775796,
         | 
| 5 | 
            +
                "train_runtime": 41758.0505,
         | 
| 6 | 
            +
                "train_samples": 97988,
         | 
| 7 | 
            +
                "train_samples_per_second": 2.347,
         | 
| 8 | 
            +
                "train_steps_per_second": 0.018
         | 
| 9 | 
            +
            }
         | 
    	
        generation_config.json
    ADDED
    
    | @@ -0,0 +1,9 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "_from_model_config": true,
         | 
| 3 | 
            +
              "bos_token_id": 128000,
         | 
| 4 | 
            +
              "do_sample": true,
         | 
| 5 | 
            +
              "eos_token_id": 128001,
         | 
| 6 | 
            +
              "temperature": 0.6,
         | 
| 7 | 
            +
              "top_p": 0.9,
         | 
| 8 | 
            +
              "transformers_version": "4.43.3"
         | 
| 9 | 
            +
            }
         | 
    	
        train_results.json
    ADDED
    
    | @@ -0,0 +1,9 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
                "epoch": 0.9992652461425422,
         | 
| 3 | 
            +
                "total_flos": 0.0,
         | 
| 4 | 
            +
                "train_loss": 0.41019999388775796,
         | 
| 5 | 
            +
                "train_runtime": 41758.0505,
         | 
| 6 | 
            +
                "train_samples": 97988,
         | 
| 7 | 
            +
                "train_samples_per_second": 2.347,
         | 
| 8 | 
            +
                "train_steps_per_second": 0.018
         | 
| 9 | 
            +
            }
         | 
    	
        trainer_state.json
    ADDED
    
    | The diff for this file is too large to render. 
		See raw diff | 
|  | 
