Downloads · 30 days
235
6% of all-time downloads
automatedMotiveCoder/setfit
setfit is a text classification model from automatedMotiveCoder. Use it when you need a label for a piece of text. It is set up for setfit. The card lists the license as mit.
This is a SetFit model that can be used for Text Classification. This SetFit model uses a finetuned version of intfloat/multilingual-e5-large as the Sentence Transformer embedding model. A OneVsRestClassifier instance…
Downloads · 30 days
235
6% of all-time downloads
All-time downloads
4.1K
Public
Parameters
560M
2.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.2 GB · 99%
From the Hugging Face model README
This is a SetFit model that can be used for Text Classification. This SetFit model uses a finetuned version of intfloat/multilingual-e5-large as the Sentence Transformer embedding model. A OneVsRestClassifier instance with SGDClassifier estimators is used for classification.
The model has been trained using an efficient few-shot learning technique that involves:
First install the SetFit library:
pip install setfit
Then you can load this model and run inference.
from setfit import SetFitModel
# Download from the 🤗 Hub
model = SetFitModel.from_pretrained("automatedMotiveCoder/setfit")
# Run inference
preds = model("I loved the spiderman movie!")
When using the predict_proba() method, the predicted probabilities for
all classes might not sum to 1. This is because the model loaded uses a
One-vs-Rest classification approach, which means the model treats each
class as a binary classification problem. As a result, the probabilities
are independent, and their sum may exceed or fall below 1.
For more details on how to use this model, see our blogpost.
The most recent version is the version at submission to the NLPSI workshop at the ICWSM 2025 in Kopenhagen.
For all Versions see this table:
| Commit-Hash | SemVer | Comment |
|---|---|---|
| 738833d | 1.0.0 | Version at submission |
To use the model with a specific version, add the revision argument to the model-loading:
from setfit import SetFitModel
# Download from the 🤗 Hub
model = SetFitModel.from_pretrained("automatedMotiveCoder/setfit",
revision="738833d") # Version 1.0.0
<!--
### Downstream Use
*List how someone could finetune this model on their own dataset.*
-->
<!--
### Out-of-Scope Use
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
-->
<!--
## Bias, Risks and Limitations
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
-->
<!--
### Recommendations
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
-->
@inproceedings{bredeAutomaticallyCodingImplicit2025,
title = {Automatically {{Coding Implicit Motives}} in {{Picture Story Exercises}}: {{The Automated Motive Coder}}},
shorttitle = {Automatically {{Coding Implicit Motives}} in {{Picture Story Exercises}}},
author = {Brede, Max and Sch{\"o}nbrodt, Felix and Hagemeyer, Birk and Lerche, Veronika},
year = {2025},
month = jun,
publisher = {ICWSM},
address = {US},
urldate = {2025-06-23},
abstract = {The Picture Story Exercise (PSE) is a projective measure in personality psychology where individuals create narratives based on ambiguous images. Traditionally, the coding of these narratives has been labor-intensive. We introduce the Automated Motive Coder (AMC), which employs recent advances in natural language processing and machine learning to automate the coding of PSE narratives. Trained on an extensive dataset, the AMC demonstrates accuracy comparable to expert coders for both original and translated texts. The model offers support for multiple languages that were absent in prior methods while improving in accuracy and speed. To illustrate its effectiveness, we tested and successfully replicated the established psychological effect of gender difference in the affiliation motive. The AMC can be utilized through established machine learning tools, offering a pragmatic and reliable method for coding across several languages. This tool provides an option to reduce the workload involved in PSE coding, promoting efficiency and consistency in motive assessment.},
langid = {english}
}
<!--
## Glossary
*Clearly define terms in order to be accessible across audiences.*
-->
<!--
## Model Card Authors
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
-->
<!--
## Model Card Contact
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
-->