Spaces:
Running
Running
Updated README.md.
Browse files
README.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
|
3 |
This project is a demonstration of the concept of Meta Prompt, which involves generating a language model prompt using another language model. The demo showcases how a language model can be used to generate high-quality prompts for another language model.
|
4 |
|
|
|
|
|
5 |
## Overview
|
6 |
|
7 |
The demo utilizes OpenAI's language models and provides a user interface for interacting with the chatbot. It allows users to input prompts, execute model calls, compare outputs, and optimize prompts based on desired criteria.
|
@@ -28,6 +30,79 @@ Replace `YOUR_API_KEY` with your OpenAI API key. Other optional parameters can b
|
|
28 |
|
29 |
Once the demo is running, you can interact with the chatbot through the user interface provided. Enter prompts, execute model calls, compare outputs, and explore the functionality of the Meta Prompt concept.
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
## License
|
32 |
|
33 |
This project is licensed under the MIT License. Please see the [LICENSE](LICENSE) file for more information.
|
|
|
2 |
|
3 |
This project is a demonstration of the concept of Meta Prompt, which involves generating a language model prompt using another language model. The demo showcases how a language model can be used to generate high-quality prompts for another language model.
|
4 |
|
5 |
+
<iframe width="560" height="315" src="https://www.youtube.com/embed/eNFUq2AjKCk" frameborder="0" allowfullscreen></iframe>
|
6 |
+
|
7 |
## Overview
|
8 |
|
9 |
The demo utilizes OpenAI's language models and provides a user interface for interacting with the chatbot. It allows users to input prompts, execute model calls, compare outputs, and optimize prompts based on desired criteria.
|
|
|
30 |
|
31 |
Once the demo is running, you can interact with the chatbot through the user interface provided. Enter prompts, execute model calls, compare outputs, and explore the functionality of the Meta Prompt concept.
|
32 |
|
33 |
+
## Examples
|
34 |
+
|
35 |
+
### Arithmetic
|
36 |
+
|
37 |
+
#### Testing User Prompt
|
38 |
+
|
39 |
+
```
|
40 |
+
(2+8)*3
|
41 |
+
```
|
42 |
+
|
43 |
+
#### Expected Output
|
44 |
+
|
45 |
+
```
|
46 |
+
(2+8)*3
|
47 |
+
= 10*3
|
48 |
+
= 30
|
49 |
+
```
|
50 |
+
|
51 |
+
### GDP
|
52 |
+
|
53 |
+
#### Testing User Prompt
|
54 |
+
|
55 |
+
```
|
56 |
+
Here is the GDP data in billions of US dollars (USD) for these years:
|
57 |
+
|
58 |
+
Germany:
|
59 |
+
|
60 |
+
2015: $3,368.29 billion
|
61 |
+
2016: $3,467.79 billion
|
62 |
+
2017: $3,677.83 billion
|
63 |
+
2018: $3,946.00 billion
|
64 |
+
2019: $3,845.03 billion
|
65 |
+
France:
|
66 |
+
|
67 |
+
2015: $2,423.47 billion
|
68 |
+
2016: $2,465.12 billion
|
69 |
+
2017: $2,582.49 billion
|
70 |
+
2018: $2,787.86 billion
|
71 |
+
2019: $2,715.52 billion
|
72 |
+
United Kingdom:
|
73 |
+
|
74 |
+
2015: $2,860.58 billion
|
75 |
+
2016: $2,650.90 billion
|
76 |
+
2017: $2,622.43 billion
|
77 |
+
2018: $2,828.87 billion
|
78 |
+
2019: $2,829.21 billion
|
79 |
+
Italy:
|
80 |
+
|
81 |
+
2015: $1,815.72 billion
|
82 |
+
2016: $1,852.50 billion
|
83 |
+
2017: $1,937.80 billion
|
84 |
+
2018: $2,073.90 billion
|
85 |
+
2019: $1,988.14 billion
|
86 |
+
Spain:
|
87 |
+
|
88 |
+
2015: $1,199.74 billion
|
89 |
+
2016: $1,235.95 billion
|
90 |
+
2017: $1,313.13 billion
|
91 |
+
2018: $1,426.19 billion
|
92 |
+
2019: $1,430.38 billion
|
93 |
+
|
94 |
+
```
|
95 |
+
|
96 |
+
#### Expected Output
|
97 |
+
|
98 |
+
```
|
99 |
+
Year,Germany,France,United Kingdom,Italy,Spain
|
100 |
+
2016-2015,2.96%,1.71%,-7.35%,2.02%,3.04%
|
101 |
+
2017-2016,5.08%,4.78%,-1.07%,4.61%,6.23%
|
102 |
+
2018-2017,7.48%,7.99%,7.89%,7.10%,8.58%
|
103 |
+
2019-2018,-2.56%,-2.59%,0.01%,-4.11%,0.30%
|
104 |
+
```
|
105 |
+
|
106 |
## License
|
107 |
|
108 |
This project is licensed under the MIT License. Please see the [LICENSE](LICENSE) file for more information.
|