Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
Generated from Trainer
dataset_size:10217
loss:CachedMultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Jade-Software/Jade-ModernBert-FT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Jade-Software/Jade-ModernBert-FT with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Jade-Software/Jade-ModernBert-FT") sentences = [ "What integer value is assigned to the global constant SDS_SecondaryType in JADE?", "#### drawWidth\n\n**Type:** - Integer\n\n**Availability:** - Read or write at run time only\n\nThe **drawWidth **property of the [Window](../window_class/window_class.htm) class contains the line width for output from graphics methods on a form or control.\n\nSet the **drawWidth** property to a value in the range **1** through **32,767**. This value represents the width of the line in pixels. The default value is **1** pixel wide.\n\nIncrease the value of the **drawWidth** property to increase the width of the line.", "#### JadeDynamicObjectTypes Category Global Constants\n\nThe global constants listed in the following table define symbolic names for the values of the [JadeDynamicObject](../../encyclosys1/jadedynamicobject_class/jadedynamicobject_class.htm#jadedynamicobjectclass) class [type](../../encyclosys1/jadedynamicobject_class/type.htm#typejadedynamicobject) attribute of dynamic objects returned from [JadeDatabaseAdmin](../../encyclosys1/jadedatabaseadmin_class/jadedatabaseadmin_class.htm#jadedatabaseadminclass) class query methods.\n\n| Global Constant | Integer Value |\n| ---- | ---- |\n| SDS_PrimaryType | 1 |\n| SDS_SecondaryProxyType | 2 |\n| SDS_SecondaryType | 3 |\n| SDS_TransactionType | 4 |", "#### sortOrder\n\n**Type:** - Integer\n\n**Availability:** - Read or write at run time only\n\nThe **sortOrder **property of the [JadeTableColumn](jadetablecolumn_class.htm) class contains the precedence of the column referenced by this object when sorting, in the range **1** through **3**, or it contains zero (**0**) to remove sorting on the current column.\n\nFor a description of this property, see the [Table](../../encyclowin/control_class/table_class.htm#tableclass) control [sortColumn](../../encyclowin/window__form__and_control_properties/sortcolumn.htm#sortcolumnwin) property. See also the [JadeTableColumn](jadetablecolumn_class.htm) class [sortAsc](sortasc.htm), [sortCased](sortcased.htm), and [sortType](sorttype.htm) properties, which are dependent on the column already being recorded as a sort column by the **sortOrder** property.\n\nThe code fragment in the following example shows the use of the **sortOrder** property.\n\n```\ntable1.accessColumn(2).sortOrder := 1; // first column in sort\r\ntable1.accessColumn(4).sortOrder := 2; // second column\r\ntable1.accessColumn(5).sortOrder := 3; // third column\n```" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!