Upload model_usage.md with huggingface_hub
Browse files- model_usage.md +3 -3
model_usage.md
CHANGED
@@ -30,10 +30,10 @@ sys.path.append(os.path.dirname(spa_file))
|
|
30 |
# Now you can import from the downloaded files
|
31 |
from spa_hf import load_spa_model
|
32 |
|
33 |
-
# Load
|
34 |
spa_model = load_spa_model(
|
35 |
-
model_name=
|
36 |
-
base_model_name="
|
37 |
device_map="auto" # Use "cpu" if you don't have a GPU
|
38 |
)
|
39 |
|
|
|
30 |
# Now you can import from the downloaded files
|
31 |
from spa_hf import load_spa_model
|
32 |
|
33 |
+
# Load SPA with just the base model, ignoring any saved configurations
|
34 |
spa_model = load_spa_model(
|
35 |
+
model_name=None, # Skip loading from Hub
|
36 |
+
base_model_name="Qwen/Qwen3-0.6B", # Use your preferred base model
|
37 |
device_map="auto" # Use "cpu" if you don't have a GPU
|
38 |
)
|
39 |
|