当前位置:网站首页>prompt learning 一个空格引发的血案
prompt learning 一个空格引发的血案
2022-06-30 02:51:00 【znsoft】
使用清华的prompt learning 框架openprompt 中发行一个奇怪的现象: 使用官方的测试程序可以在某数据集上达到65.98%的 准确率,但是我自己写的程序只有56%,相差竟然有10个百分点。检查了一圈数据及代码,没有发现差异点。
经过两天的排查,查输入数据异同,查代码,最后发现:openprompt的模板要求第一个字符必须是空格才可以,否则准确率显著下降。

注意图中A前面有一个字空格。如果没有,刚问题显然。这应该是openprompt中的处理程序bug或逻辑缺陷导致的。
边栏推荐
- Welfare lottery | what are the highlights of open source enterprise monitoring zabbix6.0
- Detailed explanation of minimum stack
- 2. 成功解决 BUG:Exception when publishing, ...[Failed to connect and initialize SSH connection...
- What is digicert smart seal?
- FAQs for code signature and driver signature
- Seven common errors of SSL certificate and their solutions
- 公司电脑强制休眠的3种解决方案
- How to switch ipykernel to a different CONDA virtual environment in jupyterlab?
- What kind of foreign exchange trading platform is regulated and safe?
- Call collections Sort() method, compare two person objects (by age ratio first, and by name ratio for the same age), and pass lambda expression as a parameter.
猜你喜欢

Study diary: February 15, 2022

Cmake tutorial series -02- generating binaries using cmake code

2.8 【 weight of complete binary tree 】

What are the requirements for NPDP product manager international certification examination?

2. successfully solved bug:exception when publishing [Failed to connect and initialize SSH connection...

什么是证书透明度CT?如何查询CT logs证书日志?

怎么利用Redis实现点赞功能

IDEA 远程调试 Remote JVM Debug

三层交换机和二层交换机区别是什么

重看《Redis设计与实现》后记录几个要点
随机推荐
Raki's notes on reading paper: named entity recognition as dependency parsing
Differences among digicert, SECTIONO and globalsign code signing certificates
Some configuration details about servlet initial development
C语言 pivot_root的Invalid argument错误解决方案
Global and Chinese market of relay lens 2022-2028: Research Report on technology, participants, trends, market size and share
Welfare lottery | what are the highlights of open source enterprise monitoring zabbix6.0
重磅来袭--UE5的开源数字孪生解决方案
SQLite use
2.8 【 weight of complete binary tree 】
LeetCode 3. 无重复字符的最长子串
Pytorch学习(二)
2. successfully solved bug:exception when publishing [Failed to connect and initialize SSH connection...
Steam elements hidden in science and Technology Education
RAII内存管理
[on] [DSTG] dynamic spatiotemporalgraph revolutionary neural networks for traffic data impact
What files does a CA digital certificate contain? How to view SSL certificate information?
How to prevent duplicate submission under concurrent requests
What about punctuation in the first column of unity text
Sitelock nine FAQs
CMake教程系列-05-选项及变量