/ Модель

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

Лицензия
MIT
Базовая модель
e5-small-v2
Библиотека
pytorch
Опубликована
23 окт 2026

reading-agent-multabench

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

Набор дообученных моделей выборочно читает текстовые поля таблиц для классификации табличных данных MulTaBench.

0скачиваний за 30 дней0лайковвеса обновлены23 окт 2026

Бенчмарки

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

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

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

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

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

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

Reading Agent — набор дообученных моделей из проекта Technion NLP 097215, посвящённого выборочному чтению текстовых полей таблиц для прогнозирования по данным MulTaBench. Для каждой строки свободный текст разбивается на предложения и кодируется замороженным энкодером intfloat/e5-small-v2; табличный энкодер и двухслойная GRU последовательно выбирают текстовые фрагменты и могут выдавать прогноз после каждого шага. Модели обучены отдельно для 20 текстовых датасетов и пяти разбиений каждого; полный вариант объединяет результат читателя с CatBoost. В метаданных Hugging Face основная задача указана как tabular-classification, хотя README также сообщает об экспериментах с регрессией.

Модель предназначена для классификации и регрессии по табличным строкам, содержащим текст, с выборочным учётом предложений и регулированием бюджета чтения. Она улучшает случайный выбор при одинаковом числе прочитанных фрагментов, но требует предварительно вычислить эмбеддинги всех текстовых фрагментов. Это набор специализированных моделей для конкретных датасетов и разбиений, а не универсальная модель для новых схем; README отмечает более сильные внешние базовые модели. Лицензия — MIT.

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

  • классификация табличных строк с текстовыми полями
  • выбор наиболее полезных предложений в текстовых ячейках для прогноза
  • сравнение качества прогнозов при разных бюджетах чтения текста
  • оценка полезности текстовых фрагментов для табличного предсказания

Ограничения

Все текстовые фрагменты кодируются до отбора, поэтому выборочное чтение не сокращает вычисления энкодера. Модели привязаны к конкретным датасету и разбиению и не предназначены для новых схем без переобучения; README также указывает, что TabM и TabPFN-2.5 являются более сильными внешними базовыми моделями.

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

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

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

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

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

Открыть на Hugging Face

Reading Agent: table-conditioned selective text reading (MulTaBench)

Trained weights for Reading What Matters: Table-Conditioned Selective Text Reading for Text-Tabular Prediction (NLP 097215 final project, Track 1, Technion, 2026). Code: https://github.com/htmldanielpoly/nlp_final_project (commit ba1ab69 or later); the source snapshot uploaded with these weights is in this repo under code/.

Each row's free-text fields are split into sentence items and embedded with the frozen intfloat/e5-small-v2 encoder (revision ffb93f3bd4047442299a41ebb6fa998a38507c52). A table encoder initialises a 2-layer GRU that reads items one at a time and can predict after any number of reads. An expected-gain head (DIME-style) predicts how much the next item would reduce the predictor's loss, and the reader reads greedily while the predicted gain exceeds a threshold calibrated to a target read budget. Gain heads use either content keys (the item embedding) or metadata keys (field and position only). The final full-budget model blends the reader with a CatBoost Joint-Frozen model, with the blend weight tuned on validation data.

Contents

One folder per run: 20 MulTaBench text datasets x 5 paper holdout folds (100 runs).

index.json                  dataset, fold, task, test scores, data revision and split fingerprints of every run
<run_id>/reader/            reader + fitted preprocessing + CatBoost Frozen + blend weight
<run_id>/gain_content/      reader with content-key gain head and calibrated budget thresholds
<run_id>/gain_meta/         reader with metadata-key gain head and calibrated budget thresholds
code/                       source snapshot (package, tests, pyproject.toml, uv.lock, leaderboard references)

Each folder holds manifest.json, preprocessing.pkl (fitted transforms, class mapping, target scaling), reader_0.pt and, for reader/, catboost.cbm. preprocessing.pkl is a pickle: load only artifacts you trust.

Inference mode

Install the project (uv sync --locked in code/ or in the GitHub repository) and run from its directory with PYTHONPATH=src. The estimator downloads one run from this repository and predicts:

python -m reading_agent.estimator --repo htmldaniel/reading-agent-multabench \
    --dataset REG_TEXT_ROTTEN_TOMATOES --fold 0 --part reader \
    --input rows.csv --output preds.csv --mode blend
python -m reading_agent.estimator --repo htmldaniel/reading-agent-multabench \
    --dataset REG_TEXT_ROTTEN_TOMATOES --fold 0 --part gain_meta \
    --input rows.csv --output preds.csv --mode gain --budget 0.1

Modes are all (read every item), none (table only), gain (learned policy, --budget selects a calibrated threshold: 0.1, 0.25, 0.5 or 0.75), catboost and blend. The input must contain the dataset's feature columns in the benchmark representation. Regression outputs are in original target units. Classification outputs give predicted labels and per-class probabilities. python -m reading_agent.check_artifact --tag paper_v2 --run_id <run_id> replays a run's stored test predictions from raw rows.

End-to-end training mode

The weights were produced by this command (100 runs, tag paper_v2):

python -m reading_agent.sweep --tag paper_v2 --folds 0,1,2,3,4 -- \
    --protocol paper --skip soft,hybrid --lams=-1 --epochs 100 --patience 15

Data comes from the MulTaBench Hugging Face datasets. The runs did not pin a dataset revision on the command line; each run's resolved revision and train/test fingerprints are recorded in index.json and its manifests. The MulTaBench datasets have been updated since these runs, so reproduce a run with its recorded revision, e.g. python -m reading_agent.run --dataset <DATASET> --fold <k> --data_revision <data_revision from index.json> plus the recipe flags above. Training ran on CPU; GPU or different thread counts give numerically close but not bit-identical weights.

Evaluation

MulTaBench text datasets, paper protocol (folds 0-4). Metrics are AUROC for classification (macro one-vs-rest for multiclass) and R² for regression. Folds are averaged per dataset, and the Wilcoxon signed-rank test runs across datasets.

Classification (10 datasets, AUROC)Regression (10 datasets, R²)
Blend (reader + CatBoost Frozen)0.9000.702
Reader, read all0.8930.640
CatBoost Joint Frozen (local, same rows)0.8870.684
Blend vs local CatBoost Frozen+0.012, 10/10 wins, p=0.002+0.017, 8/10, p=0.008
Blend vs CatBoost Joint TAR (leaderboard reference)-0.008, 3/10 wins-0.014, 2/10 wins
Gain policy vs matched random reader, nominal 10% of items, content keys+0.026+0.051

External leaderboard values are approximate references: they use the same split seeds, but row identity with the original data is not verified, so no significance test is claimed against them. TabPFN-2.5 references cover only 8 classification datasets; on those, the Blend averages 0.881 against TabPFN-2.5 TAR 0.900.

The learned policy beats a random reader with the same per-row read counts at every tested budget, for both key types. The blend improves on Joint Frozen but does not reach the Joint TAR references.

Limitations

  • Selection, not lazy encoding. All E5 embeddings are computed before selection, and content keys inspect every candidate item. The read fraction is a share of retained items, not of text or of measured compute.
  • Stronger external baselines. TabM and TabPFN-2.5 baselines are stronger than these models.
  • Per-dataset models. Each model is trained for one dataset and fold. They are not general-purpose models for new schemas; for those, retrain with the project's ReadingEstimator.fit.

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

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

GPU в ailist

Универсальный рантайм · pytorch

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

Табличные модели пока не поддерживаются.

Ревизия весов
16b6c0d

0 моделей