MCPcopy Create free account
hub / github.com/TabbyML/tabby / save

Method save

python/ctranslate2/specs/model_spec.py:612–617  ·  view source on GitHub ↗
(self, output_dir: str)

Source from the content-addressed store, hash-verified

610 )
611
612 def save(self, output_dir: str) -> None:
613 # Save the vocabulary.
614 _save_vocabulary(output_dir, "vocabulary", self._vocabulary)
615
616 # Save the rest of the model.
617 super().save(output_dir)
618
619
620def _save_vocabulary(output_dir, name, tokens):

Callers

nothing calls this directly

Calls 2

_save_vocabularyFunction · 0.85
saveMethod · 0.45

Tested by

no test coverage detected