mirror of https://github.com/hwchase17/langchain
docs: HFEmbeddings: Add more information to model_kwargs/encode_kwargs (#19594)
- **Description:** Be more explicit with the `model_kwargs` and `encode_kwargs` for `HuggingFaceEmbeddings`. - **Issue:** - - **Dependencies:** - I received some reports by my users that they didn't realise that you could change the default `batch_size` with `HuggingFaceEmbeddings`, which may be attributed to how the `model_kwargs` and `encode_kwargs` don't give much information about what you can specify. I've added some parameter names & links to the Sentence Transformers documentation to help clear it up. Let me know if you'd rather have Markdown/Sphinx-style hyperlinks rather than a "bare URL". - Tom Aarsenpull/19603/head
parent
18e6f9376d
commit
e0a1278d2b
Loading…
Reference in New Issue