End of training
Browse files
    	
        README.md
    ADDED
    
    | @@ -0,0 +1,87 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            base_model: gpt2
         | 
| 3 | 
            +
            library_name: distily
         | 
| 4 | 
            +
            license: mit
         | 
| 5 | 
            +
            tags:
         | 
| 6 | 
            +
            - generated_from_trainer
         | 
| 7 | 
            +
            model-index:
         | 
| 8 | 
            +
            - name: distily_bench_gpt2_optim
         | 
| 9 | 
            +
              results: []
         | 
| 10 | 
            +
            ---
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            # distily_bench_gpt2_optim
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            This student model is distilled from the teacher model [gpt2](https://huggingface.co/gpt2) using the dataset (unspecified).
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            The [Distily](https://github.com/lapp0/distily) library was used for this distillation.
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            It achieves the following results on the evaluation set:
         | 
| 19 | 
            +
            - eval_enwikippl: 1215.4991
         | 
| 20 | 
            +
            - eval_frwikippl: 5819.5083
         | 
| 21 | 
            +
            - eval_zhwikippl: 20956.7344
         | 
| 22 | 
            +
            - eval_loss: 8772.9277
         | 
| 23 | 
            +
            - eval_runtime: 21.4547
         | 
| 24 | 
            +
            - eval_samples_per_second: 46.61
         | 
| 25 | 
            +
            - eval_steps_per_second: 11.652
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            <!-- This model card has been generated automatically according to the information the Trainer had access to. You
         | 
| 28 | 
            +
            should probably proofread and complete it, then remove this comment.
         | 
| 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 | 
            +
             | 
| 43 | 
            +
            ## Training procedure
         | 
| 44 | 
            +
             | 
| 45 | 
            +
            ### Training hyperparameters
         | 
| 46 | 
            +
             | 
| 47 | 
            +
            The following hyperparameters were used during training:
         | 
| 48 | 
            +
            - distillation_objective: 'legacy'
         | 
| 49 | 
            +
            - loss_fn: kl
         | 
| 50 | 
            +
            - train_embeddings: True
         | 
| 51 | 
            +
            - learning_rate: 4e-05
         | 
| 52 | 
            +
            - train_batch_size: 4
         | 
| 53 | 
            +
            - eval_batch_size: 4
         | 
| 54 | 
            +
            - seed: 42
         | 
| 55 | 
            +
            - gradient_accumulation_steps: 4
         | 
| 56 | 
            +
            - total_train_batch_size: 16
         | 
| 57 | 
            +
            - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
         | 
| 58 | 
            +
            - lr_scheduler_type: constant
         | 
| 59 | 
            +
            - num_epochs: 1.0
         | 
| 60 | 
            +
             | 
| 61 | 
            +
            ### Resource Usage
         | 
| 62 | 
            +
            Peak GPU Memory: 4.5042 GB
         | 
| 63 | 
            +
             | 
| 64 | 
            +
            ### Eval-Phase Metrics
         | 
| 65 | 
            +
            | step | epoch | enwikippl | frwikippl | loss | runtime | samples_per_second | steps_per_second | zhwikippl |
         | 
| 66 | 
            +
            | --- | --- | --- | --- | --- | --- | --- | --- | --- |
         | 
| 67 | 
            +
            | **teacher eval** |  | 30.2385 | 57.2728 |  |  |  |  | 18.1772 |
         | 
| 68 | 
            +
            | 0 | 0 | 57156.2305 | 56794.7344 | 340312.0625 | 21.3694 | 46.796 | 11.699 | 53180.0820 |
         | 
| 69 | 
            +
            | 500 | 0.0808 | 2484.4006 | 11045.3506 | 11426.8164 | 21.3475 | 46.844 | 11.711 | 43964.9844 |
         | 
| 70 | 
            +
            | 1000 | 0.1616 | 1970.1313 | 8537.9531 | 10323.5195 | 21.3627 | 46.811 | 11.703 | 33413.9570 |
         | 
| 71 | 
            +
            | 1500 | 0.2424 | 1787.3650 | 7996.6372 | 10073.0879 | 21.7084 | 46.065 | 11.516 | 31035.3789 |
         | 
| 72 | 
            +
            | 2000 | 0.3232 | 1657.3257 | 6987.1538 | 9678.4004 | 21.3204 | 46.903 | 11.726 | 25568.5762 |
         | 
| 73 | 
            +
            | 2500 | 0.4040 | 1540.4508 | 6767.0361 | 9425.2803 | 21.6179 | 46.258 | 11.564 | 24918.0391 |
         | 
| 74 | 
            +
            | 3000 | 0.4848 | 1476.4456 | 6392.7534 | 9441.3438 | 21.3757 | 46.782 | 11.696 | 22015.2520 |
         | 
| 75 | 
            +
            | 3500 | 0.5657 | 1410.0809 | 6415.7793 | 9184.1279 | 21.3028 | 46.942 | 11.736 | 22942.6816 |
         | 
| 76 | 
            +
            | 4000 | 0.6465 | 1353.9352 | 6457.0771 | 9045.5684 | 21.3793 | 46.774 | 11.694 | 23314.8477 |
         | 
| 77 | 
            +
            | 4500 | 0.7273 | 1299.9990 | 5976.0591 | 8900.2881 | 21.3265 | 46.89 | 11.723 | 20214.6074 |
         | 
| 78 | 
            +
            | 5000 | 0.8081 | 1277.3837 | 6074.4014 | 8813.1836 | 21.3486 | 46.841 | 11.71 | 21447.9414 |
         | 
| 79 | 
            +
            | 5500 | 0.8889 | 1249.9579 | 6053.8770 | 8707.7764 | 21.3581 | 46.821 | 11.705 | 22251.7031 |
         | 
| 80 | 
            +
            | 6000 | 0.9697 | 1205.8865 | 5761.5308 | 8635.9678 | 21.251 | 47.057 | 11.764 | 20124.375 |
         | 
| 81 | 
            +
            | 6187 | 0.9999 | 1215.4991 | 5819.5083 | 8772.9277 | 21.4547 | 46.61 | 11.652 | 20956.7344 |
         | 
| 82 | 
            +
             | 
| 83 | 
            +
            ### Framework versions
         | 
| 84 | 
            +
            - Distily 0.1.0
         | 
| 85 | 
            +
            - Transformers 4.44.0
         | 
| 86 | 
            +
            - Pytorch 2.3.0
         | 
| 87 | 
            +
            - Datasets 2.20.0
         | 
    	
        generation_config.json
    ADDED
    
    | @@ -0,0 +1,6 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "_from_model_config": true,
         | 
| 3 | 
            +
              "bos_token_id": 50256,
         | 
| 4 | 
            +
              "eos_token_id": 50256,
         | 
| 5 | 
            +
              "transformers_version": "4.44.0"
         | 
| 6 | 
            +
            }
         | 
    	
        runs/Aug10_04-19-10_93d6cbb3ad53/events.out.tfevents.1723267822.93d6cbb3ad53
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:52417c5219a847a9baded6acdf8c1c679823cbf82a8e03e14075487f1cab1f9e
         | 
| 3 | 
            +
            size 249
         |