Downloads · 30 days
52
7% of all-time downloads
poltextlab/xlm-roberta-large-i5-binary-codebook-v14
xlm-roberta-large-i5-binary-codebook-v14 is a text classification model from poltextlab. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as cc-by-4.0.
Accuracy: N/A Macro Avg: Precision: 0.76, Recall: 0.76, F1-score: 0.76 Weighted Avg: Precision: 0.76, Recall: 0.76, F1-score: 0.76
Downloads · 30 days
52
7% of all-time downloads
All-time downloads
716
Public
Parameters
560M
2.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 100%
From the Hugging Face model README
from transformers import AutoTokenizer, pipeline
tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-large")
pipe = pipeline(
model="poltextlab/xlm-roberta-large-i5-binary-codebook-v14",
task="text-classification",
tokenizer=tokenizer,
use_fast=False,
token="<your_hf_read_only_token>"
)
text = "<text_to_classify>"
pipe(text)
| Label | Precision | Recall | F1-score | Support |
|---|---|---|---|---|
| (0) Not illiberal | 0.79 | 0.77 | 0.78 | 30 |
| (1) Illiberal | 0.73 | 0.76 | 0.75 | 25 |
This model is used by the CAP Babel Machine, an open-source and free natural language processing tool, designed to simplify and speed up projects for comparative research.
Model performance can be significantly improved by extending our training sets. We appreciate every submission of CAP-coded corpora (of any domain and language) at poltextlab{at}poltextlab{dot}com or by using the CAP Babel Machine.
This architecture uses the sentencepiece tokenizer. In order to run the model before transformers==4.27 you need to install it manually.