eemotgs commited on
Commit
a4af16c
1 Parent(s): 3084c3e

Upload RobertaForTokenClassification (#1)

Browse files

- Upload RobertaForTokenClassification (08aa668e8bd23b4cfeae270fb6922ab2365d508f)

Files changed (2) hide show
  1. config.json +42 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "RoBERTa_fine_tuned_for_proper_nouns_detection",
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 1024,
14
+ "id2label": {
15
+ "0": "O",
16
+ "1": "PER",
17
+ "2": "ORG",
18
+ "3": "LOC",
19
+ "4": "MISC"
20
+ },
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 4096,
23
+ "label2id": {
24
+ "LOC": 3,
25
+ "MISC": 4,
26
+ "O": 0,
27
+ "ORG": 2,
28
+ "PER": 1
29
+ },
30
+ "layer_norm_eps": 1e-05,
31
+ "max_position_embeddings": 514,
32
+ "model_type": "roberta",
33
+ "num_attention_heads": 16,
34
+ "num_hidden_layers": 24,
35
+ "pad_token_id": 1,
36
+ "position_embedding_type": "absolute",
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.31.0.dev0",
39
+ "type_vocab_size": 1,
40
+ "use_cache": true,
41
+ "vocab_size": 50265
42
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fc064c9b42e00ea64b719038ca9161da4b5a72873e209b7c2d234deddf7a6e2
3
+ size 1417394989