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

注意图中A前面有一个字空格。如果没有,刚问题显然。这应该是openprompt中的处理程序bug或逻辑缺陷导致的。
边栏推荐
- 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.
- What are the three paradigms of database
- SSL证书七大常见错误及解决方法
- IBM websphere通道联通搭建和测试
- Recursion frog jumping steps problem
- 最小栈详解
- 怎么使用Vant实现数据分页和下拉加载
- Differences among digicert, SECTIONO and globalsign code signing certificates
- 论文回顾:Playful Palette: An Interactive Parametric Color Mixer for Artists
- Playful palette: an interactive parametric color mixer for artists
猜你喜欢

What is the difference between a layer 3 switch and a layer 2 switch

公司电脑强制休眠的3种解决方案

Shenzhen CPDA Data Analyst Certification in July 2022

HTA入门基础教程 | VBS脚本的GUI界面 HTA简明教程 ,附带完整历程及界面美化

Visual HTA form designer htamaker interface introduction and usage, Download | HTA VBS visual script writing

Differences among digicert, SECTIONO and globalsign code signing certificates

A quick look at the statistical data of 23 major cyber crimes from 2021 to 2022

FAQs for code signature and driver signature
![[dry goods sharing] the latest WHQL logo certification application process](/img/c3/37277572c70b0af944e594f0965a6c.png)
[dry goods sharing] the latest WHQL logo certification application process

What is an X.509 certificate? 10. 509 certificate working principle and application?
随机推荐
How to use redis to realize the like function
How to set password complexity and timeout exit function in Oracle
Global and Chinese market of subscription revenue management software 2022-2028: Research Report on technology, participants, trends, market size and share
SSL证书七大常见错误及解决方法
Five cheapest wildcard SSL certificate brands
2.< tag-动态规划和0-1背包问题>lt.416. 分割等和子集 + lt.1049. 最后一块石头的重量 II
Cmake tutorial series-01-minimum configuration example
论文回顾:Playful Palette: An Interactive Parametric Color Mixer for Artists
Summary of knowledge points about eigenvalues and eigenvectors of matrices in Chapter 5 of Linear Algebra (Jeff's self perception)
Jvxetable增加自定义按钮
Raki's notes on reading paper: neighborhood matching network for entity alignment
2022护网行动在即,关于护网的那些事儿
C console format code
Unity3D UGUI强制刷新Layout(布局)组件
Lua Basics
怎么利用Redis实现点赞功能
What about punctuation in the first column of unity text
在php中字符串的概念是什么
迅為恩智浦iTOP-IMX6開發平臺
怎么使用Vant实现数据分页和下拉加载