Unconditional Image Generation
Transformers
Safetensors
tinyimagegen
feature-extraction
imagegen
unconditional-image
custom_code
Instructions to use fromziro/TinyImageGen-0.6M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fromziro/TinyImageGen-0.6M with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("fromziro/TinyImageGen-0.6M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -57,7 +57,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
| 57 |
|
| 58 |
# Load model directly from Hugging Face
|
| 59 |
model = AutoModel.from_pretrained(
|
| 60 |
-
"
|
| 61 |
trust_remote_code=True
|
| 62 |
).to(device)
|
| 63 |
|
|
|
|
| 57 |
|
| 58 |
# Load model directly from Hugging Face
|
| 59 |
model = AutoModel.from_pretrained(
|
| 60 |
+
"fromziro/TinyImageGen-0.6M",
|
| 61 |
trust_remote_code=True
|
| 62 |
).to(device)
|
| 63 |
|