Comments (1)
Hi @irene622 , thanks for your question!
The run_clean.py
script expects your data to be organized in the same way as when it is downloaded from the arxiv s3 bucket. The most straight forward way is thus probably to simply mirror this structure. In this case you will need to have package your my_arxiv_src
into a a tar file and store it in data/src
. So you need something like this:
data/src
|-my_arxiv_src.tar
|-parpername1.gz
|- name.tex
|-papername2.gz
|-name.tex
|-other_name.tex
You can then call python run_clean.py --data_dir data/src --target_dir /dir/to/desired/output
. Also check out this part in the code of the arxiv_cleaner
module:
RedPajama-Data/data_prep/arxiv/arxiv_cleaner.py
Lines 131 to 177 in d174968
Let me know if this helps!
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
- Difference between RedPajama-Data-1T, RedPajama-Data-V2, RedPajama-Data-V1 HOT 1
- slow transfer speeds from URL sources HOT 5
- what does the prefix "rps_" mean? HOT 2
- Exact dedup details 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.