neulab/prompt2model

tiktoken usage

Open

#341 创建于 2023年9月8日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (137 fork)batch import
good first issue

仓库指标

Star
 (1,663 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

https://github.com/neulab/prompt2model/pull/335#issuecomment-1711578817

Another thing is that I am not sure that all the API-based models use tiktoken to compute input tokens. Thus, the num of input tokens may slightly differ between these models. But that's minimal.

贡献者指南