$npx skillfedfor your agent

sklearn-crfsuite

CRFsuite (python-crfsuite) wrapper which provides interface simlar to scikit-learn

Worth itPyPI Artificial IntelligenceReleased Jun 2024591.8K downloads / moMIT licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sklearn_crfsuite-0.5.0-py2.py3-none-any.whl
v0.5.0 · released 2024-06-18 · 4 runtime deps: python-crfsuite, scikit-learn, tabulate, tqdm

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and solves a real problem—making CRFs accessible within scikit-learn workflows. Use it if you need sequence labeling and want to leverage scikit-learn's ecosystem for model selection and evaluation. The MIT license adds no restrictions.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with four straightforward runtime dependencies (python-crfsuite, scikit-learn, tabulate, tqdm).
  • Actively maintained as of April 2026 with recent fixes to numpy array compatibility.

License · maintenance · safety

MIT license (permissive) — MIT license is permissive; you can use this package in commercial and proprietary projects without restriction, though you must include the license notice.

last release 2024-06-18 (787 days) · last repo commit 2026-04-08 · 440 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 591,755 downloads/mo, #5,855 on PyPI

Verify before relying

pip install sklearn-crfsuite

from sklearn_crfsuite import CRF

crf = CRF()
crf.fit(X_train, y_train)
predictions = crf.predict(X_test)
  • Whether the package's 'Alpha' status reflects actual stability concerns or is simply outdated classifier metadata.
  • Performance characteristics and typical model training time for large sequence datasets.
Same gist for agents: .md · .json

What it is and what it does

sklearn-crfsuite is a thin wrapper around python-crfsuite that exposes Conditional Random Fields (CRFs) through a scikit-learn compatible interface. CRFs are a machine learning model designed for sequence labeling tasks—predicting a label for each element in a sequence, where the prediction for one element can depend on surrounding elements. This is useful for problems like named entity recognition, part-of-speech tagging, or any task where you need to label sequences of data.

Because it follows scikit-learn's estimator API, you can use all of scikit-learn's standard tools with it: cross-validation, grid search for hyperparameter tuning, pipeline integration, and model serialization with joblib. The package includes utility functions for sequence-level metrics (like sequence_accuracy_score) and flat metrics (precision, recall) tailored to sequence labeling evaluation. Recent updates (0.5.0) ensure compatibility with modern scikit-learn versions by returning numpy arrays from predict methods.

Use it for

  • Named entity recognition: label person names, organizations, and locations in text using CRF with scikit-learn's cross-validation.
  • Part-of-speech tagging: predict grammatical tags for words in sentences, leveraging scikit-learn's hyperparameter tuning.
  • Information extraction: extract structured fields from documents by labeling token sequences with CRF models.
  • Biomedical text mining: identify gene and protein mentions in scientific abstracts using sequence labeling.
  • Slot filling in dialogue systems: label user utterance tokens to extract intent slots for conversational AI.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and solves a real problem—making CRFs accessible within scikit-learn workflows. Use it if you need sequence labeling and want to leverage scikit-learn's ecosystem for model selection and evaluation. The MIT license adds no restrictions.

Install

sklearn-crfsuite on PyPI

Before you install

Low friction: pure Python wheel with four straightforward runtime dependencies (python-crfsuite, scikit-learn, tabulate, tqdm). Actively maintained as of April 2026 with recent fixes to numpy array compatibility.

License in practice

MIT license is permissive; you can use this package in commercial and proprietary projects without restriction, though you must include the license notice.

Quickstart

pip install sklearn-crfsuite

from sklearn_crfsuite import CRF

crf = CRF()
crf.fit(X_train, y_train)
predictions = crf.predict(X_test)

Verify before relying

  • Whether the package's 'Alpha' status reflects actual stability concerns or is simply outdated classifier metadata.
  • Performance characteristics and typical model training time for large sequence datasets.

Package facts

LicenseMIT license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
python-crfsuitescikit-learntabulatetqdm
MaintenanceActively maintained 787 days since the last release
Last repo commit
First released
Downloads591,755 / month, #5,855 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: sklearn_crfsuite-0.5.0-py2.py3-none-any.whl

Tags

Capabilities
conditional random fields scikit-learnCRF sequence labelingsklearn compatible CRF estimatornamed entity recognition CRFsequence tagging with scikit-learnpython-crfsuite wrapperstructured prediction sklearn
Topics
sequence-labelingconditional-random-fieldsnlp

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “conditional random fields scikit-learn”

  • sklearn-crfsuitesklearn-crfsuite wraps CRFsuite (Conditional Random Fields) as a…
  • python-crfsuitePython binding to CRFsuite for conditional random field sequence…
  • usaddressusaddress parses unstructured US address strings into labeled…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also python-crfsuite · tf2crf · sklearn-compat · sklearndf · skops · skforecast · scikit-learn · probablepeople · spark-sklearn · category-encoders