Spaces:
Runtime error
Runtime error
Changing the saamples back to showcase greedy vs sampling
Browse files- spaces_info.py +44 -13
spaces_info.py
CHANGED
|
@@ -19,25 +19,56 @@ Note:
|
|
| 19 |
examples = [
|
| 20 |
[
|
| 21 |
'A "whatpu" is a small, furry animal native to Tanzania. An example of a sentence that uses the word whatpu is: We were traveling in Africa and we saw these very cute whatpus. To do a "farduddle" means to jump up and down really fast. An example of a sentence that uses the word farduddle is:',
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
[
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
[
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
[
|
| 36 |
"Question: Where does the Greek Goddess Persephone spend half of the year when she is not with her mother?\nAnswer:",
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
[
|
| 39 |
"spelling test answers.\nWhat are the letters in « language »?\nAnswer: l-a-n-g-u-a-g-e\nWhat are the letters in « Romanian »?\nAnswer:",
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
]
|
| 42 |
|
| 43 |
initial_prompt_value = """استخراج العدد العاملي في لغة بايثون :
|
|
|
|
| 19 |
examples = [
|
| 20 |
[
|
| 21 |
'A "whatpu" is a small, furry animal native to Tanzania. An example of a sentence that uses the word whatpu is: We were traveling in Africa and we saw these very cute whatpus. To do a "farduddle" means to jump up and down really fast. An example of a sentence that uses the word farduddle is:',
|
| 22 |
+
32,
|
| 23 |
+
"Sample",
|
| 24 |
+
False,
|
| 25 |
+
"Sample 1",
|
| 26 |
+
],
|
| 27 |
[
|
| 28 |
+
"A poem about the beauty of science by Alfred Edgar Brittle\nTitle: The Magic Craft\nIn the old times",
|
| 29 |
+
50,
|
| 30 |
+
"Sample",
|
| 31 |
+
False,
|
| 32 |
+
"Sample 1",
|
| 33 |
+
],
|
| 34 |
+
["استخراج العدد العاملي في لغة بايثون:", 30, "Greedy", False, "Sample 1"],
|
| 35 |
+
["Pour déguster un ortolan, il faut tout d'abord", 32, "Sample", False, "Sample 1"],
|
| 36 |
[
|
| 37 |
+
"Traduce español de España a español de Argentina\nEl coche es rojo - el auto es rojo\nEl ordenador es nuevo - la computadora es nueva\nel boligrafo es negro -",
|
| 38 |
+
16,
|
| 39 |
+
"Sample",
|
| 40 |
+
False,
|
| 41 |
+
"Sample 1",
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
"Estos ejemplos quitan vocales de las palabras\nEjemplos:\nhola - hl\nmanzana - mnzn\npapas - pps\nalacran - lcrn\npapa -",
|
| 45 |
+
16,
|
| 46 |
+
"Sample",
|
| 47 |
+
False,
|
| 48 |
+
"Sample 1",
|
| 49 |
+
],
|
| 50 |
+
[
|
| 51 |
+
"Question: If I put cheese into the fridge, will it melt?\nAnswer:",
|
| 52 |
+
32,
|
| 53 |
+
"Sample",
|
| 54 |
+
False,
|
| 55 |
+
"Sample 1",
|
| 56 |
+
],
|
| 57 |
+
["Math exercise - answers:\n34+10=44\n54+20=", 16, "Greedy", False, "Sample 1"],
|
| 58 |
[
|
| 59 |
"Question: Where does the Greek Goddess Persephone spend half of the year when she is not with her mother?\nAnswer:",
|
| 60 |
+
24,
|
| 61 |
+
"Greedy",
|
| 62 |
+
False,
|
| 63 |
+
"Sample 1",
|
| 64 |
+
],
|
| 65 |
[
|
| 66 |
"spelling test answers.\nWhat are the letters in « language »?\nAnswer: l-a-n-g-u-a-g-e\nWhat are the letters in « Romanian »?\nAnswer:",
|
| 67 |
+
24,
|
| 68 |
+
"Greedy",
|
| 69 |
+
False,
|
| 70 |
+
"Sample 1",
|
| 71 |
+
],
|
| 72 |
]
|
| 73 |
|
| 74 |
initial_prompt_value = """استخراج العدد العاملي في لغة بايثون :
|