Skip to content

Commit

Permalink
添加chatglm3
Browse files Browse the repository at this point in the history
  • Loading branch information
data-infra committed Feb 29, 2024
1 parent dec8f7d commit 559024f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
24 changes: 22 additions & 2 deletions myapp/init/init-job-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -2541,6 +2541,26 @@
"job_template_args": {
}
},
"chatglm3": {
"project_name": "大模型",
"image_name": "python:3.9",
"gitpath": "https://github.com/tencentmusic/cube-studio/tree/master/job-template/job/chatglm3",
"image_describe": "chatglm3",
"job_template_name": "chatglm3",
"job_template_describe": "chatglm3 lora微调(企业版)",
"job_template_version": "Release",
"job_template_workdir": "/root/chatglm",
"job_template_command": "deepspeed --master_port 520 train.py --mode glm2 --train_type lora --gradient_checkpointing",
"job_template_volume": "",
"job_template_account": "",
"job_template_env": "",
"job_template_expand": {
"index": 3,
"help_url": "https://github.com/tencentmusic/cube-studio/tree/master/job-template/job/chatglm3"
},
"job_template_args": {
}
},
"llama2": {
"project_name": "大模型",
"image_name": "python:3.9",
Expand All @@ -2555,7 +2575,7 @@
"job_template_account": "",
"job_template_env": "",
"job_template_expand": {
"index": 2,
"index": 4,
"help_url": "https://github.com/tencentmusic/cube-studio/tree/master/job-template/job/llama2"
},
"job_template_args": {
Expand All @@ -2575,7 +2595,7 @@
"job_template_account": "",
"job_template_env": "",
"job_template_expand": {
"index": 3,
"index": 5,
"help_url": "https://github.com/tencentmusic/cube-studio/tree/master/job-template/job/baichuan2"
},
"job_template_args": {
Expand Down
2 changes: 1 addition & 1 deletion myapp/views/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def menu(self):
{
"name": 'data_blood',
"title": '数据血缘',
"icon": '<svg t="1649762743051" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2547" width="200" height="200"><path d="M948.223929 540.204361c-5.326903-7.19661-12.594068-10.971303-20.990112-10.971302-8.995763 0-17.709305 4.2333-25.435078 8.007992-1.97554 0.952493-3.915803 1.904985-5.78551 2.716368-2.222483 0.98777-4.480243 1.97554-6.808557 2.610535-1.799153 0.493885-3.316085 0.740828-4.480243 0.740827-1.340545 0-3.033865 0-5.22107-6.596892-6.843835-20.566783-15.310435-41.733283-25.223413-62.970338-4.51552-9.666035-10.230475-19.04985-15.769042-28.151445-10.44214-17.180143-20.31984-33.44307-21.519276-49.635443-1.26999-17.144865 5.891343-35.524443 13.440728-54.962346 3.880525-9.912978 7.831605-20.143453 10.72436-30.444482 2.081373-7.47883 4.79774-21.483998-0.634995-31.432253l-1.164157-2.151927c-17.039033-31.220588-34.677783-63.4995-55.279843-93.344266-21.02539-30.47976-59.160368-48.647673-102.022531-48.647673-33.972233 0-64.945878 12.13546-82.866848 32.4553-8.960485 10.124643-15.698488 11.324078-20.002343 11.324078-5.92662 0-13.12323-2.53998-22.648155-7.972715-64.698935-36.864988-135.818376-67.7328-211.453336-91.756778-12.84101-4.09219-24.12981-6.06773-34.536673-6.06773-22.29538 0-40.745513 9.207428-56.479278 28.116167-4.021635 4.833018-8.819375 9.17215-13.899335 13.758225-4.127468 3.704138-8.254935 7.443553-12.029628 11.42991-28.186723 29.880043-57.114273 45.543253-91.01595 49.317946-13.652393 1.516933-29.562545 10.30103-38.628863 21.272332-45.1552 54.785958-45.966583 106.961381-2.53998 164.216764 4.480243 5.92662 9.03104 11.85324 13.934612 17.427085 40.9219 46.495745 66.3217 85.759603 82.372963 127.281221 5.538568 14.357943 15.23988 21.342888 29.597823 21.342888 1.340545 0 2.751645-0.070555 4.2333-0.176388 31.32642-2.610535 62.723395-4.93885 94.614256-7.302442l19.155682-1.4111c-0.14111 0.211665-0.246943 0.42333-0.388052 0.634995-32.243635 50.482103-41.239398 109.536638-28.222 185.841871 11.57102 67.909188 46.037138 129.856478 99.623661 179.068591 48.68295 44.696593 103.539463 67.344748 163.087883 67.344748l3.38664-0.035277c49.917663-0.740828 91.298171-23.530093 131.302856-45.613808 6.49106-3.598305 13.017398-7.161333 19.649568-10.72436 5.468013-2.998588 5.07996-8.784098 4.903572-11.218245l-0.105832-2.469425v-9.912978l-25.999518 2.187205c-11.747408 1.023048-23.42426 2.046095-35.13639 2.716368-2.8222 0.176388-5.679678 0.388053-8.537155 0.599717-4.974128 0.42333-9.948255 0.811383-14.781273 0.811383-13.722948 0-23.600648-3.10442-30.373927-18.62652-2.293038-5.22107-6.20884-9.419093-9.701313-13.087953-1.97554-2.11665-5.326903-5.6444-5.609123-6.561615 0.42333-1.799153 4.550798-6.103008 7.020223-8.678265 2.363593-2.469425 4.691908-4.974128 6.561615-7.372997l7.937438-10.371586-12.452958-3.915802c-32.31419-10.15992-39.36969-17.321253-38.346643-28.64533l37.076653 20.813725 14.39322-20.707893-4.691907-5.397457c-2.751645-3.139698-5.573845-6.244118-8.396046-9.31326-6.738003-7.372998-13.12323-14.322665-18.3443-21.977883-1.234713-1.799153-1.69332-5.432735-2.11665-9.101595 2.857478-0.740828 5.820788-1.446378 9.101595-1.446378 0.352775 0 0.670273 0 1.023048 0.035278 8.537155 3.316085 16.580425 9.348538 20.990113 15.733765 13.440728 19.402625 32.17308 30.05643 59.019257 33.513625 6.561615 0.84666 13.052675 1.904985 19.579013 2.998588 9.948255 1.622765 19.89651 3.24553 29.91532 4.127467 13.087953 1.164158 24.764805 1.763875 35.700831 1.763875 59.760085 0 102.869191-18.06208 135.606711-56.902608 37.25304-44.16743 49.564888-97.295346 56.655665-143.403038 2.716368-17.49764-1.799153-38.346643-10.971303-50.729046z m-141.356943 200.023427c-17.285975 0-34.57195-5.573845-51.328763-16.615703l-2.046095-1.340545c-27.869225-18.273745-54.150963-35.524443-70.166948-74.294415l-5.150515-12.452958-37.358873 36.088883 11.112413 18.20319s7.725773-0.458608 8.713542-0.458607c2.010818 0 3.38664 0.14111 4.303855 0.317497-0.42333 1.340545-1.446378 3.704138-3.704137 7.514108-5.044683 8.60771-10.265753 17.144865-15.698488 26.070072-1.164158-2.610535-2.222483-5.326903-3.24553-8.04327-3.10442-7.972715-6.279395-16.22765-12.347125-22.930375-24.623695-27.269508-32.631688-54.115685-25.96424-87.064871 2.610535-12.735178-12.382403-32.73752-24.870638-37.217762-22.118993-7.90216-31.396975-22.365935-31.996692-49.882386-0.388053-18.273745-1.340545-36.54749-2.363593-56.479278l-1.904985-38.911082-10.195198 1.763875c-13.68767 2.363593-27.198953 4.550798-40.569125 6.702725-30.515038 4.93885-59.336755 9.560203-88.370138 16.051262-25.435078 5.679678-50.870155 12.946843-75.423296 19.967065-16.50987 4.727185-33.01974 9.419093-49.600165 13.687671-5.326903 1.375823-10.30103 2.081373-14.851828 2.081372-13.96989 0-25.011748-6.63217-34.783615-20.919558C201.822579 422.271678 172.401144 383.113653 143.967479 345.260895L131.937851 329.174355c-15.733765-20.990113-19.47318-43.638268-11.359355-69.285011C129.962311 230.291522 143.649981 217.662177 166.368691 217.662177c6.984945 0 15.063493 1.199435 24.023978 3.563027 12.206015 3.24553 24.517863 7.372998 36.441658 11.359355 9.666035 3.24553 19.33207 6.49106 29.103937 9.31326 6.455783 1.904985 12.946843 2.469425 19.190961 3.033865 2.575258 0.211665 5.185793 0.458608 7.725772 0.776105l7.725773 0.98777 6.455782-21.942605L229.868192 189.087401c3.10442-2.857478 6.20884-5.714955 9.242705-8.501877 13.511283-12.41768 26.24646-24.165088 38.24081-36.935543 13.934613-14.851828 29.245048-22.083715 46.777965-22.083715 8.713543 0 18.097358 1.83443 27.869226 5.468012 34.71306 12.911565 65.580873 25.96424 94.40259 39.863576 24.941193 12.029628 49.917663 25.152858 74.082751 37.852757 17.427085 9.17215 34.889448 18.309023 52.457643 27.163676 39.299135 19.790678 66.286423 48.330175 82.478795 87.311813 6.879113 16.50987 16.545148 31.714473 25.928963 46.460468l6.808558 10.794915c3.10442 5.009405 7.514108 8.642988 11.394632 11.85324 1.481655 1.199435 2.96331 2.434148 4.303855 3.704137l5.50329 5.185793 16.474593-11.99435-7.725773-18.379578c-1.940263-4.65663-4.09219-9.277983-6.244117-13.899335-4.550798-9.630758-8.819375-18.76763-10.794915-28.116168-11.85324-55.950115-37.852758-95.672581-79.268543-121.142936 13.793503-18.414855 39.263858-30.691425 65.122265-30.691425 17.744583 0 33.196128 5.856065 43.532435 16.474593 19.261515 19.825955 35.947773 43.32077 52.069591 66.074758 4.727185 6.667448 9.419093 13.299618 14.216832 19.861233 7.831605 10.759638 8.537155 22.683433 2.081373 35.348055-1.058325 2.081373-1.83443 4.37441-2.53998 6.63217l-0.811383 2.504702c-5.36218 14.710718-9.912978 26.034795-13.54656 35.136391-15.839598 39.546078-15.627933 42.544665 5.6444 80.15048 4.79774 8.4666 10.72436 19.014573 17.92097 32.59641l9.8777 18.450133c6.561615 12.170738 13.087953 24.306198 19.226238 36.653323 1.375823 2.751645 2.328315 6.032453 3.24553 9.524925l-30.656148 1.97554 12.558791 32.73752H781.749406l-2.328315 22.930375 17.321252 3.174975-16.9332 28.398388 38.875805-12.382403-9.03104 27.975058 20.602061 11.782685 33.936955-61.52396c6.702725 6.06773 14.81655 10.936025 24.41203 10.936025 10.794915 0 21.483998-5.92662 35.101113-19.579013 0.317498 2.222483 0.42333 4.586075 0.14111 6.526338-7.408275 49.10628-23.56537 88.334861-49.388501 119.837668-18.76763 22.895098-42.156613 35.030558-67.59169 35.030558z m-212.546939 169.720054l-9.136873-1.516933c2.716368-0.246943 5.432735-0.42333 8.18438-0.56444 0.28222 0.634995 0.634995 1.340545 0.952493 2.081373z m-213.887484-382.655046c-1.305268-8.18438 0.176388-18.167913 1.023047-19.684845 11.676853-6.91439 26.422848-10.371585 40.886623-13.54656 1.340545 2.046095 3.10442 5.115238 4.65663 8.431323 8.678265 18.414855 17.250698 36.864988 25.787853 55.350398 17.07431 36.82971 34.71306 74.929411 53.163193 111.935508 4.762463 9.560203 11.041858 18.06208 17.92097 26.563958-69.602508-37.605815-129.715368-82.090743-143.438316-169.049782z m-14.463775 135.359769c42.826885 47.166018 98.741723 70.343336 153.280738 88.229028 5.36218 1.763875 10.195198 5.291625 11.14769 7.408275 2.575258 5.6444 3.774693 12.206015 3.139698 16.686258-1.763875 0.529163-4.586075 1.023048-7.549385 1.023047-2.151928 0-3.351363-0.28222-3.598305-0.42333-43.849933-18.520688-91.262893-39.687188-145.025804-64.663658-2.8222-1.305268-6.63217-6.385228-7.161332-9.560202-2.11665-12.629345-3.210253-25.858408-4.2333-38.699418z m69.673063 151.411031c37.746925 10.406863 73.412478 20.249285 109.571915 31.32642 2.575258 0.776105 5.997175 5.07996 9.066318 9.03104-4.09219 2.786923-8.290213 5.538568-11.535743 5.92662-6.385228 0.70555-12.629345 1.058325-18.732352 1.058325-43.779378 0-79.303821-17.77986-103.927516-51.64626l15.557378 4.303855z" fill="#333333" p-id="2548"></path><path d="M772.012816 283.560547l-2.610535-7.267165c-1.375823-3.915803-2.716368-7.866883-4.056913-11.817963-7.972715-23.70648-16.22765-48.189065-38.593585-65.89837l-5.256348-4.162745-19.437902 13.158508 48.82406 87.840975 21.131223-11.85324zM723.929583 449.117856c-33.01974 0-50.552658 13.652393-56.937886 44.202708l-3.880525 18.555965 114.193269-57.361216-29.880043-3.739415c-8.960485-1.12888-16.65098-1.658043-23.494815-1.658042zM526.940021 274.564785c-13.617115 0-27.975058 2.293038-42.61522 6.808557l-32.913908 10.124643 94.684811 21.201777c-2.151928 1.340545-40.49857 24.870638-40.49857 24.870638l35.206945-1.55221 3.704137-0.105833c31.32642 0 51.22293 17.321253 74.999966 47.307128l16.121818-7.443552c-12.27657-63.323113-52.91625-101.211148-108.689979-101.211148zM720.71933 509.371826c-8.572433 0.035278-15.839598 5.150515-22.260102 9.701313-2.25776 1.587488-4.550798 3.210253-6.808558 4.51552l-9.101595 5.150515 17.144865 22.612878-14.39322 18.379577h18.76763l17.77986 0.211665c3.316085 0 6.420505-0.105833 9.560203-0.352775 15.769043-1.234713 25.54091-5.856065 29.880043-14.146277 4.162745-7.937438 2.751645-17.744583-4.303855-29.915321-6.808558-11.782685-25.752575-16.157095-36.265271-16.157095z" fill="#333333" p-id="2549"></path></svg>',
"icon": '<svg t="1709174610633" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5111" width="200" height="200"><path d="M973.5 198.7c0-80.1-64.9-145-145-145s-145 64.9-145 145c0 57.5 33.5 107.2 82 130.6-1-0.5-2-1-2.9-1.5l-65.6 139c-1.5 0-3-0.1-4.5-0.1-27.4 0-53.1 7.6-74.9 20.8L464.3 348.9c5.3-15.1 8.2-31.3 8.2-48.2 0-80.1-64.9-145-145-145s-145 64.9-145 145c0 57.1 33.1 106.5 81.1 130.2l-61.4 249.6c-2.2-0.1-4.4-0.2-6.6-0.2-80.1 0-145 64.9-145 145s64.9 145 145 145 145-64.9 145-145c0-60.5-37-112.3-89.6-134l60.7-246.5c5.2 0.6 10.5 0.9 15.9 0.9 44.8 0 84.9-20.3 111.5-52.3l140.7 127.2c-20.1 24.9-32.1 56.5-32.1 91 0 80.1 64.9 145 145 145s145-64.9 145-145c0-60.7-37.3-112.7-90.2-134.3l63.6-134.8c5.8 0.7 11.7 1.1 17.6 1.1 79.9 0.1 144.8-64.8 144.8-144.9z m-683 626.6c0 52.4-42.6 95-95 95s-95-42.6-95-95 42.6-95 95-95 95 42.6 95 95z m-54.2-139.2h0.1c0 0.1 0 0.1-0.1 0z m-31.3-5.5h0.4c-0.1 0.1-0.2 0-0.4 0z m3.3 0.3h0.5-0.5z m3.3 0.3h0.4-0.4z m15.7 2.6z m2.8 0.7c0.1 0 0.2 0.1 0.3 0.1 0-0.1-0.2-0.1-0.3-0.1z m3.1 0.8c0.1 0 0.2 0.1 0.4 0.1-0.2-0.1-0.3-0.1-0.4-0.1z m62.6-243.1c0.1 0 0.1 0 0 0 0.1 0 0.1 0 0 0z m-29.6-10.1c0.1 0 0.1 0.1 0.2 0.1 0 0-0.1 0-0.2-0.1z m2.9 1.3c0.1 0 0.1 0.1 0.2 0.1-0.1 0-0.2 0-0.2-0.1z m17.6 6.5z m2.9 0.8c0.1 0 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.2 0-0.3-0.1-0.4-0.1z m13.9-270.5c0-52.4 42.6-95 95-95s95 42.6 95 95-42.6 95-95 95-95-42.6-95-95z m74 143.5c0.2 0 0.3 0 0.5 0.1-0.2-0.1-0.4-0.1-0.5-0.1z m-40.9-12.4l1.8 0.9-1.8-0.9z m3.2 1.5c0.6 0.2 1.1 0.5 1.7 0.7-0.6-0.2-1.1-0.4-1.7-0.7z m3.2 1.4c0.5 0.2 1 0.4 1.6 0.6-0.6-0.2-1.1-0.4-1.6-0.6z m3.1 1.2l1.5 0.6-1.5-0.6z m3.2 1.2c0.4 0.2 0.9 0.3 1.3 0.5-0.4-0.2-0.8-0.3-1.3-0.5z m3.2 1.1c0.4 0.1 0.7 0.2 1.1 0.4-0.3-0.1-0.7-0.2-1.1-0.4z m3.2 1.1c0.1 0 0.1 0 0.2 0.1 0-0.1-0.1-0.1-0.2-0.1z m9 2.4c0.1 0 0.2 0.1 0.4 0.1-0.2 0-0.3-0.1-0.4-0.1z m3 0.7c0.2 0 0.4 0.1 0.6 0.1-0.2 0-0.4-0.1-0.6-0.1z m3.2 0.6c0.2 0 0.5 0.1 0.7 0.1-0.3 0-0.5 0-0.7-0.1z m3.2 0.6c0.2 0 0.4 0.1 0.6 0.1-0.2 0-0.4 0-0.6-0.1z" fill="" p-id="5112"></path></svg>',
"menu_type": "api",
"disable": True,
"url": "/metadata_table_modelview/api/"
Expand Down

0 comments on commit 559024f

Please sign in to comment.