Instructions to use evolving-eukaryote/cap-debug-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use evolving-eukaryote/cap-debug-5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("evolving-eukaryote/cap-debug-5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.yaml from evolving-eukaryote/cap-debug-5: direct link, hf CLI and curl.
- Browser
- Download file 3.34 kB
-
https://huggingface.co/evolving-eukaryote/cap-debug-5/resolve/main/config.yaml
- Command line
-
hf download hf://evolving-eukaryote/cap-debug-5/config.yaml
-
curl -L -o config.yaml https://huggingface.co/evolving-eukaryote/cap-debug-5/resolve/main/config.yaml
3.34 kB
| callbacks: | |
| hf_uploader: | |
| _target_: capit.callbacks.UploadCheckpointsToHuggingFace | |
| repo_name: cap-debug-5 | |
| repo_owner: evolving-eukaryote | |
| code_dir: /app/ | |
| current_experiment_dir: /run/experiments/cap-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: cap-debug-5 | |
| hf_repo_dir: /run/experiments/cap-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/cap-debug-5/repo | |
| experiment_name: cap-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.CLIPWithPostProcessingImageTextModel | |
| backbone_fine_tunable: false | |
| 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/cap-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/cap-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 | |