End of training
Browse files- README.md +76 -0
- config.json +45 -0
- model.safetensors +3 -0
- special_tokens_map.json +54 -0
- tokenizer.json +0 -0
- tokenizer_config.json +84 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: retrieva-jp/bert-1.3b
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
metrics:
|
| 7 |
+
- accuracy
|
| 8 |
+
- precision
|
| 9 |
+
- recall
|
| 10 |
+
- f1
|
| 11 |
+
model-index:
|
| 12 |
+
- name: out
|
| 13 |
+
results: []
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 18 |
+
|
| 19 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/rspeech3399/huggingface/runs/zfb205ui)
|
| 20 |
+
# out
|
| 21 |
+
|
| 22 |
+
This model is a fine-tuned version of [retrieva-jp/bert-1.3b](https://huggingface.co/retrieva-jp/bert-1.3b) on an unknown dataset.
|
| 23 |
+
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.4714
|
| 25 |
+
- Accuracy: 0.737
|
| 26 |
+
- Precision: 0.7423
|
| 27 |
+
- Recall: 0.726
|
| 28 |
+
- F1: 0.7341
|
| 29 |
+
|
| 30 |
+
## Model description
|
| 31 |
+
|
| 32 |
+
More information needed
|
| 33 |
+
|
| 34 |
+
## Intended uses & limitations
|
| 35 |
+
|
| 36 |
+
More information needed
|
| 37 |
+
|
| 38 |
+
## Training and evaluation data
|
| 39 |
+
|
| 40 |
+
More information needed
|
| 41 |
+
|
| 42 |
+
## Training procedure
|
| 43 |
+
|
| 44 |
+
### Training hyperparameters
|
| 45 |
+
|
| 46 |
+
The following hyperparameters were used during training:
|
| 47 |
+
- learning_rate: 5e-05
|
| 48 |
+
- train_batch_size: 16
|
| 49 |
+
- eval_batch_size: 16
|
| 50 |
+
- seed: 42
|
| 51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 52 |
+
- lr_scheduler_type: linear
|
| 53 |
+
- training_steps: 1000
|
| 54 |
+
|
| 55 |
+
### Training results
|
| 56 |
+
|
| 57 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
| 58 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
| 59 |
+
| 0.6438 | 0.0080 | 100 | 0.6116 | 0.663 | 0.8721 | 0.382 | 0.5313 |
|
| 60 |
+
| 0.5113 | 0.0160 | 200 | 0.5442 | 0.699 | 0.6736 | 0.772 | 0.7195 |
|
| 61 |
+
| 0.4512 | 0.0240 | 300 | 0.5119 | 0.717 | 0.8359 | 0.54 | 0.6561 |
|
| 62 |
+
| 0.3916 | 0.0321 | 400 | 0.4936 | 0.702 | 0.7295 | 0.642 | 0.6830 |
|
| 63 |
+
| 0.3806 | 0.0401 | 500 | 0.4763 | 0.715 | 0.7708 | 0.612 | 0.6823 |
|
| 64 |
+
| 0.3581 | 0.0481 | 600 | 0.4597 | 0.754 | 0.75 | 0.762 | 0.7560 |
|
| 65 |
+
| 0.3308 | 0.0561 | 700 | 0.4690 | 0.742 | 0.7738 | 0.684 | 0.7261 |
|
| 66 |
+
| 0.3458 | 0.0641 | 800 | 0.4703 | 0.737 | 0.7423 | 0.726 | 0.7341 |
|
| 67 |
+
| 0.3475 | 0.0721 | 900 | 0.4728 | 0.737 | 0.7495 | 0.712 | 0.7303 |
|
| 68 |
+
| 0.3435 | 0.0801 | 1000 | 0.4714 | 0.737 | 0.7423 | 0.726 | 0.7341 |
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
### Framework versions
|
| 72 |
+
|
| 73 |
+
- Transformers 4.43.1
|
| 74 |
+
- Pytorch 2.3.1+cu121
|
| 75 |
+
- Datasets 2.20.0
|
| 76 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "retrieva-jp/bert-1.3b",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"RetrievaBertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"auto_map": {
|
| 8 |
+
"AutoConfig": "retrieva-jp/bert-1.3b--configuration_retrieva_bert.RetrievaBertConfig",
|
| 9 |
+
"AutoModel": "retrieva-jp/bert-1.3b--modeling_retrieva_bert.RetrievaBertModel",
|
| 10 |
+
"AutoModelForCausalLM": "retrieva-jp/bert-1.3b--modeling_retrieva_bert.RetrievaBertForCausalLM",
|
| 11 |
+
"AutoModelForMaskedLM": "retrieva-jp/bert-1.3b--modeling_retrieva_bert.RetrievaBertForMaskedLM",
|
| 12 |
+
"AutoModelForMultipleChoice": "retrieva-jp/bert-1.3b--modeling_retrieva_bert.RetrievaBertForMultipleChoice",
|
| 13 |
+
"AutoModelForNextSentencePrediction": "retrieva-jp/bert-1.3b--modeling_retrieva_bert.RetrievaBertForNextSentencePrediction",
|
| 14 |
+
"AutoModelForPreTraining": "retrieva-jp/bert-1.3b--modeling_retrieva_bert.RetrievaBertForPreTraining",
|
| 15 |
+
"AutoModelForQuestionAnswering": "retrieva-jp/bert-1.3b--modeling_retrieva_bert.RetrievaBertForQuestionAnswering",
|
| 16 |
+
"AutoModelForSequenceClassification": "retrieva-jp/bert-1.3b--modeling_retrieva_bert.RetrievaBertForSequenceClassification",
|
| 17 |
+
"AutoModelForTokenClassification": "retrieva-jp/bert-1.3b--modeling_retrieva_bert.RetrievaBertForTokenClassification"
|
| 18 |
+
},
|
| 19 |
+
"bos_token_id": 1,
|
| 20 |
+
"eos_token_id": 2,
|
| 21 |
+
"hidden_act": "silu",
|
| 22 |
+
"hidden_dropout_prob": 0.1,
|
| 23 |
+
"hidden_size": 1536,
|
| 24 |
+
"initializer_range": 0.02,
|
| 25 |
+
"intermediate_size": 4096,
|
| 26 |
+
"layer_norm_eps": 1e-12,
|
| 27 |
+
"lm_head_hidden_act": "gelu",
|
| 28 |
+
"max_position_embeddings": 2048,
|
| 29 |
+
"max_sequence_length": 2048,
|
| 30 |
+
"mlp_bias": true,
|
| 31 |
+
"model_type": "retrieva-bert",
|
| 32 |
+
"num_attention_heads": 24,
|
| 33 |
+
"num_hidden_layers": 48,
|
| 34 |
+
"num_key_value_heads": 1,
|
| 35 |
+
"pad_token_id": 4,
|
| 36 |
+
"position_embedding_type": "absolute",
|
| 37 |
+
"problem_type": "single_label_classification",
|
| 38 |
+
"rope_theta": 10000.0,
|
| 39 |
+
"rotary_percent": 1.0,
|
| 40 |
+
"torch_dtype": "bfloat16",
|
| 41 |
+
"transformers_version": "4.43.1",
|
| 42 |
+
"type_vocab_size": 0,
|
| 43 |
+
"use_cache": true,
|
| 44 |
+
"vocab_size": 99584
|
| 45 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e8578ce95e087b33386071c999621a00eea2fa03f1fc4fccef7fef600e867915
|
| 3 |
+
size 2602680660
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<EOD|LLM-jp>"
|
| 4 |
+
],
|
| 5 |
+
"bos_token": {
|
| 6 |
+
"content": "<s|LLM-jp>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false
|
| 11 |
+
},
|
| 12 |
+
"cls_token": {
|
| 13 |
+
"content": "<CLS|LLM-jp>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false
|
| 18 |
+
},
|
| 19 |
+
"eos_token": {
|
| 20 |
+
"content": "</s|LLM-jp>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false
|
| 25 |
+
},
|
| 26 |
+
"mask_token": {
|
| 27 |
+
"content": "<MASK|LLM-jp>",
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"normalized": false,
|
| 30 |
+
"rstrip": false,
|
| 31 |
+
"single_word": false
|
| 32 |
+
},
|
| 33 |
+
"pad_token": {
|
| 34 |
+
"content": "<PAD|LLM-jp>",
|
| 35 |
+
"lstrip": false,
|
| 36 |
+
"normalized": false,
|
| 37 |
+
"rstrip": false,
|
| 38 |
+
"single_word": false
|
| 39 |
+
},
|
| 40 |
+
"sep_token": {
|
| 41 |
+
"content": "<SEP|LLM-jp>",
|
| 42 |
+
"lstrip": false,
|
| 43 |
+
"normalized": false,
|
| 44 |
+
"rstrip": false,
|
| 45 |
+
"single_word": false
|
| 46 |
+
},
|
| 47 |
+
"unk_token": {
|
| 48 |
+
"content": "<unk|LLM-jp>",
|
| 49 |
+
"lstrip": false,
|
| 50 |
+
"normalized": false,
|
| 51 |
+
"rstrip": false,
|
| 52 |
+
"single_word": false
|
| 53 |
+
}
|
| 54 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<unk|LLM-jp>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<s|LLM-jp>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "</s|LLM-jp>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "<MASK|LLM-jp>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"4": {
|
| 36 |
+
"content": "<PAD|LLM-jp>",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
},
|
| 43 |
+
"5": {
|
| 44 |
+
"content": "<CLS|LLM-jp>",
|
| 45 |
+
"lstrip": false,
|
| 46 |
+
"normalized": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"single_word": false,
|
| 49 |
+
"special": true
|
| 50 |
+
},
|
| 51 |
+
"6": {
|
| 52 |
+
"content": "<SEP|LLM-jp>",
|
| 53 |
+
"lstrip": false,
|
| 54 |
+
"normalized": false,
|
| 55 |
+
"rstrip": false,
|
| 56 |
+
"single_word": false,
|
| 57 |
+
"special": true
|
| 58 |
+
},
|
| 59 |
+
"7": {
|
| 60 |
+
"content": "<EOD|LLM-jp>",
|
| 61 |
+
"lstrip": false,
|
| 62 |
+
"normalized": false,
|
| 63 |
+
"rstrip": false,
|
| 64 |
+
"single_word": false,
|
| 65 |
+
"special": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"additional_special_tokens": [
|
| 69 |
+
"<EOD|LLM-jp>"
|
| 70 |
+
],
|
| 71 |
+
"bos_token": "<s|LLM-jp>",
|
| 72 |
+
"clean_up_tokenization_spaces": false,
|
| 73 |
+
"cls_token": "<CLS|LLM-jp>",
|
| 74 |
+
"eod_token": "</s|LLM-jp>",
|
| 75 |
+
"eos_token": "</s|LLM-jp>",
|
| 76 |
+
"extra_ids": 0,
|
| 77 |
+
"mask_token": "<MASK|LLM-jp>",
|
| 78 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 79 |
+
"pad_token": "<PAD|LLM-jp>",
|
| 80 |
+
"sep_token": "<SEP|LLM-jp>",
|
| 81 |
+
"sp_model_kwargs": {},
|
| 82 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 83 |
+
"unk_token": "<unk|LLM-jp>"
|
| 84 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ddb61849c08709a6eb8922610c0b71174ac8273f6151d49607e26609db230e6e
|
| 3 |
+
size 5176
|