AI时代:大模型开发framework之langchain和huggingface

langchain: 提供了大模型相关应用开发的所有便利。
https://python.langchain.com/docs/get_started/introduction

Build your LLM application with LangChain
Trace your LLM application with LangSmith
Serve your LLM application with LangServe

cookbook:
Prompt + LLM
RAG
Multiple chains
Querying a SQL DB
Agents
Code writing
Routing by semantic similarity
Adding memory
Adding moderation
Managing prompt size
Using tools

huggingface:
https://huggingface.co/
提供了开源大模型的排行榜, 相当于AI 大模型的github。可以自由发布,下载,讨论开源大模型。
同时也是常用的数据集的分享平台。
最后我们还可以发布自己的大模型应用, 或者使用其他开发者发布的大模型应用。

https://huggingface.co/models (查找优秀的开源大模型)
https://huggingface.co/spaces (查找或者参考其他开发者的大模型应用)

posted @ 2024-03-06 21:39  iTech  阅读(77)  评论(0编辑  收藏  举报