Aobangaming commited on
Commit
ca58dcd
·
verified ·
1 Parent(s): 1632137

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -83,8 +83,8 @@ import importlib.util
83
 
84
  model_id = "Aobangaming/luna-1.5-flash"
85
 
86
- path = hf_hub_download(model_id, "modeling_lightning.py")
87
- spec = importlib.util.spec_from_file_location("lightning", path)
88
  module = importlib.util.module_from_spec(spec)
89
  spec.loader.exec_module(module)
90
 
@@ -92,7 +92,7 @@ model = AutoModelForCausalLM.from_pretrained(
92
  model_id, trust_remote_code=True
93
  )
94
  tokenizer = Tokenizer.from_file(
95
- hf_hub_download(model_id, "lightning_tokenizer.json")
96
  )
97
 
98
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
83
 
84
  model_id = "Aobangaming/luna-1.5-flash"
85
 
86
+ path = hf_hub_download(model_id, "modeling_luna.py")
87
+ spec = importlib.util.spec_from_file_location("luna", path)
88
  module = importlib.util.module_from_spec(spec)
89
  spec.loader.exec_module(module)
90
 
 
92
  model_id, trust_remote_code=True
93
  )
94
  tokenizer = Tokenizer.from_file(
95
+ hf_hub_download(model_id, "luna_tokenizer.json")
96
  )
97
 
98
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")