Skip to content
Agentmart
Submit a tool

chinese-llama-alpaca-2

Routes Chinese-LLaMA-Alpaca-2 training, inference, serving, evaluation, and integration workflows.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying chinese-llama-alpaca-2?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-chinese-llama-alpaca-2

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Routes Chinese-LLaMA-Alpaca-2 training, inference, serving, evaluation, and integration workflows.

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/chinese-llama-alpaca-2

What's inside

Skill name
chinese-llama-alpaca-2
Description
Routes Chinese-LLaMA-Alpaca-2 training, inference, serving, evaluation, and integration workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
55 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (74)

  • SKILL.md
  • alpaca-2-long.txt · assets/prompts/
  • alpaca-2.txt · assets/prompts/
  • special_tokens_map.json · assets/tokenizer/
  • tokenizer.model · assets/tokenizer/
  • tokenizer_config.json · assets/tokenizer/
  • model-overview.md · references/
  • prompt-and-tokenizer.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • workflows.md · references/
  • SKILL.md · sub-skills/api-serving/
  • troubleshooting.md · sub-skills/api-serving/references/
  • workflows.md · sub-skills/api-serving/references/
  • attn_and_long_ctx_patches.py · sub-skills/api-serving/scripts/
  • openai_api_protocol.py · sub-skills/api-serving/scripts/openai_server_demo/
  • openai_api_protocol_vllm.py · sub-skills/api-serving/scripts/openai_server_demo/
  • openai_api_server.py · sub-skills/api-serving/scripts/openai_server_demo/
  • openai_api_server_vllm.py · sub-skills/api-serving/scripts/openai_server_demo/
  • SKILL.md · sub-skills/evaluation/
  • troubleshooting.md · sub-skills/evaluation/references/
  • workflows.md · sub-skills/evaluation/references/
  • attn_and_long_ctx_patches.py · sub-skills/evaluation/scripts/
  • eval.py · sub-skills/evaluation/scripts/ceval/
  • evaluator.py · sub-skills/evaluation/scripts/ceval/
  • llama_evaluator.py · sub-skills/evaluation/scripts/ceval/
  • subject_mapping.json · sub-skills/evaluation/scripts/ceval/
  • categories.py · sub-skills/evaluation/scripts/cmmlu/
  • eval.py · sub-skills/evaluation/scripts/cmmlu/
  • evaluator.py · sub-skills/evaluation/scripts/cmmlu/
  • llama2_evaluator.py · sub-skills/evaluation/scripts/cmmlu/
  • dataset2maxlen.json · sub-skills/evaluation/scripts/longbench/config/
  • dataset2prompt.json · sub-skills/evaluation/scripts/longbench/config/
  • eval.py · sub-skills/evaluation/scripts/longbench/
  • metrics.py · sub-skills/evaluation/scripts/longbench/
  • pred_llama2.py · sub-skills/evaluation/scripts/longbench/
  • requirements.txt · sub-skills/evaluation/scripts/longbench/
  • SKILL.md · sub-skills/hf-inference/
  • troubleshooting.md · sub-skills/hf-inference/references/
  • workflows.md · sub-skills/hf-inference/references/
  • attn_and_long_ctx_patches.py · sub-skills/hf-inference/scripts/
  • flash_attn_patch_for_inference.py · sub-skills/hf-inference/scripts/inference/
  • gradio_demo.py · sub-skills/hf-inference/scripts/inference/
  • inference_hf.py · sub-skills/hf-inference/scripts/inference/
  • speculative_sample.py · sub-skills/hf-inference/scripts/inference/
  • SKILL.md · sub-skills/local-integrations/
  • troubleshooting.md · sub-skills/local-integrations/references/
  • workflows.md · sub-skills/local-integrations/references/
  • chat.sh · sub-skills/local-integrations/scripts/llama-cpp/
  • server_curl_example.sh · sub-skills/local-integrations/scripts/llama-cpp/
  • SKILL.md · sub-skills/train-and-merge/
  • troubleshooting.md · sub-skills/train-and-merge/references/
  • workflows.md · sub-skills/train-and-merge/references/
  • merge_llama2_with_chinese_lora_low_mem.py · sub-skills/train-and-merge/scripts/
  • build_dataset.py · sub-skills/train-and-merge/scripts/training/
  • ds_zero2_no_offload.json · sub-skills/train-and-merge/scripts/training/
  • __init__.py · sub-skills/train-and-merge/scripts/training/peft/
  • mapping.py · sub-skills/train-and-merge/scripts/training/peft/
  • peft_model.py · sub-skills/train-and-merge/scripts/training/peft/
  • …and 14 more

SKILL.md (first lines)

# Chinese-LLaMA-Alpaca-2

This skill routes work for the Chinese-LLaMA-2 and Chinese-Alpaca-2 repository.
It is intentionally a router, not a full manual.

Use it when a task mentions:

- Chinese-LLaMA-2 or Chinese-Alpaca-2 model paths, tokenizers, or prompts
- pretraining, SFT, LoRA merging, or model conversion
- local generation, Gradio chat, speculative sampling, or long-context helpers
- OpenAI-compatible serving, HTTP endpoints, or deployment wrappers
- C-Eval, CMMLU, LongBench, or benchmark result files
- llama.cpp launch wrappers or the repo's retrieval-style integration notes

## Pick a sub-skill

| Task family | Read |
| --- | --- |
| Dataset prep, pretraining, SFT, or merge/export | `sub-skills/train-and-merge/SKILL.md` |
| Transformers inference, chat UI, speculative sampling, or prompt wrapping | `sub-skills/hf-inference/SKILL.md` |
| OpenAI-style API serving or the FastAPI server | `sub-skills/api-serving/SKILL.md` |
| C-Eval, CMMLU, or LongBench evaluation | `sub-skills/evaluation/SKILL.md` |
| llama.cpp wrappers or external integration notes | `sub-skills/local-integrations/SKILL.md` |

## Bundled assets

- `assets/prompts/alpaca-2.txt`
- `assets/prompts/alpaca-2-long.txt`
- `assets/tokenizer/`

Read `references/prompt-and-tokenizer.md` before changing prompt text or tokenizer assumptions.

## Cross-cutting references

- `references/workflows.md` for the repository's main workflow map
- `references/model-overview.md` for model family, context, and backend compatibility guidance
- `references/troubleshooting.md` for shared failure modes
- `references/repo-provenance.md` for source commit and staleness checks
- `references/repo-routing-metadata.json` for router import metadata

## Router behavior

- Prefer the most specific sub-skill.
- Use the training sub-skill for data preparation or merge/export questions even when the task also mentions inference.
- Use the inference sub-skill for local generation or chat UX questions even when the task mentions prompt templates.
- Use the API-serving sub-skill for OpenAI-compatible HTTP responses, request schemas, or deployment flags.
- Use the evaluation sub-skill for benchmark configuration and result files, not for general model comparison prose.
- Use the local-integrations sub-skill for llama.cpp wrappers and the external integration notes around retrieval-style examples.

## Notes

- The generated runtime skill is self-contained; do not rely on the source checkout staying available.
- If a task needs more detail than this router provides, open the nearest `references/*.md` file instead of widening the router itself.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get chinese-llama-alpaca-2 running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying chinese-llama-alpaca-2?

CallGet help
Cite this page

chinese-llama-alpaca-2 skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-chinese-llama-alpaca-2 (last updated 2026-10-24)