(self, huggingface_model_name: str)
| 11 | model: T5ForConditionalGeneration = None |
| 12 | |
| 13 | def __init__(self, huggingface_model_name: str) -> None: |
| 14 | super().__init__() |
| 15 | self.model_name = huggingface_model_name |
| 16 | self.tokenizer = T5Tokenizer.from_pretrained(self.model_name) |
| 17 | self.model = T5ForConditionalGeneration.from_pretrained(self.model_name) |
| 18 | |
| 19 | @property |
| 20 | def _llm_type(self) -> str: |
nothing calls this directly
no outgoing calls
no test coverage detected