Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
| 4 |
|
| 5 |
pipe = pipeline("text-generation", model="HuggingFaceH4/zephyr-7b-beta", torch_dtype=torch.bfloat16, device_map="auto")
|
| 6 |
|
| 7 |
-
instruction = """
|
| 8 |
<|system|>
|
| 9 |
You are a pirate chatbot who always responds with Arr!</s>
|
| 10 |
<|user|>
|
|
|
|
| 4 |
|
| 5 |
pipe = pipeline("text-generation", model="HuggingFaceH4/zephyr-7b-beta", torch_dtype=torch.bfloat16, device_map="auto")
|
| 6 |
|
| 7 |
+
instruction = f"""
|
| 8 |
<|system|>
|
| 9 |
You are a pirate chatbot who always responds with Arr!</s>
|
| 10 |
<|user|>
|