llm-jp / llm-jp-corpus Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Maybe because of this: huggingface/datasets#5613
Remove meta information, such as "脚注" (footnotes) and "関連項目" (related articles), from the text.
Use the wikiextractor library for text extraction.
Candidates:
Ethical filtering based on word pattern matching doesn't work well in Wikipedia. It would be better to exploit the category in Wikipedia for data filtering.
The current approach for filtering the Japanese mC4 dataset relies primarily on top-level domains, which is insufficient for eliminating unethical content from the data.
Introduce an ethical filtering mechanism.
llm-foundry enjoys a benefit when the corpus provides a sequence of token IDs.
Include the token_ids
field in the resultant corpus.
import sentencepiece as spm
sp = spm.SentencePieceProcessor(model_file='cc100_ja30K_en20K.symbolRemoved.vocab.reestimated.model')
Eliminate low-quality text from the Stack dataset.
Apply the filtering rules developed in the RedPajama project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.