Comments (5)
Hi, I pinged the nanotron team internally and they are working on moving support of datatrove's .ds files to the public repo :)
from datatrove.
Nanotron also has support for a custom dataloader now, where you can plug in datatrove's Dataset directly: huggingface/nanotron#162
Closing the issue
from datatrove.
Following up on this:
Are there some helpers to convert ds files into parquet files (or something loadable with datasets) for a given context size
I was wondering the same thing. I really like datatrove, but as of now I cannot use the tokenization pipeline, since there is no way to load the data :D
from datatrove.
Hi! Two things:
- you can always convert the text data to any format by using a writer. For instance, you can convert it to parquet using a ParquetWriter. This will convert the data with the text and not with the actual tokens, however
- I have just added a torch
Dataset
that can load tokens from a dataset tokenized by datatrove into .ds files here. Let me know if you would require some changes to this class for it to work with your setup
from datatrove.
Awesome, thanks a lot @guipenedo
from datatrove.
Related Issues (20)
- Sentence deduplication output HOT 6
- Is there a plan to process data in sft format HOT 1
- Optimize parquet output for remote reading HOT 2
- Incorrect Job ID Extraction on Clusters with Custom Slurm Output HOT 2
- How to look into the processed data? HOT 3
- Clarification Needed on 'Tasks' Terminology in Datatrove HOT 2
- example for decontamination
- Filter very slow HOT 5
- Can you make a release with the latest batch version? HOT 1
- blank lines treated as duplicates in the GopherFilter HOT 4
- TypeError: datasets.load.load_dataset() argument after ** must be a mapping, not NoneType HOT 1
- UnicodeDecodeError When Using Korean Tokenizer HOT 6
- JsonlReader fails with `gzip.BadGzipFile: CRC check failed`, but gzip doesn't seem to be bad HOT 2
- Hangs Due to `std::length_error` in Data Processing Pipeline HOT 10
- RuntimeError: An attempt has been made to start a new process before the HOT 1
- [FEATURE] CC Filter
- Error in Stats
- Question about language filter HOT 1
- Naming Gopher's "max_non_alpha_words_ratio"
- Multi-node parallelism on slurm clusters
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 datatrove.