如何快速使用ChatGPT AI语言模型 (持续更新)

image-20240514100602180

方法和链接都失效了,建议暂时使用poe.com过度一下

2024年5月更新: docker搭建国内可用GPT网页项目ChatGPT Next,更换API KEY满血复活

打开试用ChatGPT Next 或拉到最下方的 ‘预览’

实例:点击左上角的“面具” 》 英专写手,支持粘贴很长一篇的中文文章,然后全文翻译成英文

下一步探索学习: vLLM自己部署模型

如何快速使用ChatGPT AI语言模型

2023年12月更新: docker搭建国内可用GPT网页项目ChatGPT Next

打开试用ChatGPT Next 或拉到最下方的 ‘预览’


其他的渠道 2023年11月:

网址 是否需要登录
https://www.mychatbotgpt.com/
https://py.c1ns.cn , 2024.3.5 已无效
http://chat3.aiyunos.top , 2024.3.5 已无效
https://vip.easychat.work/#/ , 2024.3.5,需要登录,注册

Bing Chat 更名为「Copilot」

网址 是否需要登录
https://copilot.microsoft.com/ 2024.3.5 变为需要登录, 且已无效

其他的渠道 2023年8月:

  1. 打开浏览器访问: https://chat-shared2.zhile.io/shared.html

_
历史记录:
_

2023年8月25日,体验良好,优点无需注册方便快捷,打开即用

其他的渠道 2023年7月:

  1. 打开浏览器访问: https://poe.com/ChatGPT

  2. 需要注册,需要魔法上网_

  3. poe.com 旗下产品

    ChatGPT, Sage,GPT-4,Claude+,Claude-instant, Dragonfly

    浏览器必须处在全局代理模式下:https://poe.com/ChatGPT

历史记录:

_

2023年初 - 7月,测试发现这个网站依然坚挺

测试日期:2023年6月初

  1. 打开浏览器访问:https://gpt.aigcfast.com 2024.3.5 已无效
  2. 输入问题后,点击 “发送”按钮。
  3. 说明:大型语言模型AI答案会随即给出;支持手机和电脑等各种设备
    请自我考量隐私和信息的正确性,只做一个临时推荐,有效期不确定,本文将持续更新访问AI的临时渠道
    历史记录:
    2023年7月,测试发现这个网址需要注册了

其他的渠道 1:

微信小程序搜索:“一起玩ai”
需注册登录


大语言模型的定义

大语言模型指的是一类自然语言处理模型,它们以大量的文本数据为训练数据,并通过机器学习算法学习自然语言的语法、语义、语用等特征,从而能够生成自然流畅的文本,或完成文本的自动分类、生成、翻译、问答等任务。大语言模型通常基于深度神经网络或转换器模型等技术实现,如 GPT-3、BERT、ELMo,等等。大语言模型已被广泛应用于自然语言处理领域,并在机器翻译、自动问答、语言模拟和文本生成等领域取得了显著的成果。

大语言模型面临的挑战

大语言模型面临的挑战包括但不限于以下几个方面:

  1. 模型规模:大语言模型的规模通常非常庞大,需要耗费大量的计算资源和存储空间。在模型的训练和推理过程中需要高性能计算设备和分布式计算技术。
  2. 数据质量:大语言模型依赖于大量高质量的训练数据才能取得良好的效果,但是现有的文本数据中可能存在错误、噪声、歧义等问题,这些问题会对模型的学习和泛化能力产生影响。
  3. 模型泛化能力:大语言模型需要具备良好的泛化能力,在未知的领域和语境中也能够准确地预测、识别、生成等。这需要模型具备对多样性和复杂性的建模能力。
  4. 隐私保护:大语言模型需要训练在大量的用户数据上,如何保护用户的隐私成为一个值得探讨的问题。
  5. 模型可解释性:大语言模型通常是一个黑盒子,难以解释模型的决策过程和内部机制。这限制了模型在某些关键领域的应用。

AI画图,Stable Diffusion

stable diffusion是一款好用的ai绘画软件是一款好用的ai绘画软件

Stable Diffusion
Stable Diffusion XL is a latent text-to-image diffusion model capable of generating photo-realistic images given any text input, cultivates autonomous freedom to produce incredible imagery, empowers billions of people to create stunning art within seconds.
Create beautiful images with our AI Image Generator (Text to Image) for free.

Text-to-Image
飞流直下三千尺, 疑是银河落九天, 瀑布, 插画

太乙 Stable Diffusion 纯中文版本:https://huggingface.co/IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Chinese-v0.1

太乙 Stable Diffusion 中英双语版本:https://huggingface.co/IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Chinese-EN-v0.1

docker搭建国内可用GPT网页项目ChatGPT Next

ChatGPT Next Web

1
2
3
4
5
6
7
8
9
10
docker pull yidadaa/chatgpt-next-web

docker run -d -p 3000:3000 \
-e OPENAI_API_KEY=sk-@@@@@@@ \
-e CODE= \
-e BASE_URL=https://api.chatanywhere.com.cn \
-e HIDE_USER_API_KEY=1 \
-e DISABLE_GPT4=0 \
-e DISABLE_FAST_LINK=0 \
yidadaa/chatgpt-next-web

开启防火墙3000端口

yidadaa/chatgpt-next-web http://192.168.6.116:3000/#/
如果要求要输入API Key之类的auth,直接回车即可!

NPM反代+shortener: https://c.carlzeng.top:3/chat

Docker Update 让容器自动重启

1
docker update --restart=always chatgpt-next-web

感谢列表

GPT使用太麻烦?教你如何用NAS搭建一个国内可用GPT网页项目

ChatGPT Next Web

https://github.com/Yidadaa/ChatGPT-Next-Web/tree/main

https://github.com/chatanywhere/GPT_API_free

获取ChatGPT的api key

免费api key获取地址

使用github账号授权登录后获取免费api key

如何使用API的方式使用ChatGPT3.5

API call to
https://chatanywhere.apifox.cn/api-92222076

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#curl
curl --location --request POST 'https://api.chatanywhere.com.cn/v1/chat/completions' \
--header 'Authorization: Bearer sk-xxxxxxxx' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Hello!"}]
}'


#wget
wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Authorization: Bearer sk-xxxxxxxx' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--body-data '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Hello!"}]
}' \
'https://api.chatanywhere.com.cn/v1/chat/completions'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//XHR
// WARNING: For POST requests, body is set to null by browsers.
var data = JSON.stringify({
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
});

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.addEventListener("readystatechange", function() {
if(this.readyState === 4) {
console.log(this.responseText);
}
});

xhr.open("POST", "https://api.chatanywhere.com.cn/v1/chat/completions");
xhr.setRequestHeader("Authorization", "Bearer sk-xxxxxxxx");
xhr.setRequestHeader("User-Agent", "Apifox/1.0.0 (https://apifox.com)");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);


//jQuery
var settings = {
"url": "https://api.chatanywhere.com.cn/v1/chat/completions",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer sk-xxxxxxxx",
"User-Agent": "Apifox/1.0.0 (https://apifox.com)",
"Content-Type": "application/json"
},
"data": JSON.stringify({
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}),
};

$.ajax(settings).done(function (response) {
console.log(response);
});

创建图像的API [免费的API不支持]

1
2
3
4
5
6
7
8
9
10
curl --location --request POST 'https://api.chatanywhere.com.cn/v1/images/generations' \
--header 'Authorization: Bearer sk-xxxxxxxx' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "A colorful sunset over the mountains",
"n": 1,
"model": "dall-e-3",
"size": "1024x1024"
}'

怎么用

  1. 浏览器访问 https://c.carlzeng.top:3/chat

  2. [可选一次性设置] 页面在New Conversation

    1. Unauthorized access, please enter access code in auth page, or enter your OpenAI API Key.
  3. 点击 “auth”按钮

  4. 在弹出的Need Access Code页面,Please enter access code below;直接点击‘Confirm’(没有密码)

  5. 即可直接在New Conversation页面提问了

Bing Chat AI

1
2
3
4
5
6
7
8
9
10
version: "3"
services:
go-proxy-bingai:
ports:
- 3000:8080
container_name: go-proxy-binga
restart: unless-stopped
image: adams549659584/go-proxy-bingai
environment:
- Go_Proxy_BingAI_SOCKS_URL=192.168.6.116:7890

还去Cloudflare部署了一个worker: https://purple-firefly-b828.60102593.workers.dev/

依然无效,bing还是的答复还会卡死: 正在尝试连接,请稍候…

预览