itpossible
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -104,7 +104,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
104 |
|
105 |
device = torch.device("cuda:0") if torch.cuda.is_available() else torch.device("cpu")
|
106 |
|
107 |
-
model_path = "itpossible/Chinese-Mistral-7B-Instruct-v0.
|
108 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
109 |
model = AutoModelForCausalLM.from_pretrained(model_path, torch_dtype=torch.bfloat16, device_map=device)
|
110 |
|
|
|
104 |
|
105 |
device = torch.device("cuda:0") if torch.cuda.is_available() else torch.device("cpu")
|
106 |
|
107 |
+
model_path = "itpossible/Chinese-Mistral-7B-Instruct-v0.2"
|
108 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
109 |
model = AutoModelForCausalLM.from_pretrained(model_path, torch_dtype=torch.bfloat16, device_map=device)
|
110 |
|