Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -136,8 +136,8 @@ import torch
|
|
| 136 |
stem = "https://huggingface.co/ego-thales/tiniest/resolve/main/tiniest"
|
| 137 |
|
| 138 |
# Load the model (locally downloads `tiniest.py`)
|
| 139 |
-
|
| 140 |
-
torch.hub.download_url_to_file(f"{stem}.py", "tiniest.py", hash_prefix=
|
| 141 |
model = importlib.import_module("tiniest").Tiniest()
|
| 142 |
|
| 143 |
# Load the weights
|
|
|
|
| 136 |
stem = "https://huggingface.co/ego-thales/tiniest/resolve/main/tiniest"
|
| 137 |
|
| 138 |
# Load the model (locally downloads `tiniest.py`)
|
| 139 |
+
checksum = "903fc8750cf9b17e136f56ee0282daa9163778b1e352bd9ea8f23d9ffccca7c1"
|
| 140 |
+
torch.hub.download_url_to_file(f"{stem}.py", "tiniest.py", hash_prefix=checksum)
|
| 141 |
model = importlib.import_module("tiniest").Tiniest()
|
| 142 |
|
| 143 |
# Load the weights
|