mwitiderrick commited on
Commit
eb8f072
1 Parent(s): c13093c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -13,7 +13,7 @@ import torch
13
  from transformers import AutoTokenizer, AutoModelForCausalLM
14
  prompt = "How to make banana bread?"
15
  formatted_prompt = f"<s> [|User|]\n{prompt}</s>[|Assistant|]\n"
16
- model_id = "/home/mwiti/mwitiderrick/output_oneshot"
17
  model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype=torch.float16)
18
  tokenizer = AutoTokenizer.from_pretrained(model_id)
19
  inputs = tokenizer(formatted_prompt, return_tensors="pt")
 
13
  from transformers import AutoTokenizer, AutoModelForCausalLM
14
  prompt = "How to make banana bread?"
15
  formatted_prompt = f"<s> [|User|]\n{prompt}</s>[|Assistant|]\n"
16
+ model_id = "nm-testing/MiniChat-2-3B-pruned50-24"
17
  model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype=torch.float16)
18
  tokenizer = AutoTokenizer.from_pretrained(model_id)
19
  inputs = tokenizer(formatted_prompt, return_tensors="pt")