Terra-Classification-1
Browse files- .gitignore +1 -0
- README.md +70 -0
- config.json +37 -0
- pytorch_model.bin +3 -0
- runs/Aug27_15-10-57_23ce7d9aabaa/1630077087.916953/events.out.tfevents.1630077087.23ce7d9aabaa.75.1 +3 -0
- runs/Aug27_15-10-57_23ce7d9aabaa/events.out.tfevents.1630077087.23ce7d9aabaa.75.0 +3 -0
- runs/Aug27_15-14-26_23ce7d9aabaa/1630077276.696645/events.out.tfevents.1630077276.23ce7d9aabaa.75.3 +3 -0
- runs/Aug27_15-14-26_23ce7d9aabaa/events.out.tfevents.1630077276.23ce7d9aabaa.75.2 +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- matthews_correlation
|
7 |
+
model_index:
|
8 |
+
- name: distilbert-base-uncased-finetuned-cola
|
9 |
+
results:
|
10 |
+
- task:
|
11 |
+
name: Text Classification
|
12 |
+
type: text-classification
|
13 |
+
metric:
|
14 |
+
name: Matthews Correlation
|
15 |
+
type: matthews_correlation
|
16 |
+
value: 0.5
|
17 |
+
---
|
18 |
+
|
19 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
20 |
+
should probably proofread and complete it, then remove this comment. -->
|
21 |
+
|
22 |
+
# distilbert-base-uncased-finetuned-cola
|
23 |
+
|
24 |
+
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unkown dataset.
|
25 |
+
It achieves the following results on the evaluation set:
|
26 |
+
- Loss: 1.1964
|
27 |
+
- Matthews Correlation: 0.5
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 16
|
48 |
+
- eval_batch_size: 16
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 5
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------------:|
|
58 |
+
| No log | 1.0 | 8 | 1.3423 | 0.3333 |
|
59 |
+
| No log | 2.0 | 16 | 1.3086 | 0.5 |
|
60 |
+
| No log | 3.0 | 24 | 1.2516 | 0.5 |
|
61 |
+
| No log | 4.0 | 32 | 1.2170 | 0.5 |
|
62 |
+
| No log | 5.0 | 40 | 1.1964 | 0.5 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.9.2
|
68 |
+
- Pytorch 1.9.0+cu102
|
69 |
+
- Datasets 1.11.0
|
70 |
+
- Tokenizers 0.10.3
|
config.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"id2label": {
|
12 |
+
"0": "LABEL_0",
|
13 |
+
"1": "LABEL_1",
|
14 |
+
"2": "LABEL_2",
|
15 |
+
"3": "LABEL_3"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"label2id": {
|
19 |
+
"LABEL_0": 0,
|
20 |
+
"LABEL_1": 1,
|
21 |
+
"LABEL_2": 2,
|
22 |
+
"LABEL_3": 3
|
23 |
+
},
|
24 |
+
"max_position_embeddings": 512,
|
25 |
+
"model_type": "distilbert",
|
26 |
+
"n_heads": 12,
|
27 |
+
"n_layers": 6,
|
28 |
+
"pad_token_id": 0,
|
29 |
+
"problem_type": "single_label_classification",
|
30 |
+
"qa_dropout": 0.1,
|
31 |
+
"seq_classif_dropout": 0.2,
|
32 |
+
"sinusoidal_pos_embds": false,
|
33 |
+
"tie_weights_": true,
|
34 |
+
"torch_dtype": "float32",
|
35 |
+
"transformers_version": "4.9.2",
|
36 |
+
"vocab_size": 30522
|
37 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:36043de5371c213df1a88e49d451506137b11be41bed203549033170d95acbea
|
3 |
+
size 267866225
|
runs/Aug27_15-10-57_23ce7d9aabaa/1630077087.916953/events.out.tfevents.1630077087.23ce7d9aabaa.75.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d625feaf666e074e4829dbf4511efa1ad20686653149b2d81648983ade137ea3
|
3 |
+
size 4221
|
runs/Aug27_15-10-57_23ce7d9aabaa/events.out.tfevents.1630077087.23ce7d9aabaa.75.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6818e1b9102251ef0f13661f2574ad855af330a4d6a3d66b5f37c94ef846b481
|
3 |
+
size 4394
|
runs/Aug27_15-14-26_23ce7d9aabaa/1630077276.696645/events.out.tfevents.1630077276.23ce7d9aabaa.75.3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54ced746c77e864328bcd0981400bbd5f957800f86fa8f3295103dc7aa12b0c6
|
3 |
+
size 4221
|
runs/Aug27_15-14-26_23ce7d9aabaa/events.out.tfevents.1630077276.23ce7d9aabaa.75.2
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c29b24cb6574e582183473cbe773c60c20e368dfa2eb0f3a67596314025dfa01
|
3 |
+
size 5052
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "distilbert-base-uncased", "tokenizer_class": "DistilBertTokenizer"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6cd9553e4ba3b821d71a6f495e9407e220e27cd70978a46d69f696ed30ec09b3
|
3 |
+
size 2671
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|