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

注意图中A前面有一个字空格。如果没有,刚问题显然。这应该是openprompt中的处理程序bug或逻辑缺陷导致的。
边栏推荐
- Playful palette: an interactive parametric color mixer for artists
- Linear algebra Chapter 4 Summary of knowledge points of linear equations (Jeff's self perception)
- Intel hex, Motorola S-Record format detailed analysis
- [dry goods sharing] the latest WHQL logo certification application process
- SQLite use
- 微信小程序页面跳转以及参数传递
- Wechat applet page Jump and parameter transfer
- IBM WebSphere channel connectivity setup and testing
- 中断操作:AbortController学习笔记
- 002 color classification
猜你喜欢

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

Raki's notes on reading paper: discontinuous named entity recognition as maximum clique discovery

What is an X.509 certificate? 10. 509 certificate working principle and application?

FDA ESG regulation: digital certificate must be used to ensure communication security

2. < tag dynamic programming and 0-1 knapsack problem > lt.416 Split equal sum subset + lt.1049 Weight of the last stone II

Software testing skills, JMeter stress testing tutorial, transaction controller of logic controller (25)

Linear algebra Chapter 4 Summary of knowledge points of linear equations (Jeff's self perception)

Precautions for purchasing wildcard SSL certificate

LeetCode 3. Longest substring without duplicate characters

Differences among digicert, SECTIONO and globalsign code signing certificates
随机推荐
Global and Chinese markets of liquid optical waveguides 2022-2028: Research Report on technology, participants, trends, market size and share
Implementation of Sanzi chess with C language
Jupyter notebook显示k线图集合
HTA入门基础教程 | VBS脚本的GUI界面 HTA简明教程 ,附带完整历程及界面美化
Playful palette: an interactive parametric color mixer for artists
Cmake tutorial series-03-dependency management
Global and Chinese markets for light cargo conveyors 2022-2028: Research Report on technology, participants, trends, market size and share
模板参数包和函数参数包
What is digicert smart seal?
CMake教程系列-02-使用cmake代码生成二进制
Sitelock nine FAQs
Recursion frog jumping steps problem
微信小程序页面跳转以及参数传递
Lua 基础知识
打造創客教育中精湛技藝
The rigorous judgment of ID number is accurate to the last place in the team
Study diary: February 15, 2022
unity的text首列有标点符号咋办
(图论) 连通分量(模板) + 强连通分量(模板)
How long is the general term of the bank's financial products?