Model Details of multilingual-style-representation
Multilingual Style Representation
This is the Style Representation model, presented in
Leveraging Multilingual Training for Authorship Representation: Enhancing Generalization across Languages and Domains
.
The Style Representation model encodes documents written by the same author as nearby vectors in the embedding space.
The model can be used for authorship attribution, style similarity, machine-generated text detection, and more.
For training and evaluation code, refer to our repository
here
.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("Blablablab/multilingual-style-representation")
# 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, 1024]# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
Runs of Blablablab multilingual-style-representation on huggingface.co
209
Total runs
0
24-hour runs
-1
3-day runs
-6
7-day runs
-6
30-day runs
More Information About multilingual-style-representation huggingface.co Model
multilingual-style-representation huggingface.co
multilingual-style-representation huggingface.co is an AI model on huggingface.co that provides multilingual-style-representation's model effect (), which can be used instantly with this Blablablab multilingual-style-representation model. huggingface.co supports a free trial of the multilingual-style-representation model, and also provides paid use of the multilingual-style-representation. Support call multilingual-style-representation model through api, including Node.js, Python, http.
multilingual-style-representation huggingface.co is an online trial and call api platform, which integrates multilingual-style-representation's modeling effects, including api services, and provides a free online trial of multilingual-style-representation, you can try multilingual-style-representation online for free by clicking the link below.
Blablablab multilingual-style-representation online free url in huggingface.co:
multilingual-style-representation is an open source model from GitHub that offers a free installation service, and any user can find multilingual-style-representation on GitHub to install. At the same time, huggingface.co provides the effect of multilingual-style-representation install, users can directly use multilingual-style-representation installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
multilingual-style-representation install url in huggingface.co: