Skip to content

Commit 0ebad24

Browse files
committed
Merge branch 'master' of github.com:voidism/DiffCSE
2 parents 5896f4c + 1b95c10 commit 0ebad24

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# DiffCSE: Difference-based Contrastive Learning for Sentence Embeddings
22

3-
[![Version](https://img.shields.io/badge/version-v0.1.0-blue?color=FF8000?color=009922)](https://img.shields.io/badge/version-v0.1.0-blue)
3+
[![Version](https://img.shields.io/badge/version-v0.1.0-blue?color=FF8000?color=009922)](https://img.shields.io/badge/Version-v0.1.0-blue)
44
[![Stars](https://img.shields.io/github/stars/voidism/DiffCSE)](https://github.com/voidism/DiffCSE/stargazers)
5-
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6-
[![Arxiv](https://img.shields.io/badge/arxiv-2204.10298-red)](https://arxiv.org/abs/2204.10298)
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-orange.svg)](https://opensource.org/licenses/MIT)
6+
[![Arxiv](https://img.shields.io/badge/arXiv-2204.10298-red)](https://arxiv.org/abs/2204.10298)
77
[![Hugging Face Models](https://img.shields.io/badge/%F0%9F%A4%97-Models-yellow)](https://huggingface.co/voidism)
8+
[![Hugging Face TF](https://img.shields.io/badge/%F0%9F%A4%97-Transformers-pink?color=FF33CC)](https://github.com/huggingface/transformers)
89
[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/YungSungChuang/status/1517518077902000129)
910

1011
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/voidism/DiffCSE/blob/master/diffcse_evaluation.ipynb)
@@ -35,6 +36,9 @@ We propose DiffCSE, an unsupervised contrastive learning framework for learning
3536

3637
## Setups
3738

39+
[![python](https://img.shields.io/badge/python-3.9.5-blue.svg)](https://www.python.org/downloads/release/python-395/)
40+
[![pytorch](https://img.shields.io/badge/pytorch-1.7.1-orange.svg)](https://pytorch.org/get-started/previous-versions/)
41+
3842
### Requirements
3943
* Python 3.9.5
4044

@@ -109,7 +113,7 @@ For the results in our paper, we use a NVidia 2080Ti GPU with CUDA 11.2. Using d
109113

110114

111115
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/voidism/DiffCSE/blob/master/diffcse_evaluation.ipynb)
112-
We provide a simple colab notebook to reproduce our results easily! Or you can run the commands below:
116+
We provide a simple colab notebook to reproduce our results easily. We can also run the commands below for evaluation:
113117

114118
```bash
115119
python evaluation.py \
@@ -166,6 +170,8 @@ For more detailed information, please check [SimCSE's GitHub repo](https://githu
166170

167171
## Pretrained models
168172

173+
[![Hugging Face Models](https://img.shields.io/badge/%F0%9F%A4%97-Models-yellow)](https://huggingface.co/voidism)
174+
169175
* DiffCSE-BERT-base (STS): https://huggingface.co/voidism/diffcse-bert-base-uncased-sts
170176
* DiffCSE-BERT-base (transfer tasks): https://huggingface.co/voidism/diffcse-bert-base-uncased-trans
171177
* DiffCSE-RoBERTa-base (STS): https://huggingface.co/voidism/diffcse-roberta-base-sts
@@ -184,6 +190,8 @@ model_roberta_trans = DiffCSE("voidism/diffcse-roberta-base-trans")
184190

185191
## Citation
186192

193+
[![DOI](https://img.shields.io/badge/DOI-10.48550/arXiv.2204.10298-green?color=FF8000?color=009922)](https://doi.org/10.48550/arXiv.2204.10298)
194+
187195
Please cite our paper and the SimCSE paper if they are helpful to your work!
188196

189197
```bibtex

0 commit comments

Comments
 (0)