Views
No views yet
pip install -U sentence-transformers1from sentence_transformers import SentenceTransformer
2
3model = SentenceTransformer("gabrielloiseau/LUAR-CRUD-sentence-transformers")
4# Run inference
5sentences = [
6 'The weather is lovely today.',
7 "It's so sunny outside!",
8 'He drove to the stadium.',
9]
10embeddings = model.encode(sentences)
11print(embeddings.shape)
12# [3, 512]@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},
}