|
--- |
|
datasets: |
|
- tatsu-lab/alpaca |
|
- wbbbbb/pclue |
|
language: |
|
- en |
|
widget: |
|
- text: |- |
|
### Instruction: |
|
我們如何減少空氣污染 |
|
|
|
|
|
tags: |
|
- text-generation-inference |
|
--- |
|
|
|
具備繁體中文指令遵循能力的bloomz |
|
|
|
請搭配Alpaca模板使用 |
|
```python |
|
PROMPT_DICT = { |
|
"prompt_input": ( |
|
"Below is an instruction that describes a task, paired with an input that provides further context. " |
|
"Write a response that appropriately completes the request.\n\n" |
|
"### Instruction:\n{instruction}\n\n### Input:\n{input}\n\n### Response:" |
|
), |
|
"prompt_no_input": ( |
|
"Below is an instruction that describes a task. " |
|
"Write a response that appropriately completes the request.\n\n" |
|
"### Instruction:\n{instruction}\n\n### Response:" |
|
), |
|
} |
|
``` |