aac_metrics.classes.spider module¶
- class SPIDEr(
- return_all_scores: bool =
True, - *,
- n: int =
4, - sigma: float =
6.0, - cache_path: str | Path | None =
None, - java_path: str | Path | None =
None, - tmp_path: str | Path | None =
None, - n_threads: int | None =
None, - java_max_memory: str =
'8G', - timeout: None | int | Iterable[int] =
None, - verbose: int =
0, Bases:
AACMetric[tuple[SPIDErScores,SPIDErScores] |Tensor]SPIDEr class.
For more information, see
spider().- compute() tuple[SPIDErScores, SPIDErScores] | Tensor[source]¶
- extra_repr() str[source]¶
Return the extra representation of the module.
To print customized extra information, you should re-implement this method in your own modules. Both single-line and multi-line strings are acceptable.
- update(
- candidates: list[str],
- mult_references: list[list[str]],