llama : improve token type support (#2668)

* Merge tokenizer fixes into the gguf branch.

* Add test vocabularies

* Adapt convert-new.py (and fix a clang-cl compiler error on windows)

* Improved tokenizer test

But does it work on MacOS?

* Improve token type support

- Added @klosax code to convert.py
- Improved token type support in vocabulary

* Exclude platform dependent tests

* More sentencepiece compatibility by eliminating magic numbers

* Restored accidentally removed comment
This commit is contained in:
goerch
2023-08-21 17:56:02 +02:00
committed by GitHub
parent e06cbcee73
commit 8d177eddeb
4 changed files with 94 additions and 98 deletions

Binary file not shown.