Views
No views yet

karen, very_negative, negative, neutral, positive, very_positive.TL;DR
- Task: 6-class sentiment for short texts (support chats & reviews).
- Domain: Realistic + synthetic “Karen-verse” messages.
- Backbone: ModernBERT.
- Trainer: 🤗 AutoTrain (author clicked “Go”, whispered a small prayer, and here we are).
- Style: Robust on sarcasm, emojis, and all-caps “NEVER SHOPPING HERE AGAIN”.
transformers library only supports the ModernBERT architecture starting from 4.48.0, make sure you have a recent version installed:pip install "transformers>=4.48.0"flash_attn installed. It is not mandatory.pip install flash-attn1from transformers import pipeline
2
3clf = pipeline(
4 "text-classification",
5 model="JosefGoldstein/modernBERT-base-AIvsKaren-sentiment-6class",
6 device_map="auto"
7)
8
9samples = [
10 # karen
11 "I want to speak to your manager's manager's MANAGER! 🤬",
12 # very_negative
13 "This product gave me the ick, I'm going to return it immediately!",
14 # negative
15 "I'm giving this a solid meh out of ten.",
16 # neutral
17 "Quick question: is this made from sustainable materials?",
18 # positive
19 "My cat gives it a thumbs up. Which, if you know my cat, is a big deal.",
20 # very_positive
21 "BRUH, this goes hard — makes me smile. legit game-changer! 👌"
22]
23
24preds = clf(samples)
25for text, pred in zip(samples, preds):
26 top = max(pred, key=lambda x: x["score"])
27 print(text)
28 print(f" -> {top['label']} ({top['score']:.3f})\n")
291software{modernbert_ai_vs_karen_2025,
2 title = {ModernBERT AI vs. Karen Sentiment Classifer},
3 author = {Goldstein, Josef},
4 year = {2025},
5 url = {https://huggingface.co/JosefGoldstein/modernBERT-base-AIvsKaren-sentiment-6class}
6}