Comments (7)
you may have to uninstall the pypi package named lance
first. Then reinstall pip install pylance
afterwards
from lance.
Hi @Aryan-Deshpande,
Can you try uninstalling lance and installing it like this?
$ pip install --upgrade pyarrow
$ pip install --upgrade pylance
The correct name for Lance for pip install is "pylance".
Please let us know if it works. Cheers!
from lance.
Hey @tanaymeh , The issue still persists
from lance.
@Aryan-Deshpande It works fine when I run it in a fresh Google Colab session.
Can you try deleting the colab runtime and starting afresh? Thanks!
from lance.
The previous issue was fixed, but I encountered another error
It says dataset was not found at the location content/codeparrot_1M.lance
from lance.
@Aryan-Deshpande It runs fine for me when I download the dataset following the instructions on the Kaggle Datasets page for the Codeparrot 1M dataset with changes for Google Colab since it downloads everything at /content
.
You need to make the necessary changes in the path depending on what platform you are using (for example: /content/
for Google Colab or /kaggle/working/
for Kaggle, etc)
Here's the bash script that worked fine for me:
pip install -q kaggle pyarrow pylance
mkdir ~/.kaggle/
mv /content/kaggle.json ~/.kaggle/kaggle.json # move kaggle.json API key to ~/.kaggle/ from /content
kaggle datasets download -d heyytanay/codeparrot-1m
mkdir /content/codeparrot_1M.lance/
unzip -qq /content/codeparrot-1m.zip -d /content/codeparrot_1M.lance/
rm /content/codeparrot-1m.zip
from lance.
Converting this to a discussion since it's not an issue with Lance.
from lance.
Related Issues (20)
- Request for compare/contrast with other solutions HOT 1
- Docs: Gemma fine-tuning with JAX
- Docs: Gemma-7B knowledge distillation with Lance
- chore: use separate magic number for index file
- Temp manifest files are not cleaned up after commit using external manifest store
- Auto-{compact, cleanup, re-index}
- Create Spark writer
- Ray connector for Lance
- Implement vector clustering based on BFS HNSW order
- opening non-existent dataset should return `Error::NotFound` instead of `Error::IO`
- Benchmark segmented index performance
- Support append transaction with indices
- IVF HNSW Indices
- (Draft) Roadmap 2024
- `ivf.load_partition` should return `Err` instead of panic when the partitions id it out of bound
- Tracking Lance Datasets (DNC) HOT 2
- enable code coverage for python tests
- _distance filter pushdown
- Simple auto cleanup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lance.