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