Upload TFDistilBertForSequenceClassification
Browse files- README.md +63 -62
- config.json +23 -23
- tf_model.h5 +1 -1
README.md
CHANGED
@@ -1,62 +1,63 @@
|
|
1 |
-
---
|
2 |
-
library_name: transformers
|
3 |
-
license: apache-2.0
|
4 |
-
base_model: distilbert-base-uncased
|
5 |
-
tags:
|
6 |
-
- generated_from_keras_callback
|
7 |
-
model-index:
|
8 |
-
- name: tl-test-learn-prompt-classifier
|
9 |
-
results: []
|
10 |
-
---
|
11 |
-
|
12 |
-
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
13 |
-
probably proofread and complete it, then remove this comment. -->
|
14 |
-
|
15 |
-
# tl-test-learn-prompt-classifier
|
16 |
-
|
17 |
-
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on
|
18 |
-
It achieves the following results on the evaluation set:
|
19 |
-
- Train Loss: 0.
|
20 |
-
- Train Accuracy:
|
21 |
-
- Validation Loss: 0.
|
22 |
-
- Validation Accuracy: 0.
|
23 |
-
- Epoch:
|
24 |
-
|
25 |
-
## Model description
|
26 |
-
|
27 |
-
More information needed
|
28 |
-
|
29 |
-
## Intended uses & limitations
|
30 |
-
|
31 |
-
More information needed
|
32 |
-
|
33 |
-
## Training and evaluation data
|
34 |
-
|
35 |
-
More information needed
|
36 |
-
|
37 |
-
## Training procedure
|
38 |
-
|
39 |
-
### Training hyperparameters
|
40 |
-
|
41 |
-
The following hyperparameters were used during training:
|
42 |
-
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile':
|
43 |
-
- training_precision: float32
|
44 |
-
|
45 |
-
### Training results
|
46 |
-
|
47 |
-
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|
48 |
-
|:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
|
49 |
-
| 0.
|
50 |
-
| 0.
|
51 |
-
| 0.
|
52 |
-
| 0.
|
53 |
-
| 0.
|
54 |
-
| 0.
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
-
|
61 |
-
-
|
62 |
-
-
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: distilbert-base-uncased
|
5 |
+
tags:
|
6 |
+
- generated_from_keras_callback
|
7 |
+
model-index:
|
8 |
+
- name: tl-test-learn-prompt-classifier
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
13 |
+
probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# tl-test-learn-prompt-classifier
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Train Loss: 0.2656
|
20 |
+
- Train Accuracy: 0.9728
|
21 |
+
- Validation Loss: 0.3730
|
22 |
+
- Validation Accuracy: 0.8500
|
23 |
+
- Epoch: 6
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, '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': 5e-06, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
|
43 |
+
- training_precision: float32
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|
48 |
+
|:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
|
49 |
+
| 0.6956 | 0.4728 | 0.6850 | 0.625 | 0 |
|
50 |
+
| 0.6722 | 0.6685 | 0.6670 | 0.75 | 1 |
|
51 |
+
| 0.6520 | 0.7120 | 0.6367 | 0.6875 | 2 |
|
52 |
+
| 0.6002 | 0.8261 | 0.5741 | 0.8000 | 3 |
|
53 |
+
| 0.5079 | 0.875 | 0.4797 | 0.8875 | 4 |
|
54 |
+
| 0.3805 | 0.9511 | 0.4118 | 0.8250 | 5 |
|
55 |
+
| 0.2656 | 0.9728 | 0.3730 | 0.8500 | 6 |
|
56 |
+
|
57 |
+
|
58 |
+
### Framework versions
|
59 |
+
|
60 |
+
- Transformers 4.44.2
|
61 |
+
- TensorFlow 2.18.0-dev20240717
|
62 |
+
- Datasets 2.21.0
|
63 |
+
- Tokenizers 0.19.1
|
config.json
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "distilbert-base-uncased",
|
3 |
-
"activation": "gelu",
|
4 |
-
"architectures": [
|
5 |
-
"DistilBertForSequenceClassification"
|
6 |
-
],
|
7 |
-
"attention_dropout": 0.1,
|
8 |
-
"dim": 768,
|
9 |
-
"dropout": 0.1,
|
10 |
-
"hidden_dim": 3072,
|
11 |
-
"initializer_range": 0.02,
|
12 |
-
"max_position_embeddings": 512,
|
13 |
-
"model_type": "distilbert",
|
14 |
-
"n_heads": 12,
|
15 |
-
"n_layers": 6,
|
16 |
-
"pad_token_id": 0,
|
17 |
-
"qa_dropout": 0.1,
|
18 |
-
"seq_classif_dropout": 0.2,
|
19 |
-
"sinusoidal_pos_embds": false,
|
20 |
-
"tie_weights_": true,
|
21 |
-
"transformers_version": "4.
|
22 |
-
"vocab_size": 30522
|
23 |
-
}
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "distilbert-base-uncased",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "distilbert",
|
14 |
+
"n_heads": 12,
|
15 |
+
"n_layers": 6,
|
16 |
+
"pad_token_id": 0,
|
17 |
+
"qa_dropout": 0.1,
|
18 |
+
"seq_classif_dropout": 0.2,
|
19 |
+
"sinusoidal_pos_embds": false,
|
20 |
+
"tie_weights_": true,
|
21 |
+
"transformers_version": "4.44.2",
|
22 |
+
"vocab_size": 30522
|
23 |
+
}
|
tf_model.h5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 267955144
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9341a2e684c8a723f5278c28604a0c759865d15ce9718dc7fcf272fad482f171
|
3 |
size 267955144
|