-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: stand alone test #448
Conversation
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: whateveraname <[email protected]>
|
||
fn main() { | ||
let dims = 128; | ||
let path = Path::new("/home/yanqi/stand-alone-test/data/hnsw"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where can we download files?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code currently uses the fvecs format that the sift and gist datasets use. You can refer to corpus-texmex.irisa.fr for information of the fvecs format and download the sift and gist datasets. To use dataset of other formats, you may need to write another function to read that format or convert it to fvecs format.
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: whateveraname <[email protected]>
Signed-off-by: usamoi <[email protected]>
* add stand alone test Signed-off-by: whateveraname <[email protected]> * update .gitignore Signed-off-by: whateveraname <[email protected]> * change data path Signed-off-by: whateveraname <[email protected]> * update data path Signed-off-by: whateveraname <[email protected]> * cargo fmt Signed-off-by: whateveraname <[email protected]> * clean code Signed-off-by: whateveraname <[email protected]> * taplo fmt Signed-off-by: whateveraname <[email protected]> * gate code with cargo feature Signed-off-by: whateveraname <[email protected]> * clean Cargo.toml and add CLI for stand-alone-test Signed-off-by: whateveraname <[email protected]> * remove feature from package stand-alone-test Signed-off-by: whateveraname <[email protected]> * cleanup Signed-off-by: usamoi <[email protected]> --------- Signed-off-by: whateveraname <[email protected]> Signed-off-by: usamoi <[email protected]> Co-authored-by: usamoi <[email protected]> Signed-off-by: jinweios <[email protected]>
Test algorithms without pg. See demo test files in crates/stand-alone-test/src/bin.