Gleb Vinarskis commited on
Commit
e0e66f5
·
1 Parent(s): 66fa757

adapt config

Browse files
Files changed (1) hide show
  1. config.json +35 -17
config.json CHANGED
@@ -1,25 +1,43 @@
 
1
  {
2
  "_name_or_path": "Maslionok/pipeline1",
3
  "architectures": [
4
- "Pipeline_One"
5
  ],
6
- "model_type": "bert",
7
- "num_labels": 3,
 
 
 
 
 
 
 
 
 
 
 
8
  "id2label": {
9
- "0": "English",
10
- "1": "German",
11
- "2": "French"
12
  },
 
 
13
  "label2id": {
14
- "English": 0,
15
- "German": 1,
16
- "French": 2
17
  },
18
- "custom_pipelines": {
19
- "language-detection": {
20
- "impl": "impresso_langident_wrapper.Pipeline_One",
21
- "pt": "AutoModel",
22
- "tf": []
23
- }
24
- }
25
- }
 
 
 
 
 
 
 
1
+
2
  {
3
  "_name_or_path": "Maslionok/pipeline1",
4
  "architectures": [
5
+ "BertForSequenceClassification"
6
  ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "custom_pipelines": {
10
+ "pair-classification": {
11
+ "impl": "impresso_langident_wrapper.Pipeline_One",
12
+ "pt": "AutoModelForSequenceClassification",
13
+ "tf": "TFAutoModelForSequenceClassification"
14
+ }
15
+ },
16
+ "gradient_checkpointing": false,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "hidden_size": 768,
20
  "id2label": {
21
+ "0": "not equivalent",
22
+ "1": "equivalent"
 
23
  },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
  "label2id": {
27
+ "equivalent": 1,
28
+ "not equivalent": 0
 
29
  },
30
+ "layer_norm_eps": 1e-12,
31
+ "max_position_embeddings": 512,
32
+ "model_type": "bert",
33
+ "num_attention_heads": 12,
34
+ "num_hidden_layers": 12,
35
+ "pad_token_id": 0,
36
+ "position_embedding_type": "absolute",
37
+ "problem_type": "single_label_classification",
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.21.0.dev0",
40
+ "type_vocab_size": 2,
41
+ "use_cache": true,
42
+ "vocab_size": 28996
43
+ }