(self, prompt: str, **kwargs: str)
| 126 | |
| 127 | class TogetherComputerChat(PromptStyle): |
| 128 | def apply(self, prompt: str, **kwargs: str) -> str: |
| 129 | return f'<human>: {prompt}\n<bot>:' |
| 130 | |
| 131 | def stop_tokens(self, tokenizer: 'Tokenizer') -> Tuple[List[int], ...]: |
| 132 | lt, gt = tokenizer.token_to_id('<'), tokenizer.token_to_id('>:') |
nothing calls this directly
no outgoing calls
no test coverage detected