MoritzLaurer HF staff commited on
Commit
7b335fa
1 Parent(s): b67545e

Upload translate.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. translate.yaml +15 -0
translate.yaml ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ prompt:
2
+ template: |- # The "|-" makes the following string behave similar to a string in """...""" in Python to render linebreaks correctly. For YAML syntax explanations see e.g. https://www.cloudbees.com/blog/yaml-tutorial-everything-you-need-get-started.
3
+ Translate the following text to {{language}}:
4
+ {{text}}
5
+ template_variables:
6
+ - language
7
+ - text
8
+ metadata:
9
+ name: "Simple Translator"
10
+ description: "A simple translation prompt for illustrating the standard prompt YAML format"
11
+ tags:
12
+ - translation
13
+ - multilinguality
14
+ version: "0.0.1"
15
+ author: "Guy van Babel"