We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f37b6c commit 1f10c50Copy full SHA for 1f10c50
gguf-py/gguf/gguf_writer.py
@@ -935,6 +935,9 @@ def add_eot_token_id(self, id: int) -> None:
935
def add_eom_token_id(self, id: int) -> None:
936
self.add_uint32(Keys.Tokenizer.EOM_ID, id)
937
938
+ def add_classifier_output_labels(self, labels: Sequence[str]) -> None:
939
+ self.add_array(Keys.Classifier.OUTPUT_LABELS.format(arch=self.arch), labels)
940
+
941
# for vision models
942
943
def add_clip_has_vision_encoder(self, value: bool) -> None:
0 commit comments