Instructions to use yimiwang/roberta-petco-fullemailbody-ctr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yimiwang/roberta-petco-fullemailbody-ctr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="yimiwang/roberta-petco-fullemailbody-ctr")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("yimiwang/roberta-petco-fullemailbody-ctr") model = AutoModelForSequenceClassification.from_pretrained("yimiwang/roberta-petco-fullemailbody-ctr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 5
Browse files- model.safetensors +1 -1
- tmp-checkpoint-90/config.json +32 -0
- tmp-checkpoint-90/model.safetensors +3 -0
- tmp-checkpoint-90/optimizer.pt +3 -0
- tmp-checkpoint-90/rng_state.pth +3 -0
- tmp-checkpoint-90/scheduler.pt +3 -0
- tmp-checkpoint-90/trainer_state.json +135 -0
- tmp-checkpoint-90/training_args.bin +3 -0
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 437955572
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c24b768b57937e739aadb95b361dad441af6d95f6e3823f3f6da0c7a57a369f
|
| 3 |
size 437955572
|
tmp-checkpoint-90/config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "yimiwang/bert-petco-emailbody-ctr",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"gradient_checkpointing": false,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "LABEL_0"
|
| 14 |
+
},
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"intermediate_size": 3072,
|
| 17 |
+
"label2id": {
|
| 18 |
+
"LABEL_0": 0
|
| 19 |
+
},
|
| 20 |
+
"layer_norm_eps": 1e-12,
|
| 21 |
+
"max_position_embeddings": 512,
|
| 22 |
+
"model_type": "bert",
|
| 23 |
+
"num_attention_heads": 12,
|
| 24 |
+
"num_hidden_layers": 12,
|
| 25 |
+
"pad_token_id": 0,
|
| 26 |
+
"position_embedding_type": "absolute",
|
| 27 |
+
"torch_dtype": "float32",
|
| 28 |
+
"transformers_version": "4.38.2",
|
| 29 |
+
"type_vocab_size": 2,
|
| 30 |
+
"use_cache": true,
|
| 31 |
+
"vocab_size": 30522
|
| 32 |
+
}
|
tmp-checkpoint-90/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4740fe85b20791645b3d374361f63e379bafb69baef3e7508edc2fc24ee157bf
|
| 3 |
+
size 437955572
|
tmp-checkpoint-90/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6dc168cb1182110fe959dd40ece6caf41d89676a702ac955ae85a2c15b79e235
|
| 3 |
+
size 876032250
|
tmp-checkpoint-90/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0838536b2a0d9f02d9d2df5343df774521dde339fbfe6e7bc21383c1e9f5bddb
|
| 3 |
+
size 14244
|
tmp-checkpoint-90/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e6cce6b995779c2ccf35df683ba225aa194d8f8f2d8f50adc37ff2250079a94
|
| 3 |
+
size 1064
|
tmp-checkpoint-90/trainer_state.json
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 168.2034149169922,
|
| 3 |
+
"best_model_checkpoint": "roberta-petco-fullemailbody-ctr/checkpoint-90",
|
| 4 |
+
"epoch": 6.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 90,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 1.0,
|
| 13 |
+
"grad_norm": 633.0380859375,
|
| 14 |
+
"learning_rate": 9.5e-06,
|
| 15 |
+
"loss": 270.8182,
|
| 16 |
+
"step": 15
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"epoch": 1.0,
|
| 20 |
+
"eval_loss": 255.3511199951172,
|
| 21 |
+
"eval_mae": 14.281704902648926,
|
| 22 |
+
"eval_mse": 255.35110473632812,
|
| 23 |
+
"eval_r2": -3.979249295308054,
|
| 24 |
+
"eval_rmse": 15.97970962524414,
|
| 25 |
+
"eval_runtime": 2.323,
|
| 26 |
+
"eval_samples_per_second": 25.828,
|
| 27 |
+
"eval_steps_per_second": 1.722,
|
| 28 |
+
"step": 15
|
| 29 |
+
},
|
| 30 |
+
{
|
| 31 |
+
"epoch": 2.0,
|
| 32 |
+
"grad_norm": 482.0528869628906,
|
| 33 |
+
"learning_rate": 9e-06,
|
| 34 |
+
"loss": 233.984,
|
| 35 |
+
"step": 30
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"epoch": 2.0,
|
| 39 |
+
"eval_loss": 232.40538024902344,
|
| 40 |
+
"eval_mae": 13.456147193908691,
|
| 41 |
+
"eval_mse": 232.40542602539062,
|
| 42 |
+
"eval_r2": -3.531816663730682,
|
| 43 |
+
"eval_rmse": 15.24484920501709,
|
| 44 |
+
"eval_runtime": 2.3646,
|
| 45 |
+
"eval_samples_per_second": 25.374,
|
| 46 |
+
"eval_steps_per_second": 1.692,
|
| 47 |
+
"step": 30
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"epoch": 3.0,
|
| 51 |
+
"grad_norm": 424.8625793457031,
|
| 52 |
+
"learning_rate": 8.5e-06,
|
| 53 |
+
"loss": 213.3705,
|
| 54 |
+
"step": 45
|
| 55 |
+
},
|
| 56 |
+
{
|
| 57 |
+
"epoch": 3.0,
|
| 58 |
+
"eval_loss": 211.15115356445312,
|
| 59 |
+
"eval_mae": 12.64023494720459,
|
| 60 |
+
"eval_mse": 211.1511688232422,
|
| 61 |
+
"eval_r2": -3.1173671236809426,
|
| 62 |
+
"eval_rmse": 14.531041145324707,
|
| 63 |
+
"eval_runtime": 2.3659,
|
| 64 |
+
"eval_samples_per_second": 25.36,
|
| 65 |
+
"eval_steps_per_second": 1.691,
|
| 66 |
+
"step": 45
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"epoch": 4.0,
|
| 70 |
+
"grad_norm": 342.81646728515625,
|
| 71 |
+
"learning_rate": 8.000000000000001e-06,
|
| 72 |
+
"loss": 194.8535,
|
| 73 |
+
"step": 60
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"epoch": 4.0,
|
| 77 |
+
"eval_loss": 193.54568481445312,
|
| 78 |
+
"eval_mae": 11.927023887634277,
|
| 79 |
+
"eval_mse": 193.54566955566406,
|
| 80 |
+
"eval_r2": -2.774066276180696,
|
| 81 |
+
"eval_rmse": 13.912069320678711,
|
| 82 |
+
"eval_runtime": 2.3935,
|
| 83 |
+
"eval_samples_per_second": 25.068,
|
| 84 |
+
"eval_steps_per_second": 1.671,
|
| 85 |
+
"step": 60
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"epoch": 5.0,
|
| 89 |
+
"grad_norm": 379.5366516113281,
|
| 90 |
+
"learning_rate": 7.500000000000001e-06,
|
| 91 |
+
"loss": 179.8182,
|
| 92 |
+
"step": 75
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"epoch": 5.0,
|
| 96 |
+
"eval_loss": 179.9423065185547,
|
| 97 |
+
"eval_mae": 11.341310501098633,
|
| 98 |
+
"eval_mse": 179.94229125976562,
|
| 99 |
+
"eval_r2": -2.508806199489563,
|
| 100 |
+
"eval_rmse": 13.414257049560547,
|
| 101 |
+
"eval_runtime": 2.6076,
|
| 102 |
+
"eval_samples_per_second": 23.01,
|
| 103 |
+
"eval_steps_per_second": 1.534,
|
| 104 |
+
"step": 75
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"epoch": 6.0,
|
| 108 |
+
"grad_norm": 419.7530212402344,
|
| 109 |
+
"learning_rate": 7e-06,
|
| 110 |
+
"loss": 167.2209,
|
| 111 |
+
"step": 90
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"epoch": 6.0,
|
| 115 |
+
"eval_loss": 168.2034149169922,
|
| 116 |
+
"eval_mae": 10.810791015625,
|
| 117 |
+
"eval_mse": 168.20339965820312,
|
| 118 |
+
"eval_r2": -2.279901978526021,
|
| 119 |
+
"eval_rmse": 12.969325065612793,
|
| 120 |
+
"eval_runtime": 2.4373,
|
| 121 |
+
"eval_samples_per_second": 24.618,
|
| 122 |
+
"eval_steps_per_second": 1.641,
|
| 123 |
+
"step": 90
|
| 124 |
+
}
|
| 125 |
+
],
|
| 126 |
+
"logging_steps": 500,
|
| 127 |
+
"max_steps": 300,
|
| 128 |
+
"num_input_tokens_seen": 0,
|
| 129 |
+
"num_train_epochs": 20,
|
| 130 |
+
"save_steps": 500,
|
| 131 |
+
"total_flos": 378876517908480.0,
|
| 132 |
+
"train_batch_size": 16,
|
| 133 |
+
"trial_name": null,
|
| 134 |
+
"trial_params": null
|
| 135 |
+
}
|
tmp-checkpoint-90/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fcc3e2b5541663547af4e3c848444336d88de385d296c206ff4ca38f98009dc2
|
| 3 |
+
size 4920
|