arpit-tiwari commited on
Commit
47e93be
·
verified ·
1 Parent(s): 62485ab

Upload XLMRobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +20 -17
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,12 +1,14 @@
1
  {
2
- "activation": "gelu",
3
  "architectures": [
4
- "DistilBertForTokenClassification"
5
  ],
6
- "attention_dropout": 0.1,
7
- "dim": 768,
8
- "dropout": 0.1,
9
- "hidden_dim": 3072,
 
 
 
10
  "id2label": {
11
  "0": "O",
12
  "1": "B-PER",
@@ -17,6 +19,7 @@
17
  "6": "I-LOC"
18
  },
19
  "initializer_range": 0.02,
 
20
  "label2id": {
21
  "B-LOC": 5,
22
  "B-ORG": 3,
@@ -26,17 +29,17 @@
26
  "I-PER": 2,
27
  "O": 0
28
  },
29
- "max_position_embeddings": 512,
30
- "model_type": "distilbert",
31
- "n_heads": 12,
32
- "n_layers": 6,
 
33
  "output_past": true,
34
- "pad_token_id": 0,
35
- "qa_dropout": 0.1,
36
- "seq_classif_dropout": 0.2,
37
- "sinusoidal_pos_embds": false,
38
- "tie_weights_": true,
39
  "torch_dtype": "float32",
40
- "transformers_version": "4.50.3",
41
- "vocab_size": 28996
 
 
42
  }
 
1
  {
 
2
  "architectures": [
3
+ "XLMRobertaForTokenClassification"
4
  ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
  "id2label": {
13
  "0": "O",
14
  "1": "B-PER",
 
19
  "6": "I-LOC"
20
  },
21
  "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
  "label2id": {
24
  "B-LOC": 5,
25
  "B-ORG": 3,
 
29
  "I-PER": 2,
30
  "O": 0
31
  },
32
+ "layer_norm_eps": 1e-05,
33
+ "max_position_embeddings": 514,
34
+ "model_type": "xlm-roberta",
35
+ "num_attention_heads": 12,
36
+ "num_hidden_layers": 12,
37
  "output_past": true,
38
+ "pad_token_id": 1,
39
+ "position_embedding_type": "absolute",
 
 
 
40
  "torch_dtype": "float32",
41
+ "transformers_version": "4.51.3",
42
+ "type_vocab_size": 1,
43
+ "use_cache": true,
44
+ "vocab_size": 250002
45
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:77f572fbd608d8a164db08678e4dfbd9181c345b8ccb7e52aab91627501e6736
3
- size 260797516
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d536b7577e4ad125ccd05b54e1c4a19f1563c3f9bc1136c28d555bbb3bcf0cb8
3
+ size 1109857804