areumtecnologia commited on
Commit
6e6dffa
·
verified ·
1 Parent(s): 4c3e502
Files changed (1) hide show
  1. README.md +17 -3
README.md CHANGED
@@ -1,3 +1,17 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+ 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="./model", tokenizer="./model")
11
+
12
+ # Exemplo de texto para classificação
13
+ texts = ["I love this movie!", "This is a terrible movie.", "Awesome!", "Very bad!"]
14
+ results = classifier(texts)
15
+
16
+ for text, result in zip(texts, results):
17
+ print(f"Text: {text}\nPrediction: {result}\n")