Ms-swift

Latest version: v2.6.0.post2

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

2.2.3

New Features:
1. support bnb and ollama export
2. suport Q-Galore

New Models:
1. numina-math-7b

Bug Fix:
1. fix vllm>=0.5.1, TP
2. fix internvl2 template
3. fix glm4v merge-lora

What's Changed
* fix internvl doc by hjh0119 in https://github.com/modelscope/swift/pull/1394
* Fix link by Jintao-Huang in https://github.com/modelscope/swift/pull/1397
* fix vllm==0.5.1 by Jintao-Huang in https://github.com/modelscope/swift/pull/1404
* [TorchAcc] update accelerate API and add llama3-70B by baoleai in https://github.com/modelscope/swift/pull/1400
* Support Ollama and BNB for export by tastelikefeet in https://github.com/modelscope/swift/pull/1407
* Fix glm4v merge lora by Jintao-Huang in https://github.com/modelscope/swift/pull/1410
* [TorchAcc] fix model download when using TorchAcc distributed training by baoleai in https://github.com/modelscope/swift/pull/1408
* Support padding left by tastelikefeet in https://github.com/modelscope/swift/pull/1414
* Fix ollama export by tastelikefeet in https://github.com/modelscope/swift/pull/1416
* fix web-ui params by tastelikefeet in https://github.com/modelscope/swift/pull/1417
* fix hub_token by Jintao-Huang in https://github.com/modelscope/swift/pull/1420
* Update ms hub token by Jintao-Huang in https://github.com/modelscope/swift/pull/1424
* Add numina math model by tastelikefeet in https://github.com/modelscope/swift/pull/1421
* fix internvl template by Jintao-Huang in https://github.com/modelscope/swift/pull/1433
* Internvl series models update by hjh0119 in https://github.com/modelscope/swift/pull/1426
* fix internvl2 template by Jintao-Huang in https://github.com/modelscope/swift/pull/1436
* Fix bug and make lazydataset more stable by tastelikefeet in https://github.com/modelscope/swift/pull/1438
* Fix llava-hf by tastelikefeet in https://github.com/modelscope/swift/pull/1439
* [WIP]Support Q-Galore by tastelikefeet in https://github.com/modelscope/swift/pull/1440
* 1. support deepspeed on ui 2. add tools to client_utils by tastelikefeet in https://github.com/modelscope/swift/pull/1446
* fix read csv (float) by Jintao-Huang in https://github.com/modelscope/swift/pull/1447
* fix dataset by tastelikefeet in https://github.com/modelscope/swift/pull/1448
* update internvl doc by hjh0119 in https://github.com/modelscope/swift/pull/1449


**Full Changelog**: https://github.com/modelscope/swift/compare/v2.2.2...v2.2.3

2.2.2

English Version

Features

1. Support lmdeploy for inference
2. Support training for Internvl2 Video
3. Support argument for LoRA target module in regex format
4. Support RTD website
5. Support argument of device_max_memory to config device_map memory usage.

New Models
1. Support CogVLM2-Video

中文

新功能

1. 支持lmdeploy框架的推理能力
2. 支持InternVL2模型的视频训练能力
3. 支持lora_target_regex参数,用来以正则表达式配置lora模块
4. 支持RTD文档网站
5. 支持device_max_memory参数来配置device_map的显存使用

新模型
1. CogVLM2-Video

What's Changed
* fix bug by tastelikefeet in https://github.com/modelscope/swift/pull/1320
* fix template by Jintao-Huang in https://github.com/modelscope/swift/pull/1321
* support cogvlm2-video by Jintao-Huang in https://github.com/modelscope/swift/pull/1318
* Fix bugs by tastelikefeet in https://github.com/modelscope/swift/pull/1325
* fix web-ui by tastelikefeet in https://github.com/modelscope/swift/pull/1327
* compatible with trl 0.9.6 by hjh0119 in https://github.com/modelscope/swift/pull/1326
* compat with vllm==0.5.1 by Jintao-Huang in https://github.com/modelscope/swift/pull/1329
* Update qrcode by tastelikefeet in https://github.com/modelscope/swift/pull/1332
* fix florence model by hjh0119 in https://github.com/modelscope/swift/pull/1334
* Relaxing requirements for trl by hjh0119 in https://github.com/modelscope/swift/pull/1342
* fix xcomposer2.5 device_map by Jintao-Huang in https://github.com/modelscope/swift/pull/1343
* support generation_info by Jintao-Huang in https://github.com/modelscope/swift/pull/1344
* fix requirements by Jintao-Huang in https://github.com/modelscope/swift/pull/1347
* readthedocs by tastelikefeet in https://github.com/modelscope/swift/pull/1345
* fix sequence parallel get labels by tastelikefeet in https://github.com/modelscope/swift/pull/1352
* fix filelock by tastelikefeet in https://github.com/modelscope/swift/pull/1354
* Add pt command by tastelikefeet in https://github.com/modelscope/swift/pull/1356
* fix generation_info efficiency by Jintao-Huang in https://github.com/modelscope/swift/pull/1359
* fix sh ddp_backend by Jintao-Huang in https://github.com/modelscope/swift/pull/1360
* support LLM & lmdeploy by Jintao-Huang in https://github.com/modelscope/swift/pull/1272
* fix a file path by tastelikefeet in https://github.com/modelscope/swift/pull/1363
* Internvl2 support video by tastelikefeet in https://github.com/modelscope/swift/pull/1366
* fix openai api by Jintao-Huang in https://github.com/modelscope/swift/pull/1367
* fix internvl2-40b by hjh0119 in https://github.com/modelscope/swift/pull/1369
* fix vlm deploy lora & agent by Jintao-Huang in https://github.com/modelscope/swift/pull/1371
* Support lora regex by tastelikefeet in https://github.com/modelscope/swift/pull/1375
* Fix docs by Jintao-Huang in https://github.com/modelscope/swift/pull/1380
* Fix FSDP; Add training percentage to jsonl logging; Add a web-ui component by tastelikefeet in https://github.com/modelscope/swift/pull/1381
* Support max memory args by tastelikefeet in https://github.com/modelscope/swift/pull/1382
* fix max_memory by tastelikefeet in https://github.com/modelscope/swift/pull/1383
* Fix gpu assert calculation by tastelikefeet in https://github.com/modelscope/swift/pull/1384
* fix dataset_sample & deploy stop_words by Jintao-Huang in https://github.com/modelscope/swift/pull/1385


**Full Changelog**: https://github.com/modelscope/swift/compare/v2.2.1...v2.2.2

2.2.1

English Version
New Features

1. **Multimodal**: Supported a large number of multimodal datasets and restructured the multimodal architecture. Some models now support grounding tasks.
2. **Web-ui**: Added support for RLHF, evaluation, and quantization.
3. **Evaluation Functionality**: Refactored the evaluation functionality, now using OpenCompass internally, supporting over 50 evaluation datasets.
4. **Deployment Functionality**: VLLM infer_backend now supports multimodal models.
5. **Agent Training**: Refactored the construction, training, and deployment of agent datasets, making the agent pipeline more complete.
6. **Human Alignment**: Added alignment algorithms such as KTO and CPO, and refactored the human alignment code.

New Models
1. openbuddy-llama3-70b
2. Deepseek-coder-v2
3. llava1.5, llava1.6, llava-next-video
4. gemma2
5. Florence
6. phi3-4k
7. internlm2.5, xcomposer2.5
8. internvl2
9. codegeex4
10. mistral-7b-instruct-v0.3

New Datasets
1. Over 30 foundational multimodal datasets, including GQA, RefCOCO, and Llava-pretrain.
2. Swift-mix general mixed dataset.
3. Video-chatgpt video dataset.

中文版本
新功能

1. 多模态:支持了非常多的多模态数据集,并重构了多模态架构,部分模型开始支持grounding任务
2. Web-ui:支持了RLHF、评测和量化
3. 评测功能:进行了重构,内部使用了OpenCompass,支持50+评测集
4. 部署功能:VLLM infer_backend支持多模态模型
5. Agent训练:重构了Agent数据集构造、训练、部署,Agent链路更加完整
6. 人类对齐:增加了KTO、CPO等对齐算法,并重构了人类对齐的代码

新模型
1. openbuddy-llama3-70b
2. Deepseek-coder-v2
3. llava1.5, llava1.6, llava-next-video
4. gemma2
5. Florence
6. phi3-4k
7. internlm2.5, xcomposer2.5
8. internvl2
9. codegeex4
10. mistral-7b-instruct-v0.3


新数据集
1. GQA、RefCOCO、Llava-pretrain等30+多模态基础数据集
2. swift-mix通用混合数据集
3. video-chatgpt视频数据集

What's Changed
* fix py38 by Jintao-Huang in https://github.com/modelscope/swift/pull/1152
* refactor rlhf by hjh0119 in https://github.com/modelscope/swift/pull/1090
* Fix/web UI 0617 by tastelikefeet in https://github.com/modelscope/swift/pull/1158
* Add more datasets by tastelikefeet in https://github.com/modelscope/swift/pull/1065
* support openbuddy-llama3-70b by Jintao-Huang in https://github.com/modelscope/swift/pull/1162
* Add Deepseek coder v2 model by tastelikefeet in https://github.com/modelscope/swift/pull/1164
* Update web-ui labels by tastelikefeet in https://github.com/modelscope/swift/pull/1168
* fix hf download by tastelikefeet in https://github.com/modelscope/swift/pull/1169
* fix kto bugs by hjh0119 in https://github.com/modelscope/swift/pull/1173
* Fix preprocessor by tastelikefeet in https://github.com/modelscope/swift/pull/1174
* refactor ui by tastelikefeet in https://github.com/modelscope/swift/pull/1178
* fix DPO by hjh0119 in https://github.com/modelscope/swift/pull/1181
* fix bugs by Jintao-Huang in https://github.com/modelscope/swift/pull/1171
* 在argument.py添加hccl参数,用于NPU环境下训练使用 by jiaozhentian in https://github.com/modelscope/swift/pull/1165
* Custom agent dataset training support by hjh0119 in https://github.com/modelscope/swift/pull/1184
* RLHF UI by tastelikefeet in https://github.com/modelscope/swift/pull/1182
* fix kto by hjh0119 in https://github.com/modelscope/swift/pull/1187
* update agent doc by hjh0119 in https://github.com/modelscope/swift/pull/1189
* Fix device map in limited mem by tastelikefeet in https://github.com/modelscope/swift/pull/1190
* Fix sk will be uploaded by tastelikefeet in https://github.com/modelscope/swift/pull/1192
* Fix dataset concatenation by tastelikefeet in https://github.com/modelscope/swift/pull/1193
* Fix glm4v dataloader by CjangCjengh in https://github.com/modelscope/swift/pull/1183
* fix glm4v images by Jintao-Huang in https://github.com/modelscope/swift/pull/1194
* [TorchAcc] Cache the compiled results and remove some xla flags by anw90 in https://github.com/modelscope/swift/pull/1160
* Fix vqa dataset loading by tastelikefeet in https://github.com/modelscope/swift/pull/1195
* [TorchAcc] Add acc_steps arguments to speed up torchacc training by anw90 in https://github.com/modelscope/swift/pull/1196
* fix minicpm-v data_collator by Jintao-Huang in https://github.com/modelscope/swift/pull/1197
* Add a tuner to train a part of the model by tastelikefeet in https://github.com/modelscope/swift/pull/1200
* Fix ConversationPreprocessor loading by tastelikefeet in https://github.com/modelscope/swift/pull/1201
* Fix map cache on multi node by tastelikefeet in https://github.com/modelscope/swift/pull/1203
* refactor multi-modal by Jintao-Huang in https://github.com/modelscope/swift/pull/1212
* support llava 1.5 by Jintao-Huang in https://github.com/modelscope/swift/pull/1217
* add in_browswer by tastelikefeet in https://github.com/modelscope/swift/pull/1220
* [TorchAcc] Add USE_TORCH_XLA=0 flag for native swift scripts by anw90 in https://github.com/modelscope/swift/pull/1221
* Fix glm4v batch_size>1 by Jintao-Huang in https://github.com/modelscope/swift/pull/1223
* Add debug log support by tastelikefeet in https://github.com/modelscope/swift/pull/1226
* Fix qlora deploy by Jintao-Huang in https://github.com/modelscope/swift/pull/1224
* Add new dataset by tastelikefeet in https://github.com/modelscope/swift/pull/1227
* fix refcoco by tastelikefeet in https://github.com/modelscope/swift/pull/1232
* Fix bugs by tastelikefeet in https://github.com/modelscope/swift/pull/1241
* fix bugs by Jintao-Huang in https://github.com/modelscope/swift/pull/1242
* refactor inference by Jintao-Huang in https://github.com/modelscope/swift/pull/1245
* Add more datasets by tastelikefeet in https://github.com/modelscope/swift/pull/1246
* Support gemma2 by Jintao-Huang in https://github.com/modelscope/swift/pull/1247
* Support gemma2 by Jintao-Huang in https://github.com/modelscope/swift/pull/1248
* add push to hub tracker by tastelikefeet in https://github.com/modelscope/swift/pull/1249
* support Florence series model by hjh0119 in https://github.com/modelscope/swift/pull/1244
* update eval by Jintao-Huang in https://github.com/modelscope/swift/pull/1251
* reset snapshot_download to modelscope by tastelikefeet in https://github.com/modelscope/swift/pull/1254
* Feat/open compass by tastelikefeet in https://github.com/modelscope/swift/pull/1213
* fix output empty will be filtered by tastelikefeet in https://github.com/modelscope/swift/pull/1256
* add phi3 models by tastelikefeet in https://github.com/modelscope/swift/pull/1259
* update dataset preprocess by Jintao-Huang in https://github.com/modelscope/swift/pull/1257
* fix rlhf by tastelikefeet in https://github.com/modelscope/swift/pull/1261
* fix rlhf by Jintao-Huang in https://github.com/modelscope/swift/pull/1260
* Support llava1.6 mistral by Jintao-Huang in https://github.com/modelscope/swift/pull/1268
* Add new dataset by tastelikefeet in https://github.com/modelscope/swift/pull/1270
* support vllm & multimodal by Jintao-Huang in https://github.com/modelscope/swift/pull/1229
* Fix bugs by Jintao-Huang in https://github.com/modelscope/swift/pull/1275
* fix llamapro by tastelikefeet in https://github.com/modelscope/swift/pull/1276
* fix xcomposer deploy by Jintao-Huang in https://github.com/modelscope/swift/pull/1280
* Fix/0703 2 by tastelikefeet in https://github.com/modelscope/swift/pull/1284
* Fix llamapro merge and quantized training by tastelikefeet in https://github.com/modelscope/swift/pull/1289
* update lr_scheduler by Jintao-Huang in https://github.com/modelscope/swift/pull/1288
* support internlm2.5 by Jintao-Huang in https://github.com/modelscope/swift/pull/1291
* fix vllm by Jintao-Huang in https://github.com/modelscope/swift/pull/1292
* fix florence & deploy by Jintao-Huang in https://github.com/modelscope/swift/pull/1293
* fix mini-internvl-phi3 template by Jintao-Huang in https://github.com/modelscope/swift/pull/1298
* fix florence by hjh0119 in https://github.com/modelscope/swift/pull/1301
* Refactor UI and fix some bugs by tastelikefeet in https://github.com/modelscope/swift/pull/1300
* fix dependency by tastelikefeet in https://github.com/modelscope/swift/pull/1306
* support codegeex4 by Jintao-Huang in https://github.com/modelscope/swift/pull/1305
* support internvl2 by hjh0119 in https://github.com/modelscope/swift/pull/1304
* support llava video by Jintao-Huang in https://github.com/modelscope/swift/pull/1307
* fix docs by Jintao-Huang in https://github.com/modelscope/swift/pull/1309
* support lr_scheduler_kwargs by Jintao-Huang in https://github.com/modelscope/swift/pull/1310
* Fix internvl2 template by hjh0119 in https://github.com/modelscope/swift/pull/1308
* Fix bugs by tastelikefeet in https://github.com/modelscope/swift/pull/1311
* support warmup_stable_decay by Jintao-Huang in https://github.com/modelscope/swift/pull/1312
* Support xcomposer2.5 by Jintao-Huang in https://github.com/modelscope/swift/pull/1287
* Fix bugs by tastelikefeet in https://github.com/modelscope/swift/pull/1319

New Contributors
* jiaozhentian made their first contribution in https://github.com/modelscope/swift/pull/1165
* CjangCjengh made their first contribution in https://github.com/modelscope/swift/pull/1183
* anw90 made their first contribution in https://github.com/modelscope/swift/pull/1160

**Full Changelog**: https://github.com/modelscope/swift/compare/v2.1.1...v2.2.1

2.1.0

中文

新功能

- 支持了SimPO对齐算法,请查看[文档](https://github.com/modelscope/swift/blob/main/docs/source/LLM/SimPO%E7%AE%97%E6%B3%95%E6%9C%80%E4%BD%B3%E5%AE%9E%E8%B7%B5.md)
- 支持多模态部署能力
- web-ui支持量化和评测功能,并支持多模态界面推理和部署

新模型
- ChatGLM4和ChatGLMv
- Qwen2系列
- llava1.5/1.6系列模型
- mini-internvl系列模型
- paligemma系列模型
- Yuan2模型

Bug修复

请查看下方的详细提交记录

English

New Features

- Add SimPO alignment algorithm. Please refer to the [documentation](https://github.com/modelscope/swift/blob/main/docs/source_en/LLM/SimPO.md).
- Support for multimodal deployment capabilities.
- Web UI now supports quantization and evaluation command, as well as multimodal inference and deployment.

New Models

- ChatGLM4 and ChatGLMv
- Qwen2 series
- llava1.5/1.6 series models
- mini-internvl series models
- paligemma series models
- Yuan2 model

Bug fixing

Please check the update logs for details


What's Changed
* [TorchAcc][Experimental] Integrate more model in torchacc by Zhikaiiii in https://github.com/modelscope/swift/pull/683
* update custom_val_dataset by Jintao-Huang in https://github.com/modelscope/swift/pull/991
* fix val_dataset by Jintao-Huang in https://github.com/modelscope/swift/pull/992
* fix args by Jintao-Huang in https://github.com/modelscope/swift/pull/996
* fix pt deploy lora by Jintao-Huang in https://github.com/modelscope/swift/pull/999
* Feat/phi3 paligemma by tastelikefeet in https://github.com/modelscope/swift/pull/998
* Add copy to template encode by tastelikefeet in https://github.com/modelscope/swift/pull/1003
* 更新了Command-line-parameters.md里面的一个链接 by KPCOFGS in https://github.com/modelscope/swift/pull/1001
* fix cogvlm2 history by Jintao-Huang in https://github.com/modelscope/swift/pull/1005
* fix minicpm-v by Jintao-Huang in https://github.com/modelscope/swift/pull/1010
* Fix gradio conccurency limit by tastelikefeet in https://github.com/modelscope/swift/pull/1016
* Update code by Jintao-Huang in https://github.com/modelscope/swift/pull/962
* support paligemma by tastelikefeet in https://github.com/modelscope/swift/pull/1004
* update docs table by Jintao-Huang in https://github.com/modelscope/swift/pull/1021
* Fix docs table by Jintao-Huang in https://github.com/modelscope/swift/pull/1024
* fix docs and a bug by tastelikefeet in https://github.com/modelscope/swift/pull/1023
* fix arguments by Jintao-Huang in https://github.com/modelscope/swift/pull/1026
* fix custom by Jintao-Huang in https://github.com/modelscope/swift/pull/1028
* fix vllm==0.4.* slower than vllm==0.3.* by Jintao-Huang in https://github.com/modelscope/swift/pull/1035
* fix app_ui host & port by Jintao-Huang in https://github.com/modelscope/swift/pull/1036
* fix bugs by Jintao-Huang in https://github.com/modelscope/swift/pull/1038
* support mini-internvl by hjh0119 in https://github.com/modelscope/swift/pull/1032
* support multimodal deploy by Jintao-Huang in https://github.com/modelscope/swift/pull/1029
* Support SimPO Algorithm by hjh0119 in https://github.com/modelscope/swift/pull/1037
* fix phi3-vision bug by Jintao-Huang in https://github.com/modelscope/swift/pull/1039
* update arguments by Jintao-Huang in https://github.com/modelscope/swift/pull/1043
* update arguments by Jintao-Huang in https://github.com/modelscope/swift/pull/1044
* fix deepseek-vl by Jintao-Huang in https://github.com/modelscope/swift/pull/1046
* support sharegpt dataset format by Jintao-Huang in https://github.com/modelscope/swift/pull/1052
* fix mini-internvl-4b by hjh0119 in https://github.com/modelscope/swift/pull/1053
* Fix mini-internvl-4b by hjh0119 in https://github.com/modelscope/swift/pull/1054
* fix vllm==0.4.3 by Jintao-Huang in https://github.com/modelscope/swift/pull/1055
* fix deepseek-vl template by Jintao-Huang in https://github.com/modelscope/swift/pull/1057
* Fix citest test_run.py by Jintao-Huang in https://github.com/modelscope/swift/pull/1059
* :pencil2: fix typo by bertjiazheng in https://github.com/modelscope/swift/pull/1064
* fix argument by hjh0119 in https://github.com/modelscope/swift/pull/1066
* Support glm4 by Jintao-Huang in https://github.com/modelscope/swift/pull/1069
* update wechat by Jintao-Huang in https://github.com/modelscope/swift/pull/1071

New Contributors
* Zhikaiiii made their first contribution in https://github.com/modelscope/swift/pull/683
* KPCOFGS made their first contribution in https://github.com/modelscope/swift/pull/1001
* bertjiazheng made their first contribution in https://github.com/modelscope/swift/pull/1064

**Full Changelog**: https://github.com/modelscope/swift/compare/v2.0.5...v2.1.0

2.0.5.post1

2.0.5

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.