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
End of training
Browse files- README.md +80 -0
- model.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
base_model: FacebookAI/roberta-base
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
model-index:
|
| 7 |
+
- name: roberta-petco-fullemailbody-ctr
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
# roberta-petco-fullemailbody-ctr
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on the None dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 0.4048
|
| 19 |
+
- Mse: 0.4048
|
| 20 |
+
- Rmse: 0.6363
|
| 21 |
+
- Mae: 0.4301
|
| 22 |
+
- R2: 0.2106
|
| 23 |
+
|
| 24 |
+
## Model description
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Intended uses & limitations
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training and evaluation data
|
| 33 |
+
|
| 34 |
+
More information needed
|
| 35 |
+
|
| 36 |
+
## Training procedure
|
| 37 |
+
|
| 38 |
+
### Training hyperparameters
|
| 39 |
+
|
| 40 |
+
The following hyperparameters were used during training:
|
| 41 |
+
- learning_rate: 1e-05
|
| 42 |
+
- train_batch_size: 16
|
| 43 |
+
- eval_batch_size: 16
|
| 44 |
+
- seed: 42
|
| 45 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 46 |
+
- lr_scheduler_type: linear
|
| 47 |
+
- num_epochs: 20
|
| 48 |
+
|
| 49 |
+
### Training results
|
| 50 |
+
|
| 51 |
+
| Training Loss | Epoch | Step | Validation Loss | Mse | Rmse | Mae | R2 |
|
| 52 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:------:|:------:|:-------:|
|
| 53 |
+
| 1.3784 | 1.0 | 15 | 0.5080 | 0.5080 | 0.7127 | 0.5575 | 0.0095 |
|
| 54 |
+
| 0.5017 | 2.0 | 30 | 0.5043 | 0.5043 | 0.7101 | 0.5241 | 0.0166 |
|
| 55 |
+
| 0.4986 | 3.0 | 45 | 0.4864 | 0.4864 | 0.6974 | 0.5219 | 0.0515 |
|
| 56 |
+
| 0.4621 | 4.0 | 60 | 0.5096 | 0.5096 | 0.7139 | 0.5096 | 0.0063 |
|
| 57 |
+
| 0.4483 | 5.0 | 75 | 0.5069 | 0.5069 | 0.7120 | 0.5031 | 0.0116 |
|
| 58 |
+
| 0.4396 | 6.0 | 90 | 0.4707 | 0.4707 | 0.6861 | 0.5275 | 0.0822 |
|
| 59 |
+
| 0.4145 | 7.0 | 105 | 0.4661 | 0.4661 | 0.6828 | 0.4802 | 0.0910 |
|
| 60 |
+
| 0.4293 | 8.0 | 120 | 0.5122 | 0.5122 | 0.7157 | 0.4884 | 0.0012 |
|
| 61 |
+
| 0.3681 | 9.0 | 135 | 0.4358 | 0.4358 | 0.6601 | 0.4947 | 0.1502 |
|
| 62 |
+
| 0.3349 | 10.0 | 150 | 0.4676 | 0.4676 | 0.6838 | 0.4434 | 0.0882 |
|
| 63 |
+
| 0.3003 | 11.0 | 165 | 0.4601 | 0.4601 | 0.6783 | 0.4904 | 0.1028 |
|
| 64 |
+
| 0.3132 | 12.0 | 180 | 0.5026 | 0.5026 | 0.7089 | 0.4734 | 0.0200 |
|
| 65 |
+
| 0.3446 | 13.0 | 195 | 0.4411 | 0.4411 | 0.6641 | 0.4655 | 0.1399 |
|
| 66 |
+
| 0.2935 | 14.0 | 210 | 0.5986 | 0.5986 | 0.7737 | 0.6535 | -0.1672 |
|
| 67 |
+
| 0.2301 | 15.0 | 225 | 0.4409 | 0.4409 | 0.6640 | 0.4506 | 0.1403 |
|
| 68 |
+
| 0.2152 | 16.0 | 240 | 0.4048 | 0.4048 | 0.6363 | 0.4301 | 0.2106 |
|
| 69 |
+
| 0.2056 | 17.0 | 255 | 0.4115 | 0.4115 | 0.6415 | 0.4429 | 0.1976 |
|
| 70 |
+
| 0.1885 | 18.0 | 270 | 0.4058 | 0.4058 | 0.6370 | 0.4467 | 0.2087 |
|
| 71 |
+
| 0.1754 | 19.0 | 285 | 0.4282 | 0.4282 | 0.6543 | 0.4765 | 0.1651 |
|
| 72 |
+
| 0.1758 | 20.0 | 300 | 0.4076 | 0.4076 | 0.6384 | 0.4487 | 0.2052 |
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
### Framework versions
|
| 76 |
+
|
| 77 |
+
- Transformers 4.38.2
|
| 78 |
+
- Pytorch 2.2.1+cu121
|
| 79 |
+
- Datasets 2.18.0
|
| 80 |
+
- Tokenizers 0.15.2
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 498609748
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b80535b2af140cdc42b4e5eb68889a1c8219d58e074b4cc750e012f5e68eceb8
|
| 3 |
size 498609748
|