dfurman commited on
Commit
127759b
·
1 Parent(s): 129f5a8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -15
README.md CHANGED
@@ -65,7 +65,7 @@ from transformers import (
65
  ```
66
 
67
  ```python
68
- peft_model_id = "dfurman/Yi-6B-instruct-v0.1"
69
  config = PeftConfig.from_pretrained(peft_model_id)
70
 
71
  tokenizer = AutoTokenizer.from_pretrained(
@@ -95,7 +95,6 @@ model = PeftModel.from_pretrained(
95
 
96
  ```python
97
  messages = [
98
- {"role": "system", "content": "You are a helpful assistant. Respond as briefly as possible."},
99
  {"role": "user", "content": "Tell me a recipe for a mai tai."},
100
  ]
101
 
@@ -135,22 +134,12 @@ print(response)
135
 
136
  **Prompt**:
137
  ```python
138
- """<|im_start|>system
139
- You are a helpful assistant. Respond as briefly as possible.<|im_end|>
140
- <|im_start|>user
141
- Tell me a recipe for a mai tai.<|im_end|>
142
- <|im_start|>assistant"""
143
  ```
144
 
145
  **Generation**:
146
  ```python
147
- """Here's one simple version of the classic Mai Tai cocktail:
148
-
149
- 1 oz White Rum (Bacardi, Don Papa, etc.) ➕ ½ oz Coconut Cream Liqueur (Malibu or Coco Lopez)
150
- 2 tsp Simple Syrup ➕ Dash Orange Bitters
151
- 3-4 Ice Cubes
152
-
153
- Shake all ingredients in a shaker filled with ice until well chilled and strain into an old fashioned glass over fresh crushed ice. Garnish with mint leaves if desired. Enjoy!"""
154
  ```
155
 
156
  </details>
@@ -192,7 +181,7 @@ print(prompt)
192
  <summary>Output</summary>
193
 
194
  ```python
195
- "<s>[INST] What is your favourite condiment? [/INST]Well, I'm quite partial to a good squeeze of fresh lemon juice. It adds just the right amount of zesty flavour to whatever I'm cooking up in the kitchen!</s> [INST] Do you have mayonnaise recipes? [/INST]"
196
  ```
197
  </details>
198
 
 
65
  ```
66
 
67
  ```python
68
+ peft_model_id = "dfurman/Mistral-7B-Instruct-v0.1"
69
  config = PeftConfig.from_pretrained(peft_model_id)
70
 
71
  tokenizer = AutoTokenizer.from_pretrained(
 
95
 
96
  ```python
97
  messages = [
 
98
  {"role": "user", "content": "Tell me a recipe for a mai tai."},
99
  ]
100
 
 
134
 
135
  **Prompt**:
136
  ```python
137
+ coming
 
 
 
 
138
  ```
139
 
140
  **Generation**:
141
  ```python
142
+ coming
 
 
 
 
 
 
143
  ```
144
 
145
  </details>
 
181
  <summary>Output</summary>
182
 
183
  ```python
184
+ coming
185
  ```
186
  </details>
187