llama.cpp
convert : refactor vocab selection logic
#6355
Merged

convert : refactor vocab selection logic #6355

cebtenzzre merged 13 commits into master from ceb/fix-convert-bpe-hf
cebtenzzre
cebtenzzre convert : remove redundant annotations
dd1a60c5
cebtenzzre convert : remove unused vocab attributes
72e95e33
cebtenzzre convert : vocab inheritance instead of duck typing
9803bb72
cebtenzzre convert-persimmon : typing fixup
03f0c2e8
cebtenzzre convert : do not allow "no_vocab" in --vocab-types
d852c61d
cebtenzzre convert : use context managers with most file handles
b2b63d13
cebtenzzre convert : fix incorrect added token dedup in BpeVocab
d12a63ca
cebtenzzre convert : use appropriate exception types
8d2ac2cc
cebtenzzre convert-hf : fix type of tokens after #3252
2e6fd63b
cebtenzzre convert : refactor vocab selection logic
79852ab8
cebtenzzre convert-hf : HfVocab -> LlamaHfVocab
ebad773e
cebtenzzre llama : update vocab type descriptions to reflect actual meaning
80e9fc7c
cebtenzzre cebtenzzre requested a review from ggerganov ggerganov 1 year ago
ggerganov
ggerganov approved these changes on 2024-03-28
cebtenzzre convert : appease flake8
d09e4ac6
cebtenzzre cebtenzzre merged be55134a into master 1 year ago
cebtenzzre cebtenzzre deleted the ceb/fix-convert-bpe-hf branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone