DoctorChaos commited on
Commit
44c753f
·
verified ·
1 Parent(s): 80fddf3

Upload model_usage.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. 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 the SPA model with your preferred base model
34
  spa_model = load_spa_model(
35
- model_name=repo_id,
36
- base_model_name="meta-llama/Llama-3.1-8B-Instruct", # Use any model you prefer
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