r"""Return token_counter of the current model. Returns: BaseTokenCounter: The token counter following the model's tokenization style.
(self)
| 128 | |
| 129 | @property |
| 130 | def token_counter(self) -> BaseTokenCounter: |
| 131 | r"""Return token_counter of the current model. |
| 132 | |
| 133 | Returns: |
| 134 | BaseTokenCounter: The token counter following the model's |
| 135 | tokenization style. |
| 136 | """ |
| 137 | return self.current_model.token_counter |
| 138 | |
| 139 | def add_strategy(self, name: str, strategy_fn: Callable): |
| 140 | r"""Add a scheduling strategy method provided by user in case when none |
nothing calls this directly
no outgoing calls
no test coverage detected