Training completed!
Browse files- README.md +78 -0
- config.json +83 -0
- model.safetensors +3 -0
- runs/Feb25_08-54-51_7a49a71b37c2/events.out.tfevents.1708851334.7a49a71b37c2.34.0 +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: allenai/scibert_scivocab_cased
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- f1
|
| 7 |
+
model-index:
|
| 8 |
+
- name: SOMD-train-scibert
|
| 9 |
+
results: []
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 13 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 14 |
+
|
| 15 |
+
# SOMD-train-scibert
|
| 16 |
+
|
| 17 |
+
This model is a fine-tuned version of [allenai/scibert_scivocab_cased](https://huggingface.co/allenai/scibert_scivocab_cased) on the None dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.0000
|
| 20 |
+
- F1: 1.0
|
| 21 |
+
|
| 22 |
+
## Model description
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Intended uses & limitations
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training and evaluation data
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Training procedure
|
| 35 |
+
|
| 36 |
+
### Training hyperparameters
|
| 37 |
+
|
| 38 |
+
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 5e-05
|
| 40 |
+
- train_batch_size: 32
|
| 41 |
+
- eval_batch_size: 256
|
| 42 |
+
- seed: 42
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- num_epochs: 20
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss | F1 |
|
| 50 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|
|
| 51 |
+
| No log | 1.0 | 1243 | 0.0053 | 0.7304 |
|
| 52 |
+
| No log | 2.0 | 2486 | 0.0029 | 0.8024 |
|
| 53 |
+
| No log | 3.0 | 3729 | 0.0017 | 0.8700 |
|
| 54 |
+
| No log | 4.0 | 4972 | 0.0011 | 0.9302 |
|
| 55 |
+
| No log | 5.0 | 6215 | 0.0010 | 0.9305 |
|
| 56 |
+
| No log | 6.0 | 7458 | 0.0008 | 0.9545 |
|
| 57 |
+
| No log | 7.0 | 8701 | 0.0007 | 0.9629 |
|
| 58 |
+
| No log | 8.0 | 9944 | 0.0004 | 0.9698 |
|
| 59 |
+
| No log | 9.0 | 11187 | 0.0002 | 0.9854 |
|
| 60 |
+
| No log | 10.0 | 12430 | 0.0002 | 0.9871 |
|
| 61 |
+
| No log | 11.0 | 13673 | 0.0002 | 0.9934 |
|
| 62 |
+
| No log | 12.0 | 14916 | 0.0001 | 0.9898 |
|
| 63 |
+
| No log | 13.0 | 16159 | 0.0000 | 0.9985 |
|
| 64 |
+
| No log | 14.0 | 17402 | 0.0001 | 0.9940 |
|
| 65 |
+
| No log | 15.0 | 18645 | 0.0000 | 0.9986 |
|
| 66 |
+
| No log | 16.0 | 19888 | 0.0000 | 0.9966 |
|
| 67 |
+
| No log | 17.0 | 21131 | 0.0000 | 0.9994 |
|
| 68 |
+
| No log | 18.0 | 22374 | 0.0000 | 1.0 |
|
| 69 |
+
| No log | 19.0 | 23617 | 0.0000 | 1.0 |
|
| 70 |
+
| No log | 20.0 | 24860 | 0.0000 | 1.0 |
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
### Framework versions
|
| 74 |
+
|
| 75 |
+
- Transformers 4.37.0
|
| 76 |
+
- Pytorch 2.1.2
|
| 77 |
+
- Datasets 2.1.0
|
| 78 |
+
- Tokenizers 0.15.1
|
config.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "allenai/scibert_scivocab_cased",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"hidden_act": "gelu",
|
| 9 |
+
"hidden_dropout_prob": 0.1,
|
| 10 |
+
"hidden_size": 768,
|
| 11 |
+
"id2label": {
|
| 12 |
+
"0": "O",
|
| 13 |
+
"1": "I-SoftwareCoreference_Deposition",
|
| 14 |
+
"2": "I-ProgrammingEnvironment_Usage",
|
| 15 |
+
"3": "I-ProgrammingEnvironment_Mention",
|
| 16 |
+
"4": "I-PlugIn_Usage",
|
| 17 |
+
"5": "I-PlugIn_Mention",
|
| 18 |
+
"6": "I-PlugIn_Deposition",
|
| 19 |
+
"7": "I-PlugIn_Creation",
|
| 20 |
+
"8": "I-OperatingSystem_Usage",
|
| 21 |
+
"9": "I-OperatingSystem_Mention",
|
| 22 |
+
"10": "I-Application_Usage",
|
| 23 |
+
"11": "I-Application_Mention",
|
| 24 |
+
"12": "I-Application_Deposition",
|
| 25 |
+
"13": "I-Application_Creation",
|
| 26 |
+
"14": "B-SoftwareCoreference_Deposition",
|
| 27 |
+
"15": "B-ProgrammingEnvironment_Usage",
|
| 28 |
+
"16": "B-ProgrammingEnvironment_Mention",
|
| 29 |
+
"17": "B-PlugIn_Usage",
|
| 30 |
+
"18": "B-PlugIn_Mention",
|
| 31 |
+
"19": "B-PlugIn_Deposition",
|
| 32 |
+
"20": "B-PlugIn_Creation",
|
| 33 |
+
"21": "B-OperatingSystem_Usage",
|
| 34 |
+
"22": "B-OperatingSystem_Mention",
|
| 35 |
+
"23": "B-Application_Usage",
|
| 36 |
+
"24": "B-Application_Mention",
|
| 37 |
+
"25": "B-Application_Deposition",
|
| 38 |
+
"26": "B-Application_Creation"
|
| 39 |
+
},
|
| 40 |
+
"initializer_range": 0.02,
|
| 41 |
+
"intermediate_size": 3072,
|
| 42 |
+
"label2id": {
|
| 43 |
+
"B-Application_Creation": 26,
|
| 44 |
+
"B-Application_Deposition": 25,
|
| 45 |
+
"B-Application_Mention": 24,
|
| 46 |
+
"B-Application_Usage": 23,
|
| 47 |
+
"B-OperatingSystem_Mention": 22,
|
| 48 |
+
"B-OperatingSystem_Usage": 21,
|
| 49 |
+
"B-PlugIn_Creation": 20,
|
| 50 |
+
"B-PlugIn_Deposition": 19,
|
| 51 |
+
"B-PlugIn_Mention": 18,
|
| 52 |
+
"B-PlugIn_Usage": 17,
|
| 53 |
+
"B-ProgrammingEnvironment_Mention": 16,
|
| 54 |
+
"B-ProgrammingEnvironment_Usage": 15,
|
| 55 |
+
"B-SoftwareCoreference_Deposition": 14,
|
| 56 |
+
"I-Application_Creation": 13,
|
| 57 |
+
"I-Application_Deposition": 12,
|
| 58 |
+
"I-Application_Mention": 11,
|
| 59 |
+
"I-Application_Usage": 10,
|
| 60 |
+
"I-OperatingSystem_Mention": 9,
|
| 61 |
+
"I-OperatingSystem_Usage": 8,
|
| 62 |
+
"I-PlugIn_Creation": 7,
|
| 63 |
+
"I-PlugIn_Deposition": 6,
|
| 64 |
+
"I-PlugIn_Mention": 5,
|
| 65 |
+
"I-PlugIn_Usage": 4,
|
| 66 |
+
"I-ProgrammingEnvironment_Mention": 3,
|
| 67 |
+
"I-ProgrammingEnvironment_Usage": 2,
|
| 68 |
+
"I-SoftwareCoreference_Deposition": 1,
|
| 69 |
+
"O": 0
|
| 70 |
+
},
|
| 71 |
+
"layer_norm_eps": 1e-12,
|
| 72 |
+
"max_position_embeddings": 512,
|
| 73 |
+
"model_type": "bert",
|
| 74 |
+
"num_attention_heads": 12,
|
| 75 |
+
"num_hidden_layers": 12,
|
| 76 |
+
"pad_token_id": 0,
|
| 77 |
+
"position_embedding_type": "absolute",
|
| 78 |
+
"torch_dtype": "float32",
|
| 79 |
+
"transformers_version": "4.37.0",
|
| 80 |
+
"type_vocab_size": 2,
|
| 81 |
+
"use_cache": true,
|
| 82 |
+
"vocab_size": 31116
|
| 83 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1bc092fe2de316a3b28faae9207e85ffe5ed2819e0cf69e022647445bcbe107
|
| 3 |
+
size 437497756
|
runs/Feb25_08-54-51_7a49a71b37c2/events.out.tfevents.1708851334.7a49a71b37c2.34.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9bfbb22417b7f4aea0d050aa229cdf0df7890474f1d8b94c90d68479d915e7af
|
| 3 |
+
size 12928
|
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,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"100": {
|
| 12 |
+
"content": "[UNK]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"101": {
|
| 20 |
+
"content": "[CLS]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"102": {
|
| 28 |
+
"content": "[SEP]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"103": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"clean_up_tokenization_spaces": true,
|
| 45 |
+
"cls_token": "[CLS]",
|
| 46 |
+
"do_basic_tokenize": true,
|
| 47 |
+
"do_lower_case": true,
|
| 48 |
+
"mask_token": "[MASK]",
|
| 49 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 50 |
+
"never_split": null,
|
| 51 |
+
"pad_token": "[PAD]",
|
| 52 |
+
"sep_token": "[SEP]",
|
| 53 |
+
"strip_accents": null,
|
| 54 |
+
"tokenize_chinese_chars": true,
|
| 55 |
+
"tokenizer_class": "BertTokenizer",
|
| 56 |
+
"unk_token": "[UNK]"
|
| 57 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cacd1865b6e969c1cb78f3c1171170e422f6a16addc400ef8b6660aaa12aad2
|
| 3 |
+
size 4728
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|