Comments (4)
Hi David,
it works fine now. But this isn't mentoined in your Docs.
from txtai.
Hmm ->
path: model path
example:
llm:
path: Open-Orca/Mistral-7B-OpenOrca
torch_dtype: torch.bfloat16
So you have to guess, that in front of the path you have to write that it's from huggingface if you use litellm.
One or two sentence more would clear the situation.
from txtai.
What happens if you do this:
llm = LLM(MODEL_NAME,method="litellm", api_base=api_base)
or this:
llm = LLM(path=MODEL_NAME,method="litellm", api_base=api_base)
from txtai.
Please refer to the LLM pipeline documentation.
from txtai.
Related Issues (20)
- postgresql issue related to scoring, under load HOT 4
- Add close methods to ANN and Graph
- Fix issue with database.search and empty scores
- Add Postgres Full Text Scoring
- import Embeddings takes too long time HOT 5
- txtai[pipeline] fasttext build fails miserably HOT 3
- Segmetation fault on macOS Sonoma 14.4.1 (MacBook Pro Apple M3 chip) HOT 1
- Add support for chat messages in LLM pipeline
- Update HFOnnx pipeline to default to opset 14
- Fix incompatibility with ONNX models and transformers>=4.41.0
- Can't run example 55_Generate_knowledge_with_Semantic_Graphs_and_RAG.ipynb HOT 3
- Update finalizers to check object attributes haven't already been cleared
- 'ollama' unable to resolve HOT 2
- Update LLM pipeline to support GPU parameter with llama.cpp backend
- Add support for LiteLLM vector backend
- Add support for llama.cpp vector backend
- Refactor vector module to support additional backends
- Add notebook showing to run RAG with llama.cpp and LiteLLM
- Fix incompatibility between latest skl2onnx and txtai
- AttributeError: 'Embeddings' object has no attribute 'embed_documents' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from txtai.