JosephTK commited on
Commit
acbca08
·
1 Parent(s): 527c161

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -19
README.md CHANGED
@@ -7,30 +7,26 @@ model-index:
7
  results: []
8
  ---
9
 
 
 
 
10
  # NLP-reviews
11
 
12
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the [Sentiment Labelled Sentences Data Set](https://archive.ics.uci.edu/ml/datasets/Sentiment+Labelled+Sentences).
 
 
13
 
14
  ## Model description
15
 
16
- Given a sentence, this model will return the probabilities of it having a positive or negative sentiment, and the probabilities that it would be a review you would find from amazon.com, imdb.com, or yelp.com.
17
-
18
- It is a multi-label classification model which is able to determine both the sentiment of text and a grouping the text belongs to.
19
-
20
- ## Training and evaluation data
21
-
22
- The data is obtained from the procured [Sentiment Labelled Sentences Data Set](https://archive.ics.uci.edu/ml/datasets/Sentiment+Labelled+Sentences).
23
 
24
- Each entry has a sentiment score: 1 for positive or 0 for negative.
25
 
26
- The data comes from one of three different websites:
27
- - amazon.com
28
- - imdb.com
29
- - yelp.com
30
 
31
- There are 500 positive and 500 negative sentences from each website, selected randomly from a larger dataset of reviews, and were chosen based on having clear positive or negative connotation.
32
 
33
- This was split into a 90-10 train-test split for model training and evaluation.
34
 
35
  ## Training procedure
36
 
@@ -43,15 +39,22 @@ The following hyperparameters were used during training:
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
- - num_epochs: 3.0
47
 
48
  ### Training results
49
 
50
  | Training Loss | Epoch | Step | Validation Loss |
51
  |:-------------:|:-----:|:----:|:---------------:|
52
- | No log | 1.0 | 338 | 0.1837 |
53
- | 0.2194 | 2.0 | 676 | 0.1863 |
54
- | 0.048 | 3.0 | 1014 | 0.1952 |
 
 
 
 
 
 
 
55
 
56
 
57
  ### Framework versions
 
7
  results: []
8
  ---
9
 
10
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
11
+ should probably proofread and complete it, then remove this comment. -->
12
+
13
  # NLP-reviews
14
 
15
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Loss: 0.3467
18
 
19
  ## Model description
20
 
21
+ More information needed
 
 
 
 
 
 
22
 
23
+ ## Intended uses & limitations
24
 
25
+ More information needed
 
 
 
26
 
27
+ ## Training and evaluation data
28
 
29
+ More information needed
30
 
31
  ## Training procedure
32
 
 
39
  - seed: 42
40
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
41
  - lr_scheduler_type: linear
42
+ - num_epochs: 10
43
 
44
  ### Training results
45
 
46
  | Training Loss | Epoch | Step | Validation Loss |
47
  |:-------------:|:-----:|:----:|:---------------:|
48
+ | No log | 1.0 | 338 | 0.2270 |
49
+ | 0.2235 | 2.0 | 676 | 0.2737 |
50
+ | 0.0644 | 3.0 | 1014 | 0.3171 |
51
+ | 0.0644 | 4.0 | 1352 | 0.3511 |
52
+ | 0.0193 | 5.0 | 1690 | 0.3726 |
53
+ | 0.0119 | 6.0 | 2028 | 0.3638 |
54
+ | 0.0119 | 7.0 | 2366 | 0.3337 |
55
+ | 0.0043 | 8.0 | 2704 | 0.3424 |
56
+ | 0.0019 | 9.0 | 3042 | 0.3387 |
57
+ | 0.0019 | 10.0 | 3380 | 0.3467 |
58
 
59
 
60
  ### Framework versions