Commit 
							
							·
						
						36fc6fc
	
1
								Parent(s):
							
							f152a85
								
Upload BertForSequenceClassification (#8)
Browse files- Upload BertForSequenceClassification (12412cb5adf54e25db445e64e803ad89f43163bc)
- config.json +6 -6
- pytorch_model.bin +2 -2
    	
        config.json
    CHANGED
    
    | @@ -1,5 +1,5 @@ | |
| 1 | 
             
            {
         | 
| 2 | 
            -
              "_name_or_path": " | 
| 3 | 
             
              "architectures": [
         | 
| 4 | 
             
                "BertForSequenceClassification"
         | 
| 5 | 
             
              ],
         | 
| @@ -7,19 +7,19 @@ | |
| 7 | 
             
              "classifier_dropout": null,
         | 
| 8 | 
             
              "hidden_act": "gelu",
         | 
| 9 | 
             
              "hidden_dropout_prob": 0.1,
         | 
| 10 | 
            -
              "hidden_size":  | 
| 11 | 
             
              "initializer_range": 0.02,
         | 
| 12 | 
            -
              "intermediate_size":  | 
| 13 | 
             
              "layer_norm_eps": 1e-12,
         | 
| 14 | 
             
              "max_position_embeddings": 512,
         | 
| 15 | 
             
              "model_type": "bert",
         | 
| 16 | 
            -
              "num_attention_heads":  | 
| 17 | 
            -
              "num_hidden_layers":  | 
| 18 | 
             
              "pad_token_id": 0,
         | 
| 19 | 
             
              "position_embedding_type": "absolute",
         | 
| 20 | 
             
              "problem_type": "single_label_classification",
         | 
| 21 | 
             
              "torch_dtype": "float32",
         | 
| 22 | 
            -
              "transformers_version": "4. | 
| 23 | 
             
              "type_vocab_size": 2,
         | 
| 24 | 
             
              "use_cache": true,
         | 
| 25 | 
             
              "vocab_size": 30522
         | 
|  | |
| 1 | 
             
            {
         | 
| 2 | 
            +
              "_name_or_path": "prajjwal1/bert-tiny",
         | 
| 3 | 
             
              "architectures": [
         | 
| 4 | 
             
                "BertForSequenceClassification"
         | 
| 5 | 
             
              ],
         | 
|  | |
| 7 | 
             
              "classifier_dropout": null,
         | 
| 8 | 
             
              "hidden_act": "gelu",
         | 
| 9 | 
             
              "hidden_dropout_prob": 0.1,
         | 
| 10 | 
            +
              "hidden_size": 128,
         | 
| 11 | 
             
              "initializer_range": 0.02,
         | 
| 12 | 
            +
              "intermediate_size": 512,
         | 
| 13 | 
             
              "layer_norm_eps": 1e-12,
         | 
| 14 | 
             
              "max_position_embeddings": 512,
         | 
| 15 | 
             
              "model_type": "bert",
         | 
| 16 | 
            +
              "num_attention_heads": 2,
         | 
| 17 | 
            +
              "num_hidden_layers": 2,
         | 
| 18 | 
             
              "pad_token_id": 0,
         | 
| 19 | 
             
              "position_embedding_type": "absolute",
         | 
| 20 | 
             
              "problem_type": "single_label_classification",
         | 
| 21 | 
             
              "torch_dtype": "float32",
         | 
| 22 | 
            +
              "transformers_version": "4.27.4",
         | 
| 23 | 
             
              "type_vocab_size": 2,
         | 
| 24 | 
             
              "use_cache": true,
         | 
| 25 | 
             
              "vocab_size": 30522
         | 
    	
        pytorch_model.bin
    CHANGED
    
    | @@ -1,3 +1,3 @@ | |
| 1 | 
             
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            -
            oid sha256: | 
| 3 | 
            -
            size  | 
|  | |
| 1 | 
             
            version https://git-lfs.github.com/spec/v1
         | 
| 2 | 
            +
            oid sha256:a100d2804c8af33e2ef248762c71acb8f4876b29ac4ad0b3f76cc19f4eddc956
         | 
| 3 | 
            +
            size 17562607
         |