Sentence Similarity
sentence-transformers
Safetensors
gemma3_text
feature-extraction
dense
Generated from Trainer
dataset_size:41432
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use yasserrmd/geo-gemma-300m-emb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use yasserrmd/geo-gemma-300m-emb with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("yasserrmd/geo-gemma-300m-emb") sentences = [ "How does precipitation influence the water use efficiency and carbon isotopes of Picea meyeri, and what are the implications for climate change studies?", "In the study of starry flounders (Platichthys stellatus), cortisol levels increased with increasing water temperature and then gradually decreased. This suggests that cortisol, a stress hormone, is elevated as a response to higher water temperatures, indicating that the fish experience stress under these conditions. The increase in cortisol levels is part of the fish's physiological response to environmental stressors, such as temperature changes, which can affect their survival and overall health.", "The FY-4A/AGRI LST products effectively capture surface temperatures in Hunan Province, with a correlation coefficient (R) of 0.893. However, they exhibit a relatively high error level, with a bias of ?6.295 °C and a root mean square error (RMSE) of 8.58 °C, particularly in capturing high LST values. The performance of this product is superior in the eastern flat terrain area of Hunan Province compared to the western mountainous region. Environmental conditions in the mountainous areas cause systematic errors that contribute to instability in detection deviation. Surface heat resources are more abundant in eastern Hunan Province than in the mountainous areas located to the west and south, and their detailed distribution at finer scales is mainly influenced by terrain and climate conditions. There is no obvious seasonal difference in the distribution of heat resources except in winter, and rapid urbanization within the Chang–Zhu–Tan urban agglomeration over two years has significantly altered the spatial distribution pattern of surface heat resources across Hunan Province.", "The water use efficiency (WUE) of Picea meyeri is significantly influenced by precipitation, along with temperature. The study found that there is a significant positive correlation between the WUE sequence and temperature. However, due to the combined effects of precipitation and temperature, Picea meyeri is subject to drought stress to some extent. This indicates that while temperature is the main climatic factor affecting the δ13C and WUE of Picea meyeri, precipitation also plays a crucial role in the plant's response to climate change. These findings are important for understanding the impacts of climate change on tree species and their ability to adapt to changing environmental conditions." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Initial commit: Fine-tuned embedding-gemma-300m on GeoGPT-QA dataset
Browse files- .gitattributes +1 -0
- 1_Pooling/config.json +10 -0
- 2_Dense/config.json +6 -0
- 2_Dense/model.safetensors +3 -0
- 3_Dense/config.json +6 -0
- 3_Dense/model.safetensors +3 -0
- README.md +488 -0
- added_tokens.json +3 -0
- config.json +60 -0
- config_sentence_transformers.json +26 -0
- model.safetensors +3 -0
- modules.json +32 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +33 -0
- tokenizer.json +3 -0
- tokenizer.model +3 -0
- tokenizer_config.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
1_Pooling/config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"word_embedding_dimension": 768,
|
| 3 |
+
"pooling_mode_cls_token": false,
|
| 4 |
+
"pooling_mode_mean_tokens": true,
|
| 5 |
+
"pooling_mode_max_tokens": false,
|
| 6 |
+
"pooling_mode_mean_sqrt_len_tokens": false,
|
| 7 |
+
"pooling_mode_weightedmean_tokens": false,
|
| 8 |
+
"pooling_mode_lasttoken": false,
|
| 9 |
+
"include_prompt": true
|
| 10 |
+
}
|
2_Dense/config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"in_features": 768,
|
| 3 |
+
"out_features": 3072,
|
| 4 |
+
"bias": false,
|
| 5 |
+
"activation_function": "torch.nn.modules.linear.Identity"
|
| 6 |
+
}
|
2_Dense/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1480daa0ed50c918de639c0a1cdcd27fe04f6e8d5ff77120f1eb956b0f92166a
|
| 3 |
+
size 9437272
|
3_Dense/config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"in_features": 3072,
|
| 3 |
+
"out_features": 768,
|
| 4 |
+
"bias": false,
|
| 5 |
+
"activation_function": "torch.nn.modules.linear.Identity"
|
| 6 |
+
}
|
3_Dense/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d32c1e2af81ea991978bf5dc7c92c7731f4ada3efe2c09f02ac73ca0d51b0a3
|
| 3 |
+
size 9437272
|
README.md
ADDED
|
@@ -0,0 +1,488 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- sentence-transformers
|
| 4 |
+
- sentence-similarity
|
| 5 |
+
- feature-extraction
|
| 6 |
+
- dense
|
| 7 |
+
- generated_from_trainer
|
| 8 |
+
- dataset_size:41432
|
| 9 |
+
- loss:MultipleNegativesRankingLoss
|
| 10 |
+
base_model: google/embeddinggemma-300m
|
| 11 |
+
widget:
|
| 12 |
+
- source_sentence: How does precipitation influence the water use efficiency and carbon
|
| 13 |
+
isotopes of Picea meyeri, and what are the implications for climate change studies?
|
| 14 |
+
sentences:
|
| 15 |
+
- In the study of starry flounders (Platichthys stellatus), cortisol levels increased
|
| 16 |
+
with increasing water temperature and then gradually decreased. This suggests
|
| 17 |
+
that cortisol, a stress hormone, is elevated as a response to higher water temperatures,
|
| 18 |
+
indicating that the fish experience stress under these conditions. The increase
|
| 19 |
+
in cortisol levels is part of the fish's physiological response to environmental
|
| 20 |
+
stressors, such as temperature changes, which can affect their survival and overall
|
| 21 |
+
health.
|
| 22 |
+
- The FY-4A/AGRI LST products effectively capture surface temperatures in Hunan
|
| 23 |
+
Province, with a correlation coefficient (R) of 0.893. However, they exhibit a
|
| 24 |
+
relatively high error level, with a bias of ?6.295 °C and a root mean square error
|
| 25 |
+
(RMSE) of 8.58 °C, particularly in capturing high LST values. The performance
|
| 26 |
+
of this product is superior in the eastern flat terrain area of Hunan Province
|
| 27 |
+
compared to the western mountainous region. Environmental conditions in the mountainous
|
| 28 |
+
areas cause systematic errors that contribute to instability in detection deviation.
|
| 29 |
+
Surface heat resources are more abundant in eastern Hunan Province than in the
|
| 30 |
+
mountainous areas located to the west and south, and their detailed distribution
|
| 31 |
+
at finer scales is mainly influenced by terrain and climate conditions. There
|
| 32 |
+
is no obvious seasonal difference in the distribution of heat resources except
|
| 33 |
+
in winter, and rapid urbanization within the Chang–Zhu–Tan urban agglomeration
|
| 34 |
+
over two years has significantly altered the spatial distribution pattern of surface
|
| 35 |
+
heat resources across Hunan Province.
|
| 36 |
+
- The water use efficiency (WUE) of Picea meyeri is significantly influenced by
|
| 37 |
+
precipitation, along with temperature. The study found that there is a significant
|
| 38 |
+
positive correlation between the WUE sequence and temperature. However, due to
|
| 39 |
+
the combined effects of precipitation and temperature, Picea meyeri is subject
|
| 40 |
+
to drought stress to some extent. This indicates that while temperature is the
|
| 41 |
+
main climatic factor affecting the δ13C and WUE of Picea meyeri, precipitation
|
| 42 |
+
also plays a crucial role in the plant's response to climate change. These findings
|
| 43 |
+
are important for understanding the impacts of climate change on tree species
|
| 44 |
+
and their ability to adapt to changing environmental conditions.
|
| 45 |
+
- source_sentence: How does the warming of the Southern Indian Ocean (SIO) compare
|
| 46 |
+
to its impact on cyclone destruction potential in the recent period versus the
|
| 47 |
+
earlier period?
|
| 48 |
+
sentences:
|
| 49 |
+
- Green roofing systems are adopted as part of Nature-Based Solutions (NBS) to control
|
| 50 |
+
urban stormwater runoff and mitigate urban flood risks. Unlike traditional roofing
|
| 51 |
+
methods, green roofs help manage stormwater by absorbing and retaining rainfall,
|
| 52 |
+
reducing the volume and rate of runoff. However, there is currently no specific
|
| 53 |
+
widely recognized standard or code dedicated to determining the hydrological performance
|
| 54 |
+
of green roofs as a whole system, and no test protocols to regulate their design.
|
| 55 |
+
This highlights the need for a standardized test method to evaluate the hydrological
|
| 56 |
+
performance of green roofing systems, making them a more reliable solution for
|
| 57 |
+
flood resilience in cities affected by climate change.
|
| 58 |
+
- 'In the monitoring project conducted in Chengdu, Shuangliu (SL) was one of the
|
| 59 |
+
three urban sites studied. The key findings regarding the sources and contributions
|
| 60 |
+
of VOCs to ozone formation in Shuangliu included the identification of five dominant
|
| 61 |
+
VOC sources: vehicular exhaust and fuel evaporation, solvent utilization, biogenic
|
| 62 |
+
background, secondary formation, and industrial emissions. Before the control
|
| 63 |
+
measures were implemented, vehicular exhaust and fuel evaporation were the highest
|
| 64 |
+
contributors. During the control period, the contribution from vehicular exhaust
|
| 65 |
+
was reduced the most at Shuangliu. VOC species such as xylenes, toluene, and propene,
|
| 66 |
+
which are primarily from vehicular and industrial emissions and solvent utilization,
|
| 67 |
+
were found to be the dominant precursors for ozone formation potential (OFP).
|
| 68 |
+
These results suggest that effective control of photochemical pollutants, particularly
|
| 69 |
+
from vehicular and industrial sources, is crucial for reducing ozone formation
|
| 70 |
+
in Chengdu.'
|
| 71 |
+
- The warming of the Southern Indian Ocean (SIO) has led to a doubling of the Power
|
| 72 |
+
Dissipation Index (PDI) during 1999–2016 compared to 1980–1998. This increase
|
| 73 |
+
is primarily due to an increase in the intensity and duration of cyclones, associated
|
| 74 |
+
with higher sea surface temperatures and upper ocean heat content.
|
| 75 |
+
- source_sentence: How do the findings of the study on Azotobacter paspali bacteria
|
| 76 |
+
in Iraq relate to the impact of nitrogen on air pollution, and what implications
|
| 77 |
+
does this have for future research and applications in both environmental and
|
| 78 |
+
agricultural contexts?
|
| 79 |
+
sentences:
|
| 80 |
+
- Quartz is one of the minerals present in the limonite ore sample from the Wolo
|
| 81 |
+
mine area. The ore sample contains various minerals including chlorite, goethite,
|
| 82 |
+
lizardite, maghemite, and quartz. The chemical composition of the ore indicates
|
| 83 |
+
that it is mainly composed of Fe2O3 (53.59%), followed by SiO2 (12.16%).
|
| 84 |
+
- The study on Azotobacter paspali bacteria in Iraq found that these bacteria have
|
| 85 |
+
a significant effect on fixing atmospheric nitrogen and dissolving phosphorus.
|
| 86 |
+
This is important in the context of biological fertilization of plants and soil,
|
| 87 |
+
which can reduce the need for synthetic fertilizers and potentially lower nitrogen
|
| 88 |
+
emissions that contribute to air pollution. In the environmental context, the
|
| 89 |
+
research on nitrogen dioxide air pollution in Madrid highlights the importance
|
| 90 |
+
of nitrogen compounds in air quality. The findings suggest that by promoting the
|
| 91 |
+
use of nitrogen-fixing bacteria in agriculture, we can reduce the reliance on
|
| 92 |
+
synthetic nitrogen fertilizers, which are a major source of nitrogen dioxide emissions.
|
| 93 |
+
This could lead to improved air quality and better human health protection. Future
|
| 94 |
+
research could focus on integrating these biological solutions with advanced air
|
| 95 |
+
pollution forecasting models to create a more holistic approach to managing nitrogen
|
| 96 |
+
in both agricultural and urban environments.
|
| 97 |
+
- In the Tigris River Batman-Hasankeyf region, intensive agricultural activities
|
| 98 |
+
are carried out, and irrigation is generally obtained from groundwater just as
|
| 99 |
+
it moves away from the riverfront. This region is a valuable basin for both Turkey
|
| 100 |
+
and the Middle East. A study using the Geographic Information System (GIS)-based
|
| 101 |
+
multicriteria decision-making (MCDM) analytic hierarchy process (AHP) was conducted
|
| 102 |
+
to explore the groundwater potential of the drainage area. The study considered
|
| 103 |
+
eight hydrological and hydrogeological criteria, including geomorphology, geology,
|
| 104 |
+
rainfall, drainage density, slope, lineament density, land use, and soil properties.
|
| 105 |
+
The major findings indicated that the groundwater-potential index values of the
|
| 106 |
+
basin were derived, and the groundwater potential zones were evaluated as very
|
| 107 |
+
poor (19%), poor (17%), moderate (34%), good (17%), and very good (13%).
|
| 108 |
+
- source_sentence: How does the optical approach compare to the thermal approach in
|
| 109 |
+
mapping irrigated landcover, and what are the implications of this method?
|
| 110 |
+
sentences:
|
| 111 |
+
- The analysis of Land Use and Land Cover changes in Lagos State suggests that areas
|
| 112 |
+
with low flood hazard levels are less affected by the conversion of wetland areas
|
| 113 |
+
into developed areas and unplanned development. While wetland areas have significantly
|
| 114 |
+
decreased and developed areas have increased, the changes primarily impact very
|
| 115 |
+
high to moderate flood hazard zones.
|
| 116 |
+
- Managers and planners should focus on people’s perceptions and preferences of
|
| 117 |
+
park landscape characteristics to enhance the spatial vitality and services of
|
| 118 |
+
urban parks, ensuring they meet the needs of urban residents and visitors.
|
| 119 |
+
- The optical approach, which uses SWIR-transformed reflectance (STR), has been
|
| 120 |
+
found to be comparable to the thermal approach in mapping irrigated landcover.
|
| 121 |
+
Specifically, the classification accuracy of the optical approach was 97.6%, which
|
| 122 |
+
is slightly better than the 93.9% accuracy of the thermal approach. This confirms
|
| 123 |
+
the feasibility of using STR to map irrigated landcover, with broader implications
|
| 124 |
+
for the use of satellite imagery in these applications, potentially reducing the
|
| 125 |
+
reliance on microwave or thermal sensors.
|
| 126 |
+
- source_sentence: Based on the Brine Shrimp Lethality Test (BSLT), what are the toxicity
|
| 127 |
+
levels of liquid smoke from cocoa pod skin at various pyrolysis temperatures and
|
| 128 |
+
water contents?
|
| 129 |
+
sentences:
|
| 130 |
+
- The estimated annual flood damage for agriculture and built-up areas in the Tajan
|
| 131 |
+
watershed, northern Iran, is projected to surge from USD 162 million to USD 376
|
| 132 |
+
million and USD 91 million to USD 220 million, respectively, by 2040, considering
|
| 133 |
+
the land use change scenarios from 2021 to 2040.
|
| 134 |
+
- 'The Brine Shrimp Lethality Test (BSLT) was used to determine the toxicity levels
|
| 135 |
+
of liquid smoke from cocoa pod skin at various pyrolysis temperatures and water
|
| 136 |
+
contents. The results showed that the LC50 values (the concentration required
|
| 137 |
+
to kill 50% of the test organisms) were as follows: at 200°C and 10% water content,
|
| 138 |
+
11,858.58 ppm; at 200°C and 15% water content, 13,094.23 ppm; at 200°C and 20%
|
| 139 |
+
water content, 13,373.94 ppm; at 200°C and 25% water content, 15,703.52 ppm. At
|
| 140 |
+
300°C and 10% water content, 11,604.26 ppm; at 300°C and 15% water content, 11,673.05
|
| 141 |
+
ppm; at 300°C and 20% water content, 13,373.94 ppm; at 300°C and 25% water content,
|
| 142 |
+
13,373.94 ppm. At 400°C and 10% water content, 9,213.73 ppm; at 400°C and 15%
|
| 143 |
+
water content, 13,094.237 ppm; at 400°C and 20% water content, 13,373.94 ppm;
|
| 144 |
+
at 400°C and 25% water content, 12,493.63 ppm. All the results indicate that the
|
| 145 |
+
liquid smoke from cocoa pod skin at different pyrolysis temperatures and water
|
| 146 |
+
contents is classified as non-toxic.'
|
| 147 |
+
- The distribution of PM2.5 in Santa Ana, CA, tends to be higher in socioeconomically
|
| 148 |
+
disadvantaged communities compared to other areas, highlighting environmental
|
| 149 |
+
health inequities that persist in urban areas. This can inform policy decisions
|
| 150 |
+
related to health equity and community access to resources.
|
| 151 |
+
pipeline_tag: sentence-similarity
|
| 152 |
+
library_name: sentence-transformers
|
| 153 |
+
---
|
| 154 |
+
|
| 155 |
+
# SentenceTransformer based on google/embeddinggemma-300m
|
| 156 |
+
|
| 157 |
+
This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [google/embeddinggemma-300m](https://huggingface.co/google/embeddinggemma-300m). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
|
| 158 |
+
|
| 159 |
+
## Model Details
|
| 160 |
+
|
| 161 |
+
### Model Description
|
| 162 |
+
- **Model Type:** Sentence Transformer
|
| 163 |
+
- **Base model:** [google/embeddinggemma-300m](https://huggingface.co/google/embeddinggemma-300m) <!-- at revision c5cfa06e5e282a820e85d57f7fb053207494f41d -->
|
| 164 |
+
- **Maximum Sequence Length:** 2048 tokens
|
| 165 |
+
- **Output Dimensionality:** 768 dimensions
|
| 166 |
+
- **Similarity Function:** Cosine Similarity
|
| 167 |
+
<!-- - **Training Dataset:** Unknown -->
|
| 168 |
+
<!-- - **Language:** Unknown -->
|
| 169 |
+
<!-- - **License:** Unknown -->
|
| 170 |
+
|
| 171 |
+
### Model Sources
|
| 172 |
+
|
| 173 |
+
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
|
| 174 |
+
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
|
| 175 |
+
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
|
| 176 |
+
|
| 177 |
+
### Full Model Architecture
|
| 178 |
+
|
| 179 |
+
```
|
| 180 |
+
SentenceTransformer(
|
| 181 |
+
(0): Transformer({'max_seq_length': 2048, 'do_lower_case': False, 'architecture': 'Gemma3TextModel'})
|
| 182 |
+
(1): Pooling({'word_embedding_dimension': 768, '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})
|
| 183 |
+
(2): Dense({'in_features': 768, 'out_features': 3072, 'bias': False, 'activation_function': 'torch.nn.modules.linear.Identity'})
|
| 184 |
+
(3): Dense({'in_features': 3072, 'out_features': 768, 'bias': False, 'activation_function': 'torch.nn.modules.linear.Identity'})
|
| 185 |
+
(4): Normalize()
|
| 186 |
+
)
|
| 187 |
+
```
|
| 188 |
+
|
| 189 |
+
## Usage
|
| 190 |
+
|
| 191 |
+
### Direct Usage (Sentence Transformers)
|
| 192 |
+
|
| 193 |
+
First install the Sentence Transformers library:
|
| 194 |
+
|
| 195 |
+
```bash
|
| 196 |
+
pip install -U sentence-transformers
|
| 197 |
+
```
|
| 198 |
+
|
| 199 |
+
Then you can load this model and run inference.
|
| 200 |
+
```python
|
| 201 |
+
from sentence_transformers import SentenceTransformer
|
| 202 |
+
|
| 203 |
+
# Download from the 🤗 Hub
|
| 204 |
+
model = SentenceTransformer("yasserrmd/geo-gemma-300m-emb")
|
| 205 |
+
# Run inference
|
| 206 |
+
queries = [
|
| 207 |
+
"Based on the Brine Shrimp Lethality Test (BSLT), what are the toxicity levels of liquid smoke from cocoa pod skin at various pyrolysis temperatures and water contents?",
|
| 208 |
+
]
|
| 209 |
+
documents = [
|
| 210 |
+
'The Brine Shrimp Lethality Test (BSLT) was used to determine the toxicity levels of liquid smoke from cocoa pod skin at various pyrolysis temperatures and water contents. The results showed that the LC50 values (the concentration required to kill 50% of the test organisms) were as follows: at 200°C and 10% water content, 11,858.58 ppm; at 200°C and 15% water content, 13,094.23 ppm; at 200°C and 20% water content, 13,373.94 ppm; at 200°C and 25% water content, 15,703.52 ppm. At 300°C and 10% water content, 11,604.26 ppm; at 300°C and 15% water content, 11,673.05 ppm; at 300°C and 20% water content, 13,373.94 ppm; at 300°C and 25% water content, 13,373.94 ppm. At 400°C and 10% water content, 9,213.73 ppm; at 400°C and 15% water content, 13,094.237 ppm; at 400°C and 20% water content, 13,373.94 ppm; at 400°C and 25% water content, 12,493.63 ppm. All the results indicate that the liquid smoke from cocoa pod skin at different pyrolysis temperatures and water contents is classified as non-toxic.',
|
| 211 |
+
'The estimated annual flood damage for agriculture and built-up areas in the Tajan watershed, northern Iran, is projected to surge from USD 162 million to USD 376 million and USD 91 million to USD 220 million, respectively, by 2040, considering the land use change scenarios from 2021 to 2040.',
|
| 212 |
+
'The distribution of PM2.5 in Santa Ana, CA, tends to be higher in socioeconomically disadvantaged communities compared to other areas, highlighting environmental health inequities that persist in urban areas. This can inform policy decisions related to health equity and community access to resources.',
|
| 213 |
+
]
|
| 214 |
+
query_embeddings = model.encode_query(queries)
|
| 215 |
+
document_embeddings = model.encode_document(documents)
|
| 216 |
+
print(query_embeddings.shape, document_embeddings.shape)
|
| 217 |
+
# [1, 768] [3, 768]
|
| 218 |
+
|
| 219 |
+
# Get the similarity scores for the embeddings
|
| 220 |
+
similarities = model.similarity(query_embeddings, document_embeddings)
|
| 221 |
+
print(similarities)
|
| 222 |
+
# tensor([[0.5805, 0.0253, 0.0709]])
|
| 223 |
+
```
|
| 224 |
+
|
| 225 |
+
<!--
|
| 226 |
+
### Direct Usage (Transformers)
|
| 227 |
+
|
| 228 |
+
<details><summary>Click to see the direct usage in Transformers</summary>
|
| 229 |
+
|
| 230 |
+
</details>
|
| 231 |
+
-->
|
| 232 |
+
|
| 233 |
+
<!--
|
| 234 |
+
### Downstream Usage (Sentence Transformers)
|
| 235 |
+
|
| 236 |
+
You can finetune this model on your own dataset.
|
| 237 |
+
|
| 238 |
+
<details><summary>Click to expand</summary>
|
| 239 |
+
|
| 240 |
+
</details>
|
| 241 |
+
-->
|
| 242 |
+
|
| 243 |
+
<!--
|
| 244 |
+
### Out-of-Scope Use
|
| 245 |
+
|
| 246 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
| 247 |
+
-->
|
| 248 |
+
|
| 249 |
+
<!--
|
| 250 |
+
## Bias, Risks and Limitations
|
| 251 |
+
|
| 252 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
| 253 |
+
-->
|
| 254 |
+
|
| 255 |
+
<!--
|
| 256 |
+
### Recommendations
|
| 257 |
+
|
| 258 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
| 259 |
+
-->
|
| 260 |
+
|
| 261 |
+
## Training Details
|
| 262 |
+
|
| 263 |
+
### Training Dataset
|
| 264 |
+
|
| 265 |
+
#### Unnamed Dataset
|
| 266 |
+
|
| 267 |
+
* Size: 41,432 training samples
|
| 268 |
+
* Columns: <code>sentence_0</code> and <code>sentence_1</code>
|
| 269 |
+
* Approximate statistics based on the first 1000 samples:
|
| 270 |
+
| | sentence_0 | sentence_1 |
|
| 271 |
+
|:--------|:----------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|
|
| 272 |
+
| type | string | string |
|
| 273 |
+
| details | <ul><li>min: 12 tokens</li><li>mean: 27.1 tokens</li><li>max: 71 tokens</li></ul> | <ul><li>min: 17 tokens</li><li>mean: 119.32 tokens</li><li>max: 413 tokens</li></ul> |
|
| 274 |
+
* Samples:
|
| 275 |
+
| sentence_0 | sentence_1 |
|
| 276 |
+
|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| 277 |
+
| <code>How does plastic debris from land-based sources impact the ocean, particularly in the context of First Long Beach, China?</code> | <code>Plastic debris from land-based sources can significantly impact the ocean, as seen in the study conducted at First Long Beach (FLB), China. The study found that plastic debris amounts ranged from 2 to 82 particles per square meter on this marine sand beach. The most common size of plastics was 0.5–2.5 cm (44.4%), and the most common color was white (60.9%). The most abundant shape of plastic debris was fragments (76.2%). The amount of plastic debris varied significantly between different transects along the land-based source input zone due to the impacts of wind, ocean currents, and waves. Land-based wastewater discharge was identified as a major source of plastic debris on FLB, influenced by coastal water tide variations. Reduction strategies should focus on tracing and managing these land-based sources to mitigate the impact of plastic debris on the ocean.</code> |
|
| 278 |
+
| <code>How does the concentration of SO2 in urban areas of Nanjing correlate with the normalized difference vegetation index (NDVI), and what does this imply for public health?</code> | <code>The concentration of SO2 in urban areas of Nanjing exhibits a strong correlation (coefficient of determination, R2 > 0.5) with the normalized difference vegetation index (NDVI) within a radial distance of 2 km from the air pollutant monitoring sites. This indicates that NDVI can be an effective indicator for assessing the distribution and concentrations of air pollutants such as SO2. Negative correlations between NDVI and socio-economic indicators are observed under relatively consistent natural conditions, including climate and terrain. Therefore, the spatiotemporal distribution patterns of NDVI can provide valuable insights not only into socio-economic growth but also into the levels and locations of air pollution concentrations, which is crucial for public health interventions and policies.</code> |
|
| 279 |
+
| <code>How has the rise of user-generated geodata impacted the role of traditional map producers?</code> | <code>The rise of user-generated geodata has transformed ordinary citizens into neogeographers, blurring the boundaries between traditional map producers, such as national mapping agencies and local authorities, and citizens as consumers of this information. Citizens now actively participate in mapping different types of features on the Earth’s surface as volunteers, either by providing observations on the ground or tracing data from other sources, such as aerial photographs or satellite imagery. This has resulted in a significant increase in the availability of rich spatial datasets, which are often openly accessible through platforms like OpenStreetMap (OSM) and Ushahidi.</code> |
|
| 280 |
+
* Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
|
| 281 |
+
```json
|
| 282 |
+
{
|
| 283 |
+
"scale": 20.0,
|
| 284 |
+
"similarity_fct": "cos_sim",
|
| 285 |
+
"gather_across_devices": false
|
| 286 |
+
}
|
| 287 |
+
```
|
| 288 |
+
|
| 289 |
+
### Training Hyperparameters
|
| 290 |
+
#### Non-Default Hyperparameters
|
| 291 |
+
|
| 292 |
+
- `num_train_epochs`: 1
|
| 293 |
+
- `multi_dataset_batch_sampler`: round_robin
|
| 294 |
+
|
| 295 |
+
#### All Hyperparameters
|
| 296 |
+
<details><summary>Click to expand</summary>
|
| 297 |
+
|
| 298 |
+
- `overwrite_output_dir`: False
|
| 299 |
+
- `do_predict`: False
|
| 300 |
+
- `eval_strategy`: no
|
| 301 |
+
- `prediction_loss_only`: True
|
| 302 |
+
- `per_device_train_batch_size`: 8
|
| 303 |
+
- `per_device_eval_batch_size`: 8
|
| 304 |
+
- `per_gpu_train_batch_size`: None
|
| 305 |
+
- `per_gpu_eval_batch_size`: None
|
| 306 |
+
- `gradient_accumulation_steps`: 1
|
| 307 |
+
- `eval_accumulation_steps`: None
|
| 308 |
+
- `torch_empty_cache_steps`: None
|
| 309 |
+
- `learning_rate`: 5e-05
|
| 310 |
+
- `weight_decay`: 0.0
|
| 311 |
+
- `adam_beta1`: 0.9
|
| 312 |
+
- `adam_beta2`: 0.999
|
| 313 |
+
- `adam_epsilon`: 1e-08
|
| 314 |
+
- `max_grad_norm`: 1
|
| 315 |
+
- `num_train_epochs`: 1
|
| 316 |
+
- `max_steps`: -1
|
| 317 |
+
- `lr_scheduler_type`: linear
|
| 318 |
+
- `lr_scheduler_kwargs`: {}
|
| 319 |
+
- `warmup_ratio`: 0.0
|
| 320 |
+
- `warmup_steps`: 0
|
| 321 |
+
- `log_level`: passive
|
| 322 |
+
- `log_level_replica`: warning
|
| 323 |
+
- `log_on_each_node`: True
|
| 324 |
+
- `logging_nan_inf_filter`: True
|
| 325 |
+
- `save_safetensors`: True
|
| 326 |
+
- `save_on_each_node`: False
|
| 327 |
+
- `save_only_model`: False
|
| 328 |
+
- `restore_callback_states_from_checkpoint`: False
|
| 329 |
+
- `no_cuda`: False
|
| 330 |
+
- `use_cpu`: False
|
| 331 |
+
- `use_mps_device`: False
|
| 332 |
+
- `seed`: 42
|
| 333 |
+
- `data_seed`: None
|
| 334 |
+
- `jit_mode_eval`: False
|
| 335 |
+
- `use_ipex`: False
|
| 336 |
+
- `bf16`: False
|
| 337 |
+
- `fp16`: False
|
| 338 |
+
- `fp16_opt_level`: O1
|
| 339 |
+
- `half_precision_backend`: auto
|
| 340 |
+
- `bf16_full_eval`: False
|
| 341 |
+
- `fp16_full_eval`: False
|
| 342 |
+
- `tf32`: None
|
| 343 |
+
- `local_rank`: 0
|
| 344 |
+
- `ddp_backend`: None
|
| 345 |
+
- `tpu_num_cores`: None
|
| 346 |
+
- `tpu_metrics_debug`: False
|
| 347 |
+
- `debug`: []
|
| 348 |
+
- `dataloader_drop_last`: False
|
| 349 |
+
- `dataloader_num_workers`: 0
|
| 350 |
+
- `dataloader_prefetch_factor`: None
|
| 351 |
+
- `past_index`: -1
|
| 352 |
+
- `disable_tqdm`: False
|
| 353 |
+
- `remove_unused_columns`: True
|
| 354 |
+
- `label_names`: None
|
| 355 |
+
- `load_best_model_at_end`: False
|
| 356 |
+
- `ignore_data_skip`: False
|
| 357 |
+
- `fsdp`: []
|
| 358 |
+
- `fsdp_min_num_params`: 0
|
| 359 |
+
- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
|
| 360 |
+
- `fsdp_transformer_layer_cls_to_wrap`: None
|
| 361 |
+
- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
|
| 362 |
+
- `parallelism_config`: None
|
| 363 |
+
- `deepspeed`: None
|
| 364 |
+
- `label_smoothing_factor`: 0.0
|
| 365 |
+
- `optim`: adamw_torch_fused
|
| 366 |
+
- `optim_args`: None
|
| 367 |
+
- `adafactor`: False
|
| 368 |
+
- `group_by_length`: False
|
| 369 |
+
- `length_column_name`: length
|
| 370 |
+
- `ddp_find_unused_parameters`: None
|
| 371 |
+
- `ddp_bucket_cap_mb`: None
|
| 372 |
+
- `ddp_broadcast_buffers`: False
|
| 373 |
+
- `dataloader_pin_memory`: True
|
| 374 |
+
- `dataloader_persistent_workers`: False
|
| 375 |
+
- `skip_memory_metrics`: True
|
| 376 |
+
- `use_legacy_prediction_loop`: False
|
| 377 |
+
- `push_to_hub`: False
|
| 378 |
+
- `resume_from_checkpoint`: None
|
| 379 |
+
- `hub_model_id`: None
|
| 380 |
+
- `hub_strategy`: every_save
|
| 381 |
+
- `hub_private_repo`: None
|
| 382 |
+
- `hub_always_push`: False
|
| 383 |
+
- `hub_revision`: None
|
| 384 |
+
- `gradient_checkpointing`: False
|
| 385 |
+
- `gradient_checkpointing_kwargs`: None
|
| 386 |
+
- `include_inputs_for_metrics`: False
|
| 387 |
+
- `include_for_metrics`: []
|
| 388 |
+
- `eval_do_concat_batches`: True
|
| 389 |
+
- `fp16_backend`: auto
|
| 390 |
+
- `push_to_hub_model_id`: None
|
| 391 |
+
- `push_to_hub_organization`: None
|
| 392 |
+
- `mp_parameters`:
|
| 393 |
+
- `auto_find_batch_size`: False
|
| 394 |
+
- `full_determinism`: False
|
| 395 |
+
- `torchdynamo`: None
|
| 396 |
+
- `ray_scope`: last
|
| 397 |
+
- `ddp_timeout`: 1800
|
| 398 |
+
- `torch_compile`: False
|
| 399 |
+
- `torch_compile_backend`: None
|
| 400 |
+
- `torch_compile_mode`: None
|
| 401 |
+
- `include_tokens_per_second`: False
|
| 402 |
+
- `include_num_input_tokens_seen`: False
|
| 403 |
+
- `neftune_noise_alpha`: None
|
| 404 |
+
- `optim_target_modules`: None
|
| 405 |
+
- `batch_eval_metrics`: False
|
| 406 |
+
- `eval_on_start`: False
|
| 407 |
+
- `use_liger_kernel`: False
|
| 408 |
+
- `liger_kernel_config`: None
|
| 409 |
+
- `eval_use_gather_object`: False
|
| 410 |
+
- `average_tokens_across_devices`: False
|
| 411 |
+
- `prompts`: None
|
| 412 |
+
- `batch_sampler`: batch_sampler
|
| 413 |
+
- `multi_dataset_batch_sampler`: round_robin
|
| 414 |
+
- `router_mapping`: {}
|
| 415 |
+
- `learning_rate_mapping`: {}
|
| 416 |
+
|
| 417 |
+
</details>
|
| 418 |
+
|
| 419 |
+
### Training Logs
|
| 420 |
+
| Epoch | Step | Training Loss |
|
| 421 |
+
|:------:|:----:|:-------------:|
|
| 422 |
+
| 0.0965 | 500 | 0.012 |
|
| 423 |
+
| 0.1931 | 1000 | 0.006 |
|
| 424 |
+
| 0.2896 | 1500 | 0.0057 |
|
| 425 |
+
| 0.3862 | 2000 | 0.0045 |
|
| 426 |
+
| 0.4827 | 2500 | 0.0024 |
|
| 427 |
+
| 0.5793 | 3000 | 0.0013 |
|
| 428 |
+
| 0.6758 | 3500 | 0.0025 |
|
| 429 |
+
| 0.7723 | 4000 | 0.0029 |
|
| 430 |
+
| 0.8689 | 4500 | 0.0012 |
|
| 431 |
+
| 0.9654 | 5000 | 0.0004 |
|
| 432 |
+
|
| 433 |
+
|
| 434 |
+
### Framework Versions
|
| 435 |
+
- Python: 3.12.11
|
| 436 |
+
- Sentence Transformers: 5.1.0
|
| 437 |
+
- Transformers: 4.56.1
|
| 438 |
+
- PyTorch: 2.8.0+cu128
|
| 439 |
+
- Accelerate: 1.10.1
|
| 440 |
+
- Datasets: 4.0.0
|
| 441 |
+
- Tokenizers: 0.22.0
|
| 442 |
+
|
| 443 |
+
## Citation
|
| 444 |
+
|
| 445 |
+
### BibTeX
|
| 446 |
+
|
| 447 |
+
#### Sentence Transformers
|
| 448 |
+
```bibtex
|
| 449 |
+
@inproceedings{reimers-2019-sentence-bert,
|
| 450 |
+
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
|
| 451 |
+
author = "Reimers, Nils and Gurevych, Iryna",
|
| 452 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
|
| 453 |
+
month = "11",
|
| 454 |
+
year = "2019",
|
| 455 |
+
publisher = "Association for Computational Linguistics",
|
| 456 |
+
url = "https://arxiv.org/abs/1908.10084",
|
| 457 |
+
}
|
| 458 |
+
```
|
| 459 |
+
|
| 460 |
+
#### MultipleNegativesRankingLoss
|
| 461 |
+
```bibtex
|
| 462 |
+
@misc{henderson2017efficient,
|
| 463 |
+
title={Efficient Natural Language Response Suggestion for Smart Reply},
|
| 464 |
+
author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
|
| 465 |
+
year={2017},
|
| 466 |
+
eprint={1705.00652},
|
| 467 |
+
archivePrefix={arXiv},
|
| 468 |
+
primaryClass={cs.CL}
|
| 469 |
+
}
|
| 470 |
+
```
|
| 471 |
+
|
| 472 |
+
<!--
|
| 473 |
+
## Glossary
|
| 474 |
+
|
| 475 |
+
*Clearly define terms in order to be accessible across audiences.*
|
| 476 |
+
-->
|
| 477 |
+
|
| 478 |
+
<!--
|
| 479 |
+
## Model Card Authors
|
| 480 |
+
|
| 481 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
| 482 |
+
-->
|
| 483 |
+
|
| 484 |
+
<!--
|
| 485 |
+
## Model Card Contact
|
| 486 |
+
|
| 487 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 488 |
+
-->
|
added_tokens.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"<image_soft_token>": 262144
|
| 3 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_sliding_window_pattern": 6,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"Gemma3TextModel"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"attn_logit_softcapping": null,
|
| 9 |
+
"bos_token_id": 2,
|
| 10 |
+
"dtype": "float32",
|
| 11 |
+
"eos_token_id": 1,
|
| 12 |
+
"final_logit_softcapping": null,
|
| 13 |
+
"head_dim": 256,
|
| 14 |
+
"hidden_activation": "gelu_pytorch_tanh",
|
| 15 |
+
"hidden_size": 768,
|
| 16 |
+
"initializer_range": 0.02,
|
| 17 |
+
"intermediate_size": 1152,
|
| 18 |
+
"layer_types": [
|
| 19 |
+
"sliding_attention",
|
| 20 |
+
"sliding_attention",
|
| 21 |
+
"sliding_attention",
|
| 22 |
+
"sliding_attention",
|
| 23 |
+
"sliding_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"sliding_attention",
|
| 26 |
+
"sliding_attention",
|
| 27 |
+
"sliding_attention",
|
| 28 |
+
"sliding_attention",
|
| 29 |
+
"sliding_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"sliding_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"sliding_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"full_attention"
|
| 43 |
+
],
|
| 44 |
+
"max_position_embeddings": 2048,
|
| 45 |
+
"model_type": "gemma3_text",
|
| 46 |
+
"num_attention_heads": 3,
|
| 47 |
+
"num_hidden_layers": 24,
|
| 48 |
+
"num_key_value_heads": 1,
|
| 49 |
+
"pad_token_id": 0,
|
| 50 |
+
"query_pre_attn_scalar": 256,
|
| 51 |
+
"rms_norm_eps": 1e-06,
|
| 52 |
+
"rope_local_base_freq": 10000.0,
|
| 53 |
+
"rope_scaling": null,
|
| 54 |
+
"rope_theta": 1000000.0,
|
| 55 |
+
"sliding_window": 512,
|
| 56 |
+
"transformers_version": "4.56.1",
|
| 57 |
+
"use_bidirectional_attention": true,
|
| 58 |
+
"use_cache": true,
|
| 59 |
+
"vocab_size": 262144
|
| 60 |
+
}
|
config_sentence_transformers.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "SentenceTransformer",
|
| 3 |
+
"__version__": {
|
| 4 |
+
"sentence_transformers": "5.1.0",
|
| 5 |
+
"transformers": "4.56.1",
|
| 6 |
+
"pytorch": "2.8.0+cu128"
|
| 7 |
+
},
|
| 8 |
+
"prompts": {
|
| 9 |
+
"query": "task: search result | query: ",
|
| 10 |
+
"document": "title: none | text: ",
|
| 11 |
+
"BitextMining": "task: search result | query: ",
|
| 12 |
+
"Clustering": "task: clustering | query: ",
|
| 13 |
+
"Classification": "task: classification | query: ",
|
| 14 |
+
"InstructionRetrieval": "task: code retrieval | query: ",
|
| 15 |
+
"MultilabelClassification": "task: classification | query: ",
|
| 16 |
+
"PairClassification": "task: sentence similarity | query: ",
|
| 17 |
+
"Reranking": "task: search result | query: ",
|
| 18 |
+
"Retrieval": "task: search result | query: ",
|
| 19 |
+
"Retrieval-query": "task: search result | query: ",
|
| 20 |
+
"Retrieval-document": "title: none | text: ",
|
| 21 |
+
"STS": "task: sentence similarity | query: ",
|
| 22 |
+
"Summarization": "task: summarization | query: "
|
| 23 |
+
},
|
| 24 |
+
"default_prompt_name": null,
|
| 25 |
+
"similarity_fn_name": "cosine"
|
| 26 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e046a30966b4d454c6e5106899029c3a03864c999b8a6c36631a5ad38b7d7ea
|
| 3 |
+
size 1211486072
|
modules.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"idx": 0,
|
| 4 |
+
"name": "0",
|
| 5 |
+
"path": "",
|
| 6 |
+
"type": "sentence_transformers.models.Transformer"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"idx": 1,
|
| 10 |
+
"name": "1",
|
| 11 |
+
"path": "1_Pooling",
|
| 12 |
+
"type": "sentence_transformers.models.Pooling"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"idx": 2,
|
| 16 |
+
"name": "2",
|
| 17 |
+
"path": "2_Dense",
|
| 18 |
+
"type": "sentence_transformers.models.Dense"
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"idx": 3,
|
| 22 |
+
"name": "3",
|
| 23 |
+
"path": "3_Dense",
|
| 24 |
+
"type": "sentence_transformers.models.Dense"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"idx": 4,
|
| 28 |
+
"name": "4",
|
| 29 |
+
"path": "4_Normalize",
|
| 30 |
+
"type": "sentence_transformers.models.Normalize"
|
| 31 |
+
}
|
| 32 |
+
]
|
sentence_bert_config.json
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_seq_length": 2048,
|
| 3 |
+
"do_lower_case": false
|
| 4 |
+
}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"boi_token": "<start_of_image>",
|
| 3 |
+
"bos_token": {
|
| 4 |
+
"content": "<bos>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false
|
| 9 |
+
},
|
| 10 |
+
"eoi_token": "<end_of_image>",
|
| 11 |
+
"eos_token": {
|
| 12 |
+
"content": "<eos>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false
|
| 17 |
+
},
|
| 18 |
+
"image_token": "<image_soft_token>",
|
| 19 |
+
"pad_token": {
|
| 20 |
+
"content": "<pad>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false
|
| 25 |
+
},
|
| 26 |
+
"unk_token": {
|
| 27 |
+
"content": "<unk>",
|
| 28 |
+
"lstrip": false,
|
| 29 |
+
"normalized": false,
|
| 30 |
+
"rstrip": false,
|
| 31 |
+
"single_word": false
|
| 32 |
+
}
|
| 33 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:216e2a79606fe879c9f17c529c71cd241338407fd5646b595ffd3c4b9ea1d503
|
| 3 |
+
size 33385262
|
tokenizer.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1299c11d7cf632ef3b4e11937501358ada021bbdf7c47638d13c0ee982f2e79c
|
| 3 |
+
size 4689074
|
tokenizer_config.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|