mwitiderrick commited on
Commit
b3c3a84
1 Parent(s): cdf1100

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -2,7 +2,7 @@
2
  import torch
3
  from transformers import AutoTokenizer, AutoModelForCausalLM
4
 
5
- model_id = "/home/mwiti/mwitiderrick/output_oneshot"
6
  model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype=torch.float16)
7
  tokenizer = AutoTokenizer.from_pretrained(model_id)
8
  inputs = tokenizer("Hello my name is", return_tensors="pt")
 
2
  import torch
3
  from transformers import AutoTokenizer, AutoModelForCausalLM
4
 
5
+ model_id = "nm-testing/TinyLlama-1.1B-Chat-v1.0-pruned50-24"
6
  model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto", torch_dtype=torch.float16)
7
  tokenizer = AutoTokenizer.from_pretrained(model_id)
8
  inputs = tokenizer("Hello my name is", return_tensors="pt")