Instructions to use ShaswatRobotics/world_model_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use ShaswatRobotics/world_model_test with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("ShaswatRobotics/world_model_test") - Notebooks
- Google Colab
- Kaggle
Update iris/src/tokenizer.py
Browse files- iris/src/tokenizer.py +1 -0
iris/src/tokenizer.py
CHANGED
|
@@ -4,6 +4,7 @@ Credits to https://github.com/CompVis/taming-transformers
|
|
| 4 |
|
| 5 |
from typing import Tuple
|
| 6 |
|
|
|
|
| 7 |
from einops import rearrange
|
| 8 |
import torch
|
| 9 |
import torch.nn as nn
|
|
|
|
| 4 |
|
| 5 |
from typing import Tuple
|
| 6 |
|
| 7 |
+
import numpy as np
|
| 8 |
from einops import rearrange
|
| 9 |
import torch
|
| 10 |
import torch.nn as nn
|