Comments (5)
I believe that repo only works for exact de-duplication (see section exact-deduplication-code)
Because OSCAR and mc4 both have language labels, so I think using their scripts should cover many small languages quickly(more than 50% of the languages in OSCAR have less than 100MB data based on the table), assuming they have exact duplicates only within a language.
Questions I can think of:
- what is in the OSCAR dedup scripts/pipeline src
- Is it safe to assume no duplicates cross languages
- would exact dedup help
- would near dedup help
- semantic duplicates
I am very new to this project and would love to contribute. Apologies, if I have made any incorrect assumptions or claims. I would appreciate it if anyone can point me in the right direction to get started to help.
from data_tooling.
I think you are right that OSCAR already performs runiq which is exact dedup. I believe the google code https://github.com/google-research/deduplicate-text-datasets/ does minhash and some prefix matches, so that is near dedup. We don't need to use the google code and can instead use your code if in python for easy of maintenance. we can probably no dups across language, but i don't think we can assume no near dups cross language.
from data_tooling.
I think semantic dups is a very good idea and I support it, esp. using clustering and semantic methods. This will allow us to reduce the dataset without hurting performance (hopefully).
from data_tooling.
I think I can see the confusion now. The paper Deduplicating Training Data Makes Language Models Better did use the near dedup (minhash) in their experiments (section 4.2) and released their deduped data, but they only released the exact substring deduplication/suffix array (section 4.1) code in the codebase.
Based on this issue, we can probably move onto simhash instead of minhash.
from data_tooling.
@ChenghaoMou sounds wonderful!
from data_tooling.
Related Issues (20)
- Create dataset xnli
- Create dataset indonesian_news_articles_2017 HOT 4
- Create dataset tsac
- Create dataset science_magazing_aaas_academic_journal_ HOT 1
- Create dataset ekantipur_com
- Create dataset nurition_fact
- Create dataset information_week_digital_magazine
- Create dataset du_reader HOT 4
- Create dataset wikihow_vietnamese_human_instructions HOT 2
- Create dataset MT_Vi_Mono_VLSP2020 HOT 4
- Create dataset malindomorph__morphological_dictionary_and_analyser_for_malay_indonesian
- Create dataset human_instructions_in_indonesian_extracted_from_wikihow
- Create dataset mind_body_green
- Create dataset vanguard_daily_media
- Create dataset opus_100 HOT 2
- Create dataset odiencorp2_0 HOT 4
- Create license-compliant version of the Pile: Stack Exchange HOT 1
- Create license-compliant version of the Pile: EuroParl HOT 1
- Citing this resource HOT 4
- Reason for not applying remove_non_prining_characters normalization HOT 1
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 data_tooling.