Vishnou commited on
Commit
06bb8d2
1 Parent(s): 6da8073

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +19 -14
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,25 +1,30 @@
1
  {
2
- "_name_or_path": "distilbert-base-uncased",
3
- "activation": "gelu",
4
  "architectures": [
5
- "DistilBertForSequenceClassification"
6
  ],
7
- "attention_dropout": 0.1,
8
- "dim": 768,
9
- "dropout": 0.1,
10
- "hidden_dim": 3072,
 
 
 
11
  "initializer_range": 0.02,
 
 
12
  "max_position_embeddings": 512,
13
- "model_type": "distilbert",
14
- "n_heads": 12,
15
- "n_layers": 6,
16
  "pad_token_id": 0,
 
 
17
  "problem_type": "single_label_classification",
18
- "qa_dropout": 0.1,
19
- "seq_classif_dropout": 0.2,
20
- "sinusoidal_pos_embds": false,
21
- "tie_weights_": true,
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.35.2",
 
 
24
  "vocab_size": 30522
25
  }
 
1
  {
2
+ "_name_or_path": "huawei-noah/TinyBERT_General_4L_312D",
 
3
  "architectures": [
4
+ "BertForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "cell": {},
8
+ "classifier_dropout": null,
9
+ "emb_size": 312,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 312,
13
  "initializer_range": 0.02,
14
+ "intermediate_size": 1200,
15
+ "layer_norm_eps": 1e-12,
16
  "max_position_embeddings": 512,
17
+ "model_type": "bert",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 4,
20
  "pad_token_id": 0,
21
+ "position_embedding_type": "absolute",
22
+ "pre_trained": "",
23
  "problem_type": "single_label_classification",
24
+ "structure": [],
 
 
 
25
  "torch_dtype": "float32",
26
  "transformers_version": "4.35.2",
27
+ "type_vocab_size": 2,
28
+ "use_cache": true,
29
  "vocab_size": 30522
30
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8fcc59aace05879dd0138156289730cf5fff405afe418bfa1231991af7db4c37
3
- size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b15f95bae36f14f3124420e8341531a6f4dc312b3d1fe5bf3e849480e39dcc4
3
+ size 57411808