asofter commited on
Commit
5cdd0b3
1 Parent(s): 89c2c3c

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +43 -0
config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "huggingface/CodeBERTa-language-id",
3
+ "_num_labels": 6,
4
+ "architectures": [
5
+ "RobertaForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "go",
16
+ "1": "java",
17
+ "2": "javascript",
18
+ "3": "php",
19
+ "4": "python",
20
+ "5": "ruby"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "go": 0,
26
+ "java": 1,
27
+ "javascript": 2,
28
+ "php": 3,
29
+ "python": 4,
30
+ "ruby": 5
31
+ },
32
+ "layer_norm_eps": 1e-05,
33
+ "max_position_embeddings": 514,
34
+ "model_type": "roberta",
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 6,
37
+ "pad_token_id": 1,
38
+ "position_embedding_type": "absolute",
39
+ "transformers_version": "4.35.0",
40
+ "type_vocab_size": 1,
41
+ "use_cache": true,
42
+ "vocab_size": 52000
43
+ }