polarity3c
is a classification model that is specialized for determining the polarity of texts from news portals. It was learned mostly on texts in Polish.
Annotations from the plWordnet were used as the basis for the data. A pre-learned model on these annotations, served as the model in Human in the loop,
to support the annotations for teaching the final model. The final model was learned on web content; data was manually collected and annotated.
As a model base, the
sdadas/polish-roberta-large-v2
model was used with a classification head. More about model construction is on our
blog
.
from transformers import pipeline
classifier = pipeline(model="radlab/polarity-3c", task="text-classification")
classifier("Text to classification")
with sample data and
top_k=3
:
classifier("""
Po upadku reżimu Asada w Syrii, mieszkańcy, borykający się z ubóstwem,
zaczęli tłumnie poszukiwać skarbów, zachęceni legendami o zakopanych
bogactwach i dostępnością wykrywaczy metali, które stały się popularnym
towarem. Mimo, że działalność ta jest nielegalna, rząd przymyka oko,
a sprzedawcy oferują urządzenia nawet dla dzieci. Poszukiwacze skupiają
się na obszarach historycznych, wierząc w legendy o skarbach ukrytych
przez starożytne cywilizacje i wojska osmańskie, choć eksperci ostrzegają
przed fałszywymi monetami i kradzieżą artefaktów z muzeów.""",
top_k=3
)
polarity-3c huggingface.co is an AI model on huggingface.co that provides polarity-3c's model effect (), which can be used instantly with this radlab polarity-3c model. huggingface.co supports a free trial of the polarity-3c model, and also provides paid use of the polarity-3c. Support call polarity-3c model through api, including Node.js, Python, http.
polarity-3c huggingface.co is an online trial and call api platform, which integrates polarity-3c's modeling effects, including api services, and provides a free online trial of polarity-3c, you can try polarity-3c online for free by clicking the link below.
radlab polarity-3c online free url in huggingface.co:
polarity-3c is an open source model from GitHub that offers a free installation service, and any user can find polarity-3c on GitHub to install. At the same time, huggingface.co provides the effect of polarity-3c install, users can directly use polarity-3c installed effect in huggingface.co for debugging and trial. It also supports api for free installation.