Code Monkey home page Code Monkey logo

Comments (5)

danielpclark avatar danielpclark commented on August 15, 2024 1

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.

danielpclark avatar danielpclark commented on August 15, 2024 1

This can be searchable so I'm closing.

from redpajama-data.

mauriceweber avatar mauriceweber commented on August 15, 2024

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.

danielpclark avatar danielpclark commented on August 15, 2024

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.

danielpclark avatar danielpclark commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.