`doc_ids_memmap` shape
See original GitHub issueIs there a reason doc_ids_memmap
is shape (max_docs, )
? Shouldn’t it be (max_chunks, )
since it’s mapping chunks to doc ids?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
numpy.memmap.shape — NumPy v1.24 Manual
The shape property is usually used to get the current shape of an array, but may also be used to reshape the array...
Read more >numpy.memmap.shape — NumPy v1.10 Manual
memmap.shape¶. Tuple of array dimensions. Notes. May be used to “reshape” the array, as long as this would not require a change in...
Read more >load np.memmap without knowing shape - Stack Overflow
load doesn't work in such case: I have to read it again using memmap in read mode. The question is, how to do...
Read more >numpy.memmap.shape — NumPy v1.9 Manual
memmap.shape¶. Tuple of array dimensions. Notes. May be used to “reshape” the array, as long as this would not require a change in...
Read more >Pitfalls to avoid with np.memmap. numpy version - Medium
I think the function can be improved if it throws a warning/error that the saved file has more bytes than required for given...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lucidrains Depends what you mean by knowledge graphs, but yes, probably something like that. I’m currently exploring some papers and datasets to figure out what might be interesting experiments to run. I’m currently especially intrigued by this paper: Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agents. But there are a few other directions I could see myself going.
@josephcappadona you are right! fixed in 0.1.6!