Views
No views yet
1from transformers import pipeline
2
3question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
4generator = pipeline("text-generation", model="KonradBRG/Qwen2.5-7B-Instruct-Jokester-Chinese", device="cuda")
5output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
6print(output["generated_text"])1@inproceedings{bruggemann-hou-2026-team,
2 title = {Team {T}{\"u}{LK} at {S}em{E}val-2026 Task 1: Humor Generation with Qwen and Group Relative Policy Optimization},
3 author = {Br{\"u}ggemann, Konrad and
4 Hou, Luting},
5 editor = "Kochmar, Ekaterina and
6 Ghosh, Debanjan and
7 North, Kai and
8 Komachi, Mamoru",
9 booktitle = "Proceedings of the 20th {I}nternational {W}orkshop on {S}emantic {E}valuation (2026)",
10 month = jul,
11 year = "2026",
12 address = "San Diego, California, USA",
13 publisher = "Association for Computational Linguistics",
14 url = "https://aclanthology.org/2026.semeval-1.67/",
15 doi = "10.18653/v1/2026.semeval-1.67",
16 pages = "463--474",
17 ISBN = "979-8-89176-414-9",
18 abstract = "This paper addresses the challenge of computational humor generation proposed in SemEval-2026 Task 1: Humor Generation. Our approach leverages Group Relative Policy Optimization, with an LLM serving as the policy and a custom joke rating model providing a reward signal. We demonstrate that this framework is an effective and computationally efficient approach, reliably producing genuinely funny content that adheres to task constraints."
19}1@article{shao2024deepseekmath,
2 title = {{DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models}},
3 author = {Zhihong Shao and Peiyi Wang and Qihao Zhu and Runxin Xu and Junxiao Song and Mingchuan Zhang and Y. K. Li and Y. Wu and Daya Guo},
4 year = 2024,
5 eprint = {arXiv:2402.03300},
6}
71@misc{vonwerra2022trl,
2 title = {{TRL: Transformer Reinforcement Learning}},
3 author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
4 year = 2020,
5 journal = {GitHub repository},
6 publisher = {GitHub},
7 howpublished = {\url{https://github.com/huggingface/trl}}
8}