Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ model = "PY007/TinyLlama-1.1B-Chat-v0.1"
|
|
6 |
tokenizer = transformers.LlamaTokenizer.from_pretrained(model)
|
7 |
pipeline = transformers.pipeline("text-generation",model=model,torch_dtype=torch.bfloat16)
|
8 |
|
9 |
-
prompt = "What is 6534+2343?"
|
10 |
formatted_prompt = (
|
11 |
f"### Human: {prompt}### Assistant:"
|
12 |
)
|
|
|
6 |
tokenizer = transformers.LlamaTokenizer.from_pretrained(model)
|
7 |
pipeline = transformers.pipeline("text-generation",model=model,torch_dtype=torch.bfloat16)
|
8 |
|
9 |
+
prompt = "What is 6534+2343?"
|
10 |
formatted_prompt = (
|
11 |
f"### Human: {prompt}### Assistant:"
|
12 |
)
|