Extract additional fields from models.dev into `_model_data_to_profile`: `name`, `status`, `release_date`, `last_updated`, `open_weights`, `attachment`, `temperature` Move the model profile refresh logic from an inline bash script in the GitHub Actions workflow into a `make refresh-profiles` target in `libs/model-profiles/Makefile`. This makes it runnable locally with a single command and keeps the provider map in one place instead of duplicated between CI and developer docs.
langchain-huggingface
Looking for the JS/TS version? Check out LangChain.js.
Quick Install
pip install langchain-huggingface
Note: The base install does not include
sentence-transformersortransformers. If you plan to useHuggingFaceEmbeddingsorHuggingFacePipelinefor local inference, install the[full]extra which includessentence-transformers>=5.2.0andtransformers>=5.0.0:pip install langchain-huggingface[full]Migrating from
langchain-community? Note thatlangchain-communityacceptedsentence-transformers>=2.2.0, butlangchain-huggingface[full]requires>=5.2.0. If your project pins an older version, upgrade it:pip install "sentence-transformers>=5.2.0"
🤔 What is this?
This package contains the LangChain integrations for Hugging Face related classes.
📖 Documentation
For full documentation, see the API reference. For conceptual guides, tutorials, and examples on using these classes, see the LangChain Docs.
📕 Releases & Versioning
See our Releases and Versioning policies.
💁 Contributing
As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.
For detailed information on how to contribute, see the Contributing Guide.