/ Модель

Характеристики

Лицензия
CC BY 4.0
Базовая модель
xlm-roberta-large
Библиотека
transformers
Опубликована
9 мар 2026

xlm-roberta-large-pooled-cap-minor-v5

Классификация текстаТекст → label3 профессии

Дообученная многоязычная XLM-RoBERTa Large классифицирует тексты по темам CAP Minor для сравнительных исследований.

56скачиваний за 30 дней1лайквеса обновлены24 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Модель poltextlab/xlm-roberta-large-pooled-cap-minor-v5 разработана PoltextLab и представляет собой дообученную версию XLM-RoBERTa Large для многоклассовой классификации текстов по темам CAP Minor. Она предназначена для разметки многоязычных текстов в сравнительных исследованиях и используется в инструменте CAP Babel Machine.

Модель поддерживает английский, венгерский, португальский, датский, французский, итальянский и испанский языки. В карточке приведены метрики по языкам: взвешенный F1 составляет 0,88 для венгерского и 0,86 для португальского, тогда как для датского, французского и испанского он ниже. Для всех классов макроусреднённый F1 равен 0,63, взвешенный F1 — 0,81.

Модель распространяется в формате Safetensors и доступна по лицензии CC BY 4.0. Результаты зависят от языка и темы; приведённые метрики показывают заметно более низкое качество для части поддерживаемых языков.

Сценарии применения

  • Разметка текстов по темам CAP Minor
  • Классификация новостных материалов по макроэкономическим темам
  • Подготовка многоязычных корпусов для сравнительных исследований
  • Автоматическая тематическая разметка текстов на английском и европейских языках

Ограничения

Качество заметно различается по языкам: взвешенный F1 составляет 0,48 для датского, 0,50 для французского и 0,52 для испанского. Общий макроусреднённый F1 равен 0,63.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

xlm-roberta-large-pooled-cap-minor-v5

This model was fine-tuned on multilingual multi-domain data labeled with the CAP Minor topics (https://www.comparativeagendas.net/pages/master-codebook).

How to use the model

from transformers import AutoTokenizer, pipeline

tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-large")
pipe = pipeline(
    model="poltextlab/xlm-roberta-large-pooled-cap-minor-v5-e8checkpoint",
    task="text-classification",
    tokenizer=tokenizer,
    use_fast=False,
    token="<your_hf_read_only_token>"
)

text = "<text_to_classify>"
pipe(text)

Classification Report

Overall Performance:

  • Accuracy: N/A
  • Macro Avg: Precision: 0.68, Recall: 0.61, F1-score: 0.63
  • Weighted Avg: Precision: 0.81, Recall: 0.82, F1-score: 0.81

Per-Language Weighted F1-Scores:

  • hu: 0.88 (on 204 labels)
  • pt: 0.86 (on 146 labels)
  • en: 0.79 (on 213 labels)
  • it: 0.56 (on 193 labels)
  • es: 0.52 (on 187 labels)
  • fr: 0.50 (on 192 labels)
  • da: 0.48 (on 130 labels)

Per-Class Metrics:

LabelPrecisionRecallF1-scoreSupport
(100) Macroeconomics – General0.640.670.652378
(101) Macroeconomics – Interest Rates0.710.610.66313
(103) Macroeconomics – Unemployment Rate0.590.520.55454
(104) Macroeconomics – Monetary Policy0.720.680.7645
(105) Macroeconomics – National Budget0.750.810.785394
(107) Macroeconomics – Tax Code0.740.790.773152
(108) Macroeconomics – Industrial Policy0.650.650.65871
(110) Macroeconomics – Price Control0.620.480.54160
(199) Macroeconomics – Other00015
(200) Civil Rights – General0.590.590.59796
(201) Civil Rights – Minority Discrimination0.740.720.73723
(202) Civil Rights – Gender Discrimination0.750.750.75554
(204) Civil Rights – Age Discrimination0.640.330.4454
(205) Civil Rights – Handicap Discrimination0.740.660.69152
(206) Civil Rights – Voting Rights0.710.650.68284
(207) Civil Rights – Freedom of Speech0.720.670.69389
(208) Civil Rights – Right to Privacy0.710.620.66561
(209) Civil Rights – Anti-Government0.710.370.48123
(299) Civil Rights – Other0.460.120.1951
(300) Health – General0.610.60.6824
(301) Health – Health Care Reform0.490.460.47556
(302) Health – Insurance0.640.610.62728
(321) Health – Drug Industry0.650.620.64228
(322) Health – Medical Facilities0.770.690.73422
(323) Health – Insurance Providers0.770.610.68285
(324) Health – Medical Liability0.780.680.73158
(325) Health – Manpower0.660.690.67360
(331) Health – Disease Prevention0.790.780.78783
(332) Health – Infants and Children0.730.730.73242
(333) Health – Mental Health0.830.810.82218
(334) Health – Long-term Care0.740.710.72264
(335) Health – Drug Coverage and Cost0.780.780.78207
(341) Health – Tobacco Abuse0.840.850.85232
(342) Health – Drug and Alcohol Abuse0.750.640.69286
(398) Health – R&D0.720.750.73244
(399) Health – Other0.50.140.2278
(400) Agriculture – General0.670.670.671116
(401) Agriculture – Trade0.520.50.51325
(402) Agriculture – Subsidies to Farmers0.710.680.7776
(403) Agriculture – Food Inspection & Safety0.690.70.69319
(404) Agriculture – Food Marketing & Promotion0.640.580.61133
(405) Agriculture – Animal and Crop Disease0.830.780.81327
(408) Agriculture – Fisheries & Fishing0.840.740.78207
(498) Agriculture – R&D0.690.750.72111
(499) Agriculture – Other0.630.440.52218
(500) Labor – General0.670.610.641076
(501) Labor – Worker Safety0.740.710.73259
(502) Labor – Employment Training0.630.610.62777
(503) Labor – Employee Benefits0.680.630.65918
(504) Labor – Labor Unions0.690.660.67742
(505) Labor – Fair Labor Standards0.590.590.59556
(506) Labor – Youth Employment0.640.680.66324
(529) Labor – Migrant and Seasonal0.630.530.57150
(599) Labor – Other0.70.120.259
(600) Education – General0.630.580.61811
(601) Education – Higher0.850.840.841836
(602) Education – Elementary & Secondary0.770.80.782400
(603) Education – Underprivileged0.510.460.48163
(604) Education – Vocational0.760.760.76468
(606) Education – Special0.730.760.74123
(607) Education – Excellence0.570.540.55275
(698) Education – R&D0.740.250.3756
(699) Education – Other0.720.240.36115
(700) Environment – General0.720.730.72979
(701) Environment – Drinking Water0.70.70.7322
(703) Environment – Waste Disposal0.840.820.83367
(704) Environment – Hazardous Waste0.680.750.72208
(705) Environment – Air Pollution0.780.80.79645
(707) Environment – Recycling0.810.890.8563
(708) Environment – Indoor Hazards0.690.670.6849
(709) Environment – Species & Forest0.760.790.77476
(711) Environment – Land and Water Conservation0.550.380.45173
(798) Environment – R&D0.530.20.344
(799) Environment – Other0.60.060.1151
(800) Energy – General0.760.740.75802
(801) Energy – Nuclear0.790.720.75289
(802) Energy – Electricity0.720.660.69328
(803) Energy – Natural Gas & Oil0.750.770.76646
(805) Energy – Coal0.730.730.73133
(806) Energy – Alternative & Renewable0.740.760.75270
(807) Energy – Conservation0.650.690.67185
(898) Energy – R&D0.70.290.4155
(899) Energy – Other00023
(900) Immigration – Immigration0.760.740.751411
(999) No Policy Content0.940.970.9689092
(1000) Transportation – General0.680.660.67488
(1001) Transportation – Mass0.640.60.62298
(1002) Transportation – Highways0.860.840.851715
(1003) Transportation – Air Travel0.80.80.8360
(1005) Transportation – Railroad Travel0.790.80.79539
(1007) Transportation – Maritime0.790.810.8516
(1010) Transportation – Infrastructure0.560.510.54220
(1098) Transportation – R&D00016
(1099) Transportation – Other0.880.580.752
(1200) Law and Crime – General0.590.560.58714
(1201) Law and Crime – Agencies0.780.790.791949
(1202) Law and Crime – White Collar Crime0.560.580.57402
(1203) Law and Crime – Illegal Drugs0.760.790.78384
(1204) Law and Crime – Court Administration0.750.740.751601
(1205) Law and Crime – Prisons0.790.750.77426
(1206) Law and Crime – Juvenile Crime0.690.710.7173
(1207) Law and Crime – Child Abuse0.770.740.76273
(1208) Law and Crime – Family Issues0.770.750.76866
(1210) Law and Crime – Criminal & Civil Code0.730.70.711480
(1211) Law and Crime – Crime Control0.610.470.54417
(1227) Law and Crime – Police0.610.570.59124
(1299) Law and Crime – Other0.70.380.49165
(1300) Social Welfare – General0.660.620.641366
(1302) Social Welfare – Low-Income Assistance0.630.630.63589
(1303) Social Welfare – Elderly Assistance0.740.720.73971
(1304) Social Welfare – Disabled Assistance0.650.680.66336
(1305) Social Welfare – Volunteer Associations0.670.650.66422
(1308) Social Welfare – Child Care0.720.770.74351
(1399) Social Welfare – Other0.50.020.0541
(1400) Housing – General0.690.680.681015
(1401) Housing – Community Development0.470.420.44396
(1403) Housing – Urban Development0.550.540.55329
(1404) Housing – Rural Housing00014
(1405) Housing – Rural Development0.760.660.71486
(1406) Housing – Low-Income Assistance0.620.60.61359
(1407) Housing – Veterans0.820.740.7842
(1408) Housing – Elderly0.730.280.440
(1409) Housing – Homeless0.680.740.7190
(1498) Housing – R&D0000
(1499) Housing – Other0.780.760.77229
(1500) Domestic Commerce – General0.620.640.631030
(1501) Domestic Commerce – Banking0.690.650.67745
(1502) Domestic Commerce – Securities & Commodities0.560.570.57282
(1504) Domestic Commerce – Consumer Finance0.70.630.66260
(1505) Domestic Commerce – Insurance Regulation0.870.830.85339
(1507) Domestic Commerce – Bankruptcy0.660.650.66148
(1520) Domestic Commerce – Corporate Management0.620.580.6636
(1521) Domestic Commerce – Small Businesses0.750.730.74651
(1522) Domestic Commerce – Copyrights and Patents0.830.820.82256
(1523) Domestic Commerce – Disaster Relief0.790.750.77421
(1524) Domestic Commerce – Tourism0.730.770.75210
(1525) Domestic Commerce – Consumer Safety0.750.730.74543
(1526) Domestic Commerce – Sports Regulation0.840.860.85794
(1598) Domestic Commerce – R&D0001
(1599) Domestic Commerce – Other0.840.80.82598
(1600) Defense – General0.680.640.661165
(1602) Defense – Alliances0.680.640.66730
(1603) Defense – Intelligence0.70.660.68289
(1604) Defense – Readiness0.720.730.72564
(1605) Defense – Nuclear Arms0.810.780.8793
(1606) Defense – Military Aid0.730.560.6395
(1608) Defense – Personnel Issues0.750.780.771284
(1610) Defense – Procurement0.670.710.69211
(1611) Defense – Installations & Land0.60.640.62160
(1612) Defense – Reserve Forces0.60.590.5968
(1614) Defense – Hazardous Waste00012
(1615) Defense – Civil0.730.710.72359
(1616) Defense – Civilian Personnel0.860.280.4265
(1617) Defense – Contractors0.660.530.5979
(1619) Defense – Foreign Operations0.670.640.65866
(1620) Defense – Claims against Military0.720.670.69174
(1698) Defense – R&D0.630.370.4746
(1699) Defense – Other0.560.370.44117
(1700) Technology – General0.530.540.53343
(1701) Technology – Space0.820.860.84129
(1704) Technology – Commercial Use of Space0.880.440.5832
(1705) Technology – Science Transfer0.630.460.5399
(1706) Technology – Telecommunications0.70.740.72345
(1707) Technology – Broadcast0.90.90.91716
(1708) Technology – Weather Forecasting0.720.770.7462
(1709) Technology – Computers0.720.730.73241
(1798) Technology – R&D0.740.790.76638
(1799) Technology – Other0.860.140.2444
(1800) Foreign Trade – General0.580.60.59375
(1802) Foreign Trade – Trade Agreements0.750.650.69634
(1803) Foreign Trade – Exports0.720.660.69173
(1804) Foreign Trade – Private Investments0.620.60.61196
(1806) Foreign Trade – Competitiveness0.630.620.62329
(1807) Foreign Trade – Tariff & Imports0.770.70.73280
(1808) Foreign Trade – Exchange Rates0.650.390.4979
(1899) Foreign Trade – Other0008
(1900) International Affairs – General0.710.770.742791
(1901) International Affairs – Foreign Aid0.690.630.66610
(1902) International Affairs – Resources Exploitation0.620.320.42151
(1905) International Affairs – Developing Countries0.560.570.56234
(1906) International Affairs – International Finance0.640.630.63483
(1910) International Affairs – Western Europe0.680.680.681355
(1921) International Affairs – Specific Country0.80.820.813664
(1925) International Affairs – Human Rights0.70.70.7505
(1926) International Affairs – Organizations0.70.690.7488
(1927) International Affairs – Terrorism0.660.620.64472
(1929) International Affairs – Diplomats0.610.590.6396
(1999) International Affairs – Other0.650.180.2872
(2000) Government Operations – General0.670.60.631553
(2001) Government Operations – Intergovernmental Relations0.660.660.662047
(2002) Government Operations – Bureaucracy0.610.550.571247
(2003) Government Operations – Postal Service0.850.870.86269
(2004) Government Operations – Employees0.750.740.741352
(2005) Government Operations – Appointments0.760.780.77540
(2006) Government Operations – Currency0.710.60.65179
(2007) Government Operations – Procurement & Contractors0.740.620.67577
(2008) Government Operations – Property Management0.730.740.73712
(2009) Government Operations – Tax Administration0.740.620.67238
(2010) Government Operations – Scandals0.660.530.59289
(2011) Government Operations – Branch Relations0.680.670.681919
(2012) Government Operations – Political Campaigns0.760.720.741821
(2013) Government Operations – Census & Statistics0.890.840.8781
(2014) Government Operations – Capital City0.850.770.81377
(2015) Government Operations – Claims against the Government0.650.70.67746
(2030) Government Operations – National Holidays0.690.660.68296
(2099) Government Operations – Other0.510.350.41323
(2100) Public Lands – General0.610.320.42158
(2101) Public Lands – National Parks0.770.790.78864
(2102) Public Lands – Indigenous Affairs0.920.910.92429
(2103) Public Lands – Public Lands0.70.710.711137
(2104) Public Lands – Water Resources0.770.750.76760
(2105) Public Lands – Dependencies & Territories0.660.640.65307
(2199) Public Lands – Other0.560.450.511
(2300) Culture – General0.750.720.741363

Inference platform

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.

Cooperation

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.

Debugging and issues

This architecture uses the sentencepiece tokenizer. In order to run the model before transformers==4.27 you need to install it manually.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers · text-classification

Нельзя запустить

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
509ce32

0 моделей