Spaces:
Running
Running
| """ | |
| configs/git_config.py | |
| ====================== | |
| GIT (Zero Cross-Attention / Self-Attention Prefix) training configuration. | |
| """ | |
| from dataclasses import dataclass | |
| from .base_config import BaseConfig | |
| class GitConfig(BaseConfig): | |
| # βββ Model ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| vlm_type: str = "git" | |
| model_id: str = "microsoft/git-base-coco" | |
| # βββ Training Overrides βββββββββββββββββββββββββββββββββββββββββββββββββ | |
| epochs: int = 3 | |
| lr: float = 2e-5 | |