Spaces:
Runtime error

JustinLin610 commited on
Commit
ce922b3
·
1 Parent(s): 199a06c

first commit

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
58 files changed +112944 -7
Files changed (50)
LICENSEAdded+201
README.md+21-7
app.pyAdded+156
checkpoints.mdAdded+10
colab.mdAdded+7
criterions/__init__.pyAdded+2
criterions/label_smoothed_cross_entropy.pyAdded+343
criterions/scst_loss.pyAdded+280
data/__init__.pyAdded
Empty file
data/data_utils.pyAdded+601
data/file_dataset.pyAdded+102
data/mm_data/__init__.pyAdded
Empty file
data/mm_data/caption_dataset.pyAdded+154
data/mm_data/refcoco_dataset.pyAdded+168
data/ofa_dataset.pyAdded+74
datasets.mdAdded+7
evaluate.pyAdded+152
models/__init__.pyAdded+1
models/ofa/__init__.pyAdded+1
models/ofa/ofa.pyAdded+410
models/ofa/resnet.pyAdded+225
models/ofa/unify_multihead_attention.pyAdded+518
models/ofa/unify_transformer.pyAdded+1510
models/ofa/unify_transformer_layer.pyAdded+542
models/search.pyAdded+814
models/sequence_generator.pyAdded+1053
ofa_module/__init__.pyAdded+5
pokemons.jpgAdded
requirements.txtAdded+5
run_scripts/caption/coco_eval.pyAdded+42
run_scripts/caption/evaluate_caption.shAdded+29
run_scripts/caption/train_caption_stage1.shAdded+104
run_scripts/caption/train_caption_stage2.shAdded+101
run_scripts/refcoco/evaluate_refcoco.shAdded+197
spaces.mdAdded+4
tasks/__init__.pyAdded+2
tasks/mm_tasks/__init__.pyAdded+2
tasks/mm_tasks/caption.pyAdded+249
tasks/mm_tasks/refcoco.pyAdded+161
tasks/ofa_task.pyAdded+338
train.pyAdded+523
trainer.pyAdded+1531
utils/BPE/__init__.pyAdded
Empty file
utils/BPE/dict.txtAdded
The diff for this file is too large to render. See raw diff
utils/BPE/encoder.jsonAdded
The diff for this file is too large to render. See raw diff
utils/BPE/vocab.bpeAdded
The diff for this file is too large to render. See raw diff
utils/__init__.pyAdded
Empty file
utils/checkpoint_utils.pyAdded+875
utils/cider/pyciderevalcap/__init__.pyAdded+1
utils/cider/pyciderevalcap/cider/__init__.pyAdded+1