Comments (2)
Hey Lars! Nice catch, I think know exactly how this got introduced -- as a workaround for an issue in loading configs for Searcher upstream, we let it fetch the config from the checkpoint without overrides, but it means that it defaults to the generation-time "root"
!
I've pushed a workaround in #45, should be good to go!
(Also, to convert to langchain, simply doing:
RAG = RAGPretrainedModel.from_index(f"/mnt/index/.ragatouille/colbert/indexes/{INDEX_NAME}/")
retriever = RAG.as_langchain_retriever()
should be enough, passing the index name again isn't needed as the main RAG object has already initiated itself against the index)
from ragatouille.
Thanks for confirmation and quick resolution - confirmed working.
from ragatouille.
Related Issues (20)
- Windows support HOT 1
- add_to_index uses too much GPU RAM and crashes HOT 1
- What should I do if I want a blank, untrained ColBRET? HOT 1
- How to check the centroids and the data in the clusters?
- Feature Request : Please include server search code from official Colbert repository into this repository for production usages.
- How to do Indexing using from_index() on CPU only? HOT 4
- Trainer stuck HOT 7
- How to load a fine-tuned model? HOT 5
- About Fine-Tuning
- Stuck at " Loading segmented_maxsim_cpp extension (set COLBERT_LOAD_TORCH_EXTENSION_VERBOSE=True for more info)..." HOT 1
- ImportError: cannot import name 'PromptTemplate' from 'llama_index' (unknown location)
- Compatibility with LangChain 0.2.0
- How to extract embeddings generated by Colbert? HOT 2
- Idea: Make CorpusProcessor (and splitter_fn / preprocessing_fn) to have access to metadata
- Embedding Model with Existing Index
- How to index collection using generator function?
- Training script is not working as is
- Making deletions will alter the collection.json file, hence the search function unusable because we access the collection using list indices.
- can't access my finetuned model
- Use base model or sentence transformer
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 ragatouille.