"Upstage" or "upstage"?
Browse filesDue the upper and lower case in the name of the model it downloaded as two diffent copies into the models cache:
* "upstage/SOLAR-10.7B-Instruct-v1.0"
* "Upstage/SOLAR-10.7B-Instruct-v1.0"
README.md
CHANGED
@@ -119,9 +119,9 @@ Use the following Python code to load the model:
|
|
119 |
import torch
|
120 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
121 |
|
122 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
123 |
model = AutoModelForCausalLM.from_pretrained(
|
124 |
-
"
|
125 |
device_map="auto",
|
126 |
torch_dtype=torch.float16,
|
127 |
)
|
|
|
119 |
import torch
|
120 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
121 |
|
122 |
+
tokenizer = AutoTokenizer.from_pretrained("upstage/SOLAR-10.7B-Instruct-v1.0")
|
123 |
model = AutoModelForCausalLM.from_pretrained(
|
124 |
+
"upstage/SOLAR-10.7B-Instruct-v1.0",
|
125 |
device_map="auto",
|
126 |
torch_dtype=torch.float16,
|
127 |
)
|