ChatGPT检测器(Detector)

ChatGPT检测器(Detector)

现阶段可使用的Detector如以下所示,在网页端有5个(3个支持中文),api有3个途径,代码运行成功的有一个。

网页端

名称地址特性
GPTZerohttps://gptzero.me/支持中英文,判定较为严格,有开源代码
OpenAI GPT2 Output Detectorhttps://openai-openai-detector.hf.space/支持中英文,判定宽松
Hello-SimpleAI ChatGPT Detectorhttps://huggingface.co/spaces/Hello-SimpleAI/chatgpt-detector-ling支持中英文,判定宽松,有开源代码
Contentatscale AI Content Detectorhttps://contentatscale.ai/ai-content-detector/仅支持英文,判定较为宽松,最多1500个字符
Writers AI Content Detectorhttps://writer.com/ai-content-detector/仅支持英文,判定非常严格

判别总结

相同文本在不同检测器上的判断完全不同,难以将所有标准做一个统一,随机抽取一定文本进行测试,其表现如下图所示:

中文示例

名称GPTZeroOpenAI GPT2 Output DetectorHello-SimpleAI ChatGPT Detector
1entirely by AIReal 88.39% Fake 11.61%GLTR 人类 0.99999 PLL 人类 0.51787
2entirely by humanReal 99.43% Fake 0.57%GLTR 人类 0.99818 PLL 人类 0.51630
3entirely by AIReal 99.65% Fake 0.35%GLTR 人类 0.99986 PLL 人类 0.51539
4entirely by AIReal 99.81% Fake 0.19%GLTR 人类 0.99337 PLL 人类 0.51751
5entirely by AIReal 98.55% Fake 1.45%GLTR 人类 0.95220 PLL 人类 0.51201

GLTR=生成文本检测模型,PLL=语言模型困惑度模型

GPTZero的判定相较于OpenAI和Hello-SimpleAI的GLTR的来说更加的偏激,GPTZero开源代码中将Perplexity per line<80的值均认为由ai参与。由于GPTZero v1同样使用PLL,所以可以认为与Hello-SimpleAI的PLL的方法是相同模型

英文示例

名称GPTZeroOpenAI GPT2 Output DetectorHello-SimpleAI ChatGPT DetectorContentatscale AI Content DetectorWriters AI Content Detector
1likely humanReal 99.85% Fake 0.15%GLTR Human 0.99999 PLL Human 0.9997159% Human Content Score18% HUMAN-GENERATED
2entirely by humanReal 44.88% Fake 55.12%GLTR Human 0.99999 PLL Human 0.99541100% Human Content Score24% HUMAN-GENERATED
3entirely by humanReal 22.08% Fake 77.92%GLTR Human 0.99999 PLL Human 0.9183589% Human Content Score2% HUMAN-GENERATED
4entirely by AIReal 55.36% Fake 44.64%GLTR Human 0.99999 PLL Human 1.095% Human Content Score35% HUMAN-GENERATED
5parts by AIReal 95.09% Fake 4.91%GLTR Human 0.97186 PLL Human 0.5042068% Human Content Score7% HUMAN-GENERATED

API

GPTZero

https://gptzero.me/docs

在注册普通用户情况下,一个小时的最大使用量为150

OpenAI GPT2 Output Detector

https://huggingface.co/roberta-base-openai-detector

对输入的文本有一定的限制,文本过长(len(str)>220~240)将出现503错误,因此需要进行分批处理。

Hello-SimpleAI ChatGPT Detector

https://huggingface.co/Hello-SimpleAI/chatgpt-detector-roberta-chinese

代码运行

GPTZero

github:https://github.com/BurhanUlTayyab/DetectGPT

  • 使用Colab运行

https://colab.research.google.com/

  • 输入
from model import GPT2PPLV2 as GPT2PPL

model = GPT2PPL()
# 输入语句
sentence = "your text here"
# 使用模型得出结果
res = model(sentence, 100, "v1.1")
  • 输出
# 调整Perplexity per line和Burstiness权重来判断文本是否由人工还是AI生成

Perplexity 19 # 文本语句复杂度
Perplexity per line 168.0
Burstiness 304 # 语句最大复杂度
  • 优点
    • 检测文本无限制:没有api限制可以无限制判别文本
    • 判别条件可控:可以自行 调整Perplexity per lineBurstiness的权重来判断文本是否由人工还是AI生成
  • 24
    点赞
  • 32
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
巴克码检测器是一种用于检测巴克码序列的电路,可以在1位错误的情况下仍能正确检测出巴克码的峰值。它的原理是将输入序列移入移位寄存器中,并将移位寄存器中的值与标准巴克码进行同或运算。通过判断同或值是否大于阈值,来确定是否检测到巴克码。在Verilog中,可以使用以下方式来实现巴克码检测器: 1. 定义模块: ``` module BPSK_Detector ( input wire clk, // 时钟信号 input wire reset, // 复位信号 input wire data_in, // 输入数据信号 output wire detected // 检测到巴克码的输出信号 ); ``` 2. 声明寄存器和参数: ``` reg [10:0 shift_reg; // 移位寄存器,用于存储输入序列 parameter THRESHOLD = 5; // 阈值,用于判断是否检测到巴克码 ``` 3. 实现数据移位和同或运算: ``` always @(posedge clk or posedge reset) begin if (reset) begin // 复位时清零移位寄存器 shift_reg <= 11'b00000000000; end else begin shift_reg <= {shift_reg<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [Verilog上机实验题目2 : 11位巴克码序列峰值检测器](https://blog.csdn.net/weixin_38197667/article/details/89339028)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值