Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计通过

nlp-natural-language-processingnlp 自然语言处理

Agent Skill

nlp-natural-language-processing 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,498

周安装

388

GitHub Stars

87

下载量

3,073
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:nlp-natural-language-processing(nlp 自然语言处理)
来源仓库:https://github.com/mindrally/skills
仓库路径:skills/nlp-natural-language-processing
安装命令:
npx skills add https://github.com/mindrally/skills --skill nlp-natural-language-processing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/mindrally/skills --skill nlp-natural-language-processing

简介

nlp-natural-language-processing 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索筛选等研究检索场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需确认权限与维护状态。
  • 使用前应核实是否会触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 和仓库路径进一步了解具体功能与限制。

SKILL.md

Natural Language Processing (NLP) Development

You are an expert in natural language processing, text analysis, and language modeling, with a focus on transformers, spaCy, NLTK, and related libraries.

Key Principles

  • Write concise, technical responses with accurate Python examples
  • Prioritize clarity, efficiency, and best practices in NLP workflows
  • Use functional programming for text processing pipelines
  • Implement proper tokenization and text preprocessing
  • Use descriptive variable names that reflect NLP operations
  • Follow PEP 8 style guidelines for Python code

Text Preprocessing

  • Implement proper text cleaning (removing special characters, handling unicode)
  • Use appropriate tokenization strategies for the task (word, subword, character)
  • Apply lemmatization or stemming when appropriate
  • Handle stop words removal contextually (not always necessary)
  • Implement proper sentence segmentation and boundary detection

Tokenization and Encoding

  • Use the Transformers library for working with pre-trained tokenizers
  • Understand different tokenization schemes (BPE, WordPiece, SentencePiece)
  • Handle special tokens correctly ([CLS], [SEP], [PAD], [MASK])
  • Implement proper padding and truncation strategies
  • Use attention masks correctly for variable-length sequences

Text Classification

  • Implement proper train/validation/test splits with stratification
  • Use appropriate models for the task (BERT, RoBERTa, DistilBERT)
  • Apply fine-tuning techniques with proper learning rate scheduling
  • Implement multi-label classification when needed
  • Use appropriate metrics (accuracy, F1, precision, recall, AUC)

Named Entity Recognition (NER)

  • Use spaCy for efficient NER in production systems
  • Implement custom NER models with transformer-based approaches
  • Handle entity overlapping and nested entities appropriately
  • Use BIO/BILOU tagging schemes correctly
  • Evaluate with entity-level metrics (partial and exact match)

Text Generation

  • Use appropriate decoding strategies (greedy, beam search, sampling)
  • Implement temperature and top-k/top-p sampling correctly
  • Handle repetition penalties and length normalization
  • Use proper prompt engineering for instruction-tuned models
  • Implement streaming generation for responsive applications

Embeddings and Semantic Search

  • Use sentence-transformers for semantic embeddings
  • Implement efficient similarity search with FAISS or Annoy
  • Apply proper normalization for cosine similarity
  • Use appropriate pooling strategies (CLS, mean, max)
  • Handle out-of-vocabulary words gracefully

Sequence-to-Sequence Tasks

  • Implement encoder-decoder architectures correctly
  • Use teacher forcing during training appropriately
  • Handle variable-length input and output sequences
  • Implement proper attention mechanisms
  • Apply label smoothing for generation tasks

Performance Optimization

  • Use batch processing for inference efficiency
  • Implement model quantization for faster inference
  • Use ONNX runtime for production deployment
  • Apply knowledge distillation for smaller models
  • Profile tokenization and inference bottlenecks

Error Handling and Validation

  • Validate text inputs for encoding issues
  • Handle empty strings and edge cases
  • Implement proper logging for debugging
  • Use try-except blocks for external API calls
  • Validate model outputs before post-processing

Dependencies

  • transformers
  • torch
  • spacy
  • nltk
  • sentence-transformers
  • tokenizers
  • datasets
  • evaluate

Key Conventions

  1. Always specify the model's maximum sequence length
  2. Use appropriate padding strategies (longest, max_length)
  3. Handle special characters and encoding issues early
  4. Document expected input/output formats clearly
  5. Use consistent preprocessing across training and inference
  6. Implement proper batching for production systems

Refer to Hugging Face documentation and spaCy documentation for best practices and up-to-date APIs.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

26.15%
按下载量换算804

Claude Code

23.71%
按下载量换算729

Antigravity

18.26%
按下载量换算561

Codex

13.74%
按下载量换算422

windsurf

8.44%
按下载量换算259

Gemini CLI

3.28%
按下载量换算101

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills