-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f39b93c
commit eaaf8a2
Showing
15 changed files
with
282 additions
and
40 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
task: dreambooth | ||
base_model: runwayml/stable-diffusion-v1-5 | ||
project_name: autotrain-sd15-finetuned | ||
backend: local-cli | ||
|
||
data: | ||
path: data/ # store all images in this folder | ||
prompt: photo of sks person # prompt for the model | ||
|
||
params: | ||
resolution: 512 | ||
batch_size: 1 | ||
num_steps: 500 | ||
lr: 1e-4 | ||
gradient_accumulation: 4 | ||
mixed_precision: fp16 | ||
train_text_encoder: false | ||
xformers: false | ||
use_8bit_adam: false | ||
|
||
hub: | ||
username: ${HF_USERNAME} | ||
token: ${HF_TOKEN} | ||
push_to_hub: true |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
task: dreambooth | ||
base_model: stabilityai/stable-diffusion-xl-base-1.0 | ||
project_name: autotrain-sdxl-finetuned | ||
backend: local-cli | ||
|
||
data: | ||
path: data/ # store all images in this folder | ||
prompt: photo of sks person # prompt for the model | ||
|
||
params: | ||
resolution: 1024 | ||
batch_size: 1 | ||
num_steps: 500 | ||
lr: 1e-4 | ||
gradient_accumulation: 4 | ||
mixed_precision: fp16 | ||
train_text_encoder: false | ||
xformers: false | ||
use_8bit_adam: false | ||
xl: true | ||
|
||
hub: | ||
username: ${HF_USERNAME} | ||
token: ${HF_TOKEN} | ||
push_to_hub: true |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
task: image_classification | ||
base_model: google/vit-base-patch16-224 | ||
project_name: autotrain-cats-vs-dogs-finetuned | ||
log: tensorboard | ||
backend: local-cli | ||
|
||
data: | ||
path: cats_vs_dogs | ||
train_split: train | ||
valid_split: null | ||
column_mapping: | ||
image_column: image | ||
target_column: labels | ||
|
||
params: | ||
epochs: 2 | ||
batch_size: 4 | ||
lr: 2e-5 | ||
optimizer: adamw_torch | ||
scheduler: linear | ||
gradient_accumulation: 1 | ||
mixed_precision: fp16 | ||
|
||
hub: | ||
username: ${HF_USERNAME} | ||
token: ${HF_TOKEN} | ||
push_to_hub: true |
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
2 changes: 1 addition & 1 deletion
2
configs/text_classification/imdb_bert.yml → configs/text_classification/hub_dataset.yml
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
task: text_classification | ||
base_model: google-bert/bert-base-uncased | ||
project_name: autotrain-bert-imdb-finetuned | ||
log: tensorboard | ||
backend: local-cli | ||
|
||
data: | ||
path: data/ # this must be the path to the directory containing the train and valid files | ||
train_split: train # this must be either train.csv or train.json | ||
valid_split: valid # this must be either valid.csv or valid.json | ||
column_mapping: | ||
text_column: text # this must be the name of the column containing the text | ||
target_column: label # this must be the name of the column containing the target | ||
|
||
params: | ||
max_seq_length: 512 | ||
epochs: 3 | ||
batch_size: 4 | ||
lr: 2e-5 | ||
optimizer: adamw_torch | ||
scheduler: linear | ||
gradient_accumulation: 1 | ||
mixed_precision: fp16 | ||
|
||
hub: | ||
username: ${HF_USERNAME} | ||
token: ${HF_TOKEN} | ||
push_to_hub: true |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
task: text_regression | ||
base_model: google-bert/bert-base-uncased | ||
project_name: autotrain-bert-sms-spam-finetuned | ||
log: tensorboard | ||
backend: local-cli | ||
|
||
data: | ||
path: sms_spam | ||
train_split: train | ||
valid_split: null | ||
column_mapping: | ||
text_column: sms | ||
target_column: label | ||
|
||
params: | ||
max_seq_length: 512 | ||
epochs: 3 | ||
batch_size: 4 | ||
lr: 2e-5 | ||
optimizer: adamw_torch | ||
scheduler: linear | ||
gradient_accumulation: 1 | ||
mixed_precision: fp16 | ||
|
||
hub: | ||
username: ${HF_USERNAME} | ||
token: ${HF_TOKEN} | ||
push_to_hub: true |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
task: text_regression | ||
base_model: google-bert/bert-base-uncased | ||
project_name: autotrain-bert-custom-finetuned | ||
log: tensorboard | ||
backend: local-cli | ||
|
||
data: | ||
path: data/ # this must be the path to the directory containing the train and valid files | ||
train_split: train # this must be either train.csv or train.json | ||
valid_split: valid # this must be either valid.csv or valid.json | ||
column_mapping: | ||
text_column: text # this must be the name of the column containing the text | ||
target_column: label # this must be the name of the column containing the target | ||
|
||
params: | ||
max_seq_length: 512 | ||
epochs: 3 | ||
batch_size: 4 | ||
lr: 2e-5 | ||
optimizer: adamw_torch | ||
scheduler: linear | ||
gradient_accumulation: 1 | ||
mixed_precision: fp16 | ||
|
||
hub: | ||
username: ${HF_USERNAME} | ||
token: ${HF_TOKEN} | ||
push_to_hub: true |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
task: token_classification | ||
base_model: google-bert/bert-base-uncased | ||
project_name: autotrain-bert-conll2003-finetuned | ||
log: tensorboard | ||
backend: local-cli | ||
|
||
data: | ||
path: conll2003 | ||
train_split: train | ||
valid_split: validation | ||
column_mapping: | ||
tokens_column: tokens | ||
tags_column: ner_tags | ||
|
||
params: | ||
max_seq_length: 512 | ||
epochs: 3 | ||
batch_size: 4 | ||
lr: 2e-5 | ||
optimizer: adamw_torch | ||
scheduler: linear | ||
gradient_accumulation: 1 | ||
mixed_precision: fp16 | ||
|
||
hub: | ||
username: ${HF_USERNAME} | ||
token: ${HF_TOKEN} | ||
push_to_hub: true |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
task: token_classification | ||
base_model: google-bert/bert-base-uncased | ||
project_name: autotrain-bert-custom-finetuned | ||
log: tensorboard | ||
backend: local-cli | ||
|
||
data: | ||
path: data/ # this must be the path to the directory containing the train and valid files | ||
train_split: train # this must be either train.json | ||
valid_split: valid # this must be either valid.json, can also be set to null | ||
column_mapping: | ||
text_column: text # this must be the name of the column containing the text | ||
target_column: label # this must be the name of the column containing the target | ||
|
||
params: | ||
max_seq_length: 512 | ||
epochs: 3 | ||
batch_size: 4 | ||
lr: 2e-5 | ||
optimizer: adamw_torch | ||
scheduler: linear | ||
gradient_accumulation: 1 | ||
mixed_precision: fp16 | ||
|
||
hub: | ||
username: ${HF_USERNAME} | ||
token: ${HF_TOKEN} | ||
push_to_hub: true |
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 |
---|---|---|
|
@@ -41,4 +41,4 @@ | |
|
||
|
||
logger = Logger().get_logger() | ||
__version__ = "0.7.77.dev0" | ||
__version__ = "0.7.78.dev0" |
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
Oops, something went wrong.