AR04 commited on
Commit
ead5fb9
·
verified ·
1 Parent(s): 13bc370

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -17,6 +17,7 @@ Model trained from [mobileBert](https://huggingface.co/google/mobilebert-uncased
17
  <div align="center">
18
  <a href=https://github.com/04AR/Senti target="_blank"><img src=https://img.shields.io/badge/Code-black.svg?logo=github height=22px></a>
19
  <a href=https://huggingface.co/AR04/Senti target="_blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Models-d96902.svg height=22px></a>
 
20
  </div>
21
 
22
  #### Dataset used for the model
@@ -53,7 +54,7 @@ pip install torch transformers
53
  ```python
54
  from transformers import pipeline
55
  classifier = pipeline(task="text-classification", model="AR04/Senti", top_k=None)
56
- sentences = ["hi! u r looki beautiful today dear"]
57
  model_outputs = classifier(sentences)
58
  print(model_outputs[0])
59
  # produces a list of dicts for each of the labels
 
17
  <div align="center">
18
  <a href=https://github.com/04AR/Senti target="_blank"><img src=https://img.shields.io/badge/Code-black.svg?logo=github height=22px></a>
19
  <a href=https://huggingface.co/AR04/Senti target="_blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Models-d96902.svg height=22px></a>
20
+ <a href=https://github.com/04AR/Senti/blob/main/Senti.ipynb target="_blank"><img src="https://img.shields.io/badge/Training%20Code-%20jupyter-orange"></a>
21
  </div>
22
 
23
  #### Dataset used for the model
 
54
  ```python
55
  from transformers import pipeline
56
  classifier = pipeline(task="text-classification", model="AR04/Senti", top_k=None)
57
+ sentences = ["hi! u r looking beautiful today dear"]
58
  model_outputs = classifier(sentences)
59
  print(model_outputs[0])
60
  # produces a list of dicts for each of the labels