pykeen

๐Ÿค– A Python library for learning and evaluating knowledge graph embeddings

MIT License

Downloads
8.2K
Stars
1.6K
Committers
36

Bot releases are visible (Hide)

pykeen - v1.10.2 Latest Release

Published by cthoyt 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/pykeen/pykeen/compare/v1.10.1...v1.10.2

pykeen - v1.10.1

Published by cthoyt over 1 year ago

What's Changed

Full Changelog: https://github.com/pykeen/pykeen/compare/v1.10.0...v1.10.1

pykeen - v1.10.0

Published by cthoyt over 1 year ago

The PyKEEN 1.10 release contains a huge variety of bug fixes, performance improvements, and new features. A few highlights include symmetric sLCWA training loop, evaluation with OGB, biomedical entity representation modules, low-rank representation approximation, and many improvements to the prediction pipeline.

Models and Layers

NodePiece

Documentation

Performance

Pipeline and Prediction

Representation

Training and Negative Sampling

Loss

Metrics and Evaluation

Lightning

Misc

New Contributors

Full Changelog: https://github.com/pykeen/pykeen/compare/v1.9.0...v1.10.0

pykeen - v1.9.0

Published by cthoyt about 2 years ago

The theme of this release of PyKEEN is centered on new and exciting representations to bring more kinds of data (text, image, scalar data) into training in an elegant way. Several of these contribute to new functionality for NodePiece.

Training and Evaluation

Datasets

Models

New

Updates

Representations

NodePiece

Documentation

Loss

Predictions

Meta

Misc

New Contributors

Full Changelog: https://github.com/pykeen/pykeen/compare/v1.8.2...v1.9.0

pykeen - v1.8.2

Published by cthoyt over 2 years ago

Datasets

Lightning

Losses

Representations

Other great stuff that isn't the previous commit (it's after 5PM)

New Contributors

Full Changelog: https://github.com/pykeen/pykeen/compare/v1.8.1...v1.8.2

pykeen - v1.8.1

Published by cthoyt over 2 years ago

PyKEEN 1.8.1 contains a few critical bug fixes along with some other cool updates.

Evaluation

Inductive Models

Transductive Models

New Datasets

Documentation

Bug Fixes

Misc

New Contributors

Full Changelog: https://github.com/pykeen/pykeen/compare/v1.8.0...v1.8.1

pykeen - v1.8.0

Published by cthoyt over 2 years ago

Among a ton of updates since the beginning of the year, PyKEEN v1.8.0 has three major themes:

  1. The introduction of the inductive link prediction pipeline and the NodePiece model. We highly suggest checking out An Open Challenge for Inductive Link Prediction on Knowledge Graphs to go along with this new pipeline and models.
  2. The introduction of new rank-based evaluation metrics to go along with A Unified Framework for Rank-based Evaluation Metrics for Link Prediction in Knowledge Graphs
  3. Major internal refactoring of negative sampling to better use PyTorch's data loaders and support multi-CPU generation (special thanks to @Koenkalle for help testing this)

NodePiece and Inductive Link Prediction

Models

New

Updated

Training and Evaluation

Callbacks

Data and Datasets

New

Updates

Metrics

Prediction

Representations

Trackers

Fixes

Documentation, Typing, and Packaging

Misc

Full Changelog: https://github.com/pykeen/pykeen/compare/v1.7.0...v1.8.0

pykeen -

Published by cthoyt almost 3 years ago

New Models

Updated Models

Representations and Initialization

Training

Inference

Trackers

Evaluation

Triples and Datasets

Torch Usage

Miscellaneous

Housekeeping

pykeen -

Published by cthoyt about 3 years ago

This release is only compatible with PyTorch 1.9+. Because of some changes,
it's now pretty non-trivial to support both, so moving forwards PyKEEN will
continue to support the latest version of PyTorch and try its best to keep
backwards compatibility.

New Models

New Datasets

New Losses

Added

Changed

Fixed

pykeen -

Published by cthoyt over 3 years ago

New Metrics

New Trackers

New Models

New Negative Samplers

Datasets

Added

Updated

Fixed

pykeen -

Published by cthoyt over 3 years ago

New Datasets

New Models

New Algorithms

If you're interested in any of these, please get in touch with us regarding an upcoming publication.

Added

Changes

Fixed

pykeen -

Published by cthoyt over 3 years ago

We skipped version 1.2.0 because we made an accidental release before this version was ready. We're only human, and are looking into improving our release workflow to live in CI/CD so something like this doesn't happen again. However, as an end user, this won't have an effect on you.

New Datasets

New Trackers

Added

Refactoring and Future Preparation

This release contains a few big refactors. Most won't affect end-users, but if you're writing your own PyKEEN models, these are important. Many of them are motivated to make it possible to introduce a new interface that makes it much easier for researchers (who shouldn't have to understand the inner workings of PyKEEN) to make new models.

Triples Loading

We've made some improvements to the pykeen.triples.TriplesFactory to facilitate loading even larger datasets (https://github.com/pykeen/pykeen/issues/216). However, this required an interface change. This will affect any code that loads custom triples. If you're loading triples from a path, you should now use:

path = ...
# Old (doesn't work anymore)
tf = TriplesFactory(path=path)

# New
tf = TriplesFactory.from_path(path)

Predictions

While refactoring the base model class, we excised the prediction functionality to a new module pykeen.models.predict (docs: https://pykeen.readthedocs.io/en/latest/reference/predict.html#functions). We also renamed some of the prediction functions inside the base model to make them more consistent, but we now recommend you use the functions from pykeen.models.predict instead.

  • Model.predict_heads() -> Model.get_head_prediction_df()
  • Model.predict_relations() -> Model.get_head_prediction_df()
  • Model.predict_tails() -> Model.get_head_prediction_df()
  • Model.score_all_triples() -> Model.get_all_prediction_df()

Fixed

pykeen -

Published by cthoyt over 3 years ago

New Datasets

New Trackers

Added

Changed

Fixed

pykeen -

Published by cthoyt almost 4 years ago

Added

Changed

Fixed

pykeen -

Published by cthoyt about 4 years ago

Added

Changed

Fixed

pykeen -

Published by cthoyt about 4 years ago

Added

Changed

Fixed

pykeen -

Published by cthoyt over 4 years ago

Added

Changed

Fixed

pykeen -

Published by cthoyt over 4 years ago

Added

Changed

pykeen -

Published by cthoyt over 4 years ago

pykeen -

Published by cthoyt over 4 years ago

This is the last release before the PyKEEN 1.0 release, be prepared for major changes.

Note! If you've come this far looking for old releases of PyKEEN, we were unfortunately not able to retain them when we moved the code to this new organization. Please see PyPI for a more complete release history (https://pypi.org/project/pykeen/#history) or the Zenodo record associated with SmartDataAnalytics/PyKEEN

Package Rankings
Top 3.11% on Pypi.org
Badges
Extracted from project README
Documentation Status
Related Projects