Update README.md
Browse files
README.md
CHANGED
|
@@ -82,6 +82,22 @@ Mistral Nemo is a transformer model, with the following architecture choices:
|
|
| 82 |
For guardrailing and moderating prompts against indirect/direct prompt injections and jailbreaking, please follow the SentinelShield AI GitHub repository:
|
| 83 |
[SentinelShield AI](https://github.com/tomtyiu/SentinelShieldAI)
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
|
| 86 |
#### Demo
|
| 87 |
|
|
|
|
| 82 |
For guardrailing and moderating prompts against indirect/direct prompt injections and jailbreaking, please follow the SentinelShield AI GitHub repository:
|
| 83 |
[SentinelShield AI](https://github.com/tomtyiu/SentinelShieldAI)
|
| 84 |
|
| 85 |
+
## Prompt Template: Alpaca (recommended)
|
| 86 |
+
plesee use Alpaca prompt
|
| 87 |
+
|
| 88 |
+
```python
|
| 89 |
+
f"""Below is an instruction that describes a task. \
|
| 90 |
+
Write a response that appropriately completes the request.
|
| 91 |
+
|
| 92 |
+
### Instruction:
|
| 93 |
+
{x['instruction']}
|
| 94 |
+
|
| 95 |
+
### Input:
|
| 96 |
+
{x['input']}
|
| 97 |
+
|
| 98 |
+
### Response:
|
| 99 |
+
"""
|
| 100 |
+
```
|
| 101 |
|
| 102 |
#### Demo
|
| 103 |
|