---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:3507
- loss:GISTEmbedLoss
base_model: BAAI/bge-small-en-v1.5
widget:
- source_sentence: Is there an option to use ride-sharing apps like Ola or Uber for
travel from the Airport to the Mela?
sentences:
- "Are there towing services available if my vehicle breaks down in the parking\
\ lot?\n Yes, towing services are available if your vehicle breaks down in the\
\ parking lot."
- No, ride-sharing options like Ola or Uber are not available for travel from the
Airport to the Mela. Pilgrims are encouraged to use other transport options like
taxis, buses, or dedicated shuttle services provided for the event.
- Baking bread requires certain key ingredients to achieve a perfect texture. Flour,
water, and yeast are the base, while salt enhances flavor. The dough should be
kneaded until smooth, then allowed to rise in a warm area. After a proper rise,
shaping the loaf is essential for even baking in the oven.
- source_sentence: What is the significance of Akshaywat?
sentences:
- Akshaywat, or the "immortal banyan tree," is a spiritually significant site in
Prayagraj, especially during the Kumbh Mela. Symbolizing immortality and eternal
life, the tree is believed to possess divine qualities that remain unaffected
by creation and destruction cycles. Mythologically, it is associated with Lord
Brahma, who is said to have performed a sacrificial ritual under it, and Lord
Vishnu, who is believed to have blessed devotees there. Akshaywat is also a sacred
spot for performing Pind Daan, rituals for deceased ancestors, thought to help
achieve Moksha (liberation). As a center of spiritual wisdom and pilgrimage for
thousands of years, it continues to be a powerful symbol of divine blessings and
spiritual strength for Hindu devotees.
- 'What are the must-visit spiritual sites near Sangam?
The Sangam area, where the Ganga, Yamuna, and the mystical Saraswati rivers converge,
is surrounded by revered spiritual sites:
Bade Hanumanji Temple:Bade Hanumanji Temple, also known as Lete Hanuman Mandir,
is a unique and revered Hindu shrine located near the Sangam in Prayagraj. This
temple is distinctive for its reclining idol of Lord Hanuman, a one-of-a-kind
depiction of the deity. Each year, during the monsoon floods, the Ganga river
rises to gently wash over the feet of Lord Hanuman—a sacred ritual believed to
be a divine blessing
Patalpuri Temple and Akshayavat Tree: Located within the Allahabad Fort, the ancient
Patalpuri Temple is known for the Akshayavat (Indestructible Banyan Tree), considered
sacred and a symbol of immortality.
Mankameshwar Temple: A dedicated Shiva temple located near the Sangam, known for
its serene atmosphere and the belief that prayers here fulfill desires.'
- The uniqueness of brightly colored seashells lies in their mesmerizing patterns.
Found along coastlines worldwide, these intricate formations tell stories of marine
life and geological processes. Each shell serves as a protective covering, shielding
the delicate organisms within from predators and environmental threats. Fishermen
and beachcombers alike often treasure these natural artifacts, using them for
decoration or as tools in crafting. The vibrant hues seen in shells, ranging from
deep blues to vivid oranges, result from pigments produced by the mollusks themselves,
influenced by their habitat and diet. Collecting seashells can foster a deep appreciation
for marine ecosystems and the roles different species play within them, reminding
us of the intricate balance of nature.
- source_sentence: Allahabad Junction ka matlab
sentences:
- 'Where is Anand Bhavan Museum located?
Anand Bhawan is located on Jawaharlal Nehru Road, about 5 km from Allahabad Junction
Railway Station, Prayagraj, Uttar Pradesh.'
- Aartis are performed both in the mornings and evenings on the riverbanks in Prayagraj
to honor the divine presence of the sacred rivers—Ganga, Yamuna, and mythical
Saraswati—and to seek their blessings. \n The morning Aarti symbolizes the beginning
of a new day, invoking the divine to bestow grace, protection, and spiritual strength
upon the devotees. \n The evening Aarti serves as a ritual of gratitude, marking
the end of the day by thanking the deities for their blessings and guidance.
- 'Where is Khusro Bagh located?
The garden is located approximately 3 km from Allahabad Junction Railway Station,
making it easily accessible by local transport. The address is near the Lukarganj
area, Allahabad, Uttar Pradesh.'
- source_sentence: Do E-Rickshaws have a maximum passenger limit, and what is it?
sentences:
- The ancient art of glassblowing dates back thousands of years. This intricate
craft requires skill and precision, resulting in beautiful works that can be functional
or decorative. From vases to intricate sculptures, the possibilities are endless.
- E-Rickshaws have a maximum passenger limit of 4 people. It is important not to
exceed this limit to ensure safety.
- No, shuttle buses will not have dedicated volunteers specifically, but for assistance,
you can reach out to the nearest information center.
- source_sentence: Tourists visit reason
sentences:
- 'What attractions are closest to the city center?
Near the city center, you’ll find several attractions within a short distance.
Anand Bhavan and Swaraj Bhavan are centrally located and offer insights into the
Nehru family and India’s freedom movement. All Saints’ Cathedral, a magnificent
Gothic-style church also known as the “Patthar Girja,” is located in Civil Lines
and is one of Prayagraj''s architectural gems. Company Bagh, a peaceful park,
is also close by and ideal for a quiet stroll. Chandrashekhar Azad Park and Khusro
Bagh are both centrally located as well, providing green spaces along with historical
importance.'
- "When and where was the last Kumbh held?\n The last Mahakumbh was held in Haridwar\
\ in 2021."
- 'What is All Saints Cathedral, and why is it architecturally significant?
All Saints Cathedral, locally known as Patthar Girja (Stone Church), is a renowned
Anglican Christian Church located on M.G. Marg, Allahabad. Built in the late 19th
century, it is one of the most beautiful and architecturally significant churches
in Uttar Pradesh, attracting both tourists and pilgrims.'
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics:
- cosine_accuracy@1
- cosine_accuracy@5
- cosine_accuracy@10
- cosine_precision@1
- cosine_precision@5
- cosine_precision@10
- cosine_recall@1
- cosine_recall@5
- cosine_recall@10
- cosine_ndcg@5
- cosine_ndcg@10
- cosine_ndcg@100
- cosine_mrr@5
- cosine_mrr@10
- cosine_mrr@100
- cosine_map@100
model-index:
- name: SentenceTransformer based on BAAI/bge-small-en-v1.5
results:
- task:
type: information-retrieval
name: Information Retrieval
dataset:
name: val evaluator
type: val_evaluator
metrics:
- type: cosine_accuracy@1
value: 0.3580387685290764
name: Cosine Accuracy@1
- type: cosine_accuracy@5
value: 0.7092360319270239
name: Cosine Accuracy@5
- type: cosine_accuracy@10
value: 0.7993158494868872
name: Cosine Accuracy@10
- type: cosine_precision@1
value: 0.3580387685290764
name: Cosine Precision@1
- type: cosine_precision@5
value: 0.14184720638540477
name: Cosine Precision@5
- type: cosine_precision@10
value: 0.07993158494868871
name: Cosine Precision@10
- type: cosine_recall@1
value: 0.3580387685290764
name: Cosine Recall@1
- type: cosine_recall@5
value: 0.7092360319270239
name: Cosine Recall@5
- type: cosine_recall@10
value: 0.7993158494868872
name: Cosine Recall@10
- type: cosine_ndcg@5
value: 0.5538539564761136
name: Cosine Ndcg@5
- type: cosine_ndcg@10
value: 0.5832174788373438
name: Cosine Ndcg@10
- type: cosine_ndcg@100
value: 0.6189539076148961
name: Cosine Ndcg@100
- type: cosine_mrr@5
value: 0.5013492968453055
name: Cosine Mrr@5
- type: cosine_mrr@10
value: 0.5136020162530992
name: Cosine Mrr@10
- type: cosine_mrr@100
value: 0.5210085507064763
name: Cosine Mrr@100
- type: cosine_map@100
value: 0.5210085507064769
name: Cosine Map@100
---
# SentenceTransformer based on BAAI/bge-small-en-v1.5
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
## Model Details
### Model Description
- **Model Type:** Sentence Transformer
- **Base model:** [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5)
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 384 dimensions
- **Similarity Function:** Cosine Similarity
### Model Sources
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
### Full Model Architecture
```
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': True}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
)
```
## Usage
### Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
```bash
pip install -U sentence-transformers
```
Then you can load this model and run inference.
```python
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("himanshu23099/bge_embedding_finetune_v3")
# Run inference
sentences = [
'Tourists visit reason',
'What is All Saints Cathedral, and why is it architecturally significant?\nAll Saints Cathedral, locally known as Patthar Girja (Stone Church), is a renowned Anglican Christian Church located on M.G. Marg, Allahabad. Built in the late 19th century, it is one of the most beautiful and architecturally significant churches in Uttar Pradesh, attracting both tourists and pilgrims.',
"What attractions are closest to the city center?\nNear the city center, you’ll find several attractions within a short distance. Anand Bhavan and Swaraj Bhavan are centrally located and offer insights into the Nehru family and India’s freedom movement. All Saints’ Cathedral, a magnificent Gothic-style church also known as the “Patthar Girja,” is located in Civil Lines and is one of Prayagraj's architectural gems. Company Bagh, a peaceful park, is also close by and ideal for a quiet stroll. Chandrashekhar Azad Park and Khusro Bagh are both centrally located as well, providing green spaces along with historical importance.",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```
## Evaluation
### Metrics
#### Information Retrieval
* Dataset: `val_evaluator`
* Evaluated with [InformationRetrievalEvaluator
](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
| Metric | Value |
|:--------------------|:----------|
| cosine_accuracy@1 | 0.358 |
| cosine_accuracy@5 | 0.7092 |
| cosine_accuracy@10 | 0.7993 |
| cosine_precision@1 | 0.358 |
| cosine_precision@5 | 0.1418 |
| cosine_precision@10 | 0.0799 |
| cosine_recall@1 | 0.358 |
| cosine_recall@5 | 0.7092 |
| cosine_recall@10 | 0.7993 |
| cosine_ndcg@5 | 0.5539 |
| cosine_ndcg@10 | 0.5832 |
| **cosine_ndcg@100** | **0.619** |
| cosine_mrr@5 | 0.5013 |
| cosine_mrr@10 | 0.5136 |
| cosine_mrr@100 | 0.521 |
| cosine_map@100 | 0.521 |
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 3,507 training samples
* Columns: anchor
, positive
, and negative
* Approximate statistics based on the first 1000 samples:
| | anchor | positive | negative |
|:--------|:----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
| type | string | string | string |
| details |
Where are the shuttle bus pickup points located within the Kumbh Mela grounds?
| No, shuttle buses will not have dedicated volunteers specifically, but for assistance, you can reach out to the nearest information center.
| The ancient art of weaving has captivated many cultures worldwide. In some regions, artisans use intricate patterns to tell stories, while others focus on vibrant colors that highlight their heritage. Experimentation with different materials can yield unique textures, adding depth to the final product. Workshops often provide insights into traditional techniques, ensuring these skills are passed down through generations.
|
| Hotel Ilawart start place
| Is hotel pickup and drop-off available for the tours?
Fixed pickup points, such as Hotel Ilawart, are provided for all tours. In some cases, pickup and drop-off can be arranged for locations within a 5 km radius of the starting point, but you must confirm this with the tour operator at the time of booking.
| What all is included in the trip package?
The trip package typically includes transportation, tour guide services, and breakfast. Meals such as lunch and dinner can be purchased separately. Hotel bookings are usually not included in the package, so you will need to arrange accommodation independently.
|
| Are there food stalls or restaurants at the Railway Junction that cater to dietary restrictions for pilgrims?
| Yes, there are food stalls and restaurants available at the Railway Junction that cater to various dietary needs, including vegetarian and other dietary restrictions suitable for pilgrims.
| The sound of the ocean waves rhythmically crashing against the shore creates a soothing symphony that invites relaxation. Seagulls soar above, occasionally diving down to catch a glimpse of fish beneath the surface. Beachgoers spread out their colorful towels, soaking up the sun's golden rays while children build sandcastles, their laughter mingling with the salty breeze. A distant sailboat glides across the horizon, hinting at adventures beyond the vast expanse of blue. As the sun sets, the sky transforms into a canvas of vibrant hues, signaling the end of another beautiful day by the sea.
|
* Loss: [GISTEmbedLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#gistembedloss) with these parameters:
```json
{'guide': SentenceTransformer(
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
), 'temperature': 0.01}
```
### Evaluation Dataset
#### Unnamed Dataset
* Size: 877 evaluation samples
* Columns: anchor
, positive
, and negative
* Approximate statistics based on the first 877 samples:
| | anchor | positive | negative |
|:--------|:----------------------------------------------------------------------------------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
| type | string | string | string |
| details | Ganga bath benefit
| What is the ritual of Snan or bathing?
Taking bath at the confluence of Ganga, Yamuna and invisible Saraswati during Mahakumbh has special significance. It is believed that by bathing in this holy confluence, all the sins of a person are washed away and he attains salvation.
Bathing not only symbolizes personal purification, but it also conveys the message of social harmony and unity, where people from different cultures and communities come together to participate in this sacred ritual.
It is considered that in special circumstances, the water of rivers also acquires a special life-giving quality, i.e. nectar, which not only leads to spiritual development along with purification of the mind, but also gives physical benefits by getting health.
List of Aliases: [['Snan', 'bathing'], ]
| What benefits will I get by attending the Kumbh Mela?
It is believed that bathing in the holy rivers during this time washes away sins and grants liberation from the cycle of life and death.
Attending the Kumbh and taking a dip in the sacred rivers provides a unique opportunity for spiritual growth, purification, and selfrealization. ✨
|
| Guide provide what
| What is the guide-to-participant ratio for each tour?
Each tour is led by one guide per group, ensuring a personalized experience with ample opportunity for detailed insights and engagement. The guide will provide context, historical background, and answer any questions during the tour, offering a rich, informative experience for participants.
| How many people can join a group tour?
Group sizes depend on the type of vehicle selected. For instance, a Dzire accommodates up to 4 people, an Innova is suitable for 5-6 people, and larger groups (minimum 10 people) can travel in a Tempo Traveller. For even larger groups, multiple vehicles can be arranged to ensure everyone can travel together comfortably.
|
| How many rules must a Kalpvasi observe?
| A Kalpvasi must observe 21 rules during Kalpvas, involving disciplines of the mind, speech, and actions.
| The dancing colors of autumn leaves create a tapestry of nature’s beauty, inviting every eye to witness the grandeur of the changing seasons. Every gust of wind carries a whisper of nostalgia as trees shed their vibrant garments.
|
* Loss: [GISTEmbedLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#gistembedloss) with these parameters:
```json
{'guide': SentenceTransformer(
(0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
(1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
), 'temperature': 0.01}
```
### Training Hyperparameters
#### Non-Default Hyperparameters
- `eval_strategy`: steps
- `per_device_train_batch_size`: 16
- `gradient_accumulation_steps`: 2
- `learning_rate`: 1e-05
- `weight_decay`: 0.01
- `num_train_epochs`: 30
- `warmup_ratio`: 0.1
- `load_best_model_at_end`: True
#### All Hyperparameters