/ Модель

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

Лицензия
CC BY-NC 4.0
Базовая модель
all-mpnet-base-v2
Библиотека
sentence-transformers
Опубликована
19 апр 2024

surveybot3000

ЭмбеддингиТекст → embedding10 профессий
281скачиваний за 30 дней10лайковвеса обновлены15 окт 2026

Описание модели

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

Модель преобразует предложения и абзацы в 768-мерные векторы для семантического поиска и кластеризации текстов.

magnolia-psychometrics/surveybot3000 — модель Sentence-Transformers, разработчик — magnolia-psychometrics. Она преобразует предложения и абзацы в плотные векторы размерностью 768 и обучена с помощью CosineSimilarityLoss. Модель подходит для поиска семантически близких текстов и кластеризации; метаданные также указывают на поддержку извлечения признаков и сходства предложений. Для работы используется библиотека Sentence-Transformers.

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

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

Ограничения

В README не приведены результаты оценки качества или сведения о языках обучающих данных, поэтому качество для конкретного языка и предметной области определить нельзя.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

SurveyBot3000

SurveyBot3000 is a sentence-transformers model fine-tuned to predict empirical correlations between psychological survey items from their wording alone. It maps questionnaire items to a 768-dimensional vector space in which the cosine similarity of two items approximates the Pearson correlation you would observe between responses to them, including its sign.

General-purpose sentence embeddings rarely produce negative similarities. With the pretrained model, "I am the life of the party" is about as similar to its polar opposite "I keep in the background" (.35) as to "I make friends easily" (.32). SurveyBot3000 is trained to place opposing statements apart, and to focus on trait-relevant content rather than incidental wording such as shared frequency adverbs ("I often feel blue" vs. "I often forget to put things back").

From synthetic item correlations, you can derive synthetic scale reliabilities (Cronbach's α) and correlations between scales. Before collecting any data, researchers can use these to pretest new items, check whether a proposed measure is redundant with existing ones, and map conceptual overlap across fragmented literatures.

The model is described and validated in a peer-reviewed Registered Report:

Hommel, B. E., & Arslan, R. C. (2025). Language models accurately infer correlations between psychological items and scales from text alone. Advances in Methods and Practices in Psychological Science, 8(4). https://doi.org/10.1177/25152459251377093

Performance

Accuracy is the correlation between the model's synthetic estimates and the empirical coefficients observed in human data. It is adjusted for sampling error in the empirical estimates; manifest (unadjusted) correlations are in parentheses. The baseline is the pretrained all-mpnet-base-v2 model.

TargetPilot: held-out datasetPreregistered validation: novel itemsBaseline (validation)
Item correlations.71 (.67).59 (.57).33
Scale reliabilities (α).89 (.89).84 (.85)(.64)
Scale intercorrelations.89 (.87).84 (.83)(.50)
  • Pilot study: 87,153 item pairs, 307 scale reliabilities (107 real scales plus 200 randomly formed scales that increase the variance of α), and 6,245 scale pairs from a dataset withheld from training (Bainbridge et al., 2022).
  • Validation study (preregistered, Stage 1 peer-reviewed): 246 items from 79 scales and subscales, sampled from APA PsycTests to span attitudes and clinical, occupational, personality, and social psychology. Responses came from 387 U.S. Prolific participants after exclusions, giving 30,135 item pairs, 257 reliabilities, and 1,568 scale pairs.
  • Size of prediction errors: The RMSE was .17 for item correlations, .16 for scale correlations, and .27 for reliabilities. For reliabilities, it fell below .10 when synthetic α exceeded .60. Errors were largest for middling estimates (roughly .00–.60). Overall, the margin of error is comparable to that of a small pilot study.
  • By domain: Item-level accuracy ranged from .34 for attitude items (which have low intercorrelations, leaving less variance to explain) to .75 for occupational psychology. SurveyBot3000 outperformed the baseline in every domain.

Evaluation files in this repository

The repository also contains the raw evaluation outputs of this checkpoint. They show the manifest Spearman correlation between cosine similarities and empirical item correlations, before and after fine-tuning. These numbers come from the training pipeline and are not adjusted for sampling error, so they differ slightly from the figures reported in the paper.

SplitItem pairsBefore fine-tuningSurveyBot3000
Training corpus – validation6,832.43.69
Training corpus – test9,253.45.67
Held-out dataset90,951.50.65
STS benchmark (test)1,379.74.77

See scores.csv, similarity_evaluation_*_results.csv, and similarities.*.csv. The item pairs are in data.training.csv and data.holdout.csv. These data files are provided without a license.

Usage

pip install -U sentence-transformers

This repository is gated. Accept the access conditions (non-commercial use only) on the model page, then authenticate (hf auth login) before loading the model.

Synthetic item correlations

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("magnolia-psychometrics/surveybot3000")

items = [
    "I am someone who is outgoing, sociable.",
    "I am someone who tends to be quiet.",
    "I am someone who is sometimes shy, introverted.",
    "I am someone who worries a lot.",
]

embeddings = model.encode(items)
synthetic_correlations = model.similarity(embeddings, embeddings)
print(synthetic_correlations)

The cosine similarity between two item embeddings is the model's estimate of the Pearson correlation between responses to those items.

Synthetic reliabilities and scale correlations

The paper derives scale-level estimates as follows:

  • Reliability: Cronbach's α computed from the matrix of synthetic inter-item correlations.
  • Scale correlations: the cosine similarity between the averaged item vectors of two scales, with reverse-keyed items reversed (that is, their vectors negated) before averaging.
import numpy as np

def synthetic_alpha(model, items, reversed_items=()):
    """Standardized Cronbach's alpha from synthetic inter-item correlations."""
    emb = model.encode(items)
    sign = np.array([-1 if i in reversed_items else 1 for i in range(len(items))])
    emb = emb * sign[:, None]
    r = model.similarity(emb, emb).numpy()
    k = len(items)
    r_bar = r[np.triu_indices(k, 1)].mean()
    return k * r_bar / (1 + (k - 1) * r_bar)

def synthetic_scale_correlation(model, items_a, items_b, reversed_a=(), reversed_b=()):
    """Cosine similarity between the mean item vectors of two scales."""
    def scale_vector(items, reversed_items):
        emb = model.encode(items)
        sign = np.array([-1 if i in reversed_items else 1 for i in range(len(items))])
        return (emb * sign[:, None]).mean(axis=0)
    a, b = scale_vector(items_a, reversed_a), scale_vector(items_b, reversed_b)
    return float(a @ b / (np.linalg.norm(a) * np.linalg.norm(b)))

reversed_items holds the positions of reverse-keyed items. For example, the BFI extraversion items above would use synthetic_alpha(model, items[:3], reversed_items=(1, 2)).

Intended use and limitations

SurveyBot3000 is meant as a free, instant pilot study. Like a pilot study, it shows researchers "where to look", but its estimates must be followed up with empirical data before drawing conclusions.

Intended uses

  • Pretesting new items and scales for internal consistency and factor structure.
  • Screening new measures for redundancy with existing ones (jingle-jangle fallacies) and choosing candidate scales for empirical discriminant-validity tests.
  • Searching for and mapping conceptual overlap between measures across literatures (see Synthometricon, a search engine built on SurveyBot3000).

Limitations

  • Sign bias. Polarity calibration improved the handling of negatively worded items, but predictions still lean positive: 67% of synthetic correlations were positive, compared with 59% of empirical ones. Negative synthetic estimates are more accurate than positive ones. When users can correct implausible signs by hand, item-level accuracy improves substantially.
  • Item-level noise. Single item-pair predictions are noisy. Prefer scale-level aggregates where possible, especially for scales of five or more items.
  • Domain coverage. The training corpus is skewed towards personality psychology. Accuracy is lower for clinical items (psychopathology is underrepresented) and for attitude items.
  • Response format. The model ignores response formats and cannot account for them. It was trained and validated on rating-scale (Likert-type) items.
  • Language and population. The model covers English-language items only. Most training data and the validation sample come from English-speaking, largely U.S. respondents.
  • Benchmark overlap. The training data include widely shared public datasets, such as SAPA (Condon et al.). Evaluations of this model on such data are not out-of-sample.

Training

Training started from sentence-transformers/all-mpnet-base-v2 and had two fine-tuning steps:

  1. Polarity calibration. The SNLI corpus (≈570,000 sentence pairs) was relabeled with a signed target: the pretrained model's cosine similarity for each pair, made negative for pairs labeled contradiction. The model was fine-tuned to predict this target, which teaches it to place statements that negate each other at negative cosine similarity.
  2. Domain adaptation. The model was then fine-tuned to predict empirical pairwise Pearson item correlations with CosineSimilarityLoss. The data were compiled from 29 public repositories with raw item-level data (N ≥ 300, rating-scale response format, item stems mapped to variables). Item stems were cleaned, standardized, and lowercased. Of 204,424 item pairs, 90,424 were retained so that every item was unique to a single partition: 74,339 for training, 6,832 for validation, and 9,253 for testing. A separate dataset (Bainbridge et al., 2022) was held out entirely, and all of its items were removed from the training partitions.

Hyperparameters were tuned with Optuna to maximize prediction accuracy on the test partition. The released checkpoint is trial ItemSimilarityTraining-20240502-trial12. Preprocessing details are at https://osf.io/bfhzy and hyperparameter details at https://osf.io/b5ua7.

  • Batch size 96 (775 steps per epoch), 8 epochs
  • Optimizer: AdamW, learning rate 5e-5, weight decay 0.00608, max grad norm 1
  • Scheduler: WarmupLinear, 620 warmup steps
  • 15% of transformer layers frozen
  • Loss: sentence_transformers.losses.CosineSimilarityLoss

Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 384, 'do_lower_case': False}) with Transformer model: MPNetModel
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_mean_tokens': True})
  (2): Normalize()
)

License

The SurveyBot3000 model is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0); see LICENSE. You may use, share, and adapt the model for research and other non-commercial purposes, provided you give appropriate credit. Commercial use of the model, its outputs, or derivatives (e.g., fine-tuned versions) is not permitted.

SurveyBot3000 is a free research preview developed with public research funding. No commercial licenses or other licensing options are available for it. If you are looking for a commercial solution, magnolia psychometrics offers separate commercial alternatives.

The data files in this repository (data.*.csv, similarities.*.csv) are provided without a license.

Citation

If you use SurveyBot3000, please cite:

@article{HommelArslan2025,
  title   = {Language Models Accurately Infer Correlations Between Psychological Items and Scales From Text Alone},
  author  = {Hommel, Bj{\"o}rn E. and Arslan, Ruben C.},
  journal = {Advances in Methods and Practices in Psychological Science},
  year    = {2025},
  volume  = {8},
  number  = {4},
  pages   = {25152459251377093},
  doi     = {10.1177/25152459251377093}
}

Authors and funding

Björn E. Hommel (Leipzig University; magnolia psychometrics GmbH) and Ruben C. Arslan (Leipzig University; Witten/Herdecke University) contributed equally. The research was funded by the German Research Foundation (DFG), grants 464488178 and 546323839.

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

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

GPU в ailist

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

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

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

Ревизия весов
be19beb

0 моделей