Downloads · 30 days
4.1K
13% of all-time downloads
gabrielloiseau/LUAR-MUD-sentence-transformers
LUAR-MUD-sentence-transformers is a sentence similarity model from gabrielloiseau. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as apache-2.0.
All credits go to (Rivera-Soto et al. 2021)
Downloads · 30 days
4.1K
13% of all-time downloads
All-time downloads
31K
Public
Parameters
82.1M
330 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors330 MB · 99%
From the Hugging Face model README
All credits go to (Rivera-Soto et al. 2021)
Author Style Representations using LUAR.
The LUAR training and evaluation repository can be found here.
This model was trained on the Reddit Million User Dataset (MUD) found here.
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("gabrielloiseau/LUAR-MUD-sentence-transformers")
# Run inference
sentences = [
'The weather is lovely today.',
"It's so sunny outside!",
'He drove to the stadium.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 512]
If you find this model helpful, feel free to cite:
@inproceedings{uar-emnlp2021,
author = {Rafael A. Rivera Soto and Olivia Miano and Juanita Ordonez and Barry Chen and Aleem Khan and Marcus Bishop and Nicholas Andrews},
title = {Learning Universal Authorship Representations},
booktitle = {EMNLP},
year = {2021},
}
LUAR is distributed under the terms of the Apache License (Version 2.0).
All new contributions must be made under the Apache-2.0 licenses.