(self, model_path)
| 97 | |
| 98 | class Encoder_SP: |
| 99 | def __init__(self, model_path): |
| 100 | self.sp = spm.SentencePieceProcessor() |
| 101 | self.sp.Load(model_path) |
| 102 | |
| 103 | def encode(self, text): |
| 104 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected