Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
dee67323
"docs/vscode:/vscode.git/clone" did not exist on "0ed4d0dfb636777cbb00bc86f561d60ee420cd9b"
Unverified
Commit
dee67323
authored
May 11, 2023
by
Federico Galatolo
Committed by
GitHub
May 11, 2023
Browse files
Added missing " in CHAT_PROMPT_TEMPLATE (#23287)
parent
e1eb3efd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/tools/prompts.py
src/transformers/tools/prompts.py
+1
-1
No files found.
src/transformers/tools/prompts.py
View file @
dee67323
...
@@ -172,7 +172,7 @@ Human: It worked! Can you translate the summary in German?
...
@@ -172,7 +172,7 @@ Human: It worked! Can you translate the summary in German?
Assistant: I will use the tool `translator` to translate the text in German.
Assistant: I will use the tool `translator` to translate the text in German.
```py
```py
translated_summary = translator(summarized_text, src_lang="English", tgt_lang="German)
translated_summary = translator(summarized_text, src_lang="English", tgt_lang="German
"
)
```
```
====
====
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment