Update README.md
Browse files
README.md
CHANGED
@@ -52,6 +52,7 @@ The code below shows how to use `dlite-v1-124m` in the way which it was trained.
|
|
52 |
```python
|
53 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
54 |
import numpy as np
|
|
|
55 |
|
56 |
model_id = 'aisquared/dlite-v1-124m'
|
57 |
|
@@ -63,7 +64,7 @@ model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code = True,
|
|
63 |
### Create the Prompt Format and Other Variables
|
64 |
|
65 |
```python
|
66 |
-
|
67 |
|
68 |
### Instruction:
|
69 |
{instruction}
|
|
|
52 |
```python
|
53 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
54 |
import numpy as np
|
55 |
+
import re
|
56 |
|
57 |
model_id = 'aisquared/dlite-v1-124m'
|
58 |
|
|
|
64 |
### Create the Prompt Format and Other Variables
|
65 |
|
66 |
```python
|
67 |
+
PROMPT = """Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
68 |
|
69 |
### Instruction:
|
70 |
{instruction}
|