abetlen / abetlen/llama-cpp-python
model.tokenize result is different from tranformers tokenizer result
オープン
- 主要言語
- Python
- スター
- 10.6k
- フォーク
- 1.4k
- PR マージ指標
- PR 指標を取得中
説明
model.tokenize result is different from tranformers tokenizer result
using the same mode Qwen1.5-7B
input_ids1 = model.tokenize(prompt.encode("utf-8"))
input_ids2 = tokenizer([prompt], padding=False)["input_ids"]
input_ids1 != input_ids2
コントリビューションガイド
評価
この issue はまだ評価されていません。