Zafer Cavdar commited on
Commit
d10ad71
1 Parent(s): 59b3657

Fixed alignments

Browse files
Files changed (1) hide show
  1. README.md +5 -3
README.md CHANGED
@@ -14,7 +14,7 @@ metrics:
14
  # distilbert-base-turkish-cased-emotion
15
 
16
  ## Model description:
17
- [Distilbert-base-turkish-cased](https://huggingface.co/dbmdz/distilbert-base-turkish-cased) finetuned on the emotion dataset using HuggingFace Trainer with below Hyperparameters
18
  ```
19
  learning rate 2e-5,
20
  batch size 64,
@@ -25,12 +25,14 @@ metrics:
25
 
26
  | Model | Accuracy | F1 Score | Test Sample per Second |
27
  | --- | --- | --- | --- |
28
- | [Distilbert-base-turkish-cased-emotion](https://huggingface.co/dbmdz/distilbert-base-turkish-cased) | 83.25 | 83.17 | 232.197 |
29
 
30
  ## How to Use the model:
31
  ```python
32
  from transformers import pipeline
33
- classifier = pipeline("text-classification",model='zafercavdar/distilbert-base-turkish-cased-emotion', return_all_scores=True)
 
 
34
  prediction = classifier("Bu kütüphaneyi seviyorum, en iyi yanı kolay kullanımı.", )
35
  print(prediction)
36
 
 
14
  # distilbert-base-turkish-cased-emotion
15
 
16
  ## Model description:
17
+ [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
18
  ```
19
  learning rate 2e-5,
20
  batch size 64,
 
25
 
26
  | Model | Accuracy | F1 Score | Test Sample per Second |
27
  | --- | --- | --- | --- |
28
+ | [Distilbert-base-turkish-cased-emotion](https://huggingface.co/zafercavdar/distilbert-base-turkish-cased-emotion) | 83.25 | 83.17 | 232.197 |
29
 
30
  ## How to Use the model:
31
  ```python
32
  from transformers import pipeline
33
+ classifier = pipeline("text-classification",
34
+ model='zafercavdar/distilbert-base-turkish-cased-emotion',
35
+ return_all_scores=True)
36
  prediction = classifier("Bu kütüphaneyi seviyorum, en iyi yanı kolay kullanımı.", )
37
  print(prediction)
38