Instructions to use evolving-eukaryote/clip-debug-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use evolving-eukaryote/clip-debug-5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("evolving-eukaryote/clip-debug-5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 3,303 Bytes
26d9bf2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | callbacks:
hf_uploader:
_target_: capit.callbacks.UploadCheckpointsToHuggingFace
repo_name: clip-debug-5
repo_owner: evolving-eukaryote
code_dir: /app/
current_experiment_dir: /run/experiments/clip-debug-5
data_dir: /data/
dataloader:
_target_: torch.utils.data.dataloader.DataLoader
batch_sampler: null
batch_size: 1
collate_fn:
_target_: hydra_zen.funcs.get_obj
path: capit.core.data.datasets.dataclass_collate
dataset: null
drop_last: false
generator: null
multiprocessing_context: null
num_workers: 12
persistent_workers: false
pin_memory: true
pin_memory_device: ''
prefetch_factor: 2
sampler: null
shuffle: true
timeout: 0.0
worker_init_fn: null
dataset:
_target_: capit.core.data.datasets.InstagramImageTextMultiModalDatasePyArrow
challenge_image_source: within_user
dataset_dir: /data/
image_transforms: null
limit_num_samples: null
max_num_collection_images_per_episode: 5
max_num_query_images_per_episode: 45
num_episodes: 100
reset_cache: false
restrict_num_users: null
set_name: train
text_transforms: null
top_k_percent: 25
download_checkpoint_with_name: null
download_latest: true
eval_batch_size: 1
exp_name: clip-debug-5
hf_repo_dir: /run/experiments/clip-debug-5/repo
hf_username: evolving-eukaryote
learner:
_target_: capit.boilerplate.Learner
callbacks: null
checkpoint_after_validation: false
checkpoint_every_n_steps: 250
evaluate_every_n_epochs: null
evaluate_every_n_steps: 1000
evaluators: null
experiment_dir: /run/experiments/clip-debug-5/repo
experiment_name: clip-debug-5
limit_train_iters: null
limit_val_iters: null
model: null
print_model_parameters: false
resume: true
test_dataloaders: null
train_dataloader: null
train_epochs: null
train_iters: 25000
trainers: null
val_dataloaders: null
model:
_target_: capit.core.models.baselines.CLIPImageTextModel
model_name_or_path: openai/clip-vit-large-patch14
pretrained: true
num_workers: 12
optimizer:
_partial_: true
_target_: torch.optim.adamw.AdamW
amsgrad: false
betas:
- 0.9
- 0.999
capturable: false
eps: 1.0e-08
foreach: null
lr: 1.0e-05
maximize: false
weight_decay: 0.0
print_config: false
repo_path: evolving-eukaryote/clip-debug-5
resume: true
resume_from_checkpoint: null
root_experiment_dir: /run/experiments
scheduler:
_partial_: true
_target_: timm.scheduler.cosine_lr.CosineLRScheduler
cycle_decay: 1.0
cycle_limit: 1
cycle_mul: 1.0
initialize: true
k_decay: 1.0
lr_min: 0.0
noise_pct: 0.67
noise_range_t: null
noise_seed: 42
noise_std: 1.0
t_in_epochs: true
warmup_lr_init: 0
warmup_prefix: false
warmup_t: 0
seed: 42
test: false
total_test_steps: 4500
total_train_steps: 25000
total_val_steps: 5
train: true
train_batch_size: 1
wandb_args:
_target_: wandb.sdk.wandb_init.init
allow_val_change: null
anonymous: null
config: null
config_exclude_keys: null
config_include_keys: null
dir: /run/experiments/clip-debug-5
entity: null
force: null
group: null
id: null
job_type: null
magic: null
mode: null
monitor_gym: null
name: null
notes: null
project: capit-debug-4
reinit: null
resume: allow
save_code: true
settings: null
sync_tensorboard: null
tags: null
tensorboard: null
|