Huan0806 commited on
Commit
33add12
1 Parent(s): 495214c

Upload ErnieForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +27 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nghuyong/ernie-2.0-base-en",
3
+ "architectures": [
4
+ "ErnieForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 3072,
13
+ "layer_norm_eps": 1e-05,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "ernie",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "task_type_vocab_size": 3,
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.30.2",
23
+ "type_vocab_size": 4,
24
+ "use_cache": true,
25
+ "use_task_id": false,
26
+ "vocab_size": 30522
27
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0de5eebdba611384a029720eb5d4bc8338bafad8927b4be5987cb5614967f7aa
3
+ size 438011445