Skip to content

Added "Anecdotal Examples/Comparisons of Different AI Models" to README. #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added 13B.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 30B.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 7B.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,43 @@ cmake --build . --config Release
- (You can add other launch options like `--n 8` as preferred onto the same line)
- You can now type to the AI in the terminal and it will reply. Enjoy!

## Anecdotal Examples/Comparisons of Different AI Models

Here we will provide anecdotal examples/comparisons of responses for prompts between the following AI models:

- Alpaca 7B
- Alpaca 13B
- Alpaca 30B
- ChatGPT 3.5
- Bing AI

Please note that these examples are not comprehensive, and they should not be used as a basis for a formal evaluation of these AI models. Additionally, performance differs greatly between prompts, and we found that sometimes 7B gave better outputs than 13B and 30B and vice versa. Outputs even differed between consecutive runs in the same version.

### Example Prompt 1:

Write an email to Trevor with some facts about quantum computing in a Star Wars theme.

#### Responses

##### Alpaca 7B
![Alpaca 7B](7B.jpg)

##### Alpaca 13B
![Alpaca 13B](13B.jpg)

##### Alpaca 30B
![Alpaca 30B](30B.jpg)

##### ChatGPT 3.5
![ChatGPT 3.5](gpt3.5.jpg)

##### Bing AI
![Bing AI](bingAI.jpg)

As you can see from the examples above, the responses generated by each AI model differ in quality and coherence. However, again, it is important to note that these examples are anecdotal, and more comprehensive testing is needed to provide a fair comparison between these AI models.



## Credit

This combines [Facebook's LLaMA](https://github.com/facebookresearch/llama), [Stanford Alpaca](https://crfm.stanford.edu/2023/03/13/alpaca.html), [alpaca-lora](https://github.com/tloen/alpaca-lora) and [corresponding weights](https://huggingface.co/tloen/alpaca-lora-7b/tree/main) by Eric Wang (which uses [Jason Phang's implementation of LLaMA](https://github.com/huggingface/transformers/pull/21955) on top of Hugging Face Transformers), and [llama.cpp](https://github.com/ggerganov/llama.cpp) by Georgi Gerganov. The chat implementation is based on Matvey Soloviev's [Interactive Mode](https://github.com/ggerganov/llama.cpp/pull/61) for llama.cpp. Inspired by [Simon Willison's](https://til.simonwillison.net/llms/llama-7b-m2) getting started guide for LLaMA. [Andy Matuschak](https://twitter.com/andy_matuschak/status/1636769182066053120)'s thread on adapting this to 13B, using fine tuning weights by [Sam Witteveen](https://huggingface.co/samwit/alpaca13B-lora).
Expand Down
Binary file added bingAI.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added gpt3.5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.