본문으로 건너뛰기
cccskills
무료GitHub에 공개

flair

Use Flair for NLP annotation, embeddings, text/sequence model prediction, corpus loading, training/fine-tuning, HunFlair biomedical NER/linking, and production troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(28)

  • SKILL.md4.8 KB
  • references/api-overview.md7.1 KB
  • references/model-selection.md6.8 KB
  • references/repo-provenance.md4.6 KB
  • references/repo-routing-metadata.json516 B
  • references/troubleshooting.md6.9 KB
  • scripts/collect_env.py5.4 KB
  • sub-skills/biomedical-nlp/references/entity-linking.md12.4 KB
  • sub-skills/biomedical-nlp/references/hunflair-workflows.md9.4 KB
  • sub-skills/biomedical-nlp/references/troubleshooting.md8.6 KB
  • sub-skills/biomedical-nlp/scripts/biomedical_smoke.py8.1 KB
  • sub-skills/biomedical-nlp/SKILL.md5.3 KB
  • sub-skills/embeddings-and-optimization/references/embedding-recipes.md18.3 KB
  • sub-skills/embeddings-and-optimization/references/transformer-optimization.md11.0 KB
  • sub-skills/embeddings-and-optimization/references/troubleshooting.md10.6 KB
  • sub-skills/embeddings-and-optimization/scripts/embedding_smoke.py9.3 KB
  • sub-skills/embeddings-and-optimization/SKILL.md5.1 KB
  • sub-skills/tagging-and-annotations/references/annotation-workflows.md10.0 KB
  • sub-skills/tagging-and-annotations/references/tokenization-and-splitting.md8.3 KB
  • sub-skills/tagging-and-annotations/references/troubleshooting.md8.0 KB
  • sub-skills/tagging-and-annotations/scripts/annotation_smoke.py6.7 KB
  • sub-skills/tagging-and-annotations/SKILL.md5.8 KB
  • sub-skills/training-and-datasets/references/dataset-formats.md11.4 KB
  • sub-skills/training-and-datasets/references/multi-gpu.md4.8 KB
  • sub-skills/training-and-datasets/references/training-recipes.md12.9 KB
  • sub-skills/training-and-datasets/references/troubleshooting.md8.6 KB
  • sub-skills/training-and-datasets/scripts/fine_tune_ner.py24.9 KB
  • sub-skills/training-and-datasets/SKILL.md7.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Flair

Use this skill when a task names the public flair Python package or asks for Flair-specific NLP workflows: Sentence annotations, pretrained taggers/classifiers, token/document embeddings, custom corpora, model training/fine-tuning, HunFlair/HunFlair2 biomedical NER/linking, or Flair cache/device troubleshooting.

Install and baseline check

Flair 0.15.1 requires Python 3.9+ and PyTorch. A normal package-user starting point is:

pip install flair
python - <<'PY'
import flair
print(flair.__version__)
print(flair.device)
print(flair.cache_root)
PY

Set runtime policy before importing flair:

export FLAIR_DEVICE=cpu                 # verified baseline for this skill
export FLAIR_CACHE_ROOT="./flair-cache" # optional deliberate cache location

Named pretrained models, embeddings, datasets, and biomedical dictionaries may download public resources if they are not already cached. CUDA, multi-GPU, ONNX/provider runtimes, SciSpaCy, pyab3p, OCR/layout inputs, and large model downloads are optional paths unless the active environment verifies them.

For a safe package diagnostic that avoids model/data downloads, run scripts/collect_env.py with --json or --check-imports.

Route by task

  • Annotations, tokenization, prediction outputs, regex tagging, serialization, or visualization: use tagging-and-annotations for Sentence, Token, Span, Relation, Label, DataPair, Classifier.load(...), label layers, tokenizers, splitters, RegexpTagger, Sentence.to_dict(), and NER HTML rendering.
  • Embedding choice, vector extraction, language-model embeddings, cache/device behavior, long-sentence/context, or optional ONNX/JIT optimization: use embeddings-and-optimization for Transformer*Embeddings, WordEmbeddings, FlairEmbeddings, StackedEmbeddings, DocumentPool/RNN/CNNEmbeddings, LanguageModel, and tensor shape checks.
  • Custom corpora, label dictionaries, model construction, training/fine-tuning, checkpoints, TARS, multitask, relation/span training, or optional multi-GPU: use training-and-datasets for ColumnCorpus, ClassificationCorpus, CSVClassificationCorpus, JSONL, CoNLL-U, MultiCorpus, ModelTrainer.train, ModelTrainer.fine_tune, and the bundled NER helper.
  • Biomedical NER/linking: use biomedical-nlp for HunFlair/HunFlair2, EntityMentionLinker, biomedical dictionaries, SciSpaCy tokenization, pyab3p abbreviation behavior, biomedical corpus offsets, and NER-vs-linking layer separation.

Common starting points

  • For first-time Flair prediction: create Sentence(...), load a model with Classifier.load(model_id) only when downloads/cache are allowed, call predict, then read the exact layer with sentence.get_labels("layer") or sentence.get_spans("layer").
  • For a no-download annotation check: run sub-skills/tagging-and-annotations/scripts/annotation_smoke.py --json.
  • For a no-download embedding check: run sub-skills/embeddings-and-optimization/scripts/embedding_smoke.py --json.
  • For corpus/training planning: run sub-skills/training-and-datasets/scripts/fine_tune_ner.py --help, --list-datasets, or --dry-run before training.
  • For biomedical linking without downloads: run sub-skills/biomedical-nlp/scripts/biomedical_smoke.py --run-local-linker --json.

Shared references

Boundaries

This skill is a runtime package-use guide, not a maintainer release or CI guide. It does not cover website generation, release publishing, broad lint/type-check stacks, private datasets, long benchmark training, or quality claims for unrun optional backends. If a current checkout or installed Flair version differs materially from the provenance snapshot, refresh the skill before relying on exact API details.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa

무료

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

3ddfa-v2

무료

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

ab3dmot

무료

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

acme

무료

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VectorSpaceLab/AREX-Skill3382026년 9월 3일 업데이트

VectorSpaceLab의 스킬 모두 보기

이 스킬의 문제 신고