suhara commited on
Commit
8632fc9
1 Parent(s): 5a020fe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
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
- Please note that a newline character `\n` should be added at the end of the prompt.
 
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.tokenizer = tokenizer # You need to assign tokenizer manually
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