Comments (3)
Hi!
The option that we used was to follow the EleutherAI tokenization instructions provided here (prepare data): https://github.com/EleutherAI/gpt-neox
We then plugged in the file paths for the resulting train, val, and test splits here:
Our code base also supports tokenization for any hugging face dataset without any additional effort on your part. E.g., if you want to try Fine Web, Slim Pajama, etc.
- This is the code that does the tokenization:
- This style of data config, where you can replace the dataset_name (and dataset_config_name if relevant) to the hugging face dataset that you choose, would work without any additional effort:
- And you just point to that data config you constructed here before launching:
from based.
So thank you for your timely reply!
from based.
I am currently trying to train a model from scratch using the Pile dataset. I would like to add that it was necessary to run make
at based/train/datamodules/neox_utils
to build helpers.cpp
.
from based.
Related Issues (11)
- simple implementation HOT 2
- Taylor approximation is not equal to the math definition HOT 1
- Inquiry on 'params' Interpretation and Request for DNA Modeling Code and Scripts
- How to run prefill phase of inference benchmark? HOT 2
- Upstreaming SWDE, FDA, and Squad-completion to Eval Harness HOT 3
- Evaluating a self-trained model from scratch using the LM Evaluation Harness HOT 4
- License HOT 1
- Type Error in GPTLMHeadModel HOT 7
- Apply to existing model HOT 5
- FYI: HuggingFace Transformers Request 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 based.