CustomLossBGE

Overview

CustomLossBGE is a fine-tuned BGE-based sentence embedding model developed for semantic representation learning and research paper title retrieval.

The model explores difficulty-aware contrastive learning to improve semantic alignment between text representations, with particular emphasis on challenging negative examples.

Model Details

  • Architecture: BGE
  • Base model: BAAI/bge-base-en-v1.5
  • Training framework: Sentence Transformers
  • Training objective: Custom difficulty-aware contrastive loss
  • Embedding dimension: 768 (verify against the uploaded model)

Training Methodology

The model was fine-tuned using a custom loss formulation combining Multiple Negatives Ranking Loss with a difficulty-aware hard-negative margin objective.

The objective incorporates sample difficulty to adapt the separation margin between positive and hard-negative representations.

Intended Use

  • Semantic similarity
  • Dense text retrieval
  • Research paper title matching
  • Sentence embedding research

Usage

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("PrithviAI9998/CustomLossBGE")

sentences = [
    "Deep learning for network anomaly detection",
    "Neural approaches to intrusion detection"
]

embeddings = model.encode(
    sentences,
    normalize_embeddings=True
)

print(embeddings.shape)

Limitations

The model is primarily developed and evaluated in the context of research-oriented semantic retrieval. Performance may vary across domains and text types.

Acknowledgements

Developed as part of research on semantic retrieval and original research title recovery.

Downloads last month
55
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for PrithviAI9998/CustomLossBGE

Finetuned
(508)
this model