sorasmaa commited on
Commit
b550718
·
1 Parent(s): ae5d239

Uploaded the model

Browse files
README.md CHANGED
@@ -1,3 +1,15 @@
1
  ---
2
  license: cc-by-sa-4.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-sa-4.0
3
  ---
4
+
5
+ # est-roberta-hist-ner
6
+
7
+ ## Model description
8
+
9
+ est-roberta-hist-ner is an [Est-RoBERTa](https://huggingface.co/EMBEDDIA/est-roberta) based model fine-tuned for named entity recognition in Estonian 19th century parish court records (for details, see [this repository](https://github.com/soras/vk_ner_lrec_2022)).
10
+ The following types of entities are recognized: person names (PER), ambiguous locations-organizations (LOC_ORG), locations (LOC), organizations (ORG) and MISC (miscellaneous names).
11
+
12
+ ## How to use
13
+
14
+ Recommended usage of the model is with approriate pre- and postprocessing by EstNLTK.
15
+ For an usage example, see this tutorial: [https://github.com/soras/vk\_ner\_lrec\_2022/blob/main/using\_bert\_ner\_tagger.ipynb](https://github.com/soras/vk_ner_lrec_2022/blob/main/using_bert_ner_tagger.ipynb)
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "est-roberta",
3
+ "architectures": [
4
+ "CamembertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "B-LOC",
15
+ "1": "B-LOC_ORG",
16
+ "2": "B-MISC",
17
+ "3": "B-ORG",
18
+ "4": "B-PER",
19
+ "5": "I-LOC",
20
+ "6": "I-LOC_ORG",
21
+ "7": "I-MISC",
22
+ "8": "I-ORG",
23
+ "9": "I-PER",
24
+ "10": "O"
25
+ },
26
+ "initializer_range": 0.02,
27
+ "intermediate_size": 3072,
28
+ "label2id": {
29
+ "B-LOC": 0,
30
+ "B-LOC_ORG": 1,
31
+ "B-MISC": 2,
32
+ "B-ORG": 3,
33
+ "B-PER": 4,
34
+ "I-LOC": 5,
35
+ "I-LOC_ORG": 6,
36
+ "I-MISC": 7,
37
+ "I-ORG": 8,
38
+ "I-PER": 9,
39
+ "O": 10
40
+ },
41
+ "layer_norm_eps": 1e-05,
42
+ "max_position_embeddings": 514,
43
+ "model_type": "camembert",
44
+ "num_attention_heads": 12,
45
+ "num_hidden_layers": 12,
46
+ "pad_token_id": 1,
47
+ "position_embedding_type": "absolute",
48
+ "transformers_version": "4.3.3",
49
+ "type_vocab_size": 1,
50
+ "use_cache": true,
51
+ "vocab_size": 40005
52
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a4b9dfc103efe51bc82e21cf0424f613b9e7ec571975cb9929c4dc85730bc61
3
+ size 464825015
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce4efafd8f3bf5547faaa9561ce37181ee61b2aada8bdcee7ad5f2aac10a1a76
3
+ size 935725
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": "<mask>", "additional_special_tokens": ["<s>NOTUSED", "</s>NOTUSED"]}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "additional_special_tokens": ["<s>NOTUSED", "</s>NOTUSED"], "do_lower_case": false, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "est-roberta"}