| # Example config for Text2Sign model | |
| class ModelConfig: | |
| vocab_size = 30522 | |
| max_text_length = 77 | |
| use_clip_text_encoder = False | |
| # ... other model hyperparameters ... | |
| class GenerationConfig: | |
| num_inference_steps = 50 | |
| guidance_scale = 7.5 | |
| eta = 0.0 | |
| fps = 8 | |
| # ... other generation settings ... | |
| # Add any additional config as needed for your model | |