neulab/prompt2model

tiktoken usage

Open

#341 aberto em 8 de set. de 2023

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Python (137 forks)batch import
good first issue

Métricas do repositório

Stars
 (1.663 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador