Views
No views yet
| Property | Value |
|---|---|
| Stage 1 | Multilingual pretraining — SemEval MWAHAHA |
| Stage 2 | CLEF-JOKER Task 4 — English |
| Backbone | Qwen3-32B (QLoRA 4-bit) |
| LoRA r / alpha | 16 / 16 |
| Task | Dual-sense pun-brief generation |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3import torch
4
5tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-32B")
6model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-32B", torch_dtype=torch.bfloat16, device_map="auto")
7model = PeftModel.from_pretrained(model, "Jayi2424/HumorGen_JOKER_EN_32B")
8
9pun_word = "bark"
10sense_1 = "the sound a dog makes"
11sense_2 = "the outer covering of a tree"
12
13prompt = (
14 "<|im_start|>system\n"
15 "You are an expert at writing puns. Given a pun word and two meanings, write a "
16 "sentence that uses both senses naturally.\n<|im_end|>\n"
17 "<|im_start|>user\n"
18 f"Pun word: {pun_word}\nSense 1: {sense_1}\nSense 2: {sense_2}\n<|im_end|>\n"
19 "<|im_start|>assistant\n"
20)
21inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
22outputs = model.generate(**inputs, max_new_tokens=80, temperature=0.8, top_p=0.95)
23print(tokenizer.decode(outputs[0], skip_special_tokens=True))1@misc{ajayi2026humorgen,
2 title = {HumorGen: Cognitive Synergy for Humor Generation in Large Language
3 Models via Persona-Based Distillation},
4 author = {Ajayi, Edward and others},
5 year = {2026},
6 eprint = {2604.09629},
7 archivePrefix = {arXiv},
8 primaryClass = {cs.CL},
9 url = {https://arxiv.org/abs/2604.09629}
10}
11
12@inproceedings{ajayi2026joker,
13 title = {HumorGen at CLEF 2026 JOKER Task 4: Cross-Lingual Constrained
14 Pun Generation via the Cognitive Synergy Framework},
15 author = {Ajayi, Edward and others},
16 booktitle = {Working Notes of CLEF 2026},
17 year = {2026},
18 url = {https://edwardajayi.github.io/assets/papers/HumorGen-JOKER.pdf}
19}