tqdm numpy torch tiktoken transformers requests