Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use racro/sentiment-browser-extension with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use racro/sentiment-browser-extension with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="racro/sentiment-browser-extension")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("racro/sentiment-browser-extension") model = AutoModelForSequenceClassification.from_pretrained("racro/sentiment-browser-extension", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -2,9 +2,6 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
-
metrics:
|
| 6 |
-
- accuracy
|
| 7 |
-
- f1
|
| 8 |
model-index:
|
| 9 |
- name: sentiment-browser-extension
|
| 10 |
results: []
|
|
@@ -16,10 +13,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
# sentiment-browser-extension
|
| 17 |
|
| 18 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
| 19 |
-
It achieves the following results on the evaluation set:
|
| 20 |
-
- Loss: 0.4686
|
| 21 |
-
- Accuracy: 0.8672
|
| 22 |
-
- F1: 0.8859
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -44,7 +37,7 @@ The following hyperparameters were used during training:
|
|
| 44 |
- seed: 42
|
| 45 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 46 |
- lr_scheduler_type: linear
|
| 47 |
-
- num_epochs:
|
| 48 |
|
| 49 |
### Training results
|
| 50 |
|
|
@@ -54,5 +47,5 @@ The following hyperparameters were used during training:
|
|
| 54 |
|
| 55 |
- Transformers 4.24.0
|
| 56 |
- Pytorch 1.12.1+cu113
|
| 57 |
-
- Datasets 2.
|
| 58 |
- Tokenizers 0.13.2
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
|
|
|
|
|
|
|
|
|
| 5 |
model-index:
|
| 6 |
- name: sentiment-browser-extension
|
| 7 |
results: []
|
|
|
|
| 13 |
# sentiment-browser-extension
|
| 14 |
|
| 15 |
This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
## Model description
|
| 18 |
|
|
|
|
| 37 |
- seed: 42
|
| 38 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 39 |
- lr_scheduler_type: linear
|
| 40 |
+
- num_epochs: 9
|
| 41 |
|
| 42 |
### Training results
|
| 43 |
|
|
|
|
| 47 |
|
| 48 |
- Transformers 4.24.0
|
| 49 |
- Pytorch 1.12.1+cu113
|
| 50 |
+
- Datasets 2.7.0
|
| 51 |
- Tokenizers 0.13.2
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 267854321
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fdb55f1c6f3530b4bcf697fd90029175de9c080dff60cb1acb246b85010064cf
|
| 3 |
size 267854321
|
runs/Nov18_21-38-20_bc308ef2e175/events.out.tfevents.1668807602.bc308ef2e175.2727.0
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:f627564a5bb60cc6dd7c1da4462d0dc5dc06f6850469d6b08049941d167d2c1e
|
| 3 |
+
size 3964
|
runs/Nov18_21-38-20_bc308ef2e175/events.out.tfevents.1668807716.bc308ef2e175.2727.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7c00b7bddd2f020b049dc10041907e896bf475075f2db2ba94d68b9994dd6824
|
| 3 |
+
size 778
|