diff --git a/13B.jpg b/13B.jpg new file mode 100644 index 0000000000000..f67602299b583 Binary files /dev/null and b/13B.jpg differ diff --git a/30B.jpg b/30B.jpg new file mode 100644 index 0000000000000..8964ba857615b Binary files /dev/null and b/30B.jpg differ diff --git a/7B.jpg b/7B.jpg new file mode 100644 index 0000000000000..572d319d477c5 Binary files /dev/null and b/7B.jpg differ diff --git a/README.md b/README.md index a9220547244f2..959fb09efe8fc 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/bingAI.jpg b/bingAI.jpg new file mode 100644 index 0000000000000..ba5a8fd0d75e8 Binary files /dev/null and b/bingAI.jpg differ diff --git a/gpt3.5.jpg b/gpt3.5.jpg new file mode 100644 index 0000000000000..992511a195016 Binary files /dev/null and b/gpt3.5.jpg differ