English
全部
搜索
图片
视频
地图
资讯
Copilot
更多
购物
航班
旅游
笔记本
Top stories
Sports
U.S.
Local
World
Science
Technology
Entertainment
Business
More
Politics
过去 7 天
时间不限
过去 1 小时
过去 24 小时
过去 30 天
最佳匹配
最新
GitHub
3 天
processor.apply_chat_template 报错 TypeError: string indices must be integers, not 'str' #198
@Major1994 问题出在system prompt的content的格式。 hf transformers的processor在apply_chat_template ()时,期待每个message的content都是 list of dicts,例如你的role为 user 的第二个message的content。但是你的system ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果
今日热点
'M*A*S*H' actress dies at 93
Scratched from Kentucky Derby
US warns shipping firms
Missing Oscar statuette found
Steps down after US charges
Reaches Madrid Open final
Rantanen fined $5,000
Browns begin stadium project
Remains of USF student ID'd
Ex-FL Rep. Rivera convicted
ISR strikes southern Lebanon
Bard College pres to retire
IU football team to visit WH
4 charged in NJ voting case
Racing icon Zanardi dies
Superdry cofounder convicted
New Oscars rules revealed
Endorses Rep. Andy Barr
Secures historic fourth term
Court limits abortion access
QB Lindsey arrested
Plans 25% tariffs on EU autos
Driver charged in fatal crash
CA AG sues kratom maker
Embezzlement case to proceed
AL gov. calls special session
Judge overturns conviction
Delays redistricting changes
Trump expands sanctions
ActBlue sues Texas AG
Spirit Airlines shuts down
OK candidate found dead
To pull 5K troops from Germany
Endorses Keisha Lance Bottoms
Cancels upcoming US tour
反馈