chinese-llama-alpaca
Skill by VectorSpaceLab
Routes Chinese-LLaMA-Alpaca workflows for model reconstruction, inference and deployment, training and fine-tuning, and evaluation. It is for developers working with the original Chinese-LLaMA-Alpaca project.
Install chinese-llama-alpaca
Built from the published package, never by AI.
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill /tmp/AREX-Skill && mkdir -p ~/.claude/skills && cp -r /tmp/AREX-Skill/skills/repositories/repo-skills/chinese-llama-alpaca ~/.claude/skills/chinese-llama-alpacaRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill /tmp/AREX-Skill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/AREX-Skill/skills/repositories/repo-skills/chinese-llama-alpaca ~/.gemini/antigravity-cli/skills/chinese-llama-alpacaAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install chinese-llama-alpaca in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Chinese-LLaMA-Alpaca is an agent skill for working with the original Chinese-LLaMA-Alpaca project. It covers Chinese LLaMA and Alpaca LoRA adapters, tokenizer expansion, LoRA reconstruction, local Transformers inference, Gradio or OpenAI-compatible serving, LangChain demos, PEFT pretraining and SFT, C-Eval, and the repo's example benchmark tables. A SKILL.md file routes each request to one of four sub-skills: model reconstruction, inference and deployment, training and fine-tuning, and evaluation.
The skill also bundles helper scripts. One checks the Python environment and CUDA visibility, and another verifies SHA-256 checksums of downloaded files. The skill does not download models, launch servers, run training, or supply LLaMA weights, LoRA files, C-Eval data, or API keys. It suits developers who use this project and want guidance before running heavy commands.
Written from the project's SKILL.md and checked against it.
What it can do
- Model reconstructionMerges Chinese Alpaca LoRA with LLaMA, converts between HF and PTH formats, and checks tokenizer mismatches.
- Inference and deploymentCovers local Transformers inference, batch predictions, Gradio demos, OpenAI-compatible API servers, and LangChain QA.
- Training and fine-tuningGuides SFT data preparation, instruction JSON validation, Chinese LLaMA pretraining, and Alpaca LoRA fine-tuning.
- EvaluationGuides running C-Eval, validating C-Eval data, and interpreting example scores across q4, q8, Plus and Pro variants.
- Environment checkRuns a safe probe of installed packages and CUDA visibility through scripts/check_environment.py.
- Checksum verificationVerifies downloaded model, tokenizer, or data files against expected SHA-256 hashes.
What you need
- Python environment with torch 1.13.1 and transformers 4.30.0
- PEFT from the repository's pinned Hugging Face commit
- Original LLaMA weights, obtained separately
- Chinese LoRA downloads and C-Eval data, obtained separately
Try asking
- Merge a Chinese Alpaca LoRA adapter with a LLaMA base model
- Set up a Gradio demo for my Chinese Alpaca model
- Validate my instruction JSON before SFT training
Good to know
- Does not provide original LLaMA weights, Chinese LoRA downloads, C-Eval data, or API keys.
- Does not grant permission to use restricted assets commercially.
- Real training is long-running, and heavy commands need hardware and budget checks first.
- Example benchmark tables should not be used to infer global model quality.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/repositories/repo-skills/chinese-llama-alpaca/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to chinese-llama-alpaca
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
chinese-llama-alpaca: common questions
Does Chinese-LLaMA-Alpaca include the LLaMA model weights?
No. The source says the skill does not provide original LLaMA weights, Chinese LoRA downloads, C-Eval data, or API keys.
Which model should I use for chat with Chinese-LLaMA-Alpaca?
The source says to prefer Chinese Alpaca with the Alpaca prompt template for chat and instruction following. Chinese LLaMA is described as base or continuation oriented.
Can I use the example benchmark tables to judge model quality?
The source says not to infer global quality from the example tables. It advises recording the model path, dataset, decoding flags, hardware, and any skipped or failed cases.
How do I install chinese-llama-alpaca?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is chinese-llama-alpaca free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is chinese-llama-alpaca safe to use?
It scores 43 of 100. Grades: maintenance C, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to chinese-llama-alpaca?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
