Spaces:
Running
on
L4
Running
on
L4
liamcripwell
commited on
Commit
•
d8947fd
1
Parent(s):
7d46eac
syntax
Browse files- examples.py +12 -13
examples.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# Example inputs for the user to choose from
|
2 |
examples = [
|
3 |
-
|
4 |
"Model": {
|
5 |
"Name": "",
|
6 |
"Number of parameters": "",
|
@@ -21,8 +21,8 @@ reduced inference cost. We also provide a model fine-tuned to follow instruction
|
|
21 |
Mistral 7B – Instruct, that surpasses Llama 2 13B – chat model both on human and
|
22 |
automated benchmarks. Our models are released under the Apache 2.0 license.
|
23 |
Code: https://github.com/mistralai/mistral-src
|
24 |
-
Webpage: https://mistral.ai/news/announcing-mistral-7b/""", True
|
25 |
-
|
26 |
"Doctor_Patient_Discussion": {
|
27 |
"Initial_Observation": {
|
28 |
"Symptoms": [],
|
@@ -64,8 +64,8 @@ Doctor: OK. You’ve few symptoms of malaria. I would suggest you undergo blood
|
|
64 |
Doctor: I’m prescribing three medicines and a syrup. The number of dots in front of each tells you how many times in the day you’ve to take them. For example, the two dots here mean you’ve to take the medicine twice in the day, once in the morning and once after dinner.
|
65 |
Doctor: Do you’ve any other questions?
|
66 |
Patient: No, doctor. Thank you.
|
67 |
-
""", True
|
68 |
-
|
69 |
"Name": "",
|
70 |
"Age": "",
|
71 |
"Educations": [
|
@@ -121,8 +121,8 @@ Technical Expertise
|
|
121 |
MS Excel, PowerPoint, Relational Databases, Project Management, Quantitative Analysis, SQL, Java
|
122 |
Additional
|
123 |
Organized computer and English literacy workshops for underprivileged children in South Asia, 2013
|
124 |
-
Student Scholarship Recipient, National Conference on Race and Ethnicity, 2007-2008""", True
|
125 |
-
|
126 |
"Name_act": "",
|
127 |
"Director": "",
|
128 |
"Location": [
|
@@ -139,8 +139,8 @@ Student Scholarship Recipient, National Conference on Race and Ethnicity, 2007-2
|
|
139 |
}
|
140 |
]
|
141 |
}""",""""Libretto by Marius Petipa, based on the 1822 novella ``Trilby, ou Le Lutin d'Argail`` by Charles Nodier, first presented by the Ballet of the Moscow Imperial Bolshoi Theatre on January 25/February 6 (Julian/Gregorian calendar dates), 1870, in Moscow with Polina Karpakova as Trilby and Ludiia Geiten as Miranda and restaged by Petipa for the Imperial Ballet at the Imperial Bolshoi Kamenny Theatre on January 17–29, 1871 in St. Petersburg with Adèle Grantzow as Trilby and Lev Ivanov as Count Leopold."""
|
142 |
-
, True
|
143 |
-
|
144 |
"birth_date": "",
|
145 |
"current_team": "",
|
146 |
"past_f1_teams": [],
|
@@ -165,7 +165,7 @@ Alonso has won 32 Grands Prix, earned 22 pole positions, and scored 2314 points
|
|
165 |
Early life and karting career
|
166 |
Alonso was born on 29 July 1981 to a working-class family in Oviedo, Asturias, Northern Spain. He is the son of the mine shaft explosives factory mechanic and amateur kart driver José Luis Alonso, and his wife, the department store employee Ana Díaz. Alonso has an elder sister, Lorena, who is a doctor.
|
167 |
|
168 |
-
He was educated at the Holy Guardian Angel Primary School (Spanish: Santo Ángel de la Guarda) in Oviedo from 1985 to 1995 under the Basic Education System (Spanish: Educación General Básica). Alonso attended the Institute Leopoldo Alas Clarín of San Lazaro (Spanish: Instituto Leopoldo Alas Clarín de San Lázaro) until his career in motor racing caused him to leave during his Curso de Orientación Universitaria (English: University Orientation Course
|
169 |
|
170 |
The results allowed him to progress to the world championships. Alonso was third at the 1995 Commission Internationale de Karting (CIK-FIA) Cadets' Rainbow Trophy. Alonso was a mechanic to younger kart drivers to earn money. He won his fourth Spanish Junior Karting Championship, the Trofeo Estival, the Marlboro Masters, and the CIK-FIA 5 Continents Juniors Cup at the Karting Genk in 1996. In 1997, he took the Italian and Spanish International A championships and was second in the European Championship with nine wins, the Masters Karting Paris Bercy and the Spanish Karting Championship.
|
171 |
|
@@ -230,7 +230,7 @@ Alonso joined Aston Martin on a multi-year deal in 2023 alongside Lance Stroll.
|
|
230 |
|
231 |
Alonso at the 2023 Austrian Grand Prix, with Aston Martin
|
232 |
Alonso at the 2024 Chinese Grand Prix, with Aston Martin
|
233 |
-
On his Aston Martin debut at the 2023 Bahrain Grand Prix, Alonso, benefitting from the much-improved machinery of the Aston Martin AMR23, recovered from a first-lap contact with his teammate Lance Stroll without any damage and went on to finish in 3rd place, securing a podium finish and Aston's first since Sebastian Vettel's podium at the 2021 Azerbaijan Grand Prix (the German would finish second at the 2021 Hungarian Grand Prix but would be disqualified due to insufficient fuel sample
|
234 |
|
235 |
Alonso finished in third once again after a chaotic Australian Grand Prix; the third and final restart of the session saw his car make contact with the Ferrari of Carlos Sainz Jr., causing the latter driver to receive a five-second penalty; due to this, Sainz would be classified in last place out of the finishing cars. Alonso's car was undamaged. Alonso agreed with Sainz's criticisms of the penalty, stating that it was "too harsh". The Aston Martins were plagued with DRS issues during qualification of the Azerbaijan Grand Prix, going on to qualify eighth in the new "sprint shootout" qualification and sixth for the main qualification session; he would finish sixth in the sprint race, and fourth in the main race. It was at this point in time the car had dropped in performance, failing to secure podiums on a consistent basis, though he took two podium finishes at Zandvoort, where he recorded his first fastest lap since the 2017 Hungarian Grand Prix, and São Paulo; the latter instance edging out Sergio Pérez by 0.053 seconds. After a seventh-place finish at the Abu Dhabi Grand Prix, Alonso ended the season fourth in the standings, scoring 206 points against his teammate Stroll's 74. Alonso's fourth position in the standings was his highest finish since 2013.
|
236 |
|
@@ -327,6 +327,5 @@ Longest time between first and last points finishes 7,812 days 2024 Canadian Gra
|
|
327 |
Longest time between first and last podium finishes 7,532 days 2023 Dutch Grand Prix
|
328 |
Most races between successive podium finishes 105 2021 Qatar Grand Prix
|
329 |
Furthest distance driven in F1 106,477 km 2022 British Grand Prix
|
330 |
-
Most laps driven in F1 21,287 laps 2023 Italian Grand Prix """, True
|
331 |
-
|
332 |
]
|
|
|
1 |
# Example inputs for the user to choose from
|
2 |
examples = [
|
3 |
+
["""{
|
4 |
"Model": {
|
5 |
"Name": "",
|
6 |
"Number of parameters": "",
|
|
|
21 |
Mistral 7B – Instruct, that surpasses Llama 2 13B – chat model both on human and
|
22 |
automated benchmarks. Our models are released under the Apache 2.0 license.
|
23 |
Code: https://github.com/mistralai/mistral-src
|
24 |
+
Webpage: https://mistral.ai/news/announcing-mistral-7b/""", True],
|
25 |
+
["""{
|
26 |
"Doctor_Patient_Discussion": {
|
27 |
"Initial_Observation": {
|
28 |
"Symptoms": [],
|
|
|
64 |
Doctor: I’m prescribing three medicines and a syrup. The number of dots in front of each tells you how many times in the day you’ve to take them. For example, the two dots here mean you’ve to take the medicine twice in the day, once in the morning and once after dinner.
|
65 |
Doctor: Do you’ve any other questions?
|
66 |
Patient: No, doctor. Thank you.
|
67 |
+
""", True],
|
68 |
+
["""{
|
69 |
"Name": "",
|
70 |
"Age": "",
|
71 |
"Educations": [
|
|
|
121 |
MS Excel, PowerPoint, Relational Databases, Project Management, Quantitative Analysis, SQL, Java
|
122 |
Additional
|
123 |
Organized computer and English literacy workshops for underprivileged children in South Asia, 2013
|
124 |
+
Student Scholarship Recipient, National Conference on Race and Ethnicity, 2007-2008""", True],
|
125 |
+
["""{
|
126 |
"Name_act": "",
|
127 |
"Director": "",
|
128 |
"Location": [
|
|
|
139 |
}
|
140 |
]
|
141 |
}""",""""Libretto by Marius Petipa, based on the 1822 novella ``Trilby, ou Le Lutin d'Argail`` by Charles Nodier, first presented by the Ballet of the Moscow Imperial Bolshoi Theatre on January 25/February 6 (Julian/Gregorian calendar dates), 1870, in Moscow with Polina Karpakova as Trilby and Ludiia Geiten as Miranda and restaged by Petipa for the Imperial Ballet at the Imperial Bolshoi Kamenny Theatre on January 17–29, 1871 in St. Petersburg with Adèle Grantzow as Trilby and Lev Ivanov as Count Leopold."""
|
142 |
+
, True],
|
143 |
+
["""{
|
144 |
"birth_date": "",
|
145 |
"current_team": "",
|
146 |
"past_f1_teams": [],
|
|
|
165 |
Early life and karting career
|
166 |
Alonso was born on 29 July 1981 to a working-class family in Oviedo, Asturias, Northern Spain. He is the son of the mine shaft explosives factory mechanic and amateur kart driver José Luis Alonso, and his wife, the department store employee Ana Díaz. Alonso has an elder sister, Lorena, who is a doctor.
|
167 |
|
168 |
+
He was educated at the Holy Guardian Angel Primary School (Spanish: Santo Ángel de la Guarda) in Oviedo from 1985 to 1995 under the Basic Education System (Spanish: Educación General Básica). Alonso attended the Institute Leopoldo Alas Clarín of San Lazaro (Spanish: Instituto Leopoldo Alas Clarín de San Lázaro) until his career in motor racing caused him to leave during his Curso de Orientación Universitaria (English: University Orientation Course] in 2000. He was granted a permit to study away from school, after he disobeyed his mother's orders and seldom attended classes. He achieved a good academic performance by asking his classmates for notes and was unproblematic.
|
169 |
|
170 |
The results allowed him to progress to the world championships. Alonso was third at the 1995 Commission Internationale de Karting (CIK-FIA) Cadets' Rainbow Trophy. Alonso was a mechanic to younger kart drivers to earn money. He won his fourth Spanish Junior Karting Championship, the Trofeo Estival, the Marlboro Masters, and the CIK-FIA 5 Continents Juniors Cup at the Karting Genk in 1996. In 1997, he took the Italian and Spanish International A championships and was second in the European Championship with nine wins, the Masters Karting Paris Bercy and the Spanish Karting Championship.
|
171 |
|
|
|
230 |
|
231 |
Alonso at the 2023 Austrian Grand Prix, with Aston Martin
|
232 |
Alonso at the 2024 Chinese Grand Prix, with Aston Martin
|
233 |
+
On his Aston Martin debut at the 2023 Bahrain Grand Prix, Alonso, benefitting from the much-improved machinery of the Aston Martin AMR23, recovered from a first-lap contact with his teammate Lance Stroll without any damage and went on to finish in 3rd place, securing a podium finish and Aston's first since Sebastian Vettel's podium at the 2021 Azerbaijan Grand Prix (the German would finish second at the 2021 Hungarian Grand Prix but would be disqualified due to insufficient fuel sample]. Despite having to serve a penalty due to his car being off-position at the starting grid, he finished in third again at the following race at the 2023 Saudi Arabian Grand Prix; this marked his 100th podium, making him the sixth driver to have scored 100 podiums in his career. Following the race, he was issued another ten-second penalty due to serving the first one improperly at his pit stop, dropping him to fourth behind George Russell; however, the team's appeal was accepted and the second penalty was reversed, keeping his podium.
|
234 |
|
235 |
Alonso finished in third once again after a chaotic Australian Grand Prix; the third and final restart of the session saw his car make contact with the Ferrari of Carlos Sainz Jr., causing the latter driver to receive a five-second penalty; due to this, Sainz would be classified in last place out of the finishing cars. Alonso's car was undamaged. Alonso agreed with Sainz's criticisms of the penalty, stating that it was "too harsh". The Aston Martins were plagued with DRS issues during qualification of the Azerbaijan Grand Prix, going on to qualify eighth in the new "sprint shootout" qualification and sixth for the main qualification session; he would finish sixth in the sprint race, and fourth in the main race. It was at this point in time the car had dropped in performance, failing to secure podiums on a consistent basis, though he took two podium finishes at Zandvoort, where he recorded his first fastest lap since the 2017 Hungarian Grand Prix, and São Paulo; the latter instance edging out Sergio Pérez by 0.053 seconds. After a seventh-place finish at the Abu Dhabi Grand Prix, Alonso ended the season fourth in the standings, scoring 206 points against his teammate Stroll's 74. Alonso's fourth position in the standings was his highest finish since 2013.
|
236 |
|
|
|
327 |
Longest time between first and last podium finishes 7,532 days 2023 Dutch Grand Prix
|
328 |
Most races between successive podium finishes 105 2021 Qatar Grand Prix
|
329 |
Furthest distance driven in F1 106,477 km 2022 British Grand Prix
|
330 |
+
Most laps driven in F1 21,287 laps 2023 Italian Grand Prix """, True],
|
|
|
331 |
]
|