Create test
#2
by
ahmetrustem
- opened
test
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pip install transformers
|
2 |
+
import torch
|
3 |
+
from transformers import TemporalNetStableDiffusionModel, TemporalNetStableDiffusionConfig, AutoTokenizer
|
4 |
+
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/temporalnet_stablediffusion_enwik8")
|
5 |
+
config = TemporalNetStableDiffusionConfig.from_pretrained("EleutherAI/temporalnet_stablediffusion_enwik8")
|
6 |
+
model = TemporalNetStableDiffusionModel.from_pretrained("EleutherAI/temporalnet_stablediffusion_enwik8", config=config)
|