File size: 485 Bytes
6e6dffa 73d22f4 6e6dffa abd598f 6e6dffa 9257690 6e6dffa abd598f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
---
license: mit
---
This model is a test for educational proposits.
# To use:
<code>
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="areumtecnologia/bert-text-classification", tokenizer="areumtecnologia/bert-text-classification")
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")
</code> |