fgaim commited on
Commit
871be49
1 Parent(s): d10e58a

Update README

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -34,6 +34,16 @@ model-index:
34
  This model is a fine-tuned version of [TiELECTRA](https://huggingface.co/fgaim/tielectra-small) on a YouTube comments Sentiment Analysis dataset for Tigrinya (Tela et al. 2020).
35
 
36
 
 
 
 
 
 
 
 
 
 
 
37
  ## Training
38
 
39
  ### Hyperparameters
 
34
  This model is a fine-tuned version of [TiELECTRA](https://huggingface.co/fgaim/tielectra-small) on a YouTube comments Sentiment Analysis dataset for Tigrinya (Tela et al. 2020).
35
 
36
 
37
+ ## Basic usage
38
+
39
+ ```python
40
+ from transformers import pipeline
41
+
42
+ ti_sent = pipeline("sentiment-analysis", model="fgaim/tielectra-small-sentiment")
43
+ ti_sent("ድምጻዊ ኣብርሃም ኣፈወርቂ ንዘልኣለም ህያው ኮይኑ ኣብ ልብና ይነብር")
44
+ ```
45
+
46
+
47
  ## Training
48
 
49
  ### Hyperparameters