Skip to content
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

Error # could not open .tmp/.index/knn.index for reading: No such file or directory #36

Open
siddgarg88 opened this issue Apr 3, 2023 · 0 comments

Comments

@siddgarg88
Copy link

siddgarg88 commented Apr 3, 2023

When I ran the training wrapper as below, it gave me error

wrapper = TrainingWrapper(
retro = retro, # path to retro instance
knn = 2, # knn (2 in paper was sufficient)
chunk_size = 64, # chunk size (64 in paper)
documents_path = "/home/AD/siddgarg/Retro", # path to folder of text
glob = '**/train_text_admission_v2.txt',
chunks_memmap_path = './train.chunks.dat',
seqs_memmap_path = './train.seq.dat',
doc_ids_memmap_path = './train.doc_ids.dat',
max_chunks = 1_000_000, # maximum cap to chunks
max_seqs = 100_000, # maximum seqs
knn_extra_neighbors = 100, # num extra neighbors to fetch
max_index_memory_usage = '100m',
processed_stats_json_path = './processed-stats3.json',
current_memory_available = '1G'
)

could not open .tmp/.index/knn.index for reading: No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant