smolagents torch gradio math transformer langchain_community datasets langchain pandas numpy re json os