areumtecnologia's picture
1.0.1
6e6dffa verified
|
raw
history blame
442 Bytes
metadata
license: mit

This model is a test for educational proposits.

To use:

from transformers import pipeline

classifier = pipeline("sentiment-analysis", model="./model", tokenizer="./model")

Exemplo de texto para classificação

texts = ["I love this movie!", "This is a terrible movie.", "Awesome!", "Very bad!"] results = classifier(texts)

for text, result in zip(texts, results): print(f"Text: {text}\nPrediction: {result}\n")