MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT-LLM / compute_score

Method compute_score

tensorrt_llm/evaluate/interface.py:52–54  ·  view source on GitHub ↗
(self, outputs: List[RequestOutput], references: List[str],
                      *auxiliaries)

Source from the content-addressed store, hash-verified

50
51 @abstractmethod
52 def compute_score(self, outputs: List[RequestOutput], references: List[str],
53 *auxiliaries) -> float:
54 raise NotImplementedError()
55
56 def do_apply_chat_template(self, llm: Any,
57 prompt: Union[str, List[dict]]) -> str:

Callers 1

evaluateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected