Update README.md
Browse files
README.md
CHANGED
|
@@ -30,6 +30,24 @@ Extending original Canary2PromptFormatter, KanaryPromptFormatter supports new pr
|
|
| 30 |
|
| 31 |
kanary prompt template: `"{CANARY2_BOCTX}|decodercontext|{CANARY_BOS}|emotion||source_lang||target_lang||pnc||itn||timestamp||diarize||foreign|"`
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
## Quickstart (local inference)
|
| 35 |
|
|
|
|
| 30 |
|
| 31 |
kanary prompt template: `"{CANARY2_BOCTX}|decodercontext|{CANARY_BOS}|emotion||source_lang||target_lang||pnc||itn||timestamp||diarize||foreign|"`
|
| 32 |
|
| 33 |
+
Prompt Defaults
|
| 34 |
+
```yaml
|
| 35 |
+
prompt_format: kanary
|
| 36 |
+
prompt_defaults:
|
| 37 |
+
- role: user
|
| 38 |
+
slots:
|
| 39 |
+
decodercontext: ''
|
| 40 |
+
source_lang: <|ko|>
|
| 41 |
+
target_lang: <|ko|>
|
| 42 |
+
emotion: <|emo:undefined|>
|
| 43 |
+
pnc: <|pnc|>
|
| 44 |
+
itn: <|noitn|>
|
| 45 |
+
diarize: <|nodiarize|>
|
| 46 |
+
timestamp: <|notimestamp|>
|
| 47 |
+
foreign: <|foreign_undefined|>
|
| 48 |
+
- role: user_partial
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
|
| 52 |
## Quickstart (local inference)
|
| 53 |
|