CoolFace
Modelpublic

julian-schelb/granite-embedding-278m-emb-lat-intertext-v1

sourceHugging Faceapache-2.0updated 7mo agoView on Hugging Face
0likes81downloads
Model Card

Granite-278m Latin Intertextuality Embedding Model

This model is a fine-tuned version of ibm-granite/granite-embedding-278m-multilingual for generating embeddings of Latin texts to detect intertextual relationships.

The model is part of the Loci Similes benchmark setup (Schelb et al., 2026), evaluated on expert-verified Latin intertextual links. It is designed to work with the LociSimiles Python package API: https://julianschelb.github.io/locisimiles/api/.

Model Description

  • —Task: Sentence embedding for detecting intertextual links between classical Latin authors
  • —Model type: Sentence Transformer (Embedding Model)
  • —Base model: ibm-granite/granite-embedding-278m-multilingual
  • —Negative sampling ratio: 1posto10neg
  • —Fold uploaded: 0
  • —Language: Latin
  • —License: Apache 2.0

Usage

python
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("julian-schelb/granite-embedding-278m-emb-lat-intertext-v1")
query_embedding = model.encode("Query: arma virumque cano")
candidate_embedding = model.encode("Candidate: arma virumque cano troiae qui primus ab oris")

If prompts are configured in the model, prefer:

  • —prompt_name="query" for query texts
  • —prompt_name="match" for candidate texts

Citation

bibtex
@misc{schelb2026locisimilesbenchmarkextracting,
      title={Loci Similes: A Benchmark for Extracting Intertextualities in Latin Literature},
      author={Julian Schelb and Michael Wittweiler and Marie Revellio and Barbara Feichtinger and Andreas Spitz},
      year={2026},
      eprint={2601.07533},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/2601.07533},
}