areumtecnologia's picture
Update README.md
abd598f verified
---
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>