#329329th of 433 in ML frameworks and librariesFor science, health and research, science

cebra

PyTorch library for contrastive embeddings of neural and behavioral time series

Stars
1.1k
License
custom license
Last commit
Nov 2026
Last release
May 2026
Language
Python
Stars, last 29 weeks+54
7 May 2026: 1,085 stars14 May 2026: 1,087 stars21 May 2026: 1,088 stars28 May 2026: 1,088 stars4 Jun 2026: 1,091 stars11 Jun 2026: 1,093 stars18 Jun 2026: 1,095 stars25 Jun 2026: 1,096 stars2 Jul 2026: 1,096 stars9 Jul 2026: 1,098 stars16 Jul 2026: 1,099 stars23 Jul 2026: 1,101 stars30 Jul 2026: 1,103 stars6 Aug 2026: 1,106 stars13 Aug 2026: 1,106 stars20 Aug 2026: 1,109 stars27 Aug 2026: 1,111 stars3 Sept 2026: 1,111 stars10 Sept 2026: 1,112 stars17 Sept 2026: 1,116 stars24 Sept 2026: 1,118 stars1 Oct 2026: 1,120 stars8 Oct 2026: 1,122 stars15 Oct 2026: 1,124 stars22 Oct 2026: 1,128 stars29 Oct 2026: 1,130 stars5 Nov 2026: 1,132 stars12 Nov 2026: 1,136 stars19 Nov 2026: 1,137 stars26 Nov 2026: 1,139 stars

1,085 on 7 May 20261,139 on 26 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

CEBRA is a Python library of self-supervised contrastive learning algorithms, implemented in PyTorch, that learns latent embeddings from high-dimensional recordings. It can use auxiliary variables such as behavior jointly with neural data to produce consistent latent spaces for decoding and time-series analysis. It was developed for biology and neuroscience data but is not specific to them.

Who it is for: Researchers analyzing neural, behavioral or other time-series data

Strengths

  • Uses auxiliary variables like behavior to produce label-informed, consistent embeddings
  • Backed by peer-reviewed papers (Nature 2023, ICLR 2025, AISTATS 2025)
  • Apache 2.0 since version 0.4.0, published on PyPI
  • Documentation site with demos and installation guide

Weaknesses

  • Covered by a granted patent; README says to contact EPFL TTO for licensing
  • Versions 0.1.0 to 0.3.1 are academic-use only, so license depends on version
  • Aimed at neuroscience and time-series data, not general LLM or text workloads
  • Detected license is NOASSERTION, which differs from the README's Apache 2.0 claim

What it needs

  • Docker
  • Needs PyTorch

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#327rlaxJAX library of reinforcement learning building blocks for RL losses1.5k starsApache-2.037 out of 100
#328react-native-fast-tfliteTensorFlow Lite inference for React Native with zero-copy buffers1.2k starsMIT37 out of 100
#330morph-netTensorFlow library that learns smaller CNN layer widths under FLOP or size limits1k starsApache-2.037 out of 100
#331implicitPython library for recommender systems on implicit feedback data3.8k starsMIT36 out of 100
#332ml-ane-transformersReference PyTorch Transformer code optimized for the Apple Neural Engine2.8k starscustom license36 out of 100