Views
No views yet
| Model | Parameters | Hugging Face |
|---|---|---|
| GenRubric-4B | 4B | chenyifan0929/GenRubric-4B |
| GenRubric-8B | 8B | chenyifan0929/GenRubric-8B |
| GenRubric-14B | 14B | chenyifan0929/GenRubric-14B |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "chenyifan0929/GenRubric-8B"
4
5tokenizer = AutoTokenizer.from_pretrained(model_name)
6
7model = AutoModelForCausalLM.from_pretrained(
8 model_name,
9 torch_dtype="auto",
10 device_map="auto",
11)
12
13query = """
14A company terminates an employee after discovering that the employee
15had provided false information during recruitment. The employee argues
16that the false information was unrelated to job performance and that
17the termination was unlawful. Analyze whether the termination is legally justified.
18"""
19
20messages = [
21 {
22 "role": "user",
23 "content": f"Generate a comprehensive evaluation rubric for the following query:\n\n{query}",
24 }
25]
26
27inputs = tokenizer.apply_chat_template(
28 messages,
29 add_generation_prompt=True,
30 tokenize=True,
31 return_dict=True,
32 return_tensors="pt",
33).to(model.device)
34
35outputs = model.generate(
36 **inputs,
37 max_new_tokens=2048,
38)
39
40response = tokenizer.decode(
41 outputs[0][inputs["input_ids"].shape[-1]:],
42 skip_special_tokens=True,
43)
44
45print(response)1@misc{chen2026genrubricselfevolvingrubricgeneration,
2 title={GenRubric: Self-Evolving Rubric Generation for Scalable LLM Evaluation},
3 author={Yifan Chen and Haitao Li and Qingyao Ai and Fengbin Zhu and Tat-Seng Chua and Min Zhang and Yiqun Liu},
4 year={2026},
5 eprint={2608.29856},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL},
8 url={https://arxiv.org/abs/2608.29856},
9}