You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched existing ideas and did not find a similar one
I added a very descriptive title
I've clearly described the feature request and motivation for it
Feature request
Make transformers and sentence-transformers packages optional.
Motivation
I would like to use the ChatHuggingFace class through the inference-api. The model will thus be running on HuggingFace servers behind their API. I shouldn't have to install the heavy torch-dependent packages transformers and sentence-transformers to use Hugging Face models through the API.
Proposal (If applicable)
Make transformers and sentence-transformers extra dependencies, installable via pip install langchain-huggingface[transformers]`.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Checked
Feature request
Make
transformers
andsentence-transformers
packages optional.Motivation
I would like to use the
ChatHuggingFace
class through the inference-api. The model will thus be running on HuggingFace servers behind their API. I shouldn't have to install the heavytorch
-dependent packagestransformers
andsentence-transformers
to use Hugging Face models through the API.Proposal (If applicable)
Make
transformers
andsentence-transformers
extra dependencies, installable viapip install
langchain-huggingface[transformers]`.Beta Was this translation helpful? Give feedback.
All reactions