Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 43
  • 358 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-alpaca

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install chinese-llama-alpaca in Claude Code

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

A

No 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 →

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.

chinese-llama-alpaca Install

Add to stack

Loading.