/ Модель

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

Контекст
512 токенов
Лицензия
cc
Архитектура
distilbert · dense
Базовая модель
distilbert_amazon_book_classification
Библиотека
transformers
Опубликована
12 июл 2026

distilbert_amazon_goodreads_book_classification

Классификация текстаТекст → label

Дообученная DistilBERT-модель относит книги Goodreads к одной из 31 категории Amazon Kindle по текстовым метаданным.

37скачиваний за 30 дней1лайквеса обновлены3 окт 2026

Бенчмарки

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

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

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

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

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

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

Модель Chima207 предназначена для классификации книг Goodreads по 31 категории Amazon Kindle. Она основана на DistilBERT и последовательно дообучена сначала на структурированных метаданных книг Amazon, затем на метаданных Goodreads с эвристическим сопоставлением пользовательских полок 31 категории и случайной балансировкой классов. Модель принимает текстовые данные о книге; контекст составляет 512 токенов. В README приведены результаты оценки: accuracy 51,35%, F1 49,89%, precision 50,60% и recall 51,35%.

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

  • классификация книг Goodreads по жанровым категориям Amazon Kindle
  • сопоставление пользовательских полок Goodreads с категориями книжного каталога
  • анализ переноса классификации книг с Amazon на Goodreads

Ограничения

Качество на оценочном наборе умеренное: accuracy 51,35%, F1 49,89%. Категории Goodreads эвристически сопоставлены с 31 категорией Amazon, поэтому модель ограничена этим набором классов и шумом исходных данных.

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

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

Открыть на Hugging Face

distilbert_amazon_goodreads_book_classification

This model was trained from scratch on the Goodreads-Books dataset. It achieves the following results on the evaluation set:

  • Loss: 1.7274
  • Accuracy: 0.5135
  • F1 Score: 0.4989
  • Precision: 0.5060
  • Recall: 0.5135

Model description

This model evaluates a two-stage sequential transfer learning approach (Amazon to Goodreads). Starting from distilbert-base-uncased, the model was first fine-tuned on structured Amazon book metadata and subsequently fine-tuned on the heuristically mapped, oversampled Goodreads dataset across 31 categories. While this sequential adaptation yields a peak Accuracy of 51.38% (a marginal +0.80% gain over single-stage Goodreads fine-tuning), the empirical results demonstrate diminishing returns. The additional computational overhead of two-stage fine-tuning is rarely justified for real-world deployment compared to direct single-stage adaptation.

Intended uses & limitations

  • Research and analysis of domain adaptation mechanisms between structured e-commerce data and noisy user-generated web content.

  • High-accuracy deployment scenarios where every marginal percentage increase in classification performance is critical regardless of compute budget.

  • Requires substantial training time and computational resources for a minimal performance gain over single-stage fine-tuning.

  • Inherits the classification domain boundaries of the 31 target Amazon categories.

Datasets

Training and evaluation data

  1. Stage 1 (Pre-training / Source Domain):
    • Source: Structured Amazon Kindle metadata.
    • Purpose: Learn clean domain representations and sentence semantics on structured book descriptions.
  2. Stage 2 (Target Adaptation / Target Domain):
    • Source: Preprocessed Goodreads book metadata.
    • Preprocessing: 1,003 crowdsourced Goodreads shelves heuristically mapped into the 31 Amazon Kindle categories and balanced using Random Oversampling.
    • Purpose: Adapt the pre-trained weights to the noisy, community-driven text characteristics of Goodreads entries.

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 4
  • eval_batch_size: 2
  • seed: 42
  • gradient_accumulation_steps: 4
  • total_train_batch_size: 16
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 2
  • mixed_precision_training: Native AMP

Training results

Training LossEpochStepValidation LossAccuracyF1 ScorePrecisionRecall
0.4141.000085191.72740.51350.49890.50600.5135
0.2371.9999170382.04050.52100.51180.51460.5210

Framework versions

  • Transformers 4.45.2
  • Pytorch 2.5.1
  • Datasets 4.1.1
  • Tokenizers 0.20.1

Academic Context & Citation / Akademischer Kontext

This repository and model were developed as part of a Bachelor's thesis in 2026.

  • Title: Classification of Goodreads genres: A methodological comparison of Doc2Vec and DistilBERT
  • License: CC BY-NC 4.0 (Free for research, education, and personal use; commercial use prohibited)

Dieses Repository und Modell wurden im Rahmen einer Bachelorarbeit im Jahr 2026 entwickelt.

  • Titel: Klassifikation von Goodreads-Genres: Ein methodischer Vergleich von Doc2Vec und DistilBERT
  • Lizenz: CC BY-NC 4.0 (Frei für Forschung, Lehre und private Nutzung; kommerzielle Nutzung untersagt)

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
DistilBertForSequenceClassification
Ревизия весов
82dbb78

0 моделей