Skip to content

Commit

Permalink
Adding an Indexer class.
Browse files Browse the repository at this point in the history
  • Loading branch information
codetalker7 committed May 30, 2024
1 parent 52d345e commit 0dc7cb8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ColBERT.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ export RunSettings, TokenizerSettings, ResourceSettings,
include("modelling/checkpoint.jl")
export BaseColBERT, Checkpoint

# indexer
include("indexing.jl")
export Indexer

end
9 changes: 9 additions & 0 deletions src/indexing.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using .ColBERT: ColBERTConfig

struct Indexer
# index_path::String we can just reuse the path from the config?
checkpoint::String
config::ColBERTConfig
end


0 comments on commit 0dc7cb8

Please sign in to comment.