hamidrezaahmadian
commited on
Commit
•
b6909ea
1
Parent(s):
d85dce8
copy pase
Browse files- README.md +65 -0
- added_tokens.json +8 -0
- config.json +57 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
model-index:
|
5 |
+
- name: unified_skill_ner
|
6 |
+
results: []
|
7 |
+
---
|
8 |
+
|
9 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
10 |
+
should probably proofread and complete it, then remove this comment. -->
|
11 |
+
|
12 |
+
# unified_skill_ner
|
13 |
+
|
14 |
+
This model was trained from scratch on an unknown dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
- eval_loss: 0.0048
|
17 |
+
- eval_Profession-B-f1: 0.9781
|
18 |
+
- eval_Profession-I-f1: 0.9798
|
19 |
+
- eval_Loc-B-f1: 0.9792
|
20 |
+
- eval_Loc-I-f1: 0.9804
|
21 |
+
- eval_AreaSkill-B-f1: 0.9625
|
22 |
+
- eval_AreaSkill-I-f1: 0.9264
|
23 |
+
- eval_Language-B-f1: 0.9976
|
24 |
+
- eval_Language-I-f1: 0
|
25 |
+
- eval_CertificatesLicense-B-f1: 0.9818
|
26 |
+
- eval_CertificatesLicense-I-f1: 1.0
|
27 |
+
- eval_Driverslicense-B-f1: 0.9912
|
28 |
+
- eval_Driverslicense-I-f1: 1.0
|
29 |
+
- eval_f1: 0.9409
|
30 |
+
- eval_runtime: 10.5223
|
31 |
+
- eval_samples_per_second: 490.958
|
32 |
+
- eval_steps_per_second: 61.394
|
33 |
+
- step: 0
|
34 |
+
|
35 |
+
## Model description
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Intended uses & limitations
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training and evaluation data
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training procedure
|
48 |
+
|
49 |
+
### Training hyperparameters
|
50 |
+
|
51 |
+
The following hyperparameters were used during training:
|
52 |
+
- learning_rate: 4e-05
|
53 |
+
- train_batch_size: 2
|
54 |
+
- eval_batch_size: 8
|
55 |
+
- seed: 123
|
56 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
57 |
+
- lr_scheduler_type: linear
|
58 |
+
- num_epochs: 2
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.26.1
|
63 |
+
- Pytorch 1.13.1+cu116
|
64 |
+
- Datasets 2.10.1
|
65 |
+
- Tokenizers 0.13.2
|
added_tokens.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
".N": 50327,
|
3 |
+
".n": 50328,
|
4 |
+
"C#": 50330,
|
5 |
+
"C++": 50325,
|
6 |
+
"c#": 50329,
|
7 |
+
"c++": 50326
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/jovyan/work/MatrixProject/ledigajobb-matrix-inputs/input/unified_skill_ner/model/",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2",
|
16 |
+
"3": "LABEL_3",
|
17 |
+
"4": "LABEL_4",
|
18 |
+
"5": "LABEL_5",
|
19 |
+
"6": "LABEL_6",
|
20 |
+
"7": "LABEL_7",
|
21 |
+
"8": "LABEL_8",
|
22 |
+
"9": "LABEL_9",
|
23 |
+
"10": "LABEL_10",
|
24 |
+
"11": "LABEL_11",
|
25 |
+
"12": "LABEL_12"
|
26 |
+
},
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"LABEL_0": 0,
|
31 |
+
"LABEL_1": 1,
|
32 |
+
"LABEL_10": 10,
|
33 |
+
"LABEL_11": 11,
|
34 |
+
"LABEL_12": 12,
|
35 |
+
"LABEL_2": 2,
|
36 |
+
"LABEL_3": 3,
|
37 |
+
"LABEL_4": 4,
|
38 |
+
"LABEL_5": 5,
|
39 |
+
"LABEL_6": 6,
|
40 |
+
"LABEL_7": 7,
|
41 |
+
"LABEL_8": 8,
|
42 |
+
"LABEL_9": 9
|
43 |
+
},
|
44 |
+
"layer_norm_eps": 1e-12,
|
45 |
+
"max_position_embeddings": 512,
|
46 |
+
"model_type": "bert",
|
47 |
+
"num_attention_heads": 12,
|
48 |
+
"num_hidden_layers": 12,
|
49 |
+
"output_past": true,
|
50 |
+
"pad_token_id": 0,
|
51 |
+
"position_embedding_type": "absolute",
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.26.1",
|
54 |
+
"type_vocab_size": 2,
|
55 |
+
"use_cache": true,
|
56 |
+
"vocab_size": 50331
|
57 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:463022270eb9d9cd2c6b97fe59a13c7df7dc2de7884574277d453beb15101a1e
|
3 |
+
size 496531949
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_basic_tokenize": true,
|
4 |
+
"do_lower_case": false,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 1000000000000000019884624838656,
|
7 |
+
"name_or_path": "/home/jovyan/work/MatrixProject/ledigajobb-matrix-inputs/input/unified_skill_ner/tokenizer/",
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"special_tokens_map_file": "/home/jovyan/.cache/huggingface/hub/models--KB--bert-base-swedish-cased/snapshots/81c7baa04742a30cb6732c181e678721868cb42e/special_tokens_map.json",
|
12 |
+
"strip_accents": false,
|
13 |
+
"tokenize_chinese_chars": true,
|
14 |
+
"tokenizer_class": "BertTokenizer",
|
15 |
+
"unk_token": "[UNK]"
|
16 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1915b86e62b86411d47ac1bacbb698c43e6e91c81594e2e31739bb0449db2554
|
3 |
+
size 3643
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|