5 karma · joined Apr 13, 2024 (2y ago) · 9 submissions
comment 2y ago · link · parent
I tried with linear regression with irrelevant features (e.g., NI 1/2 -> 1 informative variable, 2 total variables). The models still perform reasonably well.
All results can be seen in this heatmap: https://github.com/robertvacareanu/llm4regression/blob/main/...
comment 2y ago · link · parent
For example, slightly adapting the code from the `README.md` for re-creating a barplot similar to Figure 1:
``` print(cdf.groupby(by=['dataset', 'model']).apply(lambda x: np.sqrt(((x['pred'] - x['gold']) ** 2).mean()))) ```
The code above prints (the dataset is Original #3):
```
dataset model
original3 Claude 3 Opus 11.862656
DBRX 32.186706
GPT-4 31.672733
Gradient Boosting 21.985396
KNN 55.043003
Linear Regression 29.987077
Random Forest 31.688074
```comment 2y ago · link · parent
I also added google colab examples:
A small example with GPT-4: https://colab.research.google.com/drive/1Bk9uBCBvzuX00Rex-t1...
A small scale eval with GPT-4: https://colab.research.google.com/drive/1_-uHvW2oLtcCXz0c-G_...
Also, feel free to DM or email me if you’d like to chat more about it!
comment 2y ago · link · parent
`The task is to provide your best estimate for "Output". Please provide that and only that, without any additional text.`
Examples of this are available in Appendix J.
Sidenote, but all the experiments were ran with the API. There are some differences between the Chat and the API, for example the Chat can generate and execute code. I shared Chats since they are easy to look at and to try.
If you have access to an API key, I made some google colabs:
Colab links:
- GPT-4 Example: https://colab.research.google.com/drive/1Bk9uBCBvzuX00Rex-t1...
- GPT-4 Small Eval: https://colab.research.google.com/drive/1_-uHvW2oLtcCXz0c-G_...
- Claude 3 Opus Example: https://colab.research.google.com/drive/105jUAGanp7ZLG-Q9Hei...
- Claude 3 Opus Small Eval: https://colab.research.google.com/drive/1-IH68TUuqf_CZyptSSr...
comment 2y ago · link · parent
Colab links:
- GPT-4 Example: https://colab.research.google.com/drive/1Bk9uBCBvzuX00Rex-t1...
- GPT-4 Small Eval: https://colab.research.google.com/drive/1_-uHvW2oLtcCXz0c-G_...
- Claude 3 Opus Example: https://colab.research.google.com/drive/105jUAGanp7ZLG-Q9Hei...
- Claude 3 Opus Small Eval: https://colab.research.google.com/drive/1-IH68TUuqf_CZyptSSr...
comment 2y ago · link · parent
Colab links:
- GPT-4 Example: https://colab.research.google.com/drive/1Bk9uBCBvzuX00Rex-t1...
- GPT-4 Small Eval: https://colab.research.google.com/drive/1_-uHvW2oLtcCXz0c-G_...
- Claude 3 Opus Example: https://colab.research.google.com/drive/105jUAGanp7ZLG-Q9Hei...
- Claude 3 Opus Small Eval: https://colab.research.google.com/drive/1-IH68TUuqf_CZyptSSr...
comment 2y ago · link · parent
For example, for Friedman #1, GPT-4 predicts 12.89 while the true value is 11.69 (https://chat.openai.com/share/177571ad-3845-46a1-952f-963647...)
For Original #1, GPT-4 predicts 83.63 while the true value is 80.39 (https://chat.openai.com/share/808da995-99e6-444a-94da-fc7cd5...)