areumtecnologia commited on
Commit
abd598f
1 Parent(s): 73d22f4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -5,6 +5,7 @@ This model is a test for educational proposits.
5
 
6
  # To use:
7
 
 
8
  from transformers import pipeline
9
 
10
  classifier = pipeline("sentiment-analysis", model="areumtecnologia/bert-text-classification", tokenizer="areumtecnologia/bert-text-classification")
@@ -13,4 +14,5 @@ texts = ["I love this movie!", "This is a terrible movie.", "Awesome!", "Very ba
13
  results = classifier(texts)
14
 
15
  for text, result in zip(texts, results):
16
- print(f"Text: {text}\nPrediction: {result}\n")
 
 
5
 
6
  # To use:
7
 
8
+ <code>
9
  from transformers import pipeline
10
 
11
  classifier = pipeline("sentiment-analysis", model="areumtecnologia/bert-text-classification", tokenizer="areumtecnologia/bert-text-classification")
 
14
  results = classifier(texts)
15
 
16
  for text, result in zip(texts, results):
17
+ print(f"Text: {text}\nPrediction: {result}\n")
18
+ </code>