sinanyuksel commited on
Commit
1edda05
·
1 Parent(s): f034807

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -22
README.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  language:
2
  - tr
3
  thumbnail: https://avatars3.githubusercontent.com/u/32437151?s=460&u=4ec59abc8d21d5feea3dab323d23a5860e6996a4&v=4
@@ -6,25 +15,31 @@ tags:
6
  - emotion
7
  - pytorch
8
  datasets:
9
- - emotion (Translated to Turkish)
10
  metrics:
11
  - Accuracy, F1 Score
12
  ---
13
- # distilbert-base-turkish-cased-emotion
14
 
15
  ## Model description:
16
- [Distilbert-base-turkish-cased](https://huggingface.co/dbmdz/distilbert-base-turkish-cased) finetuned on the emotion dataset (Translated to Turkish via Google Translate API) using HuggingFace Trainer with below Hyperparameters
17
  ```
18
  learning rate 2e-5,
19
- batch size 64,
20
- num_train_epochs=8,
 
21
  ```
22
 
23
- ## Model Performance Comparision on Emotion Dataset from Twitter:
 
 
24
 
25
- | Model | Accuracy | F1 Score | Test Sample per Second |
26
- | --- | --- | --- | --- |
27
- | [Distilbert-base-turkish-cased-emotion](https://huggingface.co/zafercavdar/distilbert-base-turkish-cased-emotion) | 83.25 | 83.17 | 232.197 |
 
 
 
28
 
29
  ## How to Use the model:
30
  ```python
@@ -52,16 +67,4 @@ Output:
52
  ```
53
 
54
  ## Dataset:
55
- [Twitter-Sentiment-Analysis](https://huggingface.co/nlp/viewer/?dataset=emotion).
56
-
57
- ## Eval results
58
- ```json
59
- {
60
- 'eval_accuracy': 0.8325,
61
- 'eval_f1': 0.8317301441160213,
62
- 'eval_loss': 0.5021793842315674,
63
- 'eval_runtime': 8.6167,
64
- 'eval_samples_per_second': 232.108,
65
- 'eval_steps_per_second': 3.714
66
- }
67
- ```
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - tr
5
+ metrics:
6
+ - accuracy
7
+ library_name: bertopic
8
+ pipeline_tag: text-classification
9
+ ---
10
  language:
11
  - tr
12
  thumbnail: https://avatars3.githubusercontent.com/u/32437151?s=460&u=4ec59abc8d21d5feea3dab323d23a5860e6996a4&v=4
 
15
  - emotion
16
  - pytorch
17
  datasets:
18
+ - emotion
19
  metrics:
20
  - Accuracy, F1 Score
21
  ---
22
+ # bert-base-turkish-cased-emotion
23
 
24
  ## Model description:
25
+ [bert-base-turkish-cased](https://huggingface.co/dbmdz/bert-base-turkish-cased) finetuned on Turkish film comments shared in beyazperde.com with the help of BERTurk pretrained language model using PyTorch and Huggingface Transformers library.
26
  ```
27
  learning rate 2e-5,
28
+ batch size 32,
29
+ num_train_epochs=5,
30
+ optimizer=AdamW
31
  ```
32
 
33
+ ## Model Performance
34
+
35
+ precision recall f1-score support
36
 
37
+ 0 0.93 0.93 0.93 1333
38
+ 1 0.93 0.93 0.93 1333
39
+
40
+ accuracy 0.93 2666
41
+ macro avg 0.93 0.93 0.93 2666
42
+ weighted avg 0.93 0.93 0.93 2666
43
 
44
  ## How to Use the model:
45
  ```python
 
67
  ```
68
 
69
  ## Dataset:
70
+ [Twitter-Sentiment-Analysis](https://huggingface.co/nlp/viewer/?dataset=emotion).