-
Notifications
You must be signed in to change notification settings - Fork 11
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
Showing
11 changed files
with
179 additions
and
10 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
config/modelpool/clip-vit-base-patch32_svhn_and_mnist.yaml
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,10 @@ | ||
type: huggingface_clip_vision | ||
models: | ||
- name: _pretrained_ | ||
path: google/flan-t5-base | ||
- name: _pretrained_ | ||
path: openai/clip-vit-base-patch32 | ||
- name: svhn | ||
path: tanganke/clip-vit-base-patch32_svhn | ||
- name: mnist | ||
path: tanganke/clip-vit-base-patch32_mnist |
File renamed without changes.
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 @@ | ||
type: clip_vit_classification | ||
name: clip-vit-base-patch32_svhn_and_mnist # whatever you like | ||
|
||
dataset_type: huggingface_image_classification | ||
tasks: | ||
- name: svhn | ||
dataset: | ||
type: instantiate | ||
name: svhn | ||
object: | ||
_target_: datasets.load_dataset | ||
_args_: | ||
- svhn | ||
- cropped_digits | ||
split: test | ||
- name: mnist | ||
dataset: | ||
name: mnist | ||
split: test | ||
|
||
clip_model: openai/clip-vit-base-patch32 | ||
batch_size: 128 | ||
num_workers: 16 | ||
fast_dev_run: ${fast_dev_run} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Flan-T5 Models for Text Generation Tasks | ||
|
||
This task pool provides a set of text generation tasks from the GLUE benchmark for the Flan-T5 model. | ||
Each task is associated with a dataset. | ||
We report the exact match accuracy metric for CoLA, MNLI, MRPC, QNLI, QQP, RTE, and SST2, and spearman's rho for STSB. | ||
|
||
## References | ||
|
||
::: fusion_bench.taskpool.flan_t5_glue_text_generation |
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,9 @@ | ||
# GPT-2 Sequence Classification Tasks | ||
|
||
This task pool provides a set of sequence classification tasks from the GLUE benchmark for the GPT-2 model. | ||
Each task is associated with a dataset and the accuracy metric. The tasks are: | ||
CoLA, MNLI, MRPC, QNLI, QQP, RTE, and SST2. | ||
|
||
## References | ||
|
||
::: fusion_bench.taskpool.gpt2_text_classification |
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