FloraBERT small v1.0
Browse filesreferences:
github: https://github.com/gurveervirk/florabert/tree/main
kaggle dataset: https://www.kaggle.com/datasets/gsv001100/florabert-project
- transformer/language-model/config.json +53 -0
- transformer/language-model/pytorch_model.bin +3 -0
- transformer/language-model/training_args.bin +3 -0
- transformer/prediction-model/config.json +59 -0
- transformer/prediction-model/pytorch_model.bin +3 -0
- transformer/prediction-model/training_args.bin +3 -0
transformer/language-model/config.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "None",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"RobertaForMaskedLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"block_size": 258,
|
| 8 |
+
"bos_token_id": 0,
|
| 9 |
+
"classifier_dropout": null,
|
| 10 |
+
"eos_token_id": 2,
|
| 11 |
+
"hidden_act": "gelu",
|
| 12 |
+
"hidden_dropout_prob": 0.1,
|
| 13 |
+
"hidden_size": 768,
|
| 14 |
+
"id2label": {
|
| 15 |
+
"0": "LABEL_0",
|
| 16 |
+
"1": "LABEL_1",
|
| 17 |
+
"2": "LABEL_2",
|
| 18 |
+
"3": "LABEL_3",
|
| 19 |
+
"4": "LABEL_4",
|
| 20 |
+
"5": "LABEL_5",
|
| 21 |
+
"6": "LABEL_6",
|
| 22 |
+
"7": "LABEL_7",
|
| 23 |
+
"8": "LABEL_8"
|
| 24 |
+
},
|
| 25 |
+
"initializer_range": 0.02,
|
| 26 |
+
"intermediate_size": 3072,
|
| 27 |
+
"label2id": {
|
| 28 |
+
"LABEL_0": 0,
|
| 29 |
+
"LABEL_1": 1,
|
| 30 |
+
"LABEL_2": 2,
|
| 31 |
+
"LABEL_3": 3,
|
| 32 |
+
"LABEL_4": 4,
|
| 33 |
+
"LABEL_5": 5,
|
| 34 |
+
"LABEL_6": 6,
|
| 35 |
+
"LABEL_7": 7,
|
| 36 |
+
"LABEL_8": 8
|
| 37 |
+
},
|
| 38 |
+
"layer_norm_eps": 1e-12,
|
| 39 |
+
"max_position_embeddings": 258,
|
| 40 |
+
"max_seq_len": 1000,
|
| 41 |
+
"model_type": "roberta",
|
| 42 |
+
"num_attention_heads": 6,
|
| 43 |
+
"num_hidden_layers": 6,
|
| 44 |
+
"output_hidden_states": true,
|
| 45 |
+
"pad_token_id": 1,
|
| 46 |
+
"position_embedding_type": "absolute",
|
| 47 |
+
"test_size": 0.2,
|
| 48 |
+
"torch_dtype": "float32",
|
| 49 |
+
"transformers_version": "4.33.0",
|
| 50 |
+
"type_vocab_size": 1,
|
| 51 |
+
"use_cache": true,
|
| 52 |
+
"vocab_size": 5005
|
| 53 |
+
}
|
transformer/language-model/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a66adfb2d9b014e34a81009a3f79b935bd6c2c18b204f601e947faa25281082c
|
| 3 |
+
size 188710837
|
transformer/language-model/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e0f9fe771c525a1261d04f43d5eedc68657c252a7856fa554ce442fba115bb5c
|
| 3 |
+
size 4347
|
transformer/prediction-model/config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/kaggle/working/florabert/models/transformer/language-model",
|
| 3 |
+
"alpha": 0.1,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"RobertaForSequenceClassificationMeanPool"
|
| 6 |
+
],
|
| 7 |
+
"attention_probs_dropout_prob": 0.1,
|
| 8 |
+
"batch_norm": false,
|
| 9 |
+
"block_size": 258,
|
| 10 |
+
"bos_token_id": 0,
|
| 11 |
+
"classifier_dropout": null,
|
| 12 |
+
"end_token_idx": 1,
|
| 13 |
+
"eos_token_id": 2,
|
| 14 |
+
"freeze_base": true,
|
| 15 |
+
"hidden_act": "gelu",
|
| 16 |
+
"hidden_dropout_prob": 0.2,
|
| 17 |
+
"hidden_size": 768,
|
| 18 |
+
"id2label": {
|
| 19 |
+
"0": "LABEL_0",
|
| 20 |
+
"1": "LABEL_1",
|
| 21 |
+
"2": "LABEL_2",
|
| 22 |
+
"3": "LABEL_3",
|
| 23 |
+
"4": "LABEL_4",
|
| 24 |
+
"5": "LABEL_5",
|
| 25 |
+
"6": "LABEL_6",
|
| 26 |
+
"7": "LABEL_7"
|
| 27 |
+
},
|
| 28 |
+
"initializer_range": 0.02,
|
| 29 |
+
"intermediate_size": 3072,
|
| 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 |
+
},
|
| 40 |
+
"layer_norm_eps": 1e-12,
|
| 41 |
+
"log_offset": 1,
|
| 42 |
+
"max_position_embeddings": 258,
|
| 43 |
+
"max_seq_len": 1000,
|
| 44 |
+
"model_type": "roberta",
|
| 45 |
+
"num_attention_heads": 6,
|
| 46 |
+
"num_hidden_layers": 6,
|
| 47 |
+
"output_hidden_states": true,
|
| 48 |
+
"output_mode": "regression",
|
| 49 |
+
"pad_token_id": 1,
|
| 50 |
+
"position_embedding_type": "absolute",
|
| 51 |
+
"start_token_idx": 0,
|
| 52 |
+
"test_size": 0.2,
|
| 53 |
+
"threshold": 1,
|
| 54 |
+
"torch_dtype": "float32",
|
| 55 |
+
"transformers_version": "4.33.0",
|
| 56 |
+
"type_vocab_size": 1,
|
| 57 |
+
"use_cache": true,
|
| 58 |
+
"vocab_size": 5005
|
| 59 |
+
}
|
transformer/prediction-model/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:01035776add0f61859a66b7e13b8c2cb46bfa061fda86e181b48031840acc43e
|
| 3 |
+
size 191071737
|
transformer/prediction-model/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9900b0e7e66afa2ee2c161bff09d7a7d6a7d053ebc958a0af3c792b27978429
|
| 3 |
+
size 4347
|