Text Generation
PEFT
Safetensors
Thai
English
qwen2
lora
emoji
text-classification
thai
cursed
conversational
Run this model with HF Jobs
Run philavery-b/freaky on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/philavery-b/freaky. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/philavery-b/freaky on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/philavery-b/freaky. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/philavery-b/freaky. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use philavery-b/freaky with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use philavery-b/freaky with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from philavery-b/freaky: direct link, hf CLI and curl.
- Browser
- Download file 2.46 kB
-
https://huggingface.co/philavery-b/freaky/resolve/main/README.md
- Command line
-
hf download hf://philavery-b/freaky/README.md
-
curl -L -o README.md https://huggingface.co/philavery-b/freaky/resolve/main/README.md
2.46 kB
| 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. | |
| ``` | |