본문으로 건너뛰기
cccskills
무료GitHub에 공개

chatglm2-6b

Guides ChatGLM2-6B Transformers inference, local demos, FastAPI/OpenAI-compatible serving, C-Eval evaluation, and P-Tuning v2 fine-tuning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구OpenAI
설치 방법 보기

포함된 파일(41)

  • SKILL.md4.4 KB
  • references/license-and-safety.md818 B
  • references/model-and-environment.md2.4 KB
  • references/repo-provenance.md2.6 KB
  • references/repo-routing-metadata.json552 B
  • references/runtime-requirements.txt331 B
  • references/troubleshooting.md2.4 KB
  • scripts/check_installation.py2.2 KB
  • sub-skills/api-serving/references/api-contracts.md2.2 KB
  • sub-skills/api-serving/references/deployment.md2.1 KB
  • sub-skills/api-serving/references/troubleshooting.md2.0 KB
  • sub-skills/api-serving/scripts/openai_api_server.py6.7 KB
  • sub-skills/api-serving/scripts/simple_api_server.py3.4 KB
  • sub-skills/api-serving/scripts/validate_api_payload.py2.6 KB
  • sub-skills/api-serving/scripts/validate_openai_messages.py3.0 KB
  • sub-skills/api-serving/SKILL.md2.6 KB
  • sub-skills/chat-and-demos/references/demo-workflows.md2.7 KB
  • sub-skills/chat-and-demos/references/model-loading.md3.5 KB
  • sub-skills/chat-and-demos/references/troubleshooting.md3.1 KB
  • sub-skills/chat-and-demos/scripts/check_chatglm2_environment.py4.1 KB
  • sub-skills/chat-and-demos/scripts/gradio_chat_demo.py4.8 KB
  • sub-skills/chat-and-demos/scripts/inspect_device_map.py2.1 KB
  • sub-skills/chat-and-demos/scripts/stream_chat_cli.py4.7 KB
  • sub-skills/chat-and-demos/SKILL.md4.1 KB
  • sub-skills/evaluation/references/ceval-workflow.md2.1 KB
  • sub-skills/evaluation/references/troubleshooting.md1.5 KB
  • sub-skills/evaluation/scripts/validate_ceval_layout.py3.8 KB
  • sub-skills/evaluation/SKILL.md1.7 KB
  • sub-skills/ptuning/references/checkpoint-workflows.md1.7 KB
  • sub-skills/ptuning/references/command-templates.md2.7 KB
  • sub-skills/ptuning/references/data-formats.md2.0 KB
  • sub-skills/ptuning/references/troubleshooting.md2.4 KB
  • sub-skills/ptuning/scripts/build_ptuning_command.py10.0 KB
  • sub-skills/ptuning/scripts/ptuning_runner/arguments.py8.3 KB
  • sub-skills/ptuning/scripts/ptuning_runner/deepspeed.json489 B
  • sub-skills/ptuning/scripts/ptuning_runner/main.py17.4 KB
  • sub-skills/ptuning/scripts/ptuning_runner/trainer_seq2seq.py11.2 KB
  • sub-skills/ptuning/scripts/ptuning_runner/trainer.py3.1 KB
  • sub-skills/ptuning/scripts/ptuning_runner/web_demo.py5.9 KB
  • sub-skills/ptuning/scripts/validate_ptuning_data.py3.8 KB
  • sub-skills/ptuning/SKILL.md2.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

ChatGLM2-6B

Use this repo-specific operating skill when a task names ChatGLM2-6B, the THUDM/chatglm2-6b model, its legacy CLI/Gradio/Streamlit demos, its FastAPI or OpenAI-compatible API samples, C-Eval evaluation, or the ptuning/ training/checkpoint workflow. This skill distills the public repository into self-contained routes; model weights and benchmark datasets are external and are never bundled.

Start here

  1. Identify the model source: Hub id, pinned revision, or a complete local model directory. Keep tokenizer and model revisions aligned.
  2. Choose the route below and read its linked references before writing a command. Most official scripts assume CUDA and load several-billion- parameter weights; do not use them as cheap import checks.
  3. Install the repo's runtime dependencies with the documented requirements, plus service or fine-tuning extras only for the selected workflow. Pin legacy Gradio/Streamlit versions when using the source demos; see references/model-and-environment.md.
  4. Run the safe root preflight: python scripts/check_installation.py --backend auto.
  5. Read references/troubleshooting.md for cross-cutting model-cache, backend, version, license, and safety issues.

Route by task

When a task spans routes, start with the route that owns the artifact and follow its explicit cross-link. For example, validate chat data in ptuning, then use chat-and-demos to inspect a prefix checkpoint, and finally use api-serving to expose the loaded model.

Installation and verification

This repository is script-oriented rather than a Python distribution; it has no pyproject.toml/setup.py package to install. From a checkout, install the runtime file with a Python version supported by the selected dependency wheels:

python -m pip install -r references/runtime-requirements.txt

The bundled requirements file includes the base runtime plus service, evaluation, and P-Tuning extras used by this skill. If you want a smaller environment, install only the lines required by the selected route. The source demos use legacy Gradio APIs; verify the version before launch and read the environment reference rather than accepting an unbounded latest version. For full-parameter fine-tuning, DeepSpeed is optional and must match the installed PyTorch/CUDA stack.

The bundled scripts/check_installation.py checks dependency metadata, a requested backend, and an optional local model path without downloading or loading weights. It is a preflight, not proof that a multi-billion-parameter model fits. Read references/repo-provenance.md before refreshing the skill against a changed checkout; the provenance file records the source commit, dirty state, model-loading contract, and evidence paths.

Boundaries and safety

  • Never claim a successful CPU import proves CUDA, MPS, quantization, or multi-GPU behavior.
  • Do not download weights or external datasets from bundled diagnostic scripts. Acquire them through approved sources and validate local paths first.
  • Treat the sample services' wildcard CORS and unauthenticated listeners as development defaults. Add authentication, origin controls, rate limits, and timeouts before non-local exposure.
  • Respect the model-weight license and the safety restrictions summarized in references/license-and-safety.md.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고