--- language: - th - en license: mit base_model: Qwen/Qwen2.5-1.5B-Instruct tags: - lora - peft - emoji - text-classification - thai - cursed pipeline_tag: text-generation --- # freaky đŸĢĻđŸ”Ĩ Cursed emoji classifier. Takes a chat message, returns 2–4 emoji that make it worse. Built for [Stupid Hackathon X](https://stupidhackathon.com) (Oct 10–11 2026, Bangkok). ## Modes | Mode | What it does | |------|-------------| | `freaky` | makes innocent messages sound suggestive | | `passive_aggressive` | adds veiled hostility | | `wrong_occasion` | wildly inappropriate celebration | | `unhinged` | chaos, threat, or existential dread | ## Usage ```python from transformers import AutoModelForCausalLM, AutoTokenizer import torch model = AutoModelForCausalLM.from_pretrained("philavery-b/freaky") tokenizer = AutoTokenizer.from_pretrained("philavery-b/freaky") def label(mode: str, message: str) -> str: chat = [ {"role": "system", "content": f"You label messages with emoji that make them maximally cursed.\nMode: {mode}\nOutput 2–4 emoji, space-separated. Nothing else."}, {"role": "user", "content": f"[{mode}] {message}"}, ] input_ids = tokenizer.apply_chat_template(chat, return_tensors="pt", add_generation_prompt=True) out = model.generate(input_ids, max_new_tokens=20, temperature=0.0, do_sample=False) return tokenizer.decode(out[0][input_ids.shape[-1]:], skip_special_tokens=True).strip() print(label("freaky", "ā¸ā¸´ā¸™ā¸‚āš‰ā¸˛ā¸§ā¸ā¸ąā¸™ā¸Ąā¸ąāš‰ā¸ĸ")) # → 🍜đŸĢĻđŸ”Ĩ print(label("unhinged", "The server is down")) # → đŸ’ŖđŸ’€đŸŒ‹ print(label("passive_aggressive", "ok 👍")) # → 🙂😊✨ ``` ## Training - **Base model:** `Qwen/Qwen2.5-1.5B-Instruct` - **Method:** LoRA (r=16, Îą=32, targets q/k/v/o projections) - **Data:** ~600 examples — 150 messages × 4 modes (Thai + English, 50/50) - **Epochs:** 2 (best checkpoint by eval loss) - **Eval loss:** 0.124 ¡ **Token accuracy:** 96.9% ## Vocab 135 emoji total across 4 mode pools: | Mode | Pool size | |------|-----------| | `freaky` | 42 | | `passive_aggressive` | 48 | | `wrong_occasion` | 39 | | `unhinged` | 74 | ## Limitations - Small dataset (600 examples) — may overfit to specific phrasing patterns - Outputs constrained to trained vocab; won't generalize to arbitrary emoji - Vibes-based labeling — ground truth is subjective ## Citation ``` Built at Stupid Hackathon X, Bangkok 2026. ```