Self torch import
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/self-torch-import
SOP for PyTorch setup involving specific input splitting logic and standard library imports.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill self-torch-importAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.3 KB, 224 tokens by cl100k_base, as published. Nobody here has run it
self / torch / import
SOP for PyTorch setup involving specific input splitting logic and standard library imports.
Prompt
Follow this SOP (replace specifics with placeholders like <PROJECT>/<ENV>/<VERSION>):
- 将 4输入分开,构建新的相同模态结合的2输入,2分支
- import math
- import logging
- from functools import partial
- from collections import OrderedDict
- from copy import deepcopy
- import torch
- import torch.nn as nn
- import torch.nn.functional as F
- from timm.models.layers import to_2tuple
For each step, include: action, checks, and failure rollback/fallback plan. Output format: for each step number, provide status/result and what to do next.
Triggers
- Use when the user asks for a process or checklist.
- Use when you want to reuse a previously mentioned method/SOP.
Examples
Example 1
Input:
Break this into best-practice, executable steps.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.