Merge pull request #30774 from lujun9972/add-MjAyNDAxMTIgMTMgQmVzdCBPcGVuIFNvdXJjZSBDaGF0R1BUIEFsdGVybmF0aXZlcy5tZAo=

自动选题[tech]: 20240112 13 Best Open Source ChatGPT Alternatives
This commit is contained in:
Xingyu.Wang 2024-01-13 09:16:41 +08:00 committed by GitHub
commit 3e09a4a93a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,222 @@
[#]: subject: "13 Best Open Source ChatGPT Alternatives"
[#]: via: "https://itsfoss.com/open-source-chatgpt-alternatives/"
[#]: author: "Ankush Das https://itsfoss.com/author/ankush/"
[#]: collector: "lujun9972/lctt-scripts-1700446145"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
13 Best Open Source ChatGPT Alternatives
======
ChatGPT is a powerful generative AI tool developed by OpenAI. You enter text prompts in a conversational way, and it gives you a detailed response.
Sure, it is not perfect. But, sometimes it is incredibly helpful. No matter what you do with it, unfortunately, it is not an open-source solution.
As a proprietary option, it isn't beneficial in every way. So, what are some open source ChatGPT alternatives? Here, let me highlight the best ChatGPT alternatives that are open-source in nature.
📋
Not all ChatGPT alternatives function the same way. Some solutions are purely meant for developers to create their own chatbot on top of it. And, a few others offer a chatbot or demo for you to test.
### Reasons to Look for Open-Source ChatGPT Alternatives
Relying on any single service is bad for the consumers. The same goes for ChatGPT.
In addition to that, here's why we should look for open ChatGPT alternatives:
* Get transparency on how our data is being handled.
* You can choose to build your own solution, saving money in the process.
* Customize the ChatGPT alternative as per your requirements.
* You are not locked on to the policies of a single company. The open-source solution can be flexible as per your needs.
* Contributions to the open-source project will make an impact on everyone across the globe.
I do not intend to say that ChatGPT is bad, or you should stop using it. However, "we" as the users should benefit more from the open alternatives in the long-run.
Now, let us move on to the best open-source ChatGPT alternatives.
Not all demos allow commercial use. You need to be careful when using the content from the chatbot demos for some options.
### 1\. OpenChatKit
![][1]
[OpenChatKit][2] is a full-fledged ChatGPT alternative developed by [Together][3].
The company initially collaborated with research organizations like **LAION** (responsible for [**Stable Diffusion**][4]) to create a training dataset. When writing this, it uses the [RedPajama model][5], one of the largest open-source AI models.
You can try if it fits your use-cases and explore its [GitHub page][6] for technical details.
### 2\. ChatRWKV
![][7]
ChatRWKV is an open-source alternative powered by an RNN (Recurrent Neural Network) language model.
You can find a demo of it on [Huggingface][8]. The [GitHub page][9] mentions all about its repository, technical details, and the latest version preview.
Developers and businesses can build their chatbots utilizing ChatRWKV.
### 3\. ColossalChat
![][10]
Colossal AI is an open-source initiative to help you clone AI models and build ChatGPT-like platforms for your requirements.
[ColossalChat][11] is the chatbot leveraging the project. Unfortunately, the demo is not functional when writing this.
You can explore its source code on [GitHub][12].
### 4\. KoboldAI
A ChatGPT-like AI for assisted writing in the form of a browser-based front-end. While it supports a chatbot mode, it is primarily designed as an AI assistant for writing geared towards Novels.
There are various models available, and you can run it on [Google Colab][13] easily.
It supports different modes to optimize your writing and play with it. You can explore all about it on its [GitHub page][14].
### 5\. GPT4ALL
GPT4all is an interesting open-source project that aims to provide you with chatbots that you can run anywhere.
Yes, you can run it locally on your CPU and supports almost every other GPU.
All you need to do is install its desktop application (the chat client), and get started. Want to learn how it's made? Check out its [GitHub page][15].
### 6\. HuggingChat
![][16]
Sounds familiar? Well, Huggingface's platform is used by other AI models and chatbots to showcase a demo.
And, HuggingChat is its take on a ChatGPT alternative, which is open-source. It makes use of the community's best AI models to make the chatbot work.
You can [take it for a spin][17], and explore the [source code][18] for more details. One can choose to use the chat application with a different back-end to meet specific requirements.
### 7\. Koala
Koala by [EasyLM][19] is a chatbot that you can try running locally. It is built on top of LLaMA dataset.
You can refer to its [official blog post][20] to explore the intriguing details.
The demo is not available at the moment. However, you can follow its [documentation][21] to try running it locally and test it out.
### 8\. Vicuna
![][22]
Vicuna is yet another open-source chatbot trained on top of LLaMA. As per the developers, when evaluated using GPT-4 as a judge, it concluded that it comes close to the quality of ChatGPT.
An interesting claim that you might want to test against. You can select the language model Vicuna and try it on [Chatbot Arena][23].
Explore more about it on its [official blog post][24].
### 9\. Alpaca-LoRA
Alpaca-Lora aims to provide an instruct model using low-rank adaptation, letting you run it on a Raspberry Pi.
The entire model can be trained using a single RTX 4090 GPU in a few hours.
At the time, the demo was not working. You can explore all about it on its [GitHub page][25].
### 10\. Dolly
![][26]
Dolly is another language model trained in the Databricks machine learning platform licensed for commercial use.
You can take a look at the source code on [GitHub][27] and explore the model on [Huggingface][28].
### 11\. H2oGPT
![][29]
H2oGPT is tailored for queries to help you summarize your documents. To achieve that, it lets you upload and view documents through its user interface, which is private to you.
You can also initiate a conversation like ChatGPT. There are easy installers available for Windows, and macOS. A little more effort needed using Docker to set it up on a Linux machine.
You can try the [live demo][30] of the chatbot to get an idea and explore the source code on its [GitHub page][31].
### 12\. Cerebras-GPT
![][32]
Cerebras-GPT offers open-source GPT-like models trained using a massive number of parameters.
It does not offer a chatbot. They only aim to provide open-source models that you can use for better accuracy and compute efficiency.
You can get the model details on [Hugging Face][33].
### 13\. OpenAssistant
OpenAssistant was a project to give everyone access to a chatbot like ChatGPT.
For a while, they collected data from users using a demo. Now, the demo is no longer functional as the project was marked complete by the creator.
You can utilize the project's progress and the [source][34] to build on it.
**Suggested Read 📖**
![][35]
### Wrapping Up
ChatGPT's open-source alternatives offer various benefits to users and developers. You can choose to use an open-source chatbot or an open-source language model to build one for your business.
No matter what you pick, you are free to modify and use it as per your requirements, keeping the policies in mind for available language models.
_What is your favorite open-source ChatGPT alternative? Did we miss listing any of your favorite open ChatGPT projects? Let us know your thoughts in the comments down below._
--------------------------------------------------------------------------------
via: https://itsfoss.com/open-source-chatgpt-alternatives/
作者:[Ankush Das][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/ankush/
[b]: https://github.com/lujun9972
[1]: https://itsfoss.com/content/images/2024/01/openchatkit-screenshot.jpg
[2]: https://huggingface.co/spaces/togethercomputer/OpenChatKit
[3]: https://www.together.ai/
[4]: https://github.com/Stability-AI/stablediffusion
[5]: https://www.together.ai/blog/redpajama-7b
[6]: https://github.com/togethercomputer/OpenChatKit
[7]: https://itsfoss.com/content/images/2024/01/chatrwkv.jpg
[8]: https://huggingface.co/spaces/BlinkDL/RWKV-Gradio-2
[9]: https://github.com/BlinkDL/ChatRWKV
[10]: https://itsfoss.com/content/images/2024/01/colossalchat.jpg
[11]: https://chat.colossalai.org/
[12]: https://github.com/hpcaitech/ColossalAI/tree/main/applications/Chat
[13]: https://colab.research.google.com/?utm_source=scs-index
[14]: https://github.com/KoboldAI/KoboldAI-Client
[15]: https://github.com/nomic-ai/gpt4all
[16]: https://itsfoss.com/content/images/2024/01/huggingchat.jpg
[17]: https://huggingface.co/spaces/huggingchat/chat-ui
[18]: https://huggingface.co/spaces/huggingchat/chat-ui/tree/main
[19]: https://github.com/young-geng/EasyLM#koala
[20]: https://bair.berkeley.edu/blog/2023/04/03/koala/
[21]: https://github.com/young-geng/EasyLM/blob/main/docs/koala.md
[22]: https://itsfoss.com/content/images/2024/01/vicuna.jpg
[23]: https://chat.lmsys.org/
[24]: https://lmsys.org/blog/2023-03-30-vicuna/
[25]: https://github.com/tloen/alpaca-lora
[26]: https://itsfoss.com/content/images/2024/01/dolly-huggingface.jpg
[27]: https://github.com/databrickslabs/dolly
[28]: https://huggingface.co/databricks/dolly-v2-12b
[29]: https://itsfoss.com/content/images/2024/01/h2ogpt.jpg
[30]: https://huggingface.co/spaces/h2oai/h2ogpt-chatbot2
[31]: https://github.com/h2oai/h2ogpt
[32]: https://itsfoss.com/content/images/2024/01/cerebras.jpg
[33]: https://huggingface.co/cerebras/Cerebras-GPT-6.7B
[34]: https://github.com/LAION-AI/Open-Assistant?tab=readme-ov-file#how-to-try-it-out
[35]: https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png