simcse-tf2 icon indicating copy to clipboard operation
simcse-tf2 copied to clipboard

A TensorFlow 2 Keras implementation of SimCSE with unsupervised and supervised.

SimCSE for TensorFlow v2

中文 | English

Python Versions TensorFlow Versions

A TensorFlow 2 Keras implementation of SimCSE with unsupervised and supervised.

Examples

  • supervised. code
  • supervised train with negative sampling(include random or hard). code
  • unsupervised. code

References