LM-Cocktail[2]:一种创新的模型合并方法打破预训练语言模型微调后的性能局限,实现语言模型在一般任务与特定领域的均衡高性能

LM-Cocktail:一种创新的模型合并方法打破预训练语言模型微调后的性能局限,实现语言模型在一般任务与特定领域的均衡高性能

使语言模型的微调类似于调制一杯精致的鸡尾酒。模型合并可用于提高单个模型的性能。我们发现此方法对于大型语言模型和密集嵌入模型也很有用,并设计了 LM-Cocktail 策略,该策略使用简单的函数计算合并权重来自动合并微调模型和基础模型。LM-Cocktail 可用于提高目标域的性能,而不会降低目标域之外的一般能力。它还可用于生成无需微调的新任务模型。

预训练的语言模型会不断微调,以更好地支持下游应用程序。但是,该操作可能会导致目标域以外的一般任务的性能明显下降。为了克服这个问题,LM-Cocktail它使微调模型在一般情况下保持弹性。该方法以模型合并的形式进行,通过加权平均将微调后的语言模型与预训练好的基础模型或其他领域的对等模型合并。尽管简单,LM-Cocktail却出奇地有效:结果模型能够在一般任务的整个范围内实现强大的经验表现,同时在目标领域保持优越的能力。我们在FLAN、MMLU、MTEB等常用基准上对LLama和BGE模型进行了综合实验,结果验证了本文方法的有效性。

相关论文:LM-Cocktail: Resilient Tuning of Language Models via Model Merging

资料下载:FlagEmbedding专为大语言模型各种检索增强任务设计的向量模型

1.LM-Cocktail:,让预训练语言模型在微调后依然保持广泛任

  • 4
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
Make: Leopard Model: 40 Year: 2015 Condition: Used Category: Sail Builder: Leopard Designer: Simonis Voogd Construction: Fiberglass Keel Type: Other Dimensions Length: 40 ft / 12.19 m Beam: 22 ft 1 in / 6.73 m Max Draft: 4 ft 2 in / 1.27 m Min Draft: 4 ft 2 in / 1.27 m Displacement: 21,000 lb / 9,525 kg Engines / Speed Engines: 2 Engine #1 Specs: Make: Yanmar Model: 3YM30 Drive Type: Sail Drive Fuel: Diesel Engine Power: 29hp Type: Inboard Propeller Type: 3 Blade Year: 2015 Engine Hours: 2000 Engine #2 Specs: Make: Yanmar Model: 3YM30 Drive Type: Sail Drive Fuel: Diesel Engine Power: 29hp Type: Inboard Propeller Type: 3 Blade Year: 2015 Engine Hours: 2000 Total Engine Power: 58hp Cruising Speed: 6 kn Maximum Speed: 8 kn Tanks Fuel Tanks: 2 Fuel Tank Capacity: 92 gal / 348.26 L Water Tanks: 2 Water Tank Capacity: 206 gal / 779.85 L Holding Tank Count: 2 Holding Tank Capacity: 45 gal / 170.34 L Accommodations Heads Count: 2 Cabins Count: 3 Layout: Owner's Version Electronics Depthsounder Log-Speedometer Wind Speed and Direction Repeater(s) Navigation Center Plotter Autopilot Compass GPS VHF Radar TV Set Radio CD Player Cockpit Speakers Sails Fully Battened Mainsail Furling Genoa Rigging Steering Wheel Electric Winch Inside Equipment Electric Bilge Pump Manual Bilge Pump Battery Charger Hot Water Oven Microwave Oven Electric Head Refrigerator Deep Freezer Electrical Equipment Shore Power Inlet Generator Inverter Outside Equipment/Extras Solar Panel Cockpit Cushions Cockpit Table Swimming Ladder Cockpit Shower Davits Tender Outboard Engine Brackets Covers Bimini Top Lazy Bag Lazyjacks Manufacturer Provided Description The Leopard 40's speed on the water and easy handling are its top features, earning it 'Boat of the Year 2016' from Cruising World magazine. Guests will enjoy the large cockpit with outside dining area, protected by a functional hard-top bimini, fitted as standard. The galley-up design incorporates a spacious saloon and aft facing galley with a cocktail bar and serving window overlooking the cockpit. Accommodations include 3 or 4 double cabins, each with an en-suite head. The cockpit is a perfect place to relax and entertain guests, with comfortable seating and a table that seats 8. Forward and aft there are sunbathing lounges. All blocks and winches are electric, except for the mainsail halyard winch, which is conveniently located on the coachroof. The sail plan includes a full-batten mainsail, with stack-pack and lazy-jacks, and a roller-furling genoa. The Leopard 40 is also equipped with a generator and air conditioning.

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

汀、人工智能

十分感谢您的支持

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值