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

baichuan2

Route Baichuan2 chat inference, deployment/quantization, and fine-tuning workflows.

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

연동 도구OpenAI
설치 방법 보기

포함된 파일(30)

  • SKILL.md3.9 KB
  • references/installation.md2.9 KB
  • references/license-and-citation.md1.4 KB
  • references/model-overview.md2.5 KB
  • references/repo-provenance.md1.4 KB
  • references/repo-routing-metadata.json453 B
  • references/troubleshooting.md3.1 KB
  • scripts/check_baichuan2_env.py6.5 KB
  • sub-skills/deployment/references/conversion.md3.3 KB
  • sub-skills/deployment/references/cpu-deployment.md2.6 KB
  • sub-skills/deployment/references/quantization.md5.1 KB
  • sub-skills/deployment/references/troubleshooting.md4.7 KB
  • sub-skills/deployment/scripts/normalize_lm_head.py7.3 KB
  • sub-skills/deployment/scripts/quantize_model.py10.0 KB
  • sub-skills/deployment/SKILL.md3.6 KB
  • sub-skills/fine-tuning/references/data-format.md4.4 KB
  • sub-skills/fine-tuning/references/deepspeed-config.md4.4 KB
  • sub-skills/fine-tuning/references/installation.md3.4 KB
  • sub-skills/fine-tuning/references/troubleshooting.md5.3 KB
  • sub-skills/fine-tuning/references/workflows.md6.1 KB
  • sub-skills/fine-tuning/scripts/train_supervised.py13.1 KB
  • sub-skills/fine-tuning/scripts/validate_training_data.py12.2 KB
  • sub-skills/fine-tuning/SKILL.md3.1 KB
  • sub-skills/inference/references/api-reference.md4.1 KB
  • sub-skills/inference/references/troubleshooting.md6.2 KB
  • sub-skills/inference/references/workflows.md6.7 KB
  • sub-skills/inference/scripts/chat_cli.py9.9 KB
  • sub-skills/inference/scripts/chat_web_demo.py8.1 KB
  • sub-skills/inference/scripts/run_openai_api.py8.2 KB
  • sub-skills/inference/SKILL.md6.3 KB

SKILL.md(원문)

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

Baichuan2

Use this repo skill when a task is about Baichuan2 model selection, chat/base inference, local chat demos, OpenAI-compatible serving, quantized deployment, CPU deployment, checkpoint conversion, or supervised fine-tuning.

Baichuan2 is a model-family repository rather than an importable Python package. The operating guidance is therefore organized around public workflows and bundled helpers, not a package module tree.

Start here

  1. If the task may depend on repo freshness, read references/repo-provenance.md.
  2. If the user has not chosen a checkpoint, read references/model-overview.md.
  3. Prepare the smallest environment for the requested workflow using references/installation.md.
  4. Run a no-weight dependency check before loading 7B/13B weights:
python scripts/check_baichuan2_env.py --workflow inference
python scripts/check_baichuan2_env.py --workflow all --require-cuda

Use --workflow inference, deployment, fine-tuning, or all to match the route. These checks do not download model weights.

Route by user request

User request signalsReadWhy
model.chat, Python inference, Base-model generation, terminal demo, Streamlit web UI, OpenAI-compatible /v1/chat/completionssub-skills/inference/SKILL.mdOwns Baichuan2 Chat/Base inference, CLI/web demos, and the Flask chat-completions helper.
4-bit/8-bit quantization, BitsAndBytes, CPU-only loading, load_in_8bit, quantize(4), lm_head.weight, Baichuan1 optimization migrationsub-skills/deployment/SKILL.mdOwns memory-reduction, CPU deployment, and checkpoint-conversion workflows.
supervised fine-tuning, DeepSpeed, LoRA, fine-tune.py, hostfile, W_pack, ds_config, training data schemasub-skills/fine-tuning/SKILL.mdOwns SFT data validation, ZeRO-3 launch planning, LoRA, and post-training loading.
installation/import/backend failure before a route is clearreferences/troubleshooting.mdCovers shared CUDA, dependency, model-access, and optional-extra problems.
license, commercial-use constraints, or citationreferences/license-and-citation.mdDistills the repo's license/citation section.

Core operating facts

  • Released model ids include baichuan-inc/Baichuan2-7B-Base, baichuan-inc/Baichuan2-7B-Chat, baichuan-inc/Baichuan2-13B-Base, baichuan-inc/Baichuan2-13B-Chat, and published 4-bit Chat variants.
  • Chat checkpoints expose model.chat(tokenizer, messages) through Hugging Face trust_remote_code=True. Base checkpoints use model.generate(...) instead.
  • The repository demos are GPU-oriented by default. CPU loading is a separate float32 deployment branch and is expected to be slow.
  • Quantization and training are CUDA-sensitive. Do not use a CPU import check as proof that those workflows work.
  • The bundled scripts intentionally include --help, --dry-run, or validation modes so future agents can inspect plans without downloading large weights.

Do not do this

  • Do not tell the user to open or run original checkout scripts; use the bundled helpers and references in this skill.
  • Do not force Base checkpoints through Chat-only CLI/web/API wrappers.
  • Do not add device_map="auto" to online quantization; the deployment sub-skill explains why.
  • Do not launch DeepSpeed training until the data validator and dry-run plan pass.
  • Do not import this skill into live repo-skill storage unless a later verification/import workflow is explicitly approved. This construction run was requested as not import.

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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의 스킬 모두 보기

이 스킬의 문제 신고