Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,8 @@ We recommend using the following prompt template, which was used to fine-tune th
|
|
46 |
<extra_id_1>Assistant\n
|
47 |
```
|
48 |
|
49 |
-
|
|
|
50 |
|
51 |
|
52 |
## Usage
|
@@ -84,8 +85,7 @@ messages = [
|
|
84 |
{"role": "user", "content": "Who are you?"},
|
85 |
]
|
86 |
pipe = pipeline("text-generation", model="nvidia/Mistral-NeMo-Minitron-8B-Instruct")
|
87 |
-
pipe
|
88 |
-
pipe(messages)
|
89 |
```
|
90 |
|
91 |
## AI Safety Efforts
|
|
|
46 |
<extra_id_1>Assistant\n
|
47 |
```
|
48 |
|
49 |
+
- A newline character `\n` should be added at the end of the prompt.
|
50 |
+
- `<extra_id_1>` should be used as a stop token.
|
51 |
|
52 |
|
53 |
## Usage
|
|
|
85 |
{"role": "user", "content": "Who are you?"},
|
86 |
]
|
87 |
pipe = pipeline("text-generation", model="nvidia/Mistral-NeMo-Minitron-8B-Instruct")
|
88 |
+
pipe(messages, max_length=64)
|
|
|
89 |
```
|
90 |
|
91 |
## AI Safety Efforts
|