-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(usability): Refine model inject helper to support huggingface mo…
…dels (#331) Co-authored-by: sallyjunjun <jun_sally@126.com>
- Loading branch information
1 parent
6e591ac
commit 569eb25
Showing
18 changed files
with
332 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
from .batch_sampler import StreamingStaticBatchSampler | ||
from .collaters import streaming_packed_collate_fn | ||
from .dataset import StreamingDataset, StreamingPackedDatasetWithCut | ||
from .dataset import ( | ||
StreamingDataset, | ||
StreamingDatasetPackSampleIntoOneWithCut, | ||
StreamingDatasetPackSampleWithPad, | ||
) | ||
from .utils import streaming_simple_resume | ||
|
||
__all__ = [ | ||
"StreamingStaticBatchSampler", | ||
"streaming_packed_collate_fn", | ||
"StreamingDataset", | ||
"StreamingPackedDatasetWithCut", | ||
"StreamingDatasetPackSampleWithPad", | ||
"StreamingDatasetPackSampleIntoOneWithCut", | ||
"streaming_simple_resume", | ||
] |
Oops, something went wrong.