Spaces:
Running
on
L4
Running
on
L4
liamcripwell
commited on
Commit
•
07601de
1
Parent(s):
9bf7c8b
Update examples.py
Browse files- examples.py +139 -0
examples.py
CHANGED
@@ -1,5 +1,144 @@
|
|
1 |
# Example inputs for the user to choose from
|
2 |
examples = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
["""{
|
4 |
"birth_date": "",
|
5 |
"current_team": "",
|
|
|
1 |
# Example inputs for the user to choose from
|
2 |
examples = [
|
3 |
+
["""{
|
4 |
+
"Model": {
|
5 |
+
"Name": "",
|
6 |
+
"Number of parameters": "",
|
7 |
+
"Number of token": "",
|
8 |
+
"Architecture": []
|
9 |
+
},
|
10 |
+
"Usage": {
|
11 |
+
"Use case": [],
|
12 |
+
"Licence": ""
|
13 |
+
}
|
14 |
+
}""","""We introduce Mistral 7B, a 7–billion-parameter language model engineered for
|
15 |
+
superior performance and efficiency. Mistral 7B outperforms the best open 13B
|
16 |
+
model (Llama 2) across all evaluated benchmarks, and the best released 34B
|
17 |
+
model (Llama 1) in reasoning, mathematics, and code generation. Our model
|
18 |
+
leverages grouped-query attention (GQA) for faster inference, coupled with sliding
|
19 |
+
window attention (SWA) to effectively handle sequences of arbitrary length with a
|
20 |
+
reduced inference cost. We also provide a model fine-tuned to follow instructions,
|
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/"""],
|
25 |
+
["""{
|
26 |
+
"Doctor_Patient_Discussion": {
|
27 |
+
"Initial_Observation": {
|
28 |
+
"Symptoms": [],
|
29 |
+
"Initial_Assessment": ""
|
30 |
+
},
|
31 |
+
"Medical_Examination": {
|
32 |
+
"Temperature":"",
|
33 |
+
"Blood_Pressure":"",
|
34 |
+
"Doctor_Assessment": "",
|
35 |
+
"Diagnosis": ""
|
36 |
+
},
|
37 |
+
"Treatment_Plan": {
|
38 |
+
"Prescription": []
|
39 |
+
}
|
40 |
+
}
|
41 |
+
}""","""
|
42 |
+
Patient: Good evening doctor.
|
43 |
+
Doctor: Good evening. You look pale and your voice is out of tune.
|
44 |
+
Patient: Yes doctor. I’m running a temperature and have a sore throat.
|
45 |
+
Doctor: Lemme see.
|
46 |
+
(He touches the forehead to feel the temperature.)
|
47 |
+
Doctor: You’ve moderate fever.
|
48 |
+
(He then whips out a thermometer.)
|
49 |
+
Patient: This thermometer is very different from the one you used the last time. (Unlike the earlier one which was placed below the tongue, this one snapped around one of the fingers.)
|
50 |
+
Doctor: Yes, this is a new introduction by medical equipment companies. It’s much more convenient, as it doesn’t require cleaning after every use.
|
51 |
+
Patient: That’s awesome.
|
52 |
+
Doctor: Yes it is.
|
53 |
+
(He removes the thermometer and looks at the reading.)
|
54 |
+
Doctor: Not too high – 99.8.
|
55 |
+
(He then proceeds with measuring blood pressure.)
|
56 |
+
Doctor: Your blood pressure is fine.
|
57 |
+
(He then checks the throat.)
|
58 |
+
Doctor: It looks bit scruffy. Not good.
|
59 |
+
Patient: Yes, it has been quite bad.
|
60 |
+
Doctor: Do you get sweating and shivering?
|
61 |
+
Patient: Not sweating, but I feel somewhat cold when I sit under a fan.
|
62 |
+
Doctor: OK. You’ve few symptoms of malaria. I would suggest you undergo blood test. Nothing to worry about. In most cases, the test come out to be negative. It’s just precautionary, as there have been spurt in malaria cases in the last month or so.
|
63 |
+
(He then proceeds to write the prescription.)
|
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 |
+
"""],
|
68 |
+
["""{
|
69 |
+
"Name": "",
|
70 |
+
"Age": "",
|
71 |
+
"Educations": [
|
72 |
+
{
|
73 |
+
"School": "",
|
74 |
+
"Date": ""
|
75 |
+
}
|
76 |
+
],
|
77 |
+
"Experiences": [
|
78 |
+
{
|
79 |
+
"Company": "",
|
80 |
+
"Date": ""
|
81 |
+
}
|
82 |
+
]
|
83 |
+
}""","""HARVARD UNIVERSITY Extension School
|
84 |
+
Master of Liberal Arts, Information Management Systems May 2015
|
85 |
+
Dean’s List Academic Achievement Award recipient
|
86 |
+
Relevant coursework: Trends in Enterprise Information Systems, Principles of Finance, Data mining
|
87 |
+
and Forecast Management, Resource Planning and Allocation Management, Simulation for
|
88 |
+
Managerial Decision Making
|
89 |
+
RUTGERS, THE STATE UNIVERSITY OF NEW JERSEY
|
90 |
+
Bachelor of Arts in Computer Science with Mathematics minor May 2008
|
91 |
+
Professional Experience
|
92 |
+
STATE STREET CORPORATION
|
93 |
+
Principal –Simulated Technology
|
94 |
+
Boston, MA
|
95 |
+
December 2011 – July 2013
|
96 |
+
Led 8 cross functional, geographically dispersed teams to support quality for the reporting system
|
97 |
+
Improved process efficiency 75% by standardizing end to end project management workflow
|
98 |
+
Reduced application testing time 30% by automating shorter testing phases for off cycle projects
|
99 |
+
Conducted industry research on third-party testing tools and prepared recommendations for maximum
|
100 |
+
return on investment
|
101 |
+
FIDELITY INVESTMENTS
|
102 |
+
Associate – Interactive Technology
|
103 |
+
Boston, MA
|
104 |
+
January 2009 – November 2011
|
105 |
+
Initiated automated testing efforts that reduced post production defects by 40%
|
106 |
+
Implemented initiatives to reduce overall project time frames by involving quality team members
|
107 |
+
early in the Software Development Life Cycle iterations
|
108 |
+
Developed a systematic approach to organize and document the requirements of the to-be-system
|
109 |
+
Provided leadership to off-shore tech teams via training and analyzing business requirements
|
110 |
+
L.L. BEAN, INC.
|
111 |
+
IT Consultant
|
112 |
+
Freeport, ME
|
113 |
+
June 2008 – December 2009
|
114 |
+
Collaborated closely with the business teams to streamline production release strategy plans
|
115 |
+
Managed team of five test engineers to develop data driven framework that increased application
|
116 |
+
testing depth and breadth by 150%
|
117 |
+
Generated statistical analysis of quality and requirements traceability matrices to determine the linear
|
118 |
+
relationship of development time frames to defect identification and subsequent resolution
|
119 |
+
Led walkthroughs with project stakeholders to set expectations and milestones for the project team
|
120 |
+
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"""],
|
125 |
+
["""{
|
126 |
+
"Name_act": "",
|
127 |
+
"Director": "",
|
128 |
+
"Location": [
|
129 |
+
{
|
130 |
+
"City": "",
|
131 |
+
"Venue": "",
|
132 |
+
"Date": "",
|
133 |
+
"Actor": [
|
134 |
+
{
|
135 |
+
"Name": "",
|
136 |
+
"Character_played": ""
|
137 |
+
}
|
138 |
+
]
|
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 |
["""{
|
143 |
"birth_date": "",
|
144 |
"current_team": "",
|