tobiso commited on
Commit
e916249
·
verified ·
1 Parent(s): 436f4cf

Upload XLMRobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +10 -8
  2. model.safetensors +2 -2
config.json CHANGED
@@ -1,10 +1,11 @@
1
  {
2
  "architectures": [
3
- "BertForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
 
6
  "classifier_dropout": null,
7
- "gradient_checkpointing": false,
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
@@ -40,16 +41,17 @@
40
  "I-Person": 11,
41
  "O": 12
42
  },
43
- "layer_norm_eps": 1e-12,
44
- "max_position_embeddings": 512,
45
- "model_type": "bert",
46
  "num_attention_heads": 12,
47
  "num_hidden_layers": 12,
48
- "pad_token_id": 0,
 
49
  "position_embedding_type": "absolute",
50
  "torch_dtype": "float32",
51
  "transformers_version": "4.51.3",
52
- "type_vocab_size": 2,
53
  "use_cache": true,
54
- "vocab_size": 28996
55
  }
 
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,
 
41
  "I-Person": 11,
42
  "O": 12
43
  },
44
+ "layer_norm_eps": 1e-05,
45
+ "max_position_embeddings": 514,
46
+ "model_type": "xlm-roberta",
47
  "num_attention_heads": 12,
48
  "num_hidden_layers": 12,
49
+ "output_past": true,
50
+ "pad_token_id": 1,
51
  "position_embedding_type": "absolute",
52
  "torch_dtype": "float32",
53
  "transformers_version": "4.51.3",
54
+ "type_vocab_size": 1,
55
  "use_cache": true,
56
+ "vocab_size": 250002
57
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3fcf3f5536c53a754a4a3fc5ba601f0581327740a49f94d02b964d9be3c703fe
3
- size 430942044
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed0f119726693cc8b55e08d1a9cc51bc6167df52643ccf4f9e3089b9490b7bec
3
+ size 1109876260