Comments (5)
Thanks! I must have mistyped it.
There have been a couple of times I have had to add system dependencies and copy libs from system python to my pyenv python to get things to work as well in various project folders. For this I had to do:
On Ubuntu:
sudo apt install lzma liblzma-dev libbz2-dev
cp /usr/lib/python3.10/lib-dynload/_bz2.cpython-310-x86_64-linux-gnu.so ~/.pyenv/versions/3.10.6/lib/python3.10/lib-dynload/
cp /usr/lib/python3.10/lib-dynload/_lzma.cpython-310-x86_64-linux-gnu.so ~/.pyenv/versions/3.10.6/lib/python3.10/lib-dynload/
I believe the bz2 was also needed in another dataset folder.
For stack exchange I needed:
sudo apt install p7zip-full
For C4 dataset I needed:
sudo apt install git-lfs
These were not documented in the READMEs.
from redpajama-data.
This can be searchable so I'm closing.
from redpajama-data.
Thanks for bringing this to our attention! The error your are observing is due to the datasets
library not being installed. We will add this to the dependencies. In the meantime, you can fix the error by running
pip install datasets
in your python environment.
from redpajama-data.
Just discovered that the data_prep/book/
download uses $HOME/.cache/huggingface/
for downloads. My system doesn't have extra space for the home directory to be doing that kind of work so I've symbolically linked it to an external drive.
My main AI machine isn't finished being setup yet so I'm prepping data outside of it.
from redpajama-data.
I should also mention here that the pile download would always fail at or before 40% completion. So to download the data I used wget:
wget -c https://the-eye.eu/public/AI/pile_preliminary_components/books3.tar.gz
from redpajama-data.
Related Issues (20)
- Recommended way to load wget-downloaded data using HF datasets API? HOT 1
- Invalid uri: ParseResult(...) must be of the form s3://<bucket>/<key> or file://<path>
- Unavailable Parameters
- Running full pipeline on a small part of CC
- Running the pipeline on cloud or a big data platform HOT 1
- About the final result HOT 2
- What purpose cutoff.csv used in the cc_net pipeline? HOT 2
- Step 2) "Invalid option: ---input_base_uri" HOT 1
- Potential Language Contamination Inquiry HOT 1
- Spanish artifact building error HOT 2
- Inconsistent IDs lead to distributed computing woes. HOT 1
- Train a new wikiref model HOT 1
- Thresholds for all quality signals HOT 1
- Other language data HOT 2
- Impossible unpack tail data... took time to download, but impossible to unpack dataset without quality signals with broken link. HOT 1
- Are shards randomly created? HOT 1
- What is the output of `run_lsh.py`? HOT 8
- possibly missing shard from host HOT 2
- Is there a specific meaning of the snapshot id? HOT 2
- what's the specific meaning of dsir? HOT 4
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 redpajama-data.