Commit Graph

127 Commits

Author SHA1 Message Date
Xingjun.Wang
055496c597 Fix CI 2025-08-07 19:26:32 +08:00
co63oc
c30bfeb777 Fix typos (#1328) 2025-05-08 16:10:54 +08:00
Yunlin Mao
bceb7196d1 update doc with llama_index (#1180) 2025-01-13 21:03:59 +08:00
wenmeng zhou
894bc90d96 remove assets and download from oss when running app (#875) 2024-06-05 21:18:21 +08:00
tastelikefeet
c350c2446c move doc to classroom (#802) 2024-03-06 21:15:32 +08:00
ccyhxg
9cefe0a37b add ViViT-demo (#796)
add vivit-demo
2024-03-05 14:18:46 +08:00
ccyhxg
fd838b5e6a Add files via upload (#788)
SD推理最佳实践,包括秒级生图,lora,controlnet
2024-02-29 21:16:33 +08:00
ccyhxg
021735207f add qwen1.5_doc_search_QA_based_on_langchain.ipynb (#769) 2024-02-23 17:06:24 +08:00
ccyhxg
10e98f166f add SiT_ImageNet_Demo (#770) 2024-02-21 15:46:27 +08:00
williamcc
c5f058f306 Add a QA example based on llamaindex only (#759) 2024-02-21 14:18:12 +08:00
ccyhxg
05be6e1420 Add DiT_ImageNet Notebook (#767) 2024-02-21 14:17:07 +08:00
ccyhxg
66af92a21d UViT ImageNet (#763) 2024-02-20 15:51:01 +08:00
williamcc
34fab808b1 add an example for qwen doc QA with langchain + llamaindex (#728)
* add an example for qwen doc QA with langchain + llamaindex

* change comments to ENG; clear output and add urls

* add helper in MD; add wget for data file download
2024-01-16 20:59:24 +08:00
DuskSwan
3695e4491f LLM riddle add challenge (#692)
* 1. add a challenge in chapter 2 as challenge 9
2. add a check_challenge.py script to makesure a challenge actually has answer
3. add blank lines to the file README_CN.md to look better

* delete redundant function

* code style check

* code style check

* style checkout change

---------

Co-authored-by: DuskSwan <aquark@foxmail.com>
2023-12-24 21:28:34 +08:00
wenmeng zhou
5b67c02cef Feat/llmriddle update (#640)
* format chatglm output

* format code and add one problem to llm riddle

* fix app warning

* refine app.py and add test fn for validate fn
2023-11-13 23:29:25 +08:00
Yorick He
a831e3a85c add 5 problems (#638)
---------

Co-authored-by: wenmeng.zwm <wenmeng.zwm@alibaba-inc.com>
Co-authored-by: YorickHe <yongyi.hyy@alibaba-inc.com>
2023-11-13 21:11:54 +08:00
wenmeng zhou
6b8f0ac5b8 add chatglm support for llm-riddle (#634)
* add chatglm-turbo 

* update readme

* format code
2023-11-10 19:23:21 +08:00
Yorick He
b3e8fd0609 add 3 problems to llm-riddle and fix some bugs (#632)
* add 3 problems


---------

Co-authored-by: wenmeng.zwm <wenmeng.zwm@alibaba-inc.com>
Co-authored-by: YorickHe <yongyi.hyy@alibaba-inc.com>
2023-11-10 17:47:56 +08:00
wenmeng zhou
0e9f21decf update riddles (#631)
* fix challenges

* add share function

* update readme
2023-11-10 12:24:49 +08:00
wenmeng zhou
c2e900ee54 update llm riddles (#624)
* add multi online support

* add readme and requirements.txt

* refactor code to llm and challenges and update readme

* handle llm exception and return empty str

* update error handling

* fix gradio version and add concurrency control

* remove concurrency_limit

* update reame
2023-11-09 20:04:16 +08:00
wenmeng zhou
069b271436 Update README_CN.md 2023-11-08 12:19:53 +08:00
wenmeng zhou
02ce95d5b8 add llm riddles (#621)
* add multi online support

* add readme and requirements.txt
2023-11-08 00:51:10 +08:00
zsl01670416
4780b5fb2f modify parameter model_id to model
fix stable_diffusion_cones2, parameter model_id was modified to model, following file was changed:
1. examples/pytorch/stable_diffusion/cones2/finetune_stable_diffusion_cones2.py
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13886743
* modify parameter model_id to model
2023-09-04 13:40:05 +08:00
mulin.lyh
e691dba5a6 fix lint issue 2023-08-29 22:03:52 +08:00
mulin.lyh
7c0f6aa5c5 Merge branch 'master-github' into master-merge-github0829 2023-08-29 21:20:54 +08:00
pingzhi.lzh
db27d5218f cones2 version 1.0
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13778227

* cones2 version 1.0
2023-08-29 21:05:23 +08:00
tastelikefeet
f2e9ea4199 Replace code with swift wheel (#467) 2023-08-29 17:27:18 +08:00
Jintao
2ee5ebaf35 new Feat/0817 (#504) 2023-08-29 16:43:36 +08:00
Wang Qiang
9e6fd10ca5 fix bugs of stable diffusion fp16 (#499) 2023-08-29 10:16:07 +08:00
Wang Qiang
de33f4dc87 Support sdxl finetune by lora method (#468)
* support sdxl finetune by lora

* remove useless imports

* support sdxl finetune

* upgrade diffusers to 0.19.0

* sdxl finetune

* fix bugs

* pre commit

* diffusers>=0.19.0
2023-08-23 11:23:34 +08:00
Wang Qiang
a67d339e3b support float16 training and pipeline for stable diffusion (#447)
* support float16 traing and pipeline for stable diffusion

* pre commit

* fix bugs

* add torch type example

* fix bugs of torch type

* support type float16

* fix bugs of load pipeline

* change type to fp16

* lora rank

---------

Co-authored-by: 翊靖 <yijing.wq@alibaba-inc.com>
2023-08-15 20:04:32 +08:00
Zhicheng Zhang
d212ced3f3 Update qwen QA example (#470) 2023-08-15 17:25:25 +08:00
xiangpeng.wxp
344d2a2e5b [to #42322933] add truct remote code for polylm
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13628684
* add truct remote code for polylm

* [to #42322933] add truct remote code for polylm

* [to #42322933] add truct remote code for polylm
2023-08-14 15:37:42 +08:00
Jintao
18d33a4825 fix copytree python37 bug (#464)
* fix copytree python37 bug

* add copytree_py37 function
2023-08-14 11:45:33 +08:00
Yingda Chen
b18288cd6b update example 2023-08-13 11:06:41 +08:00
Jintao
c06f47f384 add readme and warning (#462)
* add readme and warning

* fix bug

* update

* update readme
2023-08-11 14:55:24 +08:00
Zhicheng Zhang
0e8be51fef add qwen qa example with langchain 2023-08-11 11:53:17 +08:00
xiangpeng.wxp
5e83523c9a [to #42322933] Add polylm lora trainer to modelscope
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13509769
* [to #42322933] Add polylm lora trainer to modelscope
2023-08-10 20:57:47 +08:00
Zhicheng Zhang
ad5b134bfe update qwen qa example 2023-08-10 19:34:39 +08:00
Zhicheng Zhang
2baef2110d update QA example 2023-08-10 19:03:20 +08:00
Zhicheng Zhang
9854759a55 add doc search QA with dashscope 2023-08-08 15:05:50 +08:00
zsl01670416
43a57fe110 support load dataset for llama
support loading dataset for llama:
1.load dataset by MsDataset when parameters train dataset name and val dataset name were set. but there is no suitable dataset in hub.
2.load dataset by MsDataset when only parameter train dataset name was set, and then split into train dataset and validation dataset . 
3.load dataset by MsDataset when user set parameter src_txt, which is a file path such as 'alpaca_data.json', and then split into training dataset and validation dataset.
4.load dataset by build dataset from file in flex training.

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13505335
2023-08-07 19:48:36 +08:00
lukeming.lkm
bd2f70a6eb add quantization in qwen pipelines and relevant unittests
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13499600

* add quant features

* resolve import

* resolve format

* fix save vocab
2023-08-02 14:05:13 +08:00
lukeming.lkm
33bd74a7be add qwen 7b base and chat
添加QWen 7b base模型和chat模型及相关pipelines
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13482235

* add qwen 7b base and chat

* fix logger

* update examples, lint test

* add unittest for qwen base and chat

* rename qwen to qwen-7b

* resolve imports and add a registry to text-generation

* reset load model from pretrained

* fix precheck

* skip qwen test case now

* remove strange file
2023-08-02 09:25:21 +08:00
wenmeng.zwm
48a39244f1 Merge branch master-merge-github-230728 into master
Title: Merge branch 'master-github' into master-merge-github-230728 
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/13456249
2023-07-31 16:09:07 +08:00
suluyan.sly
d7cd2ce28e Merge branch 'master-github' into master-merge-github-230728 2023-07-29 10:42:54 +08:00
Jintao
312b63fe06 fix checkpoint, same device bug (#427) 2023-07-29 00:06:27 +08:00
zsl01670416
847607ab66 Merge branch 'debug_chatglm6b_json_dataset' fix conflict between hf dataset and to_hf_dataset
The type of dataset built from file is hf dataset, which can not use function to_hf_dataset.
2023-07-28 19:12:21 +08:00
suluyan.sly
05e1357c32 Merge branch 'master-github' into master-merge-github-230728 2023-07-28 16:40:34 +08:00
Wang Qiang
34ea2b474a Upgrade stable diffusion version to a more powerful version 2.1 (#415) 2023-07-27 20:40:38 +08:00