-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Up-directories the module
- Loading branch information
Showing
6 changed files
with
148 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
from enum import Enum | ||
|
||
from transformers import GPT2Tokenizer | ||
|
||
from stepcovnet.dataset.DistributedModelDataset import DistributedModelDataset | ||
from stepcovnet.dataset.ModelDataset import ModelDataset | ||
|
||
|
||
class Tokenizers(Enum): | ||
GPT2 = GPT2Tokenizer.from_pretrained("gpt2") | ||
|
||
|
||
class ModelDatasetTypes(Enum): | ||
SINGULAR_DATASET = ModelDataset | ||
DISTRIBUTED_DATASET = DistributedModelDataset |
This file was deleted.
Oops, something went wrong.
Empty file.
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