Instructions to use Jayi2424/HumorGen-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Jayi2424/HumorGen-7B with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen2.5-7b-instruct-unsloth-bnb-4bit") model = PeftModel.from_pretrained(base_model, "Jayi2424/HumorGen-7B") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -10,13 +10,14 @@ tags:
|
|
| 10 |
- sft
|
| 11 |
- qwen2
|
| 12 |
- peft
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# HumorGen-7B
|
| 16 |
|
| 17 |
A 7B humor generation model fine-tuned from [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) using the **Cognitive Synergy Framework** — six psychologically-grounded AI personas generate and rank joke candidates, and only the best make it into training data. The result is a compact model that outperforms Qwen-2.5-32B and GPT-OSS-120B on automated humor evaluation.
|
| 18 |
|
| 19 |
-
> 📄 [HumorGen: Cognitive Synergy for Humor Generation in Large Language Models via Persona-Based Distillation](https://
|
| 20 |
|
| 21 |
---
|
| 22 |
|
|
@@ -94,11 +95,13 @@ print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_toke
|
|
| 94 |
## Citation
|
| 95 |
|
| 96 |
```bibtex
|
| 97 |
-
@misc{
|
| 98 |
-
title
|
| 99 |
-
author
|
| 100 |
-
year
|
| 101 |
-
|
| 102 |
-
|
|
|
|
|
|
|
| 103 |
}
|
| 104 |
```
|
|
|
|
| 10 |
- sft
|
| 11 |
- qwen2
|
| 12 |
- peft
|
| 13 |
+
- arxiv:2604.09629
|
| 14 |
---
|
| 15 |
|
| 16 |
# HumorGen-7B
|
| 17 |
|
| 18 |
A 7B humor generation model fine-tuned from [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) using the **Cognitive Synergy Framework** — six psychologically-grounded AI personas generate and rank joke candidates, and only the best make it into training data. The result is a compact model that outperforms Qwen-2.5-32B and GPT-OSS-120B on automated humor evaluation.
|
| 19 |
|
| 20 |
+
> 📄 [HumorGen: Cognitive Synergy for Humor Generation in Large Language Models via Persona-Based Distillation](https://arxiv.org/pdf/2604.09629)
|
| 21 |
|
| 22 |
---
|
| 23 |
|
|
|
|
| 95 |
## Citation
|
| 96 |
|
| 97 |
```bibtex
|
| 98 |
+
@misc{ajayi2026humorgen,
|
| 99 |
+
title = {HumorGen: Cognitive Synergy for Humor Generation in Large Language Models via Persona-Based Distillation},
|
| 100 |
+
author = {Ajayi, Edward and Mitra, Prasenjit},
|
| 101 |
+
year = {2026},
|
| 102 |
+
eprint = {2604.09629},
|
| 103 |
+
archivePrefix = {arXiv},
|
| 104 |
+
primaryClass = {cs.CL},
|
| 105 |
+
url = {https://arxiv.org/pdf/2604.09629}
|
| 106 |
}
|
| 107 |
```
|