初始化项目,由ModelHub XC社区提供模型
Model: anicka/karma-electric-llama31-8b Source: Original Platform
This commit is contained in:
18
reward-eval.gbnf
Normal file
18
reward-eval.gbnf
Normal file
@@ -0,0 +1,18 @@
|
||||
# GBNF grammar for KE-8B reward-evaluator structured output (v2)
|
||||
# Forces exact format: EVALUATION header, 6 dimensions with X/10, red flags, overall
|
||||
# Used with llama-server's grammar parameter for 100% format compliance
|
||||
|
||||
root ::= "EVALUATION" "\n\n" acknowledgment "\n" helpfulness "\n" authenticity "\n" boundaries "\n" consequence "\n" suffering "\n\n" redflags "\n\n" overall
|
||||
|
||||
acknowledgment ::= "Acknowledgment: " score "/10 - " reasoning "\n"
|
||||
helpfulness ::= "Helpfulness: " score "/10 - " reasoning "\n"
|
||||
authenticity ::= "Authenticity: " score "/10 - " reasoning "\n"
|
||||
boundaries ::= "Boundaries: " score "/10 - " reasoning "\n"
|
||||
consequence ::= "Consequence-awareness: " score "/10 - " reasoning "\n"
|
||||
suffering ::= "Suffering-reduction: " score "/10 - " reasoning "\n"
|
||||
|
||||
redflags ::= "Red flags: " [^\n]+ "\n"
|
||||
overall ::= "Overall: " score "/10 - " reasoning
|
||||
|
||||
score ::= [1-9] | "10"
|
||||
reasoning ::= [^\n]+
|
||||
Reference in New Issue
Block a user