Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update method docs

davidmezzettib23aba81160b
diff --git a/src/python/txtai/pipeline/hfpipeline.py b/src/python/txtai/pipeline/hfpipeline.py
index 9427f6ff..5e781156 100644
--- a/src/python/txtai/pipeline/hfpipeline.py
+++ b/src/python/txtai/pipeline/hfpipeline.py
@@ -20,7 +20,7 @@ class HFPipeline(Tensors):
Args:
task: pipeline task or category
- path: optional path to model, accepts Hugging Face model hub id or local path,
+ path: optional path to model, accepts Hugging Face model hub id, local path or (model, tokenizer) tuple.
uses default model for task if not provided
quantize: if model should be quantized, defaults to False
gpu: True/False if GPU should be enabled, also supports a GPU device id