Instructions to use Jgmorenof/plots-gte-multilingual-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Jgmorenof/plots-gte-multilingual-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Jgmorenof/plots-gte-multilingual-base", trust_remote_code=True) sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
gte-multilingual-base finetuned on PLOTS
Alibaba-NLP/gte-multilingual-base finetuned on PLOTS, pairs of independently written Wikipedia plot summaries of the same film (English plot paired with its plot in another language), to match stories rather than words or names.
Training
197,694 training pairs; symmetric in-batch contrastive loss (InfoNCE in both directions) with gradient caching, batch 128, 1 epoch, learning rate 2e-05, maximum input length 512 tokens, seed 13. Films of SemEval-2026 Task 4 and TREC ToT 2023 (train and dev targets) are excluded from training.
Results
NS: accuracy on the 355 leak-free SemEval-2026 Task 4 track-B test triples. PLOTS-IR: nDCG@10 on the test queries (M: entity-masked). ToT: TREC ToT 2023 dev queries.
| NS acc. | Full | Full M | First | Last | Last M | ToT nDCG@10 | ToT R@100 | |
|---|---|---|---|---|---|---|---|---|
| this model | 0.637 | 0.991 | 0.871 | 0.816 | 0.387 | 0.088 | 0.205 | 0.447 |
| gte-multilingual-base, zero-shot | 0.603 | 0.890 | 0.683 | 0.645 | 0.323 | 0.090 | 0.099 | 0.293 |
Usage
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("Jgmorenof/plots-gte-multilingual-base", trust_remote_code=True)
queries = ["<plot summary or description of a film, in any language>"]
documents = ["<English plot summary>"]
q = model.encode(queries, prompt="")
D = model.encode(documents, prompt="")
scores = model.similarity(q, D)
License
The weights keep the license of the base model (apache-2.0). The training data (PLOTS) is CC BY-SA 4.0.
Citation
@misc{moreno2026plots,
title = {{PLOTS} -- Same Story, Different Words: Paired Plot Outlines for Narrative Similarity and Retrieval},
author = {Moreno, Jose G. and Hamdi, Ahmed and Boros, Emanuela and Jatowt, Adam and Bordea, Georgeta and Gonz{\'a}lez-Gallardo, Carlos-Emiliano and Doucet, Antoine},
year = {2026},
howpublished = {\url{https://huggingface.co/datasets/Jgmorenof/PLOTS}}
}
- Downloads last month
- 12
Model tree for Jgmorenof/plots-gte-multilingual-base
Base model
Alibaba-NLP/gte-multilingual-base