Add model
Browse files- config.json +55 -0
- eval_results.txt +7 -0
- model_args.json +1 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "albert-large-v2",
|
3 |
+
"architectures": [
|
4 |
+
"AlbertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 2,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"down_scale_factor": 1,
|
10 |
+
"embedding_size": 128,
|
11 |
+
"eos_token_id": 3,
|
12 |
+
"gap_size": 0,
|
13 |
+
"hidden_act": "gelu_new",
|
14 |
+
"hidden_dropout_prob": 0,
|
15 |
+
"hidden_size": 1024,
|
16 |
+
"id2label": {
|
17 |
+
"0": "LABEL_0",
|
18 |
+
"1": "LABEL_1",
|
19 |
+
"2": "LABEL_2",
|
20 |
+
"3": "LABEL_3",
|
21 |
+
"4": "LABEL_4",
|
22 |
+
"5": "LABEL_5",
|
23 |
+
"6": "LABEL_6",
|
24 |
+
"7": "LABEL_7",
|
25 |
+
"8": "LABEL_8"
|
26 |
+
},
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"inner_group_num": 1,
|
29 |
+
"intermediate_size": 4096,
|
30 |
+
"label2id": {
|
31 |
+
"LABEL_0": 0,
|
32 |
+
"LABEL_1": 1,
|
33 |
+
"LABEL_2": 2,
|
34 |
+
"LABEL_3": 3,
|
35 |
+
"LABEL_4": 4,
|
36 |
+
"LABEL_5": 5,
|
37 |
+
"LABEL_6": 6,
|
38 |
+
"LABEL_7": 7,
|
39 |
+
"LABEL_8": 8
|
40 |
+
},
|
41 |
+
"layer_norm_eps": 1e-12,
|
42 |
+
"max_position_embeddings": 512,
|
43 |
+
"model_type": "albert",
|
44 |
+
"net_structure_type": 0,
|
45 |
+
"num_attention_heads": 16,
|
46 |
+
"num_hidden_groups": 1,
|
47 |
+
"num_hidden_layers": 24,
|
48 |
+
"num_memory_blocks": 0,
|
49 |
+
"pad_token_id": 0,
|
50 |
+
"position_embedding_type": "absolute",
|
51 |
+
"torch_dtype": "float32",
|
52 |
+
"transformers_version": "4.16.2",
|
53 |
+
"type_vocab_size": 2,
|
54 |
+
"vocab_size": 30000
|
55 |
+
}
|
eval_results.txt
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
eval_loss = 0.6492512822151184
|
2 |
+
f1_score = 0.6030478301397648
|
3 |
+
f1_score_strict = 0.6219198790627363
|
4 |
+
precision = 0.5892312973009175
|
5 |
+
precision_strict = 0.6708298465373937
|
6 |
+
recall = 0.6194796608896835
|
7 |
+
recall_strict = 0.5840556028758207
|
model_args.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"adam_epsilon": 1e-08, "best_model_dir": "temp/outputs/best_model", "cache_dir": "temp/cache_dir", "config": {}, "custom_layer_parameters": [], "custom_parameter_groups": [], "dataloader_num_workers": 1, "do_lower_case": true, "dynamic_quantize": false, "early_stopping_consider_epochs": false, "early_stopping_delta": 0, "early_stopping_metric": "eval_loss", "early_stopping_metric_minimize": true, "early_stopping_patience": 10, "encoding": null, "eval_batch_size": 512, "evaluate_during_training": true, "evaluate_during_training_silent": true, "evaluate_during_training_steps": 8, "evaluate_during_training_verbose": true, "evaluate_each_epoch": true, "fp16": false, "gradient_accumulation_steps": 1, "learning_rate": 1e-05, "local_rank": -1, "logging_steps": 8, "manual_seed": 157, "max_grad_norm": 1.0, "max_seq_length": 128, "model_name": "albert-large-v2", "model_type": "auto", "multiprocessing_chunksize": 500, "n_gpu": 1, "no_cache": false, "no_save": false, "not_saved_args": [], "num_train_epochs": 5, "output_dir": "temp/outputs", "overwrite_output_dir": true, "process_count": 1, "quantized_model": false, "reprocess_input_data": true, "save_best_model": true, "save_eval_checkpoints": false, "save_model_every_epoch": false, "save_optimizer_and_scheduler": true, "save_recent_only": true, "save_steps": 8, "silent": false, "tensorboard_dir": null, "thread_count": null, "train_batch_size": 16, "train_custom_parameters_only": false, "use_cached_eval_features": false, "use_early_stopping": true, "use_multiprocessing": false, "wandb_kwargs": {}, "wandb_project": "ner", "warmup_ratio": 0.06, "warmup_steps": 12, "weight_decay": 0, "skip_special_tokens": true, "model_class": "NERModel", "classification_report": true, "labels_list": ["O", "B-quality", "B-property", "I-property", "I-quality", "B-object", "I-object", "B-value", "I-value"], "lazy_loading": false, "lazy_loading_start_line": 0, "onnx": false}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7ee4ba5e40958da180cc86ce4a6d67525439a662f1089699ee8f15e50235dbbe
|
3 |
+
size 133163319
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d97864425ed85bbf96f5ef9b31d4ada40cac51913976fb499df009315b2d209
|
3 |
+
size 66589247
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92e63267f7fc52e45235b1bed0e02cda9db77605bda412912f17b01ae8ba6a7b
|
3 |
+
size 627
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "remove_space": true, "keep_accents": false, "bos_token": "[CLS]", "eos_token": "[SEP]", "unk_token": "<unk>", "sep_token": "[SEP]", "pad_token": "<pad>", "cls_token": "[CLS]", "mask_token": {"content": "[MASK]", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false, "__type": "AddedToken"}, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "albert-large-v2", "tokenizer_class": "AlbertTokenizer"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bff1fbb02da8f232a161f39e664d1af07ae696cc91044dbd13ff87f7892f31b1
|
3 |
+
size 2491
|