Update test_huggingface_mae.py
Browse files- test_huggingface_mae.py +2 -2
test_huggingface_mae.py
CHANGED
|
@@ -3,7 +3,7 @@ import torch
|
|
| 3 |
|
| 4 |
from huggingface_mae import MAEModel
|
| 5 |
|
| 6 |
-
|
| 7 |
# huggingface_modelpath = "recursionpharma/test-pb-model"
|
| 8 |
|
| 9 |
|
|
@@ -11,7 +11,7 @@ huggingface_phenombeta_model_dir = "."
|
|
| 11 |
def huggingface_model():
|
| 12 |
# Make sure you have the model/config downloaded from https://huggingface.co/recursionpharma/test-pb-model to this directory
|
| 13 |
# huggingface-cli download recursionpharma/test-pb-model --local-dir=.
|
| 14 |
-
huggingface_model = MAEModel.from_pretrained(
|
| 15 |
huggingface_model.eval()
|
| 16 |
return huggingface_model
|
| 17 |
|
|
|
|
| 3 |
|
| 4 |
from huggingface_mae import MAEModel
|
| 5 |
|
| 6 |
+
huggingface_openphenom_model_dir = "."
|
| 7 |
# huggingface_modelpath = "recursionpharma/test-pb-model"
|
| 8 |
|
| 9 |
|
|
|
|
| 11 |
def huggingface_model():
|
| 12 |
# Make sure you have the model/config downloaded from https://huggingface.co/recursionpharma/test-pb-model to this directory
|
| 13 |
# huggingface-cli download recursionpharma/test-pb-model --local-dir=.
|
| 14 |
+
huggingface_model = MAEModel.from_pretrained(huggingface_openphenom_model_dir)
|
| 15 |
huggingface_model.eval()
|
| 16 |
return huggingface_model
|
| 17 |
|