radlab / polarity-3c

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: June 01 2025
text-classification

Introduction of polarity-3c

Model Details of polarity-3c

Description

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 .

Architecture
RobertaForSequenceClassification(
  (roberta): RobertaModel(
    (embeddings): RobertaEmbeddings(
      (word_embeddings): Embedding(128001, 1024, padding_idx=1)
      (position_embeddings): Embedding(514, 1024, padding_idx=1)
      (token_type_embeddings): Embedding(1, 1024)
      (LayerNorm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
      (dropout): Dropout(p=0.1, inplace=False)
    )
    (encoder): RobertaEncoder(
      (layer): ModuleList(
        (0-23): 24 x RobertaLayer(
          (attention): RobertaAttention(
            (self): RobertaSdpaSelfAttention(
              (query): Linear(in_features=1024, out_features=1024, bias=True)
              (key): Linear(in_features=1024, out_features=1024, bias=True)
              (value): Linear(in_features=1024, out_features=1024, bias=True)
              (dropout): Dropout(p=0.1, inplace=False)
            )
            (output): RobertaSelfOutput(
              (dense): Linear(in_features=1024, out_features=1024, bias=True)
              (LayerNorm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
              (dropout): Dropout(p=0.1, inplace=False)
            )
          )
          (intermediate): RobertaIntermediate(
            (dense): Linear(in_features=1024, out_features=4096, bias=True)
            (intermediate_act_fn): GELUActivation()
          )
          (output): RobertaOutput(
            (dense): Linear(in_features=4096, out_features=1024, bias=True)
            (LayerNorm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
            (dropout): Dropout(p=0.1, inplace=False)
          )
        )
      )
    )
  )
  (classifier): RobertaClassificationHead(
    (dense): Linear(in_features=1024, out_features=1024, bias=True)
    (dropout): Dropout(p=0.1, inplace=False)
    (out_proj): Linear(in_features=1024, out_features=3, bias=True)
  )
)
Usage

Example of use with transformers pipeline:

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
)

the output is:

[{'label': 'ambivalent', 'score': 0.9995126724243164},
 {'label': 'negative', 'score': 0.00024663121439516544},
 {'label': 'positive', 'score': 0.00024063512682914734}]

Runs of radlab polarity-3c on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About polarity-3c huggingface.co Model

More polarity-3c license Visit here:

https://choosealicense.com/licenses/apache-2.0

polarity-3c huggingface.co

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 Url

https://huggingface.co/radlab/polarity-3c

radlab polarity-3c online free

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:

https://huggingface.co/radlab/polarity-3c

polarity-3c install

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.

polarity-3c install url in huggingface.co:

https://huggingface.co/radlab/polarity-3c

Url of polarity-3c

polarity-3c huggingface.co Url

Provider of polarity-3c huggingface.co

radlab
ORGANIZATIONS

Other API from radlab

huggingface.co

Total runs: 10
Run Growth: 7
Growth Rate: 70.00%
Updated:October 20 2024
huggingface.co

Total runs: 5
Run Growth: 2
Growth Rate: 40.00%
Updated:October 20 2024
huggingface.co

Total runs: 3
Run Growth: 1
Growth Rate: 33.33%
Updated:October 04 2025
huggingface.co

Total runs: 2
Run Growth: -1
Growth Rate: -50.00%
Updated:August 31 2024