writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
model-backendsConfigure OpenCompass model backends including HuggingFace, API, custom wrappers, LMDeploy, vLLM, credentials, resource run_cfg, tokenizer/model kwargs, batching, and backend troubleshooting.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when an OpenCompass task is about model configuration rather than dataset selection, prompt construction, or workflow launch. It covers HuggingFace/local models, API providers, accelerated LMDeploy/vLLM/LightLLM-style backends, custom model wrappers, credentials, and resource sizing.
references/model-configuration.md for HuggingFace, HuggingFaceCausalLM, HuggingFacewithChatTemplate, tokenizer/model kwargs, batch_size, max_seq_len, max_out_len, batch_padding, and run_cfg.references/api-models.md for OpenAI, OpenAISDK, TurboMindAPIModel, credential handling, query_per_second, retry, rpm_verbose, openai_api_base, and no-network config checks.references/backend-compatibility.md for --accelerator {vllm,lmdeploy,None}, direct VLLM configs, direct TurboMindModel configs, service-based acceleration, and optional dependency boundaries.references/model-configuration.md#custom-model-extension-route when an existing OpenCompass backend cannot express the target model.references/troubleshooting.md before changing datasets, prompts, summarizers, or evaluation mode.meta_template, and generation prompt behavior, coordinate with ../prompt-and-inference/SKILL.md if present.read_base() patterns, coordinate with ../configuration-and-datasets/SKILL.md if present.opencompass CLI launch modes, --mode, --reuse, runners, and work directories, coordinate with ../evaluation-workflows/SKILL.md if present.scripts/check_api_model_config.py: loads an OpenCompass config, inspects model dictionaries, identifies likely API models, checks credential placeholders/environment-variable references, validates common API rate/resource fields, and exits before building models or making network calls.