Commit 
							
							·
						
						ad17c72
	
1
								Parent(s):
							
							a157de4
								
hc3-wiki-domain-classification-roberta-1-epoch
Browse files- README.md +85 -0
- config.json +43 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +0 -0
- tokenizer_config.json +15 -0
- training_args.bin +3 -0
- vocab.json +0 -0
    	
        README.md
    ADDED
    
    | @@ -0,0 +1,85 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            license: mit
         | 
| 3 | 
            +
            base_model: roberta-base
         | 
| 4 | 
            +
            tags:
         | 
| 5 | 
            +
            - generated_from_trainer
         | 
| 6 | 
            +
            metrics:
         | 
| 7 | 
            +
            - accuracy
         | 
| 8 | 
            +
            model-index:
         | 
| 9 | 
            +
            - name: hc3-wiki-domain-classification-roberta
         | 
| 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 | 
            +
            # hc3-wiki-domain-classification-roberta
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the None dataset.
         | 
| 19 | 
            +
            It achieves the following results on the evaluation set:
         | 
| 20 | 
            +
            - Loss: 0.1821
         | 
| 21 | 
            +
            - Accuracy: 0.9810
         | 
| 22 | 
            +
            - F1 Score: 0.9810
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            ## Model description
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            More information needed
         | 
| 27 | 
            +
             | 
| 28 | 
            +
            ## Intended uses & limitations
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            More information needed
         | 
| 31 | 
            +
             | 
| 32 | 
            +
            ## Training and evaluation data
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            More information needed
         | 
| 35 | 
            +
             | 
| 36 | 
            +
            ## Training procedure
         | 
| 37 | 
            +
             | 
| 38 | 
            +
            ### Training hyperparameters
         | 
| 39 | 
            +
             | 
| 40 | 
            +
            The following hyperparameters were used during training:
         | 
| 41 | 
            +
            - learning_rate: 5e-05
         | 
| 42 | 
            +
            - train_batch_size: 32
         | 
| 43 | 
            +
            - eval_batch_size: 32
         | 
| 44 | 
            +
            - seed: 42
         | 
| 45 | 
            +
            - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
         | 
| 46 | 
            +
            - lr_scheduler_type: linear
         | 
| 47 | 
            +
            - num_epochs: 1
         | 
| 48 | 
            +
             | 
| 49 | 
            +
            ### Training results
         | 
| 50 | 
            +
             | 
| 51 | 
            +
            | Training Loss | Epoch | Step  | Validation Loss | Accuracy | F1 Score |
         | 
| 52 | 
            +
            |:-------------:|:-----:|:-----:|:---------------:|:--------:|:--------:|
         | 
| 53 | 
            +
            | 0.5388        | 0.04  | 400   | 0.3470          | 0.9626   | 0.9626   |
         | 
| 54 | 
            +
            | 0.4795        | 0.08  | 800   | 0.4603          | 0.9659   | 0.9659   |
         | 
| 55 | 
            +
            | 0.4419        | 0.12  | 1200  | 0.3184          | 0.9622   | 0.9622   |
         | 
| 56 | 
            +
            | 0.3985        | 0.15  | 1600  | 0.3919          | 0.9697   | 0.9697   |
         | 
| 57 | 
            +
            | 0.3954        | 0.19  | 2000  | 0.3571          | 0.9718   | 0.9718   |
         | 
| 58 | 
            +
            | 0.4891        | 0.23  | 2400  | 0.4775          | 0.9668   | 0.9668   |
         | 
| 59 | 
            +
            | 0.4283        | 0.27  | 2800  | 0.3616          | 0.9677   | 0.9677   |
         | 
| 60 | 
            +
            | 0.4157        | 0.31  | 3200  | 0.4152          | 0.9519   | 0.9519   |
         | 
| 61 | 
            +
            | 0.4477        | 0.35  | 3600  | 0.3460          | 0.9673   | 0.9673   |
         | 
| 62 | 
            +
            | 0.426         | 0.39  | 4000  | 0.4334          | 0.9669   | 0.9669   |
         | 
| 63 | 
            +
            | 0.3704        | 0.43  | 4400  | 0.3405          | 0.9634   | 0.9634   |
         | 
| 64 | 
            +
            | 0.4027        | 0.46  | 4800  | 0.3232          | 0.9738   | 0.9738   |
         | 
| 65 | 
            +
            | 0.3704        | 0.5   | 5200  | 0.3475          | 0.9672   | 0.9672   |
         | 
| 66 | 
            +
            | 0.3459        | 0.54  | 5600  | 0.4094          | 0.9738   | 0.9738   |
         | 
| 67 | 
            +
            | 0.3707        | 0.58  | 6000  | 0.3176          | 0.9703   | 0.9703   |
         | 
| 68 | 
            +
            | 0.3145        | 0.62  | 6400  | 0.3329          | 0.9760   | 0.9760   |
         | 
| 69 | 
            +
            | 0.3153        | 0.66  | 6800  | 0.3762          | 0.9733   | 0.9733   |
         | 
| 70 | 
            +
            | 0.293         | 0.7   | 7200  | 0.2815          | 0.9761   | 0.9761   |
         | 
| 71 | 
            +
            | 0.2981        | 0.74  | 7600  | 0.2577          | 0.9771   | 0.9771   |
         | 
| 72 | 
            +
            | 0.2481        | 0.77  | 8000  | 0.2134          | 0.9780   | 0.9780   |
         | 
| 73 | 
            +
            | 0.2418        | 0.81  | 8400  | 0.1978          | 0.9779   | 0.9779   |
         | 
| 74 | 
            +
            | 0.2235        | 0.85  | 8800  | 0.1896          | 0.9794   | 0.9794   |
         | 
| 75 | 
            +
            | 0.1934        | 0.89  | 9200  | 0.1895          | 0.9796   | 0.9796   |
         | 
| 76 | 
            +
            | 0.2167        | 0.93  | 9600  | 0.1804          | 0.9792   | 0.9792   |
         | 
| 77 | 
            +
            | 0.1992        | 0.97  | 10000 | 0.1821          | 0.9810   | 0.9810   |
         | 
| 78 | 
            +
             | 
| 79 | 
            +
             | 
| 80 | 
            +
            ### Framework versions
         | 
| 81 | 
            +
             | 
| 82 | 
            +
            - Transformers 4.33.0
         | 
| 83 | 
            +
            - Pytorch 2.0.0
         | 
| 84 | 
            +
            - Datasets 2.13.0
         | 
| 85 | 
            +
            - Tokenizers 0.13.3
         | 
    	
        config.json
    ADDED
    
    | @@ -0,0 +1,43 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "_name_or_path": "roberta-base",
         | 
| 3 | 
            +
              "architectures": [
         | 
| 4 | 
            +
                "RobertaForSequenceClassification"
         | 
| 5 | 
            +
              ],
         | 
| 6 | 
            +
              "attention_probs_dropout_prob": 0.1,
         | 
| 7 | 
            +
              "bos_token_id": 0,
         | 
| 8 | 
            +
              "classifier_dropout": null,
         | 
| 9 | 
            +
              "eos_token_id": 2,
         | 
| 10 | 
            +
              "hidden_act": "gelu",
         | 
| 11 | 
            +
              "hidden_dropout_prob": 0.1,
         | 
| 12 | 
            +
              "hidden_size": 768,
         | 
| 13 | 
            +
              "id2label": {
         | 
| 14 | 
            +
                "0": 0,
         | 
| 15 | 
            +
                "1": 1,
         | 
| 16 | 
            +
                "2": 2,
         | 
| 17 | 
            +
                "3": 3,
         | 
| 18 | 
            +
                "4": 4,
         | 
| 19 | 
            +
                "5": 5
         | 
| 20 | 
            +
              },
         | 
| 21 | 
            +
              "initializer_range": 0.02,
         | 
| 22 | 
            +
              "intermediate_size": 3072,
         | 
| 23 | 
            +
              "label2id": {
         | 
| 24 | 
            +
                "0": 0,
         | 
| 25 | 
            +
                "1": 1,
         | 
| 26 | 
            +
                "2": 2,
         | 
| 27 | 
            +
                "3": 3,
         | 
| 28 | 
            +
                "4": 4,
         | 
| 29 | 
            +
                "5": 5
         | 
| 30 | 
            +
              },
         | 
| 31 | 
            +
              "layer_norm_eps": 1e-05,
         | 
| 32 | 
            +
              "max_position_embeddings": 514,
         | 
| 33 | 
            +
              "model_type": "roberta",
         | 
| 34 | 
            +
              "num_attention_heads": 12,
         | 
| 35 | 
            +
              "num_hidden_layers": 12,
         | 
| 36 | 
            +
              "pad_token_id": 1,
         | 
| 37 | 
            +
              "position_embedding_type": "absolute",
         | 
| 38 | 
            +
              "torch_dtype": "float32",
         | 
| 39 | 
            +
              "transformers_version": "4.33.0",
         | 
| 40 | 
            +
              "type_vocab_size": 1,
         | 
| 41 | 
            +
              "use_cache": true,
         | 
| 42 | 
            +
              "vocab_size": 50265
         | 
| 43 | 
            +
            }
         | 
    	
        merges.txt
    ADDED
    
    | The diff for this file is too large to render. 
		See raw diff | 
|  | 
    	
        pytorch_model.bin
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:c64cb3bdce9c09d8d5022b8492348ed0b2903c394fc2aae9dc972fea42233027
         | 
| 3 | 
            +
            size 498669937
         | 
    	
        special_tokens_map.json
    ADDED
    
    | @@ -0,0 +1,15 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "bos_token": "<s>",
         | 
| 3 | 
            +
              "cls_token": "<s>",
         | 
| 4 | 
            +
              "eos_token": "</s>",
         | 
| 5 | 
            +
              "mask_token": {
         | 
| 6 | 
            +
                "content": "<mask>",
         | 
| 7 | 
            +
                "lstrip": true,
         | 
| 8 | 
            +
                "normalized": false,
         | 
| 9 | 
            +
                "rstrip": false,
         | 
| 10 | 
            +
                "single_word": false
         | 
| 11 | 
            +
              },
         | 
| 12 | 
            +
              "pad_token": "<pad>",
         | 
| 13 | 
            +
              "sep_token": "</s>",
         | 
| 14 | 
            +
              "unk_token": "<unk>"
         | 
| 15 | 
            +
            }
         | 
    	
        tokenizer.json
    ADDED
    
    | The diff for this file is too large to render. 
		See raw diff | 
|  | 
    	
        tokenizer_config.json
    ADDED
    
    | @@ -0,0 +1,15 @@ | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            {
         | 
| 2 | 
            +
              "add_prefix_space": false,
         | 
| 3 | 
            +
              "bos_token": "<s>",
         | 
| 4 | 
            +
              "clean_up_tokenization_spaces": true,
         | 
| 5 | 
            +
              "cls_token": "<s>",
         | 
| 6 | 
            +
              "eos_token": "</s>",
         | 
| 7 | 
            +
              "errors": "replace",
         | 
| 8 | 
            +
              "mask_token": "<mask>",
         | 
| 9 | 
            +
              "model_max_length": 512,
         | 
| 10 | 
            +
              "pad_token": "<pad>",
         | 
| 11 | 
            +
              "sep_token": "</s>",
         | 
| 12 | 
            +
              "tokenizer_class": "RobertaTokenizer",
         | 
| 13 | 
            +
              "trim_offsets": true,
         | 
| 14 | 
            +
              "unk_token": "<unk>"
         | 
| 15 | 
            +
            }
         | 
    	
        training_args.bin
    ADDED
    
    | @@ -0,0 +1,3 @@ | |
|  | |
|  | |
|  | 
|  | |
| 1 | 
            +
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:b666e3c0d50fca944b02c06113fc7c27d914589fa631d93bac552c9d28f80239
         | 
| 3 | 
            +
            size 4091
         | 
    	
        vocab.json
    ADDED
    
    | The diff for this file is too large to render. 
		See raw diff | 
|  |