{"id":13486567,"url":"https://github.com/kmkurn/pytorch-crf","last_synced_at":"2025-10-08T17:21:31.065Z","repository":{"id":37502637,"uuid":"111978012","full_name":"kmkurn/pytorch-crf","owner":"kmkurn","description":"(Linear-chain) Conditional random field in PyTorch.","archived":false,"fork":false,"pushed_at":"2024-06-09T12:30:21.000Z","size":103,"stargazers_count":962,"open_issues_count":1,"forks_count":153,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-14T21:53:17.731Z","etag":null,"topics":["conditional-random-fields","neural-networks","pytorch"],"latest_commit_sha":null,"homepage":"https://pytorch-crf.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kmkurn.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-25T05:03:44.000Z","updated_at":"2025-05-14T06:39:20.000Z","dependencies_parsed_at":"2024-06-06T23:07:23.345Z","dependency_job_id":null,"html_url":"https://github.com/kmkurn/pytorch-crf","commit_stats":{"total_commits":135,"total_committers":6,"mean_commits":22.5,"dds":0.03703703703703709,"last_synced_commit":"c885fba8b3754eb20520166c75ae2a50ae99847d"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmkurn%2Fpytorch-crf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmkurn%2Fpytorch-crf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmkurn%2Fpytorch-crf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmkurn%2Fpytorch-crf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmkurn","download_url":"https://codeload.github.com/kmkurn/pytorch-crf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259370,"owners_count":22040819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conditional-random-fields","neural-networks","pytorch"],"created_at":"2024-07-31T18:00:48.417Z","updated_at":"2025-10-08T17:21:26.031Z","avatar_url":"https://github.com/kmkurn.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"pytorch-crf\n===========\n\nConditional random field in `PyTorch \u003chttp://pytorch.org/\u003e`_.\n\n.. image:: https://img.shields.io/pypi/pyversions/pytorch-crf.svg?style=flat\n   :target: https://img.shields.io/pypi/pyversions/pytorch-crf.svg?style=flat\n   :alt: Python versions\n\n.. image:: https://img.shields.io/pypi/v/pytorch-crf.svg?style=flat\n   :target: https://pypi.org/project/pytorch-crf\n   :alt: PyPI project\n\n.. image:: https://github.com/kmkurn/pytorch-crf/actions/workflows/run_tests.yml/badge.svg\n   :target: https://github.com/kmkurn/pytorch-crf/actions/workflows/run_tests.yml\n   :alt: Build status\n\n.. image:: https://img.shields.io/readthedocs/pytorch-crf.svg?style=flat\n   :target: https://pytorch-crf.readthedocs.io\n   :alt: Documentation status\n\n.. image:: https://img.shields.io/coveralls/github/kmkurn/pytorch-crf.svg?style=flat\n   :target: https://coveralls.io/github/kmkurn/pytorch-crf\n   :alt: Code coverage\n\n.. image:: https://img.shields.io/pypi/l/pytorch-crf.svg?style=flat\n   :target: https://choosealicense.com/licenses/mit/\n   :alt: License\n\n.. image:: https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg\n   :target: http://spacemacs.org\n   :alt: Built with Spacemacs\n\nThis package provides an implementation of linear-chain `conditional random field\n\u003chttps://en.wikipedia.org/wiki/Conditional_random_field\u003e`_ (CRF) in PyTorch.\nThis implementation borrows mostly from `AllenNLP CRF module\n\u003chttps://github.com/allenai/allennlp/blob/master/allennlp/modules/conditional_ra\nndom_field.py\u003e`_ with some modifications.\n\nDocumentation\n=============\n\nhttps://pytorch-crf.readthedocs.io/\n\nLicense\n=======\n\nMIT\n\nContributing\n============\n\nContributions are welcome! Please follow these instructions to install\ndependencies and running the tests and linter.\n\nInstalling dependencies\n-----------------------\n\nMake sure you setup a virtual environment with Python. Then, install all\nthe dependencies in ``requirements.txt`` file and install this package in\ndevelopment mode.\n\n::\n\n    pip install -r requirements.txt\n    pip install -e .\n\nSetup pre-commit hook\n---------------------\n\nSimply run::\n\n    ln -s ../../pre-commit.sh .git/hooks/pre-commit\n\nRunning tests\n-------------\n\nRun ``pytest`` in the project root directory.\n\nRunning linter\n--------------\n\nRun ``flake8`` in the project root directory. This will also run ``mypy``,\nthanks to ``flake8-mypy`` package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmkurn%2Fpytorch-crf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmkurn%2Fpytorch-crf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmkurn%2Fpytorch-crf/lists"}