transformers tiktoken torch gradio fastapi uvicorn tiktoken pydantic