Upload TFAlbertForSequenceClassification
Browse files- README.md +60 -0
- config.json +32 -0
- tf_model.h5 +3 -0
README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_keras_callback
|
| 5 |
+
model-index:
|
| 6 |
+
- name: MariaDB15ALBERT_Unbalance
|
| 7 |
+
results: []
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
| 11 |
+
probably proofread and complete it, then remove this comment. -->
|
| 12 |
+
|
| 13 |
+
# MariaDB15ALBERT_Unbalance
|
| 14 |
+
|
| 15 |
+
This model is a fine-tuned version of [albert-base-v2](https://huggingface.co/albert-base-v2) on an unknown dataset.
|
| 16 |
+
It achieves the following results on the evaluation set:
|
| 17 |
+
- Train Loss: 0.1094
|
| 18 |
+
- Train Accuracy: 0.9598
|
| 19 |
+
- Validation Loss: 0.2193
|
| 20 |
+
- Validation Accuracy: 0.9573
|
| 21 |
+
- Epoch: 5
|
| 22 |
+
|
| 23 |
+
## Model description
|
| 24 |
+
|
| 25 |
+
More information needed
|
| 26 |
+
|
| 27 |
+
## Intended uses & limitations
|
| 28 |
+
|
| 29 |
+
More information needed
|
| 30 |
+
|
| 31 |
+
## Training and evaluation data
|
| 32 |
+
|
| 33 |
+
More information needed
|
| 34 |
+
|
| 35 |
+
## Training procedure
|
| 36 |
+
|
| 37 |
+
### Training hyperparameters
|
| 38 |
+
|
| 39 |
+
The following hyperparameters were used during training:
|
| 40 |
+
- optimizer: {'name': 'Adam', 'weight_decay': 0.001, 'clipnorm': 1.0, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': False, 'is_legacy_optimizer': False, 'learning_rate': 3e-05, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
|
| 41 |
+
- training_precision: float32
|
| 42 |
+
|
| 43 |
+
### Training results
|
| 44 |
+
|
| 45 |
+
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|
| 46 |
+
|:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
|
| 47 |
+
| 0.2648 | 0.9322 | 0.1947 | 0.9523 | 0 |
|
| 48 |
+
| 0.2120 | 0.9280 | 0.1783 | 0.9598 | 1 |
|
| 49 |
+
| 0.2132 | 0.9322 | 0.1581 | 0.9598 | 2 |
|
| 50 |
+
| 0.1748 | 0.9305 | 0.1930 | 0.9573 | 3 |
|
| 51 |
+
| 0.1502 | 0.9448 | 0.2133 | 0.9598 | 4 |
|
| 52 |
+
| 0.1094 | 0.9598 | 0.2193 | 0.9573 | 5 |
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
### Framework versions
|
| 56 |
+
|
| 57 |
+
- Transformers 4.29.2
|
| 58 |
+
- TensorFlow 2.12.0
|
| 59 |
+
- Datasets 2.12.0
|
| 60 |
+
- Tokenizers 0.13.3
|
config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "albert-base-v2",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"AlbertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 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.1,
|
| 15 |
+
"hidden_size": 768,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"inner_group_num": 1,
|
| 18 |
+
"intermediate_size": 3072,
|
| 19 |
+
"layer_norm_eps": 1e-12,
|
| 20 |
+
"max_position_embeddings": 512,
|
| 21 |
+
"model_type": "albert",
|
| 22 |
+
"net_structure_type": 0,
|
| 23 |
+
"num_attention_heads": 12,
|
| 24 |
+
"num_hidden_groups": 1,
|
| 25 |
+
"num_hidden_layers": 12,
|
| 26 |
+
"num_memory_blocks": 0,
|
| 27 |
+
"pad_token_id": 0,
|
| 28 |
+
"position_embedding_type": "absolute",
|
| 29 |
+
"transformers_version": "4.29.2",
|
| 30 |
+
"type_vocab_size": 2,
|
| 31 |
+
"vocab_size": 30000
|
| 32 |
+
}
|
tf_model.h5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4d8d91b4352ce868f898c5f8aaa54e32275481fa10438719d36f0492e6aee29
|
| 3 |
+
size 46781688
|