antoinelouis commited on
Commit
c0888b8
1 Parent(s): 075dfca

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -130,7 +130,7 @@ Using the model on a collection of passages typically involves the following ste
130
 
131
  - **Step 1: Indexing.** This step encodes all passages into matrices, stores them on disk, and builds data structures for efficient search. (⚠️ indexing requires a GPU!)
132
  ```
133
- from . import CustomIndexer # Use of a custom indexer that automatically detects the language of the passages to index and activate the language-specific adapters accordingly
134
  from colbert.infra import Run, RunConfig
135
 
136
  n_gpu: int = 1 # Set your number of available GPUs
@@ -150,7 +150,7 @@ with Run().context(RunConfig(nranks=n_gpu,experiment=experiment)):
150
 
151
  - **Step 2: Searching.** Given the model and index, you can issue queries over the collection to retrieve the top-k passages for each query.
152
  ```
153
- from . import CustomSearcher # Use of a custom searcher that automatically detects the language of the passages to index and activate the language-specific adapters accordingly
154
  from colbert.infra import Run, RunConfig
155
 
156
  n_gpu: int = 0
 
130
 
131
  - **Step 1: Indexing.** This step encodes all passages into matrices, stores them on disk, and builds data structures for efficient search. (⚠️ indexing requires a GPU!)
132
  ```
133
+ from .custom import CustomIndexer # Use of a custom indexer that automatically detects the language of the passages to index and activate the language-specific adapters accordingly
134
  from colbert.infra import Run, RunConfig
135
 
136
  n_gpu: int = 1 # Set your number of available GPUs
 
150
 
151
  - **Step 2: Searching.** Given the model and index, you can issue queries over the collection to retrieve the top-k passages for each query.
152
  ```
153
+ from .custom import CustomSearcher # Use of a custom searcher that automatically detects the language of the passages to index and activate the language-specific adapters accordingly
154
  from colbert.infra import Run, RunConfig
155
 
156
  n_gpu: int = 0