Skip to content

FIM/Infill changes vs. model support & GGUF regeneration etc.? #6708

Answered by ggerganov
ghchris2021 asked this question in Q&A
Discussion options

You must be logged in to vote

Is there a summary of status of which models are presently supported for the FIM use case given the recent changes?

All models that during conversion write special FIM tokens to the GGUF header should be supported:

special_vocab = gguf.SpecialVocab(self.dir_model, load_merges=False,
special_token_types = ['prefix', 'suffix', 'middle', 'eot'])
special_vocab._set_special_token("prefix", 32007)
special_vocab._set_special_token("suffix", 32008)
special_vocab._set_special_token("middle", 32009)
special_vocab._set_special_token("eot", 32010)
special_vocab.add_to_gguf(self.gguf_writer)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ghchris2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants