Views
No views yet
pip install setfit1from setfit import SetFitModel
2
3# Download from the 🤗 Hub
4model = SetFitModel.from_pretrained("automatedMotiveCoder/setfit")
5# Run inference
6preds = model("I loved the spiderman movie!")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.| Commit-Hash | SemVer | Comment |
|---|---|---|
| 738833d | 1.0.0 | Version at submission |
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.01@inproceedings{bredeAutomaticallyCodingImplicit2025,
2 title = {Automatically {{Coding Implicit Motives}} in {{Picture Story Exercises}}: {{The Automated Motive Coder}}},
3 shorttitle = {Automatically {{Coding Implicit Motives}} in {{Picture Story Exercises}}},
4 author = {Brede, Max and Sch{\"o}nbrodt, Felix and Hagemeyer, Birk and Lerche, Veronika},
5 year = {2025},
6 month = jun,
7 publisher = {ICWSM},
8 address = {US},
9 urldate = {2025-06-23},
10 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.},
11 langid = {english}
12}