BrightXiaoHan commited on
Commit
292b3eb
·
verified ·
1 Parent(s): 4727113

Upload ErnieForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +36 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./trained_models/need_follow_cls",
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
+ "id2label": {
12
+ "0": "\u4e0d\u9700\u8981\u8fdb\u884c\u77e5\u8bc6\u8ddf\u968f",
13
+ "1": "\u9700\u8981\u8fdb\u884c\u77e5\u8bc6\u8ddf\u968f"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "\u4e0d\u9700\u8981\u8fdb\u884c\u77e5\u8bc6\u8ddf\u968f": 0,
19
+ "\u9700\u8981\u8fdb\u884c\u77e5\u8bc6\u8ddf\u968f": 1
20
+ },
21
+ "layer_norm_eps": 1e-05,
22
+ "max_position_embeddings": 2048,
23
+ "model_type": "ernie",
24
+ "num_attention_heads": 12,
25
+ "num_hidden_layers": 12,
26
+ "pad_token_id": 0,
27
+ "position_embedding_type": "absolute",
28
+ "problem_type": "single_label_classification",
29
+ "task_type_vocab_size": 3,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.29.1",
32
+ "type_vocab_size": 4,
33
+ "use_cache": true,
34
+ "use_task_id": true,
35
+ "vocab_size": 40000
36
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:138357f4a3870d3762ecb754872b51f29ad9818d0fe7fbcf4606da780565ba85
3
+ size 471868726