update readme
Browse files
README.md
CHANGED
@@ -30,10 +30,9 @@ See our [github page](https://github.com/KangarooGroup/Kangaroo)
|
|
30 |
import torch
|
31 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
32 |
|
33 |
-
|
34 |
-
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
35 |
model = AutoModelForCausalLM.from_pretrained(
|
36 |
-
|
37 |
torch_dtype=torch.bfloat16,
|
38 |
trust_remote_code=True,
|
39 |
)
|
|
|
30 |
import torch
|
31 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
32 |
|
33 |
+
tokenizer = AutoTokenizer.from_pretrained("KangarooGroup/kangaroo")
|
|
|
34 |
model = AutoModelForCausalLM.from_pretrained(
|
35 |
+
"KangarooGroup/kangaroo",
|
36 |
torch_dtype=torch.bfloat16,
|
37 |
trust_remote_code=True,
|
38 |
)
|