Safetensors
transformers_zamba2
zamba2
pglo commited on
Commit
1abeaa1
·
verified ·
1 Parent(s): 09b4c5b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -53,7 +53,7 @@ import torch
53
  tokenizer = AutoTokenizer.from_pretrained("Zyphra/Zamba2-1.2B")
54
  model = AutoModelForCausalLM.from_pretrained("Zyphra/Zamba2-1.2B", device_map="cuda", torch_dtype=torch.bfloat16)
55
 
56
- input_text = "A funny prompt would be "
57
  input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
58
 
59
  outputs = model.generate(**input_ids, max_new_tokens=100)
 
53
  tokenizer = AutoTokenizer.from_pretrained("Zyphra/Zamba2-1.2B")
54
  model = AutoModelForCausalLM.from_pretrained("Zyphra/Zamba2-1.2B", device_map="cuda", torch_dtype=torch.bfloat16)
55
 
56
+ input_text = "What factors contributed to the fall of the Roman Empire?"
57
  input_ids = tokenizer(input_text, return_tensors="pt").to("cuda")
58
 
59
  outputs = model.generate(**input_ids, max_new_tokens=100)