End of training
Browse files
README.md
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: prajjwal1/bert-tiny
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
model-index:
|
9 |
+
- name: BP-test1
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# BP-test1
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [prajjwal1/bert-tiny](https://huggingface.co/prajjwal1/bert-tiny) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.2385
|
21 |
+
- Accuracy: 0.93
|
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 |
+
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 16
|
42 |
+
- eval_batch_size: 16
|
43 |
+
- seed: 42
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 10
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| No log | 0.01 | 50 | 0.6925 | 0.45 |
|
53 |
+
| No log | 0.02 | 100 | 0.6758 | 0.62 |
|
54 |
+
| No log | 0.03 | 150 | 0.6384 | 0.66 |
|
55 |
+
| No log | 0.04 | 200 | 0.6241 | 0.66 |
|
56 |
+
| No log | 0.05 | 250 | 0.6081 | 0.66 |
|
57 |
+
| No log | 0.06 | 300 | 0.5643 | 0.87 |
|
58 |
+
| No log | 0.07 | 350 | 0.5200 | 0.87 |
|
59 |
+
| No log | 0.08 | 400 | 0.4989 | 0.81 |
|
60 |
+
| No log | 0.09 | 450 | 0.4370 | 0.87 |
|
61 |
+
| 0.6058 | 0.1 | 500 | 0.3298 | 0.94 |
|
62 |
+
| 0.6058 | 0.11 | 550 | 0.2876 | 0.94 |
|
63 |
+
| 0.6058 | 0.12 | 600 | 0.2701 | 0.93 |
|
64 |
+
| 0.6058 | 0.13 | 650 | 0.2533 | 0.93 |
|
65 |
+
| 0.6058 | 0.14 | 700 | 0.2452 | 0.93 |
|
66 |
+
| 0.6058 | 0.15 | 750 | 0.2385 | 0.93 |
|
67 |
+
|
68 |
+
|
69 |
+
### Framework versions
|
70 |
+
|
71 |
+
- Transformers 4.35.2
|
72 |
+
- Pytorch 2.1.0+cu118
|
73 |
+
- Datasets 2.15.0
|
74 |
+
- Tokenizers 0.15.0
|
config.json
CHANGED
@@ -1,20 +1,15 @@
|
|
1 |
{
|
2 |
"_name_or_path": "prajjwal1/bert-tiny",
|
|
|
|
|
|
|
3 |
"attention_probs_dropout_prob": 0.1,
|
4 |
"classifier_dropout": null,
|
5 |
"hidden_act": "gelu",
|
6 |
"hidden_dropout_prob": 0.1,
|
7 |
"hidden_size": 128,
|
8 |
-
"id2label": {
|
9 |
-
"0": "Taken",
|
10 |
-
"1": "Not Taken"
|
11 |
-
},
|
12 |
"initializer_range": 0.02,
|
13 |
"intermediate_size": 512,
|
14 |
-
"label2id": {
|
15 |
-
"Not Taken": 1,
|
16 |
-
"Taken": 0
|
17 |
-
},
|
18 |
"layer_norm_eps": 1e-12,
|
19 |
"max_position_embeddings": 512,
|
20 |
"model_type": "bert",
|
@@ -22,6 +17,8 @@
|
|
22 |
"num_hidden_layers": 2,
|
23 |
"pad_token_id": 0,
|
24 |
"position_embedding_type": "absolute",
|
|
|
|
|
25 |
"transformers_version": "4.35.2",
|
26 |
"type_vocab_size": 2,
|
27 |
"use_cache": true,
|
|
|
1 |
{
|
2 |
"_name_or_path": "prajjwal1/bert-tiny",
|
3 |
+
"architectures": [
|
4 |
+
"BertForSequenceClassification"
|
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": 128,
|
|
|
|
|
|
|
|
|
11 |
"initializer_range": 0.02,
|
12 |
"intermediate_size": 512,
|
|
|
|
|
|
|
|
|
13 |
"layer_norm_eps": 1e-12,
|
14 |
"max_position_embeddings": 512,
|
15 |
"model_type": "bert",
|
|
|
17 |
"num_hidden_layers": 2,
|
18 |
"pad_token_id": 0,
|
19 |
"position_embedding_type": "absolute",
|
20 |
+
"problem_type": "single_label_classification",
|
21 |
+
"torch_dtype": "float32",
|
22 |
"transformers_version": "4.35.2",
|
23 |
"type_vocab_size": 2,
|
24 |
"use_cache": true,
|
events.out.tfevents.1701065858.eaeab5e7c16b.616.3
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eaa082914b0536baa72a65aa69bfd2a21aedf12966720d18efbb722e99c6a44e
|
3 |
+
size 748
|
runs/Nov27_06-17-38_eaeab5e7c16b/events.out.tfevents.1701065861.eaeab5e7c16b.616.4
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:586ae08bf45137ad7925a279de076514550665a5377794db23b1eb14bc08b5e0
|
3 |
+
size 9440
|
runs/Nov27_06-17-38_eaeab5e7c16b/events.out.tfevents.1701065861.eaeab5e7c16b.616.5
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:17f8eddf24eb40aed447b533a7573012b0423fb21e71f44dfd51f26be0cfe910
|
3 |
+
size 9440
|