mirror of https://github.com/hwchase17/langchain
HuggingFacePipeline: Forward model_kwargs. (#696)
Since the tokenizer and model are constructed manually, model_kwargs needs to be passed to their constructors. Additionally, the pipeline has a specific named parameter to pass these with, which can provide forward compatibility if they are used for something other than tokenizer or model construction.pull/701/head
parent
3a30e6daa8
commit
36b6b3cdf6
Loading…
Reference in New Issue