From fc66a32c6f9199022cac0dadf3d3d27d1bba98df Mon Sep 17 00:00:00 2001 From: mrbean <43734688+sam-h-bean@users.noreply.github.com> Date: Mon, 19 Dec 2022 11:10:17 -0500 Subject: [PATCH] fix docstring (#383) ![Screenshot 2022-12-19 at 11 06 48 AM](https://user-images.githubusercontent.com/43734688/208468970-5cb9bafb-f535-486e-b41f-312a2f9ffffb.png) --- langchain/llms/huggingface_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/llms/huggingface_pipeline.py b/langchain/llms/huggingface_pipeline.py index 84b44c766b..eab476ce9f 100644 --- a/langchain/llms/huggingface_pipeline.py +++ b/langchain/llms/huggingface_pipeline.py @@ -26,7 +26,7 @@ class HuggingFacePipeline(LLM, BaseModel): model_id="gpt2", task="text-generation" ) Example passing pipeline in directly: - .. code-block:: python + .. code-block:: python from langchain.llms.huggingface_pipeline import HuggingFacePipeline from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline