Instructions to use michaelriedl/MonsterForge-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use michaelriedl/MonsterForge-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="michaelriedl/MonsterForge-medium", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("michaelriedl/MonsterForge-medium", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "antialias": false, | |
| "architectures": [ | |
| "LightweightGANModel" | |
| ], | |
| "attn_res_layers": [ | |
| 32 | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "LightweightGANConfig.LightweightGANConfig", | |
| "AutoModel": "LightweightGANModel.LightweightGANModel" | |
| }, | |
| "fmap_inverse_coef": 12, | |
| "fmap_max": 512, | |
| "freq_chan_attn": false, | |
| "greyscale": false, | |
| "image_size": 256, | |
| "latent_dim": 256, | |
| "model_type": "lightweight-gan", | |
| "syncbatchnorm": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.31.0", | |
| "transparent": true | |
| } | |