Update README.md
Browse files
README.md
CHANGED
|
@@ -30,10 +30,8 @@ model = LlamaForCausalLM.from_pretrained(model_path)
|
|
| 30 |
model.to("cuda")
|
| 31 |
model.eval()
|
| 32 |
|
| 33 |
-
|
| 34 |
prompt = "The curious cat looked at the"
|
| 35 |
|
| 36 |
-
|
| 37 |
inputs = tokenizer(prompt, return_tensors="pt", add_special_tokens=False)
|
| 38 |
input_ids = inputs.input_ids.to("cuda")
|
| 39 |
|
|
|
|
| 30 |
model.to("cuda")
|
| 31 |
model.eval()
|
| 32 |
|
|
|
|
| 33 |
prompt = "The curious cat looked at the"
|
| 34 |
|
|
|
|
| 35 |
inputs = tokenizer(prompt, return_tensors="pt", add_special_tokens=False)
|
| 36 |
input_ids = inputs.input_ids.to("cuda")
|
| 37 |
|