[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6PZNMPKY6RA90339SGHVYAE":3,"skill-same:01M6PZNMPKY6RA90339SGHVYAE":178},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":30,"commitSha":47,"skillDirectory":48,"forksCount":13,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M6PZNMPKY6RA90339SGHVYAE","train-sentence-transformers",null,"Train or fine-tune SentenceTransformer, CrossEncoder, and SparseEncoder models for retrieval, similarity, clustering, classification, reranking, and related embedding tasks.","duc-duy-1612\u002FOnline-Delivery-Systems-Web","duc-duy-1612","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F192231384?v=4","01M6NSDKQQDKVTHZ8DZMZ1VYY6","01M6NSDKW8DDVTQHBT1HBDDJPT",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"sentence transformers","Transformers","train sentence transformers","train","reranking","github","blob","for","tree","embedding","similarity","critical","main","models","classification","HuggingFace","https","license","tasks","official","2026-11-10 10:12:30",false,"---\nname: train-sentence-transformers\ndescription: \"Train or fine-tune SentenceTransformer, CrossEncoder, and SparseEncoder models for retrieval, similarity, clustering, classification, reranking, and related embedding tasks.\"\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Ftree\u002Fmain\u002Fskills\u002Ftrain-sentence-transformers\nsource_repo: huggingface\u002Fskills\nsource_type: official\ndate_added: 2026-07-01\nlicense: Apache-2.0\nlicense_source: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE\n---\n\n# Train a sentence-transformers Model\n## When to Use\n\nUse this skill when you need train or fine-tune sentence-transformers models across `SentenceTransformer` (bi-encoder; dense or static embedding model; for retrieval, similarity, clustering, classification, paraphrase mining, dedup, multimodal), `CrossEncoder` (reranker; pair scoring for two-stage retrieval \u002F pair...\n\n\n**This SKILL.md is a router, not a manual.** It tells you which references and example scripts to load for your task. The actual content — recommended losses, evaluators, training-script structure, model selection, training-arg knobs, troubleshooting — lives in `references\u002F` and `scripts\u002F`.\n\n**Do not synthesize a training script from this file alone.** Open the per-type production template (`scripts\u002Ftrain_\u003Ctype>_example.py`) and copy it as your starting point. The templates contain load-bearing scaffolding (autocast helper, model-card class, logger silencing list, `force=True`, `seed`, TF32, version-compatible imports, named-evaluator metric handling) that prior agent runs have repeatedly missed when rolling their own from a synthesized snippet.\n\n## 1. Identify the model type\n\n| Tag | Class | What it does | When to pick |\n|---|---|---|---|\n| **[SentenceTransformer]** | `SentenceTransformer` (bi-encoder) | Maps each input to a fixed-dim dense vector | Retrieval, similarity, clustering, classification, paraphrase mining, dedup |\n| **[CrossEncoder]** | `CrossEncoder` (reranker) | Scores `(query, passage)` pairs jointly | Two-stage retrieval (rerank top-100 from bi-encoder), pair classification |\n| **[SparseEncoder]** | `SparseEncoder` (SPLADE) | Sparse vectors over the vocabulary | Learned-sparse retrieval, inverted-index backends (Elasticsearch \u002F OpenSearch \u002F Lucene) |\n\nTiebreakers when the request is ambiguous: \"embedding model\" \u002F \"vector search\" \u002F \"similarity\" → **[SentenceTransformer]**. \"rerank\" \u002F \"ranker\" \u002F \"two-stage\" → **[CrossEncoder]**. \"SPLADE\" \u002F \"sparse\" \u002F \"inverted index\" → **[SparseEncoder]**. If still unclear, ask.\n\n## 2. Required reading\n\n**Read these in full before writing any code. Do not triage by perceived relevance.**\n\n### Per-type — always required\n\n**[SentenceTransformer]**\n- `references\u002Flosses_sentence_transformer.md` — loss-to-data-shape mapping; `BatchSamplers.NO_DUPLICATES` requirement for MNRL-family; `Cached*` ↔ `gradient_checkpointing` incompatibility.\n- `references\u002Fevaluators_sentence_transformer.md` — evaluator-to-task mapping; `metric_for_best_model` key construction (named vs unnamed); per-evaluator `primary_metric` values.\n- `references\u002Fmodel_architectures.md` — encoder vs decoder vs static vs Router pipelines; pooling rules (mean \u002F cls \u002F lasttoken); auto-mean-pooling behavior for fresh-start MLM bases.\n- `scripts\u002Ftrain_sentence_transformer_example.py` — production template; copy this as your starting point.\n\n**[CrossEncoder]**\n- `references\u002Flosses_cross_encoder.md` — pointwise \u002F pairwise \u002F listwise \u002F distillation; `pos_weight` derivation; `activation_fn=Identity()` mandatory for non-BCE losses (silent eval-rank collapse otherwise).\n- `references\u002Fevaluators_cross_encoder.md` — `CrossEncoderRerankingEvaluator` recipe; named-evaluator key format `eval_{name}_{primary_metric}`.\n- `scripts\u002Ftrain_cross_encoder_example.py` — production template; copy this as your starting point.\n\n**[SparseEncoder]**\n- `references\u002Flosses_sparse_encoder.md` — `SpladeLoss` wrapper requirement; FLOPS regularizer weights; smoke-test active-dim ramp behavior.\n- `references\u002Fevaluators_sparse_encoder.md` — `SparseNanoBEIREvaluator` (English-only) and the in-domain alternative; `eval_{name}_{primary_metric}` key format.\n- `scripts\u002Ftrain_sparse_encoder_example.py` — production template; copy this as your starting point.\n\n### Cross-cutting — always required (regardless of task)\n\n- `references\u002Ftraining_args.md` — `TrainingArguments` knobs, precision rules (load fp32 + autocast bf16\u002Ffp16; never `torch_dtype=bfloat16`), `warmup_steps` (float) vs deprecated `warmup_ratio`, `save_steps` must be a multiple of `eval_steps` for `load_best_model_at_end`, schedulers, HPO, tracker, resume, hub-push variants.\n- `references\u002Fdataset_formats.md` — column-matching rules (label name auto-detection; column-order-not-name); reshaping recipes; hard-negative mining options.\n- `references\u002Fbase_model_selection.md` — discovery commands; per-type model namespaces; ModernBERT-family `max_seq_length=8192` trap; `datasets >= 4` script-loader rejection; non-English starting-point shortcuts.\n- `references\u002Ftroubleshooting.md` — symptom-indexed failure recipes. Skim the section headings on every run, even a healthy one; the \"Metrics don't improve\" and \"Hub push fails\" entries cover bugs that bite frequently and are cheaper to recognize before they fire than to debug after.\n\n### Cross-cutting — load when applicable\n\n- `references\u002Fhardware_guide.md` — VRAM sizing, multi-GPU, FSDP \u002F DeepSpeed, HF Jobs flavors. Required for >24GB models, multi-GPU, or HF Jobs runs.\n- `references\u002Fhf_jobs_execution.md` — required when running on HF Jobs.\n- `references\u002Fprompts_and_instructions.md` — required when using prompt-tuned bases (E5, BGE, GTE, Qwen3-Embedding, Instructor, Nomic, etc.) or adding `query: ` \u002F `passage: ` style prefixes.\n\n### Variant scripts (open when the task matches)\n- **[SentenceTransformer]** `scripts\u002Ftrain_sentence_transformer_\u003Cmatryoshka|multi_dataset|with_lora|distillation|make_multilingual|static_embedding>_example.py`.\n- **[CrossEncoder]** `scripts\u002Ftrain_cross_encoder_\u003Cdistillation|listwise>_example.py`.\n- **[SparseEncoder]** `scripts\u002Ftrain_sparse_encoder_distillation_example.py`.\n- Hard-negative mining CLI — `scripts\u002Fmine_hard_negatives.py`.\n\n## 3. Defaults\n\nOverride only if the user specifies otherwise:\n- **Local execution.** Pitch HF Jobs only if local hardware can't fit the job.\n- **Single run.** After it completes, propose experimentation if the user would benefit (weak\u002Fmarginal verdict, \"see how high you can push it\" framing, etc.). Iteration rules in `references\u002Ftraining_args.md` (Experimentation section).\n- **Public Hub push at end-of-run, wrapped in try-except.** On HF Jobs (ephemeral env) ALSO enable in-trainer push (`push_to_hub=True` + `hub_strategy=\"every_save\"`); details in `references\u002Fhf_jobs_execution.md`.\n\n## 4. Constraints the produced script must satisfy\n\nThese are non-negotiable contracts. Implementation lives in the production templates and references — do not reinvent.\n\n- Capture the pre-training evaluator score as `baseline_eval` **before** `trainer.train()`.\n- Emit a single end-of-run line: `VERDICT: WIN|MARGINAL|REGRESSION | score=... | baseline=... | delta=...`. A monitor scrapes for this.\n- Silence `httpx`, `httpcore`, `huggingface_hub`, `urllib3`, `filelock`, `fsspec` to WARNING (otherwise HF download URLs flood the agent's context).\n- Tee logs to `logs\u002F{RUN_NAME}.log`.\n- End with `model.push_to_hub(...)` wrapped in `try\u002Fexcept`.\n- Smoke-test before any long run (`max_steps=1` + tiny dataset slice). The production templates show one common pattern (`SMOKE_TEST` env var).\n- **[CrossEncoder]** Include `EarlyStoppingCallback(patience>=3)` — CE rerankers often peak mid-training and regress.\n- **[SparseEncoder]** Log `query_active_dims` \u002F `corpus_active_dims` on the verdict line; high nDCG with collapsed sparsity is not a win. The keys come back name-prefixed (e.g. `..._query_active_dims`); use suffix matching to pluck them — see the SPARSE production template for the exact pattern.\n\n## 5. Workflow\n\n1. Identify the model type (§1). Ask if ambiguous.\n2. Load the §2 required-reading files for that type.\n3. Open `scripts\u002Ftrain_\u003Ctype>_example.py` and copy it as your starting point.\n4. Replace `MODEL_NAME`, `DATASET_NAME`, `RUN_NAME`, the loss, and the evaluator with the user's task. Cross-check loss\u002Fdata-shape match against `references\u002Flosses_\u003Ctype>.md`; cross-check the `metric_for_best_model` key against `references\u002Fevaluators_\u003Ctype>.md` (named evaluators format the key as `eval_{name}_{primary_metric}`).\n5. Smoke-test (`max_steps=1`).\n6. Run.\n7. After the run, append to `logs\u002Fexperiments.md` and propose iteration if the verdict is weak\u002Fmarginal.\n\n## Prerequisites\n\n```bash\npip install \"sentence-transformers[train]>=5.0\"        # add [train,image] \u002F [audio] \u002F [video] for [SentenceTransformer] multimodal\npip install trackio                                    # optional tracker; or wandb \u002F tensorboard \u002F mlflow\nhf auth login                                          # or set HF_TOKEN with write scope (for Hub push)\n```\n\nGPU strongly recommended. CPU works only for demos and `[SentenceTransformer]` `StaticEmbedding`.\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream product or API scope.\n- Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.\n- Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n","# Train a sentence-transformers Model\n## When to Use\n\nUse this skill when you need train or fine-tune sentence-transformers models across `SentenceTransformer` (bi-encoder; dense or static embedding model; for retrieval, similarity, clustering, classification, paraphrase mining, dedup, multimodal), `CrossEncoder` (reranker; pair scoring for two-stage retrieval \u002F pair...\n\n\n**This SKILL.md is a router, not a manual.** It tells you which references and example scripts to load for your task. The actual content — recommended losses, evaluators, training-script structure, model selection, training-arg knobs, troubleshooting — lives in `references\u002F` and `scripts\u002F`.\n\n**Do not synthesize a training script from this file alone.** Open the per-type production template (`scripts\u002Ftrain_\u003Ctype>_example.py`) and copy it as your starting point. The templates contain load-bearing scaffolding (autocast helper, model-card class, logger silencing list, `force=True`, `seed`, TF32, version-compatible imports, named-evaluator metric handling) that prior agent runs have repeatedly missed when rolling their own from a synthesized snippet.\n\n## 1. Identify the model type\n\n| Tag | Class | What it does | When to pick |\n|---|---|---|---|\n| **[SentenceTransformer]** | `SentenceTransformer` (bi-encoder) | Maps each input to a fixed-dim dense vector | Retrieval, similarity, clustering, classification, paraphrase mining, dedup |\n| **[CrossEncoder]** | `CrossEncoder` (reranker) | Scores `(query, passage)` pairs jointly | Two-stage retrieval (rerank top-100 from bi-encoder), pair classification |\n| **[SparseEncoder]** | `SparseEncoder` (SPLADE) | Sparse vectors over the vocabulary | Learned-sparse retrieval, inverted-index backends (Elasticsearch \u002F OpenSearch \u002F Lucene) |\n\nTiebreakers when the request is ambiguous: \"embedding model\" \u002F \"vector search\" \u002F \"similarity\" → **[SentenceTransformer]**. \"rerank\" \u002F \"ranker\" \u002F \"two-stage\" → **[CrossEncoder]**. \"SPLADE\" \u002F \"sparse\" \u002F \"inverted index\" → **[SparseEncoder]**. If still unclear, ask.\n\n## 2. Required reading\n\n**Read these in full before writing any code. Do not triage by perceived relevance.**\n\n### Per-type — always required\n\n**[SentenceTransformer]**\n- `references\u002Flosses_sentence_transformer.md` — loss-to-data-shape mapping; `BatchSamplers.NO_DUPLICATES` requirement for MNRL-family; `Cached*` ↔ `gradient_checkpointing` incompatibility.\n- `references\u002Fevaluators_sentence_transformer.md` — evaluator-to-task mapping; `metric_for_best_model` key construction (named vs unnamed); per-evaluator `primary_metric` values.\n- `references\u002Fmodel_architectures.md` — encoder vs decoder vs static vs Router pipelines; pooling rules (mean \u002F cls \u002F lasttoken); auto-mean-pooling behavior for fresh-start MLM bases.\n- `scripts\u002Ftrain_sentence_transformer_example.py` — production template; copy this as your starting point.\n\n**[CrossEncoder]**\n- `references\u002Flosses_cross_encoder.md` — pointwise \u002F pairwise \u002F listwise \u002F distillation; `pos_weight` derivation; `activation_fn=Identity()` mandatory for non-BCE losses (silent eval-rank collapse otherwise).\n- `references\u002Fevaluators_cross_encoder.md` — `CrossEncoderRerankingEvaluator` recipe; named-evaluator key format `eval_{name}_{primary_metric}`.\n- `scripts\u002Ftrain_cross_encoder_example.py` — production template; copy this as your starting point.\n\n**[SparseEncoder]**\n- `references\u002Flosses_sparse_encoder.md` — `SpladeLoss` wrapper requirement; FLOPS regularizer weights; smoke-test active-dim ramp behavior.\n- `references\u002Fevaluators_sparse_encoder.md` — `SparseNanoBEIREvaluator` (English-only) and the in-domain alternative; `eval_{name}_{primary_metric}` key format.\n- `scripts\u002Ftrain_sparse_encoder_example.py` — production template; copy this as your starting point.\n\n### Cross-cutting — always required (regardless of task)\n\n- `references\u002Ftraining_args.md` — `TrainingArguments` knobs, precision rules (load fp32 + autocast bf16\u002Ffp16; never `torch_dtype=bfloat16`), `warmup_steps` (float) vs deprecated `warmup_ratio`, `save_steps` must be a multiple of `eval_steps` for `load_best_model_at_end`, schedulers, HPO, tracker, resume, hub-push variants.\n- `references\u002Fdataset_formats.md` — column-matching rules (label name auto-detection; column-order-not-name); reshaping recipes; hard-negative mining options.\n- `references\u002Fbase_model_selection.md` — discovery commands; per-type model namespaces; ModernBERT-family `max_seq_length=8192` trap; `datasets >= 4` script-loader rejection; non-English starting-point shortcuts.\n- `references\u002Ftroubleshooting.md` — symptom-indexed failure recipes. Skim the section headings on every run, even a healthy one; the \"Metrics don't improve\" and \"Hub push fails\" entries cover bugs that bite frequently and are cheaper to recognize before they fire than to debug after.\n\n### Cross-cutting — load when applicable\n\n- `references\u002Fhardware_guide.md` — VRAM sizing, multi-GPU, FSDP \u002F DeepSpeed, HF Jobs flavors. Required for >24GB models, multi-GPU, or HF Jobs runs.\n- `references\u002Fhf_jobs_execution.md` — required when running on HF Jobs.\n- `references\u002Fprompts_and_instructions.md` — required when using prompt-tuned bases (E5, BGE, GTE, Qwen3-Embedding, Instructor, Nomic, etc.) or adding `query: ` \u002F `passage: ` style prefixes.\n\n### Variant scripts (open when the task matches)\n- **[SentenceTransformer]** `scripts\u002Ftrain_sentence_transformer_\u003Cmatryoshka|multi_dataset|with_lora|distillation|make_multilingual|static_embedding>_example.py`.\n- **[CrossEncoder]** `scripts\u002Ftrain_cross_encoder_\u003Cdistillation|listwise>_example.py`.\n- **[SparseEncoder]** `scripts\u002Ftrain_sparse_encoder_distillation_example.py`.\n- Hard-negative mining CLI — `scripts\u002Fmine_hard_negatives.py`.\n\n## 3. Defaults\n\nOverride only if the user specifies otherwise:\n- **Local execution.** Pitch HF Jobs only if local hardware can't fit the job.\n- **Single run.** After it completes, propose experimentation if the user would benefit (weak\u002Fmarginal verdict, \"see how high you can push it\" framing, etc.). Iteration rules in `references\u002Ftraining_args.md` (Experimentation section).\n- **Public Hub push at end-of-run, wrapped in try-except.** On HF Jobs (ephemeral env) ALSO enable in-trainer push (`push_to_hub=True` + `hub_strategy=\"every_save\"`); details in `references\u002Fhf_jobs_execution.md`.\n\n## 4. Constraints the produced script must satisfy\n\nThese are non-negotiable contracts. Implementation lives in the production templates and references — do not reinvent.\n\n- Capture the pre-training evaluator score as `baseline_eval` **before** `trainer.train()`.\n- Emit a single end-of-run line: `VERDICT: WIN|MARGINAL|REGRESSION | score=... | baseline=... | delta=...`. A monitor scrapes for this.\n- Silence `httpx`, `httpcore`, `huggingface_hub`, `urllib3`, `filelock`, `fsspec` to WARNING (otherwise HF download URLs flood the agent's context).\n- Tee logs to `logs\u002F{RUN_NAME}.log`.\n- End with `model.push_to_hub(...)` wrapped in `try\u002Fexcept`.\n- Smoke-test before any long run (`max_steps=1` + tiny dataset slice). The production templates show one common pattern (`SMOKE_TEST` env var).\n- **[CrossEncoder]** Include `EarlyStoppingCallback(patience>=3)` — CE rerankers often peak mid-training and regress.\n- **[SparseEncoder]** Log `query_active_dims` \u002F `corpus_active_dims` on the verdict line; high nDCG with collapsed sparsity is not a win. The keys come back name-prefixed (e.g. `..._query_active_dims`); use suffix matching to pluck them — see the SPARSE production template for the exact pattern.\n\n## 5. Workflow\n\n1. Identify the model type (§1). Ask if ambiguous.\n2. Load the §2 required-reading files for that type.\n3. Open `scripts\u002Ftrain_\u003Ctype>_example.py` and copy it as your starting point.\n4. Replace `MODEL_NAME`, `DATASET_NAME`, `RUN_NAME`, the loss, and the evaluator with the user's task. Cross-check loss\u002Fdata-shape match against `references\u002Flosses_\u003Ctype>.md`; cross-check the `metric_for_best_model` key against `references\u002Fevaluators_\u003Ctype>.md` (named evaluators format the key as `eval_{name}_{primary_metric}`).\n5. Smoke-test (`max_steps=1`).\n6. Run.\n7. After the run, append to `logs\u002Fexperiments.md` and propose iteration if the verdict is weak\u002Fmarginal.\n\n## Prerequisites\n\n```bash\npip install \"sentence-transformers[train]>=5.0\"        # add [train,image] \u002F [audio] \u002F [video] for [SentenceTransformer] multimodal\npip install trackio                                    # optional tracker; or wandb \u002F tensorboard \u002F mlflow\nhf auth login                                          # or set HF_TOKEN with write scope (for Hub push)\n```\n\nGPU strongly recommended. CPU works only for demos and `[SentenceTransformer]` `StaticEmbedding`.\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream product or API scope.\n- Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.\n- Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n",{"name":5,"risk":29,"source":43,"license":14,"date_added":44,"description":7,"source_repo":45,"source_type":37,"license_source":46},"https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Ftree\u002Fmain\u002Fskills\u002Ftrain-sentence-transformers",1782864000000,"huggingface\u002Fskills","https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE","f3312ba749561b6159f477dbfc9313c875d40a56",".agents\u002Fskills_archive\u002Ftrain-sentence-transformers","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612","2026-10-25 23:50:58",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill train-sentence-transformers",{"tool":58,"command":59},"bunx","bunx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill train-sentence-transformers",{"tool":61,"command":62},"pnpm","pnpm dlx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill train-sentence-transformers","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,130,134,138,142,146,150,154,158,162,166,170,174],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fbase_model_selection.md","REFERENCE","参考文档",7667,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Fbase_model_selection.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fdataset_formats.md",6508,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Fdataset_formats.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fevaluators_cross_encoder.md",5625,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Fevaluators_cross_encoder.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fevaluators_sentence_transformer.md",6010,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Fevaluators_sentence_transformer.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fevaluators_sparse_encoder.md",5056,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Fevaluators_sparse_encoder.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fhardware_guide.md",6061,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Fhardware_guide.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fhf_jobs_execution.md",7364,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Fhf_jobs_execution.md",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Flosses_cross_encoder.md",9567,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Flosses_cross_encoder.md",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Flosses_sentence_transformer.md",10997,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Flosses_sentence_transformer.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Flosses_sparse_encoder.md",5183,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Flosses_sparse_encoder.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fmodel_architectures.md",9217,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Fmodel_architectures.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fprompts_and_instructions.md",6558,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Fprompts_and_instructions.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Ftraining_args.md",15321,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Ftraining_args.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Ftroubleshooting.md",13273,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Freferences\u002Ftroubleshooting.md",{"path":125,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":128,"sourceHtmlUrl":129},"scripts\u002Fmine_hard_negatives.py","SCRIPT","脚本",8460,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Fmine_hard_negatives.py",{"path":131,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":132,"sourceHtmlUrl":133},"scripts\u002Ftrain_cross_encoder_distillation_example.py",9412,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_cross_encoder_distillation_example.py",{"path":135,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":136,"sourceHtmlUrl":137},"scripts\u002Ftrain_cross_encoder_example.py",9232,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_cross_encoder_example.py",{"path":139,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":140,"sourceHtmlUrl":141},"scripts\u002Ftrain_cross_encoder_listwise_example.py",10416,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_cross_encoder_listwise_example.py",{"path":143,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":144,"sourceHtmlUrl":145},"scripts\u002Ftrain_sentence_transformer_distillation_example.py",12232,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_sentence_transformer_distillation_example.py",{"path":147,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":148,"sourceHtmlUrl":149},"scripts\u002Ftrain_sentence_transformer_example.py",7722,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_sentence_transformer_example.py",{"path":151,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":152,"sourceHtmlUrl":153},"scripts\u002Ftrain_sentence_transformer_make_multilingual_example.py",11825,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_sentence_transformer_make_multilingual_example.py",{"path":155,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":156,"sourceHtmlUrl":157},"scripts\u002Ftrain_sentence_transformer_matryoshka_example.py",7302,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_sentence_transformer_matryoshka_example.py",{"path":159,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":160,"sourceHtmlUrl":161},"scripts\u002Ftrain_sentence_transformer_multi_dataset_example.py",10121,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_sentence_transformer_multi_dataset_example.py",{"path":163,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":164,"sourceHtmlUrl":165},"scripts\u002Ftrain_sentence_transformer_static_embedding_example.py",10519,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_sentence_transformer_static_embedding_example.py",{"path":167,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":168,"sourceHtmlUrl":169},"scripts\u002Ftrain_sentence_transformer_with_lora_example.py",10576,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_sentence_transformer_with_lora_example.py",{"path":171,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":172,"sourceHtmlUrl":173},"scripts\u002Ftrain_sparse_encoder_distillation_example.py",9655,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_sparse_encoder_distillation_example.py",{"path":175,"resourceType":126,"resourceTypeDesc":127,"sizeBytes":176,"sourceHtmlUrl":177},"scripts\u002Ftrain_sparse_encoder_example.py",8259,"https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Ftrain-sentence-transformers\u002Fscripts\u002Ftrain_sparse_encoder_example.py",[179,204,227,248,265,284],{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":183,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":38},"01M6Q0FA5FZ410Z33Z3TFQ4DBA","zero-trust","Implement zero-trust network architecture. Configure identity-based access, micro-segmentation, and continuous verification. Use when implementing modern security architectures.","MIT","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzero-trust\u002FSKILL.md",[],[187,188,189,190,191,192,181,193,194,195,196,197,198,30,199,29,200,201,202,203],"ZeRO","trust","zero trust","architecture","assessment","verification","segmentation","devops-security","access","configure","only","community","active","scope","scripts","relevant","implementing",{"skillNo":205,"name":206,"nameZh":6,"description":207,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":183,"licenseFileUrl":6,"sourceHtmlUrl":208,"categories":209,"keywords":210,"publishedAt":38},"01M6Q0F1YZJW3KX5FBKEVZ8CV4","zcode-delegate","Delegate coding tasks to the Z.AI ZCode CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzcode-delegate\u002FSKILL.md",[],[211,212,213,214,215,216,36,217,218,219,220,221,222,197,223,198,224,225,29,226],"delegate","zcode","zcode delegate","review","cli","orchestration","run","Bash","model","node","read","orchestrator","files","desktop app","app","agent-orchestration",{"skillNo":228,"name":229,"nameZh":6,"description":230,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":183,"licenseFileUrl":6,"sourceHtmlUrl":231,"categories":232,"keywords":233,"publishedAt":38},"01M6Q0ETK41VGNMYEXW0T00AJN","youtube-transcript","Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript\u002FSKILL.md",[],[234,235,236,237,23,238,239,35,34,240,241,242,243,198,30,244,245,246,247,24],"transcript","youtube transcript","youtube","safe","codex","research","text","fetch","tooling","clean","local","output","deepapi","youtube transcripts",{"skillNo":249,"name":250,"nameZh":6,"description":251,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":183,"licenseFileUrl":6,"sourceHtmlUrl":252,"categories":253,"keywords":254,"publishedAt":38},"01M6Q0EPPH2PVMDW40017F8WX0","youtube-transcript-skills","Fetch YouTube video transcripts, search videos\u002Fchannels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript-skills\u002FSKILL.md",[],[234,235,236,255,237,256,23,238,35,257,258,259,260,241,261,198,30,262,263,264],"youtube transcript skills","gemini","search","api","Video","browse","api-integration","free","card","channels",{"skillNo":266,"name":267,"nameZh":6,"description":268,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":183,"licenseFileUrl":6,"sourceHtmlUrl":269,"categories":270,"keywords":271,"publishedAt":38},"01M6Q0EAB96PX83W5PTE8A0R8D","youtube-notetaker","Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-notetaker\u002FSKILL.md",[],[236,272,273,215,237,274,37,275,276,35,259,277,278,279,280,30,281,244,282,283],"youtube notetaker","notetaker","workflow","notes","code","markdown","slides","annotations","README","study","dair-academy","viewer",{"skillNo":285,"name":286,"nameZh":6,"description":287,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":183,"licenseFileUrl":6,"sourceHtmlUrl":288,"categories":289,"keywords":290,"publishedAt":38},"01M6Q0E55F0GW5MX48V8HXS8B5","youtube-full","Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-full\u002FSKILL.md",[],[291,236,292,293,237,256,257,294,295,258,259,260,241,296,261,198,30,262,297,247],"youtube full","full","google","server","dlp","credits","automatic"]