Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds mixing loader for FSL datasets #70

Merged
merged 61 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
a8b5ec6
WIP: Generate a mixture dataset
undfined Oct 18, 2024
637fee9
WIP: Adds dry run
undfined Oct 18, 2024
346135c
Test cleanup
undfined Oct 18, 2024
53def38
WIP: Make it fast
undfined Oct 19, 2024
8649cc8
WIP: Simple benchmark
undfined Oct 19, 2024
e3d7011
WIP: Refactor
undfined Oct 23, 2024
efe766b
Launch script
undfined Oct 23, 2024
5dff40c
temp changes to test
undfined Oct 23, 2024
2703538
deps for now
undfined Oct 23, 2024
3ee3278
Try with session
undfined Oct 23, 2024
cd1c6d2
Try internal client
undfined Oct 23, 2024
9895b23
Try boto3
undfined Oct 23, 2024
3c15f52
Fixes
undfined Oct 24, 2024
0c9355b
?
undfined Oct 24, 2024
abb362a
Cleanup + session stuff
undfined Oct 24, 2024
82a1af9
Use environ
undfined Oct 24, 2024
d0a80ba
JUST use env vars please boto
undfined Oct 24, 2024
e621f8e
No unions of containers
undfined Oct 24, 2024
0689c42
prepare first
undfined Oct 24, 2024
8ab2e99
Loader handles prepare
undfined Oct 24, 2024
dcfda67
Try recording torch exceptions
undfined Oct 24, 2024
23a0806
Don't need overrides
undfined Oct 24, 2024
8cfa282
Figure out why config/creds are missing
undfined Oct 24, 2024
fd1a508
fmt
undfined Oct 24, 2024
01a40ea
Env not ready yet
undfined Oct 24, 2024
8bde2b3
print beaker user
undfined Oct 24, 2024
ae208f6
uncomment eval file
undfined Oct 24, 2024
ce9d06f
replicate CommonComponents setup
undfined Oct 24, 2024
d1eb4df
Some class init stuff
undfined Oct 24, 2024
dbce279
Some more config logging
undfined Oct 24, 2024
5daa274
Conflict in CHANGELOG
undfined Oct 24, 2024
980e05a
checks cleanup
undfined Oct 24, 2024
f27bd73
Fixes for duplicate paths in mixture
undfined Oct 25, 2024
c69b228
In case there a ton of files
undfined Oct 25, 2024
18efafd
Maybe fix trainer launch
undfined Oct 25, 2024
5ceed46
Match other example
undfined Oct 25, 2024
4c7513e
More tests
undfined Oct 25, 2024
8401580
Try diff gpus
undfined Oct 25, 2024
0d77422
keep fsdp
undfined Oct 25, 2024
d22ed10
checks
undfined Oct 25, 2024
68a4d28
Less tokens
undfined Oct 25, 2024
c35514c
Exclude ai2/allennlp-elanding-a100-40g temp
undfined Oct 25, 2024
02cb49b
Merge branch 'main' of github.com:allenai/OLMo-core into undfined/mix…
undfined Oct 28, 2024
c453e65
Feedback
undfined Oct 28, 2024
a288d9e
Drop examples
undfined Oct 28, 2024
9c49f25
A bit more cleanup
undfined Oct 28, 2024
89504bc
Outdated changelog
undfined Oct 28, 2024
3aa5c35
Unused deps
undfined Oct 28, 2024
8f729dd
One more dep
undfined Oct 28, 2024
a848195
uncomment test assertions
undfined Oct 28, 2024
5322bf1
Drop todo
undfined Oct 28, 2024
5c22665
0 is an invalid token
undfined Oct 28, 2024
87e9168
More feedback
undfined Oct 29, 2024
fe50a32
Randomly sample instances when segmenting
undfined Oct 29, 2024
cffcba3
Memray + limit marker
undfined Oct 30, 2024
293be02
Add dep
undfined Oct 30, 2024
e45d2c3
Lint
undfined Oct 30, 2024
ffe7660
Bigger array is more informative
undfined Oct 30, 2024
19db2a9
Merge branch 'main' into undfined/mixing-loader
undfined Oct 30, 2024
1fdb995
Feedback
undfined Oct 30, 2024
74d4c5a
Merge branch 'main' into undfined/mixing-loader
undfined Nov 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
constraints:
cluster:
- ai2/allennlp-cirrascale
- ai2/allennlp-elanding-a100-40g
# - ai2/allennlp-elanding-a100-40g
- ai2/pluto-cirrascale
- ai2/jupiter-cirrascale-2
envVars:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Added

- Added `SourceMixtureDataset` for composing a training mixture based on ratios of source datasets.
- Added `NumpyFSLDatasetMixture` for constructing a `NumpyDatasetBase` from a `SourceMixtureDataset`. Note this is only supported for FSL datasets.
- Added tests for `SourceMixture*` and `NumpyFSLDatasetMixture`.

### Changed
- Moved some types into `olmo_core.data.types` to avoid some circular dependencies.

## [v1.5.0](https://github.com/allenai/OLMo-core/releases/tag/v1.5.0) - 2024-10-23

### Added
Expand Down
3 changes: 1 addition & 2 deletions src/olmo_core/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
from .numpy_dataset import (
NumpyDatasetBase,
NumpyDatasetConfig,
NumpyDatasetDType,
NumpyDatasetType,
NumpyFSLDataset,
NumpyPaddedFSLDataset,
NumpyVSLDataset,
Expand All @@ -38,6 +36,7 @@
VSLNaturalCurriculum,
)
from .tokenizer import TokenizerConfig, TokenizerName
from .types import NumpyDatasetDType, NumpyDatasetType

__all__ = [
"NumpyDatasetBase",
Expand Down
Loading
Loading