Update README.md
Browse files
README.md
CHANGED
@@ -52,7 +52,7 @@ dtype: float16
|
|
52 |
```python
|
53 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
54 |
import torch
|
55 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
56 |
model = AutoModelForCausalLM.from_pretrained("ori-cloud/ds-trinity-7b-v1", torch_dtype=torch.bfloat16,
|
57 |
device_map="auto")
|
58 |
prompt = "#write a quick sort algorithm"
|
|
|
52 |
```python
|
53 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
54 |
import torch
|
55 |
+
tokenizer = AutoTokenizer.from_pretrained("ori-cloud/ds-trinity-7b-v1")
|
56 |
model = AutoModelForCausalLM.from_pretrained("ori-cloud/ds-trinity-7b-v1", torch_dtype=torch.bfloat16,
|
57 |
device_map="auto")
|
58 |
prompt = "#write a quick sort algorithm"
|