matthewfarant
commited on
Commit
•
2dc9bde
1
Parent(s):
71416f7
Upload folder using huggingface_hub
Browse files- README.md +27 -0
- checkpoint-2/config.json +38 -0
- checkpoint-2/model.safetensors +3 -0
- checkpoint-2/optimizer.pt +3 -0
- checkpoint-2/rng_state.pth +3 -0
- checkpoint-2/scheduler.pt +3 -0
- checkpoint-2/trainer_state.json +46 -0
- checkpoint-2/training_args.bin +3 -0
- config.json +38 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- training_params.json +30 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- text-classification
|
6 |
+
widget:
|
7 |
+
- text: "I love AutoTrain"
|
8 |
+
datasets:
|
9 |
+
- matthewfarant/autotrain-data-fertilizer-pair-classify
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Trained Using AutoTrain
|
13 |
+
|
14 |
+
- Problem type: Text Classification
|
15 |
+
|
16 |
+
## Validation Metrics
|
17 |
+
loss: 0.7132661938667297
|
18 |
+
|
19 |
+
f1: 0.8
|
20 |
+
|
21 |
+
precision: 0.6666666666666666
|
22 |
+
|
23 |
+
recall: 1.0
|
24 |
+
|
25 |
+
auc: 0.0
|
26 |
+
|
27 |
+
accuracy: 0.6666666666666666
|
checkpoint-2/config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "indolem/indobert-base-uncased",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"BertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"classifier_dropout": null,
|
10 |
+
"eos_token_ids": 0,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": 0,
|
16 |
+
"1": 1
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"0": 0,
|
22 |
+
"1": 1
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"max_position_embeddings": 512,
|
26 |
+
"model_type": "bert",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"output_past": true,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"position_embedding_type": "absolute",
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.36.1",
|
35 |
+
"type_vocab_size": 2,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 31923
|
38 |
+
}
|
checkpoint-2/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de31ad3e565718b94df7ec2373e10d2377bbf4be150867e0c8a7f279133bceaf
|
3 |
+
size 442262520
|
checkpoint-2/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ccb6333567480f518854dc3e0c20b3f2fb82268c44c2d59b6b10cf4f22f9811d
|
3 |
+
size 884640506
|
checkpoint-2/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb9c1f3617663ba54403e5012670df25c5ee0c7c63606b409b1f59fe7d72a9e1
|
3 |
+
size 13990
|
checkpoint-2/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba5dddc2fa8a733dff0131eb90eb56cf18e8438866994f03c63083a2de07cfee
|
3 |
+
size 1064
|
checkpoint-2/trainer_state.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.7132661938667297,
|
3 |
+
"best_model_checkpoint": "/tmp/model/checkpoint-2",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.5,
|
13 |
+
"learning_rate": 5e-05,
|
14 |
+
"loss": 0.7591,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 1.0,
|
19 |
+
"learning_rate": 4e-05,
|
20 |
+
"loss": 0.6473,
|
21 |
+
"step": 2
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 1.0,
|
25 |
+
"eval_accuracy": 0.6666666666666666,
|
26 |
+
"eval_auc": 0.0,
|
27 |
+
"eval_f1": 0.8,
|
28 |
+
"eval_loss": 0.7132661938667297,
|
29 |
+
"eval_precision": 0.6666666666666666,
|
30 |
+
"eval_recall": 1.0,
|
31 |
+
"eval_runtime": 0.5257,
|
32 |
+
"eval_samples_per_second": 5.707,
|
33 |
+
"eval_steps_per_second": 1.902,
|
34 |
+
"step": 2
|
35 |
+
}
|
36 |
+
],
|
37 |
+
"logging_steps": 1,
|
38 |
+
"max_steps": 6,
|
39 |
+
"num_input_tokens_seen": 0,
|
40 |
+
"num_train_epochs": 3,
|
41 |
+
"save_steps": 500,
|
42 |
+
"total_flos": 789333166080.0,
|
43 |
+
"train_batch_size": 8,
|
44 |
+
"trial_name": null,
|
45 |
+
"trial_params": null
|
46 |
+
}
|
checkpoint-2/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93d81808caadf3940dd961b9a1269dcfe8aa26d4a632b1940c6b292bfe22880c
|
3 |
+
size 4728
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "indolem/indobert-base-uncased",
|
3 |
+
"_num_labels": 2,
|
4 |
+
"architectures": [
|
5 |
+
"BertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.1,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"classifier_dropout": null,
|
10 |
+
"eos_token_ids": 0,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": 0,
|
16 |
+
"1": 1
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"0": 0,
|
22 |
+
"1": 1
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"max_position_embeddings": 512,
|
26 |
+
"model_type": "bert",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"output_past": true,
|
30 |
+
"pad_token_id": 0,
|
31 |
+
"position_embedding_type": "absolute",
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.36.1",
|
35 |
+
"type_vocab_size": 2,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 31923
|
38 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de31ad3e565718b94df7ec2373e10d2377bbf4be150867e0c8a7f279133bceaf
|
3 |
+
size 442262520
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[MASK]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[CLS]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "[SEP]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"model_max_length": 1000000000000000019884624838656,
|
50 |
+
"never_split": null,
|
51 |
+
"pad_token": "[PAD]",
|
52 |
+
"sep_token": "[SEP]",
|
53 |
+
"strip_accents": null,
|
54 |
+
"tokenize_chinese_chars": true,
|
55 |
+
"tokenizer_class": "BertTokenizer",
|
56 |
+
"unk_token": "[UNK]"
|
57 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:93d81808caadf3940dd961b9a1269dcfe8aa26d4a632b1940c6b292bfe22880c
|
3 |
+
size 4728
|
training_params.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "matthewfarant/autotrain-data-fertilizer-pair-classify",
|
3 |
+
"model": "indolem/indobert-base-uncased",
|
4 |
+
"lr": 5e-05,
|
5 |
+
"epochs": 3,
|
6 |
+
"max_seq_length": 128,
|
7 |
+
"batch_size": 8,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.0,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": "validation",
|
17 |
+
"text_column": "autotrain_text",
|
18 |
+
"target_column": "autotrain_label",
|
19 |
+
"logging_steps": -1,
|
20 |
+
"project_name": "/tmp/model",
|
21 |
+
"auto_find_batch_size": false,
|
22 |
+
"mixed_precision": null,
|
23 |
+
"save_total_limit": 1,
|
24 |
+
"save_strategy": "epoch",
|
25 |
+
"push_to_hub": true,
|
26 |
+
"repo_id": "matthewfarant/fertilizer-pair-classify",
|
27 |
+
"evaluation_strategy": "epoch",
|
28 |
+
"username": "matthewfarant",
|
29 |
+
"log": "none"
|
30 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|