WEBing commited on
Commit
3da7b6a
1 Parent(s): 9eeb018

update readme

Browse files
Files changed (1) hide show
  1. README.md +2 -3
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
- model_path = "/path/to/kangaroo"
34
- tokenizer = AutoTokenizer.from_pretrained(model_path)
35
  model = AutoModelForCausalLM.from_pretrained(
36
- model_path,
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
  )