chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:39:21 +08:00
commit bc34f6df14
1149 changed files with 328099 additions and 0 deletions
@@ -0,0 +1,16 @@
from dataclasses import dataclass, field
from FlagEmbedding.abc.evaluation.arguments import AbsEvalArgs
@dataclass
class BrightEvalArgs(AbsEvalArgs):
"""
Argument class for Bright evaluation.
"""
task_type: str = field(
default="short", metadata={"help": "The task type to evaluate on. Available options: ['short', 'long']. Default: short", "choices": ["short", "long"]}
)
use_special_instructions: bool = field(
default=True, metadata={"help": "Whether to use specific instructions in `prompts.py` for evaluation. Default: True"}
)