Update README.md
Browse files
README.md
CHANGED
@@ -27,9 +27,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_input_folder, trust_remote_code=
|
|
27 |
model = AutoModelForCausalLM.from_pretrained(model_input_folder, trust_remote_code=True)
|
28 |
|
29 |
inputs = tokenizer("Testing LLM!", return_tensors="pt")
|
30 |
-
start = datetime.now()
|
31 |
outputs = model.generate(**inputs)
|
32 |
-
end = datetime.now()
|
33 |
print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
|
34 |
|
35 |
```
|
|
|
27 |
model = AutoModelForCausalLM.from_pretrained(model_input_folder, trust_remote_code=True)
|
28 |
|
29 |
inputs = tokenizer("Testing LLM!", return_tensors="pt")
|
|
|
30 |
outputs = model.generate(**inputs)
|
|
|
31 |
print(tokenizer.batch_decode(outputs, skip_special_tokens=True))
|
32 |
|
33 |
```
|