Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions .vitepress/theme/components/HomePromoSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* ============================================================ */
const PROMO = {
// 总开关:false 则整区不渲染。
enabled: false,
enabled: true,
badge: "🤝 合作计划·PARTNERSHIP PROGRAM",
titleLine1: "CANN & SwanLab",
titleLine2: "大模型训练师成长计划",
Expand Down Expand Up @@ -53,13 +53,15 @@ const PROMO = {
<p class="home-promo__subtitle">{{ PROMO.subtitle }}</p>
<div class="home-promo__actions">
<!-- 【URL】:在此控制 button 跳转 -->
<a
<!-- 【暂下线】「我要加入」跳转页待确认,暂不渲染;
确认跳转位置后取消下方注释即可恢复双按钮布局(拉宽样式会自动失效)。 -->
<!-- <a
class="home-promo__btn home-promo__btn--join"
href="https://atomgit.com/cann/cann-learning-hub"
href="https://atomgit.com/org/cann/cannlab"
target="_blank"
rel="noopener noreferrer"
>{{ PROMO.joinText }}</a
>
> -->
<a
class="home-promo__btn home-promo__btn--cases"
href="https://atomgit.com/cann/cann-learning-hub/tree/test/contrib/tutorials/swanlab_examples"
Expand Down Expand Up @@ -183,7 +185,7 @@ const PROMO = {
margin: 12px 0 24px;
padding: 0;
font-size: 16px;
font-weight: 600;
font-weight: 550;
color: #b9b9b9;
}

Expand All @@ -194,6 +196,13 @@ const PROMO = {
justify-content: center;
}

/* 「我要加入」暂下线期间:仅剩「查看案例」时单独居中并拉宽;
* 恢复双按钮(取消模板注释)后 :only-child 不再命中,此规则自动失效。 */
.home-promo__btn:only-child {
width: 100%;
max-width: 360px;
}

.home-promo__btn {
display: inline-flex;
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<BadgeRow :badges="[
{ alt: 'Visualize in SwanLab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/assets/badge1.svg', href: 'https://swanlab.cn/@ZeyiLin/qwen3-sft-medical/runs/agps0dkifth5l1xytcdyk/chart' },
// { alt: 'Open in CANNLab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/images/open-in-cannlab.svg', href: 'https://atomgit.com/cann/cann-learning-hub/tree/test/contrib/tutorials/swanlab_examples/qwen3_medical_sft' },
{ alt: 'Open in CANNLab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/images/open-in-cannlab.svg', href: 'https://atomgit.com/cann/cann-learning-hub/tree/test/contrib/tutorials/swanlab_examples/qwen3_medical_sft' },
]" />

![09-01](https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/zh/course/llm_train_course/03-sft/4.qwen3-medical-finetune/qwen3/01.png)
Expand Down
2 changes: 1 addition & 1 deletion zh/examples/mnist.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<BadgeRow :badges="[
{ alt: 'Visualize in SwanLab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/assets/badge1.svg', href: 'https://swanlab.cn/@ZeyiLin/MNIST-example/runs/4plp6w0qehoqpt0uq2tcy/chart' },
{ alt: 'Open in Colab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/assets/colab.svg', href: 'https://colab.research.google.com/drive/1Au8aXxU2o0QNWSzGXGsTdHggighXQMNu?usp=sharing' },
// { alt: 'Open in CANNLab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/images/open-in-cannlab.svg', href: 'https://atomgit.com/cann/cann-learning-hub/tree/test/contrib/tutorials/swanlab_examples/mnist' },
{ alt: 'Open in CANNLab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/images/open-in-cannlab.svg', href: 'https://atomgit.com/cann/cann-learning-hub/tree/test/contrib/tutorials/swanlab_examples/mnist' },
]" />

## 概述
Expand Down
2 changes: 1 addition & 1 deletion zh/examples/qwen3-medical.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<BadgeRow :badges="[
{ alt: 'Visualize in SwanLab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/assets/badge1.svg', href: 'https://swanlab.cn/@ZeyiLin/qwen3-sft-medical/runs/agps0dkifth5l1xytcdyk/chart' },
// { alt: 'Open in CANNLab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/images/open-in-cannlab.svg', href: 'https://atomgit.com/cann/cann-learning-hub/tree/test/contrib/tutorials/swanlab_examples/qwen3_medical_sft' },
{ alt: 'Open in CANNLab', img: 'https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/images/open-in-cannlab.svg', href: 'https://atomgit.com/cann/cann-learning-hub/tree/test/contrib/tutorials/swanlab_examples/qwen3_medical_sft' },
]" />

![09-01](https://swanlab-docs-1301372061.cos.ap-beijing.myqcloud.com/assets/zh/examples/qwen3/01.png)
Expand Down
Loading