Sentence Similarity
sentence-transformers
Safetensors
English
xlm-roberta
feature-extraction
dense
Generated from Trainer
dataset_size:82
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use IoannisKat1/multilingual-e5-large-new with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use IoannisKat1/multilingual-e5-large-new with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("IoannisKat1/multilingual-e5-large-new") sentences = [ "When did the victims give away credentials?", "According to the provision of Article 386 paragraph 1 of the Greek Penal Code,\n\n\"Whoever, with the intent to obtain for themselves or another an unlawful pecuniary benefit, causes damage to another’s property by persuading someone to act, omit, or tolerate something through the knowing misrepresentation of false facts as true, or through the unlawful concealment or suppression of true facts, shall be punished by imprisonment of at least three months, and if the damage caused is particularly large, by imprisonment of at least two years.\"\n\nFrom this provision it follows that, for the crime of fraud to be established, the following elements are required:\n\na) The intent of the perpetrator to obtain for themselves or another an unlawful pecuniary benefit, without it being necessary that the benefit actually materialize;\n\nb) The knowing misrepresentation of false facts as true, or the unlawful concealment or suppression of true facts, as a result of which—serving as the causal factor—someone is deceived and proceeds to an act, omission, or acquiescence that is detrimental to themselves or another; and\n\nc) Damage to another person’s property, as defined under civil law, which must be causally linked to the deceptive acts or omissions of the perpetrator. It is not required that the person deceived and the person who suffered the damage be the same individual.\n\nThe term “facts”, within the meaning of the above provision, refers to real circumstances relating to the past or present, and not to those that will occur in the future, such as mere promises or contractual obligations. However, when such promises or obligations are accompanied by false assurances and representations of other false facts referring to the present or the past, in such a manner as to create the impression of future fulfillment based on a false present situation fabricated by the perpetrator, who has already formed the decision not to fulfill their obligation, the crime of fraud is established.\n\nThe term “property” refers to the totality of a person’s economic assets that possess monetary value, while damage to property means its reduction—specifically, the difference between the monetary value the property had before the disposition caused by the fraudulent conduct and the value remaining after it. Property damage exists even if the victim possesses an active claim for restitution.\n\nThe time of commission of the fraud is considered to be the moment when the perpetrator acted and completed their fraudulent conduct, namely when they made the false representations that deceived the victim or a third party. Any subsequent moment at which the victim’s damage actually occurred—thereby completing the fraud—or the time when the victim carried out the harmful act or omission, is irrelevant.", "Voice phishing involves manipulating victims over the phone. Attackers pose as bank officials or authorities and use intimidation to extract financial details.\n\nScenario:\n- Victims are coerced into giving away PINs, passwords, or other credentials under false pretenses of legal or financial emergencies.", "According to the provision of Article 386 paragraph 1 of the Greek Penal Code,\n\n\"Whoever, with the intent to obtain for themselves or another an unlawful pecuniary benefit, causes damage to another’s property by persuading someone to act, omit, or tolerate something through the knowing misrepresentation of false facts as true, or through the unlawful concealment or suppression of true facts, shall be punished by imprisonment of at least three months, and if the damage caused is particularly large, by imprisonment of at least two years.\"\n\nFrom this provision, it follows that, for the crime of fraud to be established, the following elements are required:\n\na) The intent of the perpetrator to obtain for themselves or another an unlawful pecuniary benefit, without requiring that the benefit actually materialize;\n\nb) The knowing misrepresentation of false facts as true, or the unlawful concealment or suppression of true facts, as a result of which—serving as the causal factor—someone is deceived and performs an act, omission, or acquiescence; and\n\nc) Damage to another’s property, according to civil law, which must be causally connected to the perpetrator’s deceptive acts or omissions. It is not required that the deceived person and the person who suffered the loss be the same.\n\nThe term “facts,” within the meaning of the above provision, refers to real circumstances relating to the past or present, and not to those that will occur in the future, such as mere promises or contractual obligations. However, when such promises or obligations are accompanied by false assurances and representations of other false facts relating to the present or the past, in such a way as to create the impression of future fulfillment, based on a false present situation fabricated by the perpetrator—who has already made the decision not to fulfill their obligation—then the crime of fraud is established.\n\nThe term “property” denotes the totality of a person’s economic assets possessing monetary value, while damage to property refers to its reduction—specifically, the difference between the property’s monetary value before the disposition caused by the fraudulent conduct and its value afterward. Property damage exists even if the victim has an active claim for its restitution.\n\nThe time of commission of fraud is considered to be the moment when the perpetrator acted and completed the deceptive conduct, that is, when they made the false representations which deceived the victim or a third party. Any later time at which the victim’s financial loss occurred—thus completing the fraud—or the time when the harmful act or omission of the deceived person took place, is irrelevant.\n\nThe reference to multiple modes of commission of fraud (i.e., both the misrepresentation of false facts and the concealment of true ones) may create ambiguity and contradiction, unless it is made clear from the overall findings that the offense was committed in one particular manner, and that the reference to the other merely serves to define the intent (mens rea) of the perpetrator—specifically, that the representations were false.\n\nFurthermore, a conviction must contain the specific and well-reasoned justification required by Articles 93 paragraph 3 of the Constitution and 139 of the Code of Criminal Procedure. The absence of such reasoning constitutes grounds for cassation (appeal) under Article 510 paragraph 1(d) of the Code of Criminal Procedure, when the judgment does not set out, with clarity, completeness, and consistency, the factual circumstances established by the evidence, upon which the court based its findings regarding the objective and subjective elements of the offense, the evidence supporting those findings, and the legal reasoning through which those facts were subsumed under the applicable substantive criminal provision.\n\nFor the existence of such reasoning, the explanatory and operative parts of the decision may complement each other, as they form a single, unified whole.\n\nThe existence of intent (dolus) does not generally need to be specially justified, since it is inherent in the will to bring about the factual circumstances constituting the objective elements of the offense, and it is presumed from their realization in each particular case—unless the law requires additional elements for criminal liability, such as the act being committed with knowledge of a specific circumstance (direct intent) or with the pursuit of a further purpose, i.e., the achievement of an additional result (offenses requiring a special subjective element).\n\nFurthermore, under Article 510 paragraph 1(e) of the Code of Criminal Procedure, a misapplication of substantive criminal law also constitutes grounds for cassation. Such misapplication occurs when the trial court incorrectly applies the law to the facts it has found to be true, or when the violation occurs indirectly, namely when the reasoning of the judgment—comprising the combination of its factual and operative parts and relating to the elements and identity of the offense—contains ambiguities, contradictions, or logical gaps, rendering it impossible to verify, on appeal, whether the law was applied correctly. In such cases, the judgment lacks a lawful basis." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
metadata
language:
- en
license: apache-2.0
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- dense
- generated_from_trainer
- dataset_size:82
- loss:MatryoshkaLoss
- loss:MultipleNegativesRankingLoss
base_model: intfloat/multilingual-e5-large
widget:
- source_sentence: When did the victims give away credentials?
sentences:
- >-
According to the provision of Article 386 paragraph 1 of the Greek Penal
Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another’s property by
persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From this provision it follows that, for the crime of fraud to be
established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit, without it being necessary that the benefit
actually materialize;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which—serving
as the causal factor—someone is deceived and proceeds to an act,
omission, or acquiescence that is detrimental to themselves or another;
and
c) Damage to another person’s property, as defined under civil law,
which must be causally linked to the deceptive acts or omissions of the
perpetrator. It is not required that the person deceived and the person
who suffered the damage be the same individual.
The term “facts”, within the meaning of the above provision, refers to
real circumstances relating to the past or present, and not to those
that will occur in the future, such as mere promises or contractual
obligations. However, when such promises or obligations are accompanied
by false assurances and representations of other false facts referring
to the present or the past, in such a manner as to create the impression
of future fulfillment based on a false present situation fabricated by
the perpetrator, who has already formed the decision not to fulfill
their obligation, the crime of fraud is established.
The term “property” refers to the totality of a person’s economic assets
that possess monetary value, while damage to property means its
reduction—specifically, the difference between the monetary value the
property had before the disposition caused by the fraudulent conduct and
the value remaining after it. Property damage exists even if the victim
possesses an active claim for restitution.
The time of commission of the fraud is considered to be the moment when
the perpetrator acted and completed their fraudulent conduct, namely
when they made the false representations that deceived the victim or a
third party. Any subsequent moment at which the victim’s damage actually
occurred—thereby completing the fraud—or the time when the victim
carried out the harmful act or omission, is irrelevant.
- >-
Voice phishing involves manipulating victims over the phone. Attackers
pose as bank officials or authorities and use intimidation to extract
financial details.
Scenario:
- Victims are coerced into giving away PINs, passwords, or other
credentials under false pretenses of legal or financial emergencies.
- >-
According to the provision of Article 386 paragraph 1 of the Greek Penal
Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another’s property by
persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From this provision, it follows that, for the crime of fraud to be
established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit, without requiring that the benefit actually
materialize;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which—serving
as the causal factor—someone is deceived and performs an act, omission,
or acquiescence; and
c) Damage to another’s property, according to civil law, which must be
causally connected to the perpetrator’s deceptive acts or omissions. It
is not required that the deceived person and the person who suffered the
loss be the same.
The term “facts,” within the meaning of the above provision, refers to
real circumstances relating to the past or present, and not to those
that will occur in the future, such as mere promises or contractual
obligations. However, when such promises or obligations are accompanied
by false assurances and representations of other false facts relating to
the present or the past, in such a way as to create the impression of
future fulfillment, based on a false present situation fabricated by the
perpetrator—who has already made the decision not to fulfill their
obligation—then the crime of fraud is established.
The term “property” denotes the totality of a person’s economic assets
possessing monetary value, while damage to property refers to its
reduction—specifically, the difference between the property’s monetary
value before the disposition caused by the fraudulent conduct and its
value afterward. Property damage exists even if the victim has an active
claim for its restitution.
The time of commission of fraud is considered to be the moment when the
perpetrator acted and completed the deceptive conduct, that is, when
they made the false representations which deceived the victim or a third
party. Any later time at which the victim’s financial loss occurred—thus
completing the fraud—or the time when the harmful act or omission of the
deceived person took place, is irrelevant.
The reference to multiple modes of commission of fraud (i.e., both the
misrepresentation of false facts and the concealment of true ones) may
create ambiguity and contradiction, unless it is made clear from the
overall findings that the offense was committed in one particular
manner, and that the reference to the other merely serves to define the
intent (mens rea) of the perpetrator—specifically, that the
representations were false.
Furthermore, a conviction must contain the specific and well-reasoned
justification required by Articles 93 paragraph 3 of the Constitution
and 139 of the Code of Criminal Procedure. The absence of such reasoning
constitutes grounds for cassation (appeal) under Article 510 paragraph
1(d) of the Code of Criminal Procedure, when the judgment does not set
out, with clarity, completeness, and consistency, the factual
circumstances established by the evidence, upon which the court based
its findings regarding the objective and subjective elements of the
offense, the evidence supporting those findings, and the legal reasoning
through which those facts were subsumed under the applicable substantive
criminal provision.
For the existence of such reasoning, the explanatory and operative parts
of the decision may complement each other, as they form a single,
unified whole.
The existence of intent (dolus) does not generally need to be specially
justified, since it is inherent in the will to bring about the factual
circumstances constituting the objective elements of the offense, and it
is presumed from their realization in each particular case—unless the
law requires additional elements for criminal liability, such as the act
being committed with knowledge of a specific circumstance (direct
intent) or with the pursuit of a further purpose, i.e., the achievement
of an additional result (offenses requiring a special subjective
element).
Furthermore, under Article 510 paragraph 1(e) of the Code of Criminal
Procedure, a misapplication of substantive criminal law also constitutes
grounds for cassation. Such misapplication occurs when the trial court
incorrectly applies the law to the facts it has found to be true, or
when the violation occurs indirectly, namely when the reasoning of the
judgment—comprising the combination of its factual and operative parts
and relating to the elements and identity of the offense—contains
ambiguities, contradictions, or logical gaps, rendering it impossible to
verify, on appeal, whether the law was applied correctly. In such cases,
the judgment lacks a lawful basis.
- source_sentence: What must be the outcome of the deception in relation to property damage?
sentences:
- >-
According to the provision of Article 386 paragraph 1 of the Greek Penal
Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another’s property by
persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From this provision, it follows that, for the crime of fraud to be
established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit, without requiring that the benefit actually
materialize;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which—serving
as the causal factor—someone is deceived and performs an act, omission,
or acquiescence; and
c) Damage to another’s property, according to civil law, which must be
causally connected to the perpetrator’s deceptive acts or omissions. It
is not required that the deceived person and the person who suffered the
loss be the same.
The term “facts,” within the meaning of the above provision, refers to
real circumstances relating to the past or present, and not to those
that will occur in the future, such as mere promises or contractual
obligations. However, when such promises or obligations are accompanied
by false assurances and representations of other false facts relating to
the present or the past, in such a way as to create the impression of
future fulfillment, based on a false present situation fabricated by the
perpetrator—who has already made the decision not to fulfill their
obligation—then the crime of fraud is established.
The term “property” denotes the totality of a person’s economic assets
possessing monetary value, while damage to property refers to its
reduction—specifically, the difference between the property’s monetary
value before the disposition caused by the fraudulent conduct and its
value afterward. Property damage exists even if the victim has an active
claim for its restitution.
The time of commission of fraud is considered to be the moment when the
perpetrator acted and completed the deceptive conduct, that is, when
they made the false representations which deceived the victim or a third
party. Any later time at which the victim’s financial loss occurred—thus
completing the fraud—or the time when the harmful act or omission of the
deceived person took place, is irrelevant.
The reference to multiple modes of commission of fraud (i.e., both the
misrepresentation of false facts and the concealment of true ones) may
create ambiguity and contradiction, unless it is made clear from the
overall findings that the offense was committed in one particular
manner, and that the reference to the other merely serves to define the
intent (mens rea) of the perpetrator—specifically, that the
representations were false.
Furthermore, a conviction must contain the specific and well-reasoned
justification required by Articles 93 paragraph 3 of the Constitution
and 139 of the Code of Criminal Procedure. The absence of such reasoning
constitutes grounds for cassation (appeal) under Article 510 paragraph
1(d) of the Code of Criminal Procedure, when the judgment does not set
out, with clarity, completeness, and consistency, the factual
circumstances established by the evidence, upon which the court based
its findings regarding the objective and subjective elements of the
offense, the evidence supporting those findings, and the legal reasoning
through which those facts were subsumed under the applicable substantive
criminal provision.
For the existence of such reasoning, the explanatory and operative parts
of the decision may complement each other, as they form a single,
unified whole.
The existence of intent (dolus) does not generally need to be specially
justified, since it is inherent in the will to bring about the factual
circumstances constituting the objective elements of the offense, and it
is presumed from their realization in each particular case—unless the
law requires additional elements for criminal liability, such as the act
being committed with knowledge of a specific circumstance (direct
intent) or with the pursuit of a further purpose, i.e., the achievement
of an additional result (offenses requiring a special subjective
element).
Furthermore, under Article 510 paragraph 1(e) of the Code of Criminal
Procedure, a misapplication of substantive criminal law also constitutes
grounds for cassation. Such misapplication occurs when the trial court
incorrectly applies the law to the facts it has found to be true, or
when the violation occurs indirectly, namely when the reasoning of the
judgment—comprising the combination of its factual and operative parts
and relating to the elements and identity of the offense—contains
ambiguities, contradictions, or logical gaps, rendering it impossible to
verify, on appeal, whether the law was applied correctly. In such cases,
the judgment lacks a lawful basis.
- >-
According to Article 386 paragraph 1 of the Greek Penal Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another’s property by
persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From these provisions, it follows that, for the crime of fraud to be
established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which—serving
as the causal factor—someone is deceived and proceeds to an act,
omission, or acquiescence detrimental to themselves or another; and
c) Damage to another’s property, as defined under civil law, which must
be causally connected to the perpetrator’s deceptive acts.
From the above provisions, it is deduced that the crime of fraud is
established both objectively and subjectively through the knowing
misrepresentation of false facts as true, or the unlawful concealment or
suppression of true ones, by which another person is deceived and, as a
result, performs an act, omission, or acquiescence involving a
disposition of property that directly and necessarily causes financial
damage to the deceived person or another, with the intent that the
perpetrator or another gain an unlawful benefit. It is irrelevant
whether this intended benefit was ultimately achieved.
The term “facts,” within the meaning of the above provision, refers to
real circumstances relating to the past or present, and not to those
expected to occur in the future, such as mere promises or contractual
obligations. The false fact must have existed in the past or must be a
present circumstance at the time it is asserted, and cannot relate to
the future.
However, when future circumstances—that is, promises or contractual
obligations—are accompanied by false assurances and representations of
other false facts referring to the present or past, in such a way as to
create the impression of future fulfillment, based on a false present
situation or supposed ability of the perpetrator, who had already made
the decision not to fulfill their obligation, then the crime of fraud is
established.
- >-
According to the provision of Article 386 paragraph 1 of the Greek Penal
Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another person’s property
by persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From this provision, it follows that for the crime of fraud to be
established, the following elements are required:
a) Intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit, regardless of whether this benefit was
actually realized;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which, as a
causal factor, someone is deceived and acts in a way that is detrimental
to themselves or another (by an act, omission, or acquiescence); and
c) Damage to another’s property, in the sense recognized by civil law,
which must be causally linked to the fraudulent conduct (the deceptive
act or omission of the perpetrator) and to the resulting deception of
the person who made the property disposition. It is not required that
the person deceived be the same person who suffered the damage.
Property damage exists when there is a reduction or deterioration in the
victim’s assets, even if the victim has an active claim to restitution.
However, as an element of the objective aspect of the crime of fraud,
the damage must be the direct, necessary, and exclusive result of the
property disposition—namely, the act, omission, or acquiescence
performed by the person deceived by the perpetrator’s fraudulent
conduct.
There must therefore be a causal connection between the perpetrator’s
deceptive behavior and the deception it caused, as well as between this
deception and the resulting property damage, which must be the direct,
necessary, and exclusive outcome of the deception and of the act,
omission, or acquiescence of the deceived person.
The term “facts” refers to real circumstances relating to the past or
present, and not to those expected to occur in the future, such as mere
promises or contractual obligations. However, when such promises or
obligations are accompanied by false assurances and representations of
other false facts relating to the present or the past, in such a way as
to create the impression of future fulfillment, based on the false
present situation presented by a perpetrator who has already made the
decision not to fulfill their obligation, then the crime of fraud is
established.
The time of commission of the fraud is considered to be the moment when
the perpetrator acted and completed their deceptive conduct—that is,
when they made the false representations that deceived the victim or a
third party. Any later time at which the victim’s financial loss
actually occurred—thus completing the fraud—or the time when the
deceived person performed the harmful act or omission, is irrelevant.
- source_sentence: How are victims tricked in email phishing scams?
sentences:
- >-
According to Article 386 paragraph 1 of the Greek Penal Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another’s property by
persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From these provisions, it follows that, for the crime of fraud to be
established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which—serving
as the causal factor—someone is deceived and proceeds to an act,
omission, or acquiescence detrimental to themselves or another; and
c) Damage to another’s property, as defined under civil law, which must
be causally connected to the perpetrator’s deceptive acts.
From the above provisions, it is deduced that the crime of fraud is
established both objectively and subjectively through the knowing
misrepresentation of false facts as true, or the unlawful concealment or
suppression of true ones, by which another person is deceived and, as a
result, performs an act, omission, or acquiescence involving a
disposition of property that directly and necessarily causes financial
damage to the deceived person or another, with the intent that the
perpetrator or another gain an unlawful benefit. It is irrelevant
whether this intended benefit was ultimately achieved.
The term “facts,” within the meaning of the above provision, refers to
real circumstances relating to the past or present, and not to those
expected to occur in the future, such as mere promises or contractual
obligations. The false fact must have existed in the past or must be a
present circumstance at the time it is asserted, and cannot relate to
the future.
However, when future circumstances—that is, promises or contractual
obligations—are accompanied by false assurances and representations of
other false facts referring to the present or past, in such a way as to
create the impression of future fulfillment, based on a false present
situation or supposed ability of the perpetrator, who had already made
the decision not to fulfill their obligation, then the crime of fraud is
established.
- >-
According to the provision of Article 386 paragraph 1 of the Greek Penal
Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another’s property by
persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From this provision it follows that, for the crime of fraud to be
established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit, without it being necessary that the benefit
actually materialize;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which—serving
as the causal factor—someone is deceived and proceeds to an act,
omission, or acquiescence that is detrimental to themselves or another;
and
c) Damage to another person’s property, as defined under civil law,
which must be causally linked to the deceptive acts or omissions of the
perpetrator. It is not required that the person deceived and the person
who suffered the damage be the same individual.
The term “facts”, within the meaning of the above provision, refers to
real circumstances relating to the past or present, and not to those
that will occur in the future, such as mere promises or contractual
obligations. However, when such promises or obligations are accompanied
by false assurances and representations of other false facts referring
to the present or the past, in such a manner as to create the impression
of future fulfillment based on a false present situation fabricated by
the perpetrator, who has already formed the decision not to fulfill
their obligation, the crime of fraud is established.
The term “property” refers to the totality of a person’s economic assets
that possess monetary value, while damage to property means its
reduction—specifically, the difference between the monetary value the
property had before the disposition caused by the fraudulent conduct and
the value remaining after it. Property damage exists even if the victim
possesses an active claim for restitution.
The time of commission of the fraud is considered to be the moment when
the perpetrator acted and completed their fraudulent conduct, namely
when they made the false representations that deceived the victim or a
third party. Any subsequent moment at which the victim’s damage actually
occurred—thereby completing the fraud—or the time when the victim
carried out the harmful act or omission, is irrelevant.
- >-
Email phishing is a type of identity theft scam conducted via email or
SMS. The attacker uses social engineering tactics such as impersonating
trusted entities and inducing urgency. Victims are tricked into
disclosing personal information or downloading malware.
Scenarios:
- Scenario 1: Emails impersonating high-ranking executives accuse
victims of crimes to coerce them into revealing information or opening
malware-laden attachments.
- Scenario 2: Emails/SMS from fake banks or authorities alert victims of
data breaches, directing them to spoofed websites to input credentials.
- Scenario 3: SMS messages deliver disguised malware apps that harvest
sensitive data.
- Scenario 4: SMS links lead to pharming sites that mimic trusted brands
and steal login data through fake pop-ups.
- source_sentence: >-
What circumstances do the term 'facts' refer to within the meaning of the
provision?
sentences:
- >-
According to the provision of Article 386 paragraph 1 of the Greek Penal
Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another person’s property
by persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From this provision, it follows that for the crime of fraud to be
established, the following elements are required:
a) Intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit, regardless of whether this benefit was
actually realized;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which, as a
causal factor, someone is deceived and acts in a way that is detrimental
to themselves or another (by an act, omission, or acquiescence); and
c) Damage to another’s property, in the sense recognized by civil law,
which must be causally linked to the fraudulent conduct (the deceptive
act or omission of the perpetrator) and to the resulting deception of
the person who made the property disposition. It is not required that
the person deceived be the same person who suffered the damage.
Property damage exists when there is a reduction or deterioration in the
victim’s assets, even if the victim has an active claim to restitution.
However, as an element of the objective aspect of the crime of fraud,
the damage must be the direct, necessary, and exclusive result of the
property disposition—namely, the act, omission, or acquiescence
performed by the person deceived by the perpetrator’s fraudulent
conduct.
There must therefore be a causal connection between the perpetrator’s
deceptive behavior and the deception it caused, as well as between this
deception and the resulting property damage, which must be the direct,
necessary, and exclusive outcome of the deception and of the act,
omission, or acquiescence of the deceived person.
The term “facts” refers to real circumstances relating to the past or
present, and not to those expected to occur in the future, such as mere
promises or contractual obligations. However, when such promises or
obligations are accompanied by false assurances and representations of
other false facts relating to the present or the past, in such a way as
to create the impression of future fulfillment, based on the false
present situation presented by a perpetrator who has already made the
decision not to fulfill their obligation, then the crime of fraud is
established.
The time of commission of the fraud is considered to be the moment when
the perpetrator acted and completed their deceptive conduct—that is,
when they made the false representations that deceived the victim or a
third party. Any later time at which the victim’s financial loss
actually occurred—thus completing the fraud—or the time when the
deceived person performed the harmful act or omission, is irrelevant.
- >
1. Anyone who, by knowingly presenting false facts as true or by
unlawfully concealing or withholding true facts, damages another
person's property by persuading someone to act, omission, or tolerance
with the aim of obtaining, for themselves or another, an unlawful
financial gain from the damage to that property shall be punished with
imprisonment, "and if the damage caused is particularly great, with
imprisonment of at least three (3) months and a fine." .
If the damage caused exceeds a total of one hundred and twenty thousand
(120,000) euros, imprisonment of up to ten (10) years and a fine shall
be imposed.
2. If the fraud is directed directly against the legal entity of the
Greek State, legal entities governed by public law, or local government
organizations, and the damage caused exceeds a total of one hundred and
twenty thousand (120,000) euros, a prison sentence of at least ten (10)
years and a fine of up to one thousand (1,000) daily units shall be
imposed. This offense shall be time-barred after twenty (20) years.
- >-
According to the provision of Article 386 paragraph 1 of the Greek Penal
Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another’s property by
persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From this provision it follows that, for the crime of fraud to be
established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit, without it being necessary that the benefit
actually materialize;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which—serving
as the causal factor—someone is deceived and proceeds to an act,
omission, or acquiescence that is detrimental to themselves or another;
and
c) Damage to another person’s property, as defined under civil law,
which must be causally linked to the deceptive acts or omissions of the
perpetrator. It is not required that the person deceived and the person
who suffered the damage be the same individual.
The term “facts”, within the meaning of the above provision, refers to
real circumstances relating to the past or present, and not to those
that will occur in the future, such as mere promises or contractual
obligations. However, when such promises or obligations are accompanied
by false assurances and representations of other false facts referring
to the present or the past, in such a manner as to create the impression
of future fulfillment based on a false present situation fabricated by
the perpetrator, who has already formed the decision not to fulfill
their obligation, the crime of fraud is established.
The term “property” refers to the totality of a person’s economic assets
that possess monetary value, while damage to property means its
reduction—specifically, the difference between the monetary value the
property had before the disposition caused by the fraudulent conduct and
the value remaining after it. Property damage exists even if the victim
possesses an active claim for restitution.
The time of commission of the fraud is considered to be the moment when
the perpetrator acted and completed their fraudulent conduct, namely
when they made the false representations that deceived the victim or a
third party. Any subsequent moment at which the victim’s damage actually
occurred—thereby completing the fraud—or the time when the victim
carried out the harmful act or omission, is irrelevant.
- source_sentence: When is the time of commission of the fraud considered?
sentences:
- >-
Spear phishing targets specific individuals or employees within an
organization using personalized, deceptive emails. Unlike mass phishing,
these emails are crafted to seem familiar and urgent.
Scenarios:
- CEO Fraud: Attackers impersonate executives to extract financial or
sensitive data from employees.
- Whaling: High-ranking executives are targeted using tailored fraud
emails that press for immediate action without verification.
- >-
According to the provision of Article 386 paragraph 1 of the Greek Penal
Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another’s property by
persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From this provision it follows that, for the crime of fraud to be
established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit, without it being necessary that the benefit
actually materialize;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which—serving
as the causal factor—someone is deceived and proceeds to an act,
omission, or acquiescence that is detrimental to themselves or another;
and
c) Damage to another person’s property, as defined under civil law,
which must be causally linked to the deceptive acts or omissions of the
perpetrator. It is not required that the person deceived and the person
who suffered the damage be the same individual.
The term “facts”, within the meaning of the above provision, refers to
real circumstances relating to the past or present, and not to those
that will occur in the future, such as mere promises or contractual
obligations. However, when such promises or obligations are accompanied
by false assurances and representations of other false facts referring
to the present or the past, in such a manner as to create the impression
of future fulfillment based on a false present situation fabricated by
the perpetrator, who has already formed the decision not to fulfill
their obligation, the crime of fraud is established.
The term “property” refers to the totality of a person’s economic assets
that possess monetary value, while damage to property means its
reduction—specifically, the difference between the monetary value the
property had before the disposition caused by the fraudulent conduct and
the value remaining after it. Property damage exists even if the victim
possesses an active claim for restitution.
The time of commission of the fraud is considered to be the moment when
the perpetrator acted and completed their fraudulent conduct, namely
when they made the false representations that deceived the victim or a
third party. Any subsequent moment at which the victim’s damage actually
occurred—thereby completing the fraud—or the time when the victim
carried out the harmful act or omission, is irrelevant.
- >-
According to Article 386 paragraph 1 of the Greek Penal Code,
"Whoever, with the intent to obtain for themselves or another an
unlawful pecuniary benefit, causes damage to another’s property by
persuading someone to act, omit, or tolerate something through the
knowing misrepresentation of false facts as true, or through the
unlawful concealment or suppression of true facts, shall be punished by
imprisonment of at least three months, and if the damage caused is
particularly large, by imprisonment of at least two years."
From these provisions, it follows that, for the crime of fraud to be
established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an
unlawful pecuniary benefit;
b) The knowing misrepresentation of false facts as true, or the unlawful
concealment or suppression of true facts, as a result of which—serving
as the causal factor—someone is deceived and proceeds to an act,
omission, or acquiescence detrimental to themselves or another; and
c) Damage to another’s property, as defined under civil law, which must
be causally connected to the perpetrator’s deceptive acts.
From the above provisions, it is deduced that the crime of fraud is
established both objectively and subjectively through the knowing
misrepresentation of false facts as true, or the unlawful concealment or
suppression of true ones, by which another person is deceived and, as a
result, performs an act, omission, or acquiescence involving a
disposition of property that directly and necessarily causes financial
damage to the deceived person or another, with the intent that the
perpetrator or another gain an unlawful benefit. It is irrelevant
whether this intended benefit was ultimately achieved.
The term “facts,” within the meaning of the above provision, refers to
real circumstances relating to the past or present, and not to those
expected to occur in the future, such as mere promises or contractual
obligations. The false fact must have existed in the past or must be a
present circumstance at the time it is asserted, and cannot relate to
the future.
However, when future circumstances—that is, promises or contractual
obligations—are accompanied by false assurances and representations of
other false facts referring to the present or past, in such a way as to
create the impression of future fulfillment, based on a false present
situation or supposed ability of the perpetrator, who had already made
the decision not to fulfill their obligation, then the crime of fraud is
established.
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics:
- cosine_accuracy@1
- cosine_accuracy@3
- cosine_accuracy@5
- cosine_accuracy@10
- cosine_precision@1
- cosine_precision@3
- cosine_precision@5
- cosine_precision@10
- cosine_recall@1
- cosine_recall@3
- cosine_recall@5
- cosine_recall@10
- cosine_ndcg@10
- cosine_mrr@10
- cosine_map@100
model-index:
- name: multilingual_e5_large Finetuned on Data
results:
- task:
type: information-retrieval
name: Information Retrieval
dataset:
name: dim 1024
type: dim_1024
metrics:
- type: cosine_accuracy@1
value: 0.5238095238095238
name: Cosine Accuracy@1
- type: cosine_accuracy@3
value: 0.5238095238095238
name: Cosine Accuracy@3
- type: cosine_accuracy@5
value: 0.5714285714285714
name: Cosine Accuracy@5
- type: cosine_accuracy@10
value: 0.6666666666666666
name: Cosine Accuracy@10
- type: cosine_precision@1
value: 0.5238095238095238
name: Cosine Precision@1
- type: cosine_precision@3
value: 0.5079365079365079
name: Cosine Precision@3
- type: cosine_precision@5
value: 0.47619047619047616
name: Cosine Precision@5
- type: cosine_precision@10
value: 0.4476190476190477
name: Cosine Precision@10
- type: cosine_recall@1
value: 0.08933150183150182
name: Cosine Recall@1
- type: cosine_recall@3
value: 0.24418498168498168
name: Cosine Recall@3
- type: cosine_recall@5
value: 0.33951465201465203
name: Cosine Recall@5
- type: cosine_recall@10
value: 0.5401404151404151
name: Cosine Recall@10
- type: cosine_ndcg@10
value: 0.5921167294151266
name: Cosine Ndcg@10
- type: cosine_mrr@10
value: 0.5480725623582765
name: Cosine Mrr@10
- type: cosine_map@100
value: 0.67423207909377
name: Cosine Map@100
- task:
type: information-retrieval
name: Information Retrieval
dataset:
name: dim 768
type: dim_768
metrics:
- type: cosine_accuracy@1
value: 0.5238095238095238
name: Cosine Accuracy@1
- type: cosine_accuracy@3
value: 0.5238095238095238
name: Cosine Accuracy@3
- type: cosine_accuracy@5
value: 0.5714285714285714
name: Cosine Accuracy@5
- type: cosine_accuracy@10
value: 0.6666666666666666
name: Cosine Accuracy@10
- type: cosine_precision@1
value: 0.5238095238095238
name: Cosine Precision@1
- type: cosine_precision@3
value: 0.5079365079365079
name: Cosine Precision@3
- type: cosine_precision@5
value: 0.47619047619047616
name: Cosine Precision@5
- type: cosine_precision@10
value: 0.4476190476190477
name: Cosine Precision@10
- type: cosine_recall@1
value: 0.08933150183150182
name: Cosine Recall@1
- type: cosine_recall@3
value: 0.24418498168498168
name: Cosine Recall@3
- type: cosine_recall@5
value: 0.33951465201465203
name: Cosine Recall@5
- type: cosine_recall@10
value: 0.5401404151404151
name: Cosine Recall@10
- type: cosine_ndcg@10
value: 0.5921167294151266
name: Cosine Ndcg@10
- type: cosine_mrr@10
value: 0.5480725623582765
name: Cosine Mrr@10
- type: cosine_map@100
value: 0.67423207909377
name: Cosine Map@100
- task:
type: information-retrieval
name: Information Retrieval
dataset:
name: dim 512
type: dim_512
metrics:
- type: cosine_accuracy@1
value: 0.47619047619047616
name: Cosine Accuracy@1
- type: cosine_accuracy@3
value: 0.47619047619047616
name: Cosine Accuracy@3
- type: cosine_accuracy@5
value: 0.5714285714285714
name: Cosine Accuracy@5
- type: cosine_accuracy@10
value: 0.6190476190476191
name: Cosine Accuracy@10
- type: cosine_precision@1
value: 0.47619047619047616
name: Cosine Precision@1
- type: cosine_precision@3
value: 0.4603174603174603
name: Cosine Precision@3
- type: cosine_precision@5
value: 0.45714285714285713
name: Cosine Precision@5
- type: cosine_precision@10
value: 0.4238095238095239
name: Cosine Precision@10
- type: cosine_recall@1
value: 0.07345848595848595
name: Cosine Recall@1
- type: cosine_recall@3
value: 0.19656593406593406
name: Cosine Recall@3
- type: cosine_recall@5
value: 0.3077686202686203
name: Cosine Recall@5
- type: cosine_recall@10
value: 0.5202991452991453
name: Cosine Recall@10
- type: cosine_ndcg@10
value: 0.5518338753600308
name: Cosine Ndcg@10
- type: cosine_mrr@10
value: 0.5020408163265305
name: Cosine Mrr@10
- type: cosine_map@100
value: 0.6265911712939339
name: Cosine Map@100
- task:
type: information-retrieval
name: Information Retrieval
dataset:
name: dim 256
type: dim_256
metrics:
- type: cosine_accuracy@1
value: 0.5238095238095238
name: Cosine Accuracy@1
- type: cosine_accuracy@3
value: 0.5238095238095238
name: Cosine Accuracy@3
- type: cosine_accuracy@5
value: 0.5714285714285714
name: Cosine Accuracy@5
- type: cosine_accuracy@10
value: 0.6190476190476191
name: Cosine Accuracy@10
- type: cosine_precision@1
value: 0.5238095238095238
name: Cosine Precision@1
- type: cosine_precision@3
value: 0.5079365079365079
name: Cosine Precision@3
- type: cosine_precision@5
value: 0.49523809523809514
name: Cosine Precision@5
- type: cosine_precision@10
value: 0.4238095238095239
name: Cosine Precision@10
- type: cosine_recall@1
value: 0.0813949938949939
name: Cosine Recall@1
- type: cosine_recall@3
value: 0.22037545787545787
name: Cosine Recall@3
- type: cosine_recall@5
value: 0.33951465201465203
name: Cosine Recall@5
- type: cosine_recall@10
value: 0.5202991452991453
name: Cosine Recall@10
- type: cosine_ndcg@10
value: 0.5708936958722651
name: Cosine Ndcg@10
- type: cosine_mrr@10
value: 0.5401360544217686
name: Cosine Mrr@10
- type: cosine_map@100
value: 0.651530364911684
name: Cosine Map@100
- task:
type: information-retrieval
name: Information Retrieval
dataset:
name: dim 128
type: dim_128
metrics:
- type: cosine_accuracy@1
value: 0.5238095238095238
name: Cosine Accuracy@1
- type: cosine_accuracy@3
value: 0.5238095238095238
name: Cosine Accuracy@3
- type: cosine_accuracy@5
value: 0.5714285714285714
name: Cosine Accuracy@5
- type: cosine_accuracy@10
value: 0.6190476190476191
name: Cosine Accuracy@10
- type: cosine_precision@1
value: 0.5238095238095238
name: Cosine Precision@1
- type: cosine_precision@3
value: 0.5238095238095238
name: Cosine Precision@3
- type: cosine_precision@5
value: 0.5047619047619047
name: Cosine Precision@5
- type: cosine_precision@10
value: 0.4238095238095239
name: Cosine Precision@10
- type: cosine_recall@1
value: 0.07345848595848595
name: Cosine Recall@1
- type: cosine_recall@3
value: 0.2203754578754579
name: Cosine Recall@3
- type: cosine_recall@5
value: 0.34745115995116
name: Cosine Recall@5
- type: cosine_recall@10
value: 0.5202991452991453
name: Cosine Recall@10
- type: cosine_ndcg@10
value: 0.5685354415901852
name: Cosine Ndcg@10
- type: cosine_mrr@10
value: 0.5401360544217686
name: Cosine Mrr@10
- type: cosine_map@100
value: 0.6489604480560528
name: Cosine Map@100
- task:
type: information-retrieval
name: Information Retrieval
dataset:
name: dim 64
type: dim_64
metrics:
- type: cosine_accuracy@1
value: 0.42857142857142855
name: Cosine Accuracy@1
- type: cosine_accuracy@3
value: 0.42857142857142855
name: Cosine Accuracy@3
- type: cosine_accuracy@5
value: 0.47619047619047616
name: Cosine Accuracy@5
- type: cosine_accuracy@10
value: 0.6190476190476191
name: Cosine Accuracy@10
- type: cosine_precision@1
value: 0.42857142857142855
name: Cosine Precision@1
- type: cosine_precision@3
value: 0.42857142857142855
name: Cosine Precision@3
- type: cosine_precision@5
value: 0.42857142857142855
name: Cosine Precision@5
- type: cosine_precision@10
value: 0.3999999999999999
name: Cosine Precision@10
- type: cosine_recall@1
value: 0.053617216117216114
name: Cosine Recall@1
- type: cosine_recall@3
value: 0.16085164835164836
name: Cosine Recall@3
- type: cosine_recall@5
value: 0.27205433455433453
name: Cosine Recall@5
- type: cosine_recall@10
value: 0.5004578754578755
name: Cosine Recall@10
- type: cosine_ndcg@10
value: 0.51131642091388
name: Cosine Ndcg@10
- type: cosine_mrr@10
value: 0.45963718820861665
name: Cosine Mrr@10
- type: cosine_map@100
value: 0.5888462989137369
name: Cosine Map@100
multilingual_e5_large Finetuned on Data
This is a sentence-transformers model finetuned from intfloat/multilingual-e5-large. It maps sentences & paragraphs to a 1024-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: intfloat/multilingual-e5-large
- Maximum Sequence Length: 512 tokens
- Output Dimensionality: 1024 dimensions
- Similarity Function: Cosine Similarity
- Language: en
- License: apache-2.0
Model Sources
- Documentation: Sentence Transformers Documentation
- Repository: Sentence Transformers on GitHub
- Hugging Face: Sentence Transformers on Hugging Face
Full Model Architecture
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False, 'architecture': 'XLMRobertaModel'})
(1): Pooling({'word_embedding_dimension': 1024, '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()
)
Usage
Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("sentence_transformers_model_id")
# Run inference
sentences = [
'When is the time of commission of the fraud considered?',
'According to the provision of Article 386 paragraph 1 of the Greek Penal Code,\n\n"Whoever, with the intent to obtain for themselves or another an unlawful pecuniary benefit, causes damage to another’s property by persuading someone to act, omit, or tolerate something through the knowing misrepresentation of false facts as true, or through the unlawful concealment or suppression of true facts, shall be punished by imprisonment of at least three months, and if the damage caused is particularly large, by imprisonment of at least two years."\n\nFrom this provision it follows that, for the crime of fraud to be established, the following elements are required:\n\na) The intent of the perpetrator to obtain for themselves or another an unlawful pecuniary benefit, without it being necessary that the benefit actually materialize;\n\nb) The knowing misrepresentation of false facts as true, or the unlawful concealment or suppression of true facts, as a result of which—serving as the causal factor—someone is deceived and proceeds to an act, omission, or acquiescence that is detrimental to themselves or another; and\n\nc) Damage to another person’s property, as defined under civil law, which must be causally linked to the deceptive acts or omissions of the perpetrator. It is not required that the person deceived and the person who suffered the damage be the same individual.\n\nThe term “facts”, within the meaning of the above provision, refers to real circumstances relating to the past or present, and not to those that will occur in the future, such as mere promises or contractual obligations. However, when such promises or obligations are accompanied by false assurances and representations of other false facts referring to the present or the past, in such a manner as to create the impression of future fulfillment based on a false present situation fabricated by the perpetrator, who has already formed the decision not to fulfill their obligation, the crime of fraud is established.\n\nThe term “property” refers to the totality of a person’s economic assets that possess monetary value, while damage to property means its reduction—specifically, the difference between the monetary value the property had before the disposition caused by the fraudulent conduct and the value remaining after it. Property damage exists even if the victim possesses an active claim for restitution.\n\nThe time of commission of the fraud is considered to be the moment when the perpetrator acted and completed their fraudulent conduct, namely when they made the false representations that deceived the victim or a third party. Any subsequent moment at which the victim’s damage actually occurred—thereby completing the fraud—or the time when the victim carried out the harmful act or omission, is irrelevant.',
'Spear phishing targets specific individuals or employees within an organization using personalized, deceptive emails. Unlike mass phishing, these emails are crafted to seem familiar and urgent.\n\nScenarios:\n- CEO Fraud: Attackers impersonate executives to extract financial or sensitive data from employees.\n- Whaling: High-ranking executives are targeted using tailored fraud emails that press for immediate action without verification.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.6673, 0.4780],
# [0.6673, 1.0000, 0.4691],
# [0.4780, 0.4691, 1.0000]])
Evaluation
Metrics
Information Retrieval
- Dataset:
dim_1024 - Evaluated with
InformationRetrievalEvaluatorwith these parameters:{ "truncate_dim": 1024 }
| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.5238 |
| cosine_accuracy@3 | 0.5238 |
| cosine_accuracy@5 | 0.5714 |
| cosine_accuracy@10 | 0.6667 |
| cosine_precision@1 | 0.5238 |
| cosine_precision@3 | 0.5079 |
| cosine_precision@5 | 0.4762 |
| cosine_precision@10 | 0.4476 |
| cosine_recall@1 | 0.0893 |
| cosine_recall@3 | 0.2442 |
| cosine_recall@5 | 0.3395 |
| cosine_recall@10 | 0.5401 |
| cosine_ndcg@10 | 0.5921 |
| cosine_mrr@10 | 0.5481 |
| cosine_map@100 | 0.6742 |
Information Retrieval
- Dataset:
dim_768 - Evaluated with
InformationRetrievalEvaluatorwith these parameters:{ "truncate_dim": 768 }
| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.5238 |
| cosine_accuracy@3 | 0.5238 |
| cosine_accuracy@5 | 0.5714 |
| cosine_accuracy@10 | 0.6667 |
| cosine_precision@1 | 0.5238 |
| cosine_precision@3 | 0.5079 |
| cosine_precision@5 | 0.4762 |
| cosine_precision@10 | 0.4476 |
| cosine_recall@1 | 0.0893 |
| cosine_recall@3 | 0.2442 |
| cosine_recall@5 | 0.3395 |
| cosine_recall@10 | 0.5401 |
| cosine_ndcg@10 | 0.5921 |
| cosine_mrr@10 | 0.5481 |
| cosine_map@100 | 0.6742 |
Information Retrieval
- Dataset:
dim_512 - Evaluated with
InformationRetrievalEvaluatorwith these parameters:{ "truncate_dim": 512 }
| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.4762 |
| cosine_accuracy@3 | 0.4762 |
| cosine_accuracy@5 | 0.5714 |
| cosine_accuracy@10 | 0.619 |
| cosine_precision@1 | 0.4762 |
| cosine_precision@3 | 0.4603 |
| cosine_precision@5 | 0.4571 |
| cosine_precision@10 | 0.4238 |
| cosine_recall@1 | 0.0735 |
| cosine_recall@3 | 0.1966 |
| cosine_recall@5 | 0.3078 |
| cosine_recall@10 | 0.5203 |
| cosine_ndcg@10 | 0.5518 |
| cosine_mrr@10 | 0.502 |
| cosine_map@100 | 0.6266 |
Information Retrieval
- Dataset:
dim_256 - Evaluated with
InformationRetrievalEvaluatorwith these parameters:{ "truncate_dim": 256 }
| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.5238 |
| cosine_accuracy@3 | 0.5238 |
| cosine_accuracy@5 | 0.5714 |
| cosine_accuracy@10 | 0.619 |
| cosine_precision@1 | 0.5238 |
| cosine_precision@3 | 0.5079 |
| cosine_precision@5 | 0.4952 |
| cosine_precision@10 | 0.4238 |
| cosine_recall@1 | 0.0814 |
| cosine_recall@3 | 0.2204 |
| cosine_recall@5 | 0.3395 |
| cosine_recall@10 | 0.5203 |
| cosine_ndcg@10 | 0.5709 |
| cosine_mrr@10 | 0.5401 |
| cosine_map@100 | 0.6515 |
Information Retrieval
- Dataset:
dim_128 - Evaluated with
InformationRetrievalEvaluatorwith these parameters:{ "truncate_dim": 128 }
| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.5238 |
| cosine_accuracy@3 | 0.5238 |
| cosine_accuracy@5 | 0.5714 |
| cosine_accuracy@10 | 0.619 |
| cosine_precision@1 | 0.5238 |
| cosine_precision@3 | 0.5238 |
| cosine_precision@5 | 0.5048 |
| cosine_precision@10 | 0.4238 |
| cosine_recall@1 | 0.0735 |
| cosine_recall@3 | 0.2204 |
| cosine_recall@5 | 0.3475 |
| cosine_recall@10 | 0.5203 |
| cosine_ndcg@10 | 0.5685 |
| cosine_mrr@10 | 0.5401 |
| cosine_map@100 | 0.649 |
Information Retrieval
- Dataset:
dim_64 - Evaluated with
InformationRetrievalEvaluatorwith these parameters:{ "truncate_dim": 64 }
| Metric | Value |
|---|---|
| cosine_accuracy@1 | 0.4286 |
| cosine_accuracy@3 | 0.4286 |
| cosine_accuracy@5 | 0.4762 |
| cosine_accuracy@10 | 0.619 |
| cosine_precision@1 | 0.4286 |
| cosine_precision@3 | 0.4286 |
| cosine_precision@5 | 0.4286 |
| cosine_precision@10 | 0.4 |
| cosine_recall@1 | 0.0536 |
| cosine_recall@3 | 0.1609 |
| cosine_recall@5 | 0.2721 |
| cosine_recall@10 | 0.5005 |
| cosine_ndcg@10 | 0.5113 |
| cosine_mrr@10 | 0.4596 |
| cosine_map@100 | 0.5888 |
Training Details
Training Dataset
Unnamed Dataset
- Size: 82 training samples
- Columns:
anchorandpositive - Approximate statistics based on the first 82 samples:
anchor positive type string string details - min: 9 tokens
- mean: 18.17 tokens
- max: 34 tokens
- min: 69 tokens
- mean: 399.51 tokens
- max: 512 tokens
- Samples:
anchor positive What determines whether the act in question shall be punished if the offender is in the service of the legal holder of the data?Everyone who obtains access to data recorded in a computer or in the external memory of a computer or transmitted by telecommunication systems shall be punished with imprisonment for up to six months or by a fine from 29 to 15,000 Euro, under the condition that these acts have been committed without right, especially in violation of prohibitions or of security measures taken by the legal holder. If the act concerns the international relations or the security of the State, he shall be punished according to Article 148.
If the offender is in the service of the legal holder of the data, the act of the preceding paragraph shall be punished only if it has been explicitly prohibited by internal regulations or by a written decision of the holder or of a competent employee of his.What must be causally connected to the perpetrator's deceptive acts?According to Article 386 paragraph 1 of the Greek Penal Code,
"Whoever, with the intent to obtain for themselves or another an unlawful pecuniary benefit, causes damage to another’s property by persuading someone to act, omit, or tolerate something through the knowing misrepresentation of false facts as true, or through the unlawful concealment or suppression of true facts, shall be punished by imprisonment of at least three months, and if the damage caused is particularly large, by imprisonment of at least two years."
From these provisions, it follows that, for the crime of fraud to be established, the following elements are required:
a) The intent of the perpetrator to obtain for themselves or another an unlawful pecuniary benefit;
b) The knowing misrepresentation of false facts as true, or the unlawful concealment or suppression of true facts, as a result of which—serving as the causal factor—someone is deceived and proceeds to an act, omission, or acquiescence detrimental to th...Who can be punished with imprisonment?1. Anyone who, by knowingly presenting false facts as true or by unlawfully concealing or withholding true facts, damages another person's property by persuading someone to act, omission, or tolerance with the aim of obtaining, for themselves or another, an unlawful financial gain from the damage to that property shall be punished with imprisonment, "and if the damage caused is particularly great, with imprisonment of at least three (3) months and a fine." .
If the damage caused exceeds a total of one hundred and twenty thousand (120,000) euros, imprisonment of up to ten (10) years and a fine shall be imposed.
2. If the fraud is directed directly against the legal entity of the Greek State, legal entities governed by public law, or local government organizations, and the damage caused exceeds a total of one hundred and twenty thousand (120,000) euros, a prison sentence of at least ten (10) years and a fine of up to one thousand (1,000) daily units shall be imposed. This offense shall b... - Loss:
MatryoshkaLosswith these parameters:{ "loss": "MultipleNegativesRankingLoss", "matryoshka_dims": [ 1024, 768, 512, 256, 128, 64 ], "matryoshka_weights": [ 1, 1, 1, 1, 1, 1 ], "n_dims_per_step": -1 }
Training Hyperparameters
Non-Default Hyperparameters
eval_strategy: epochgradient_accumulation_steps: 2learning_rate: 2e-05num_train_epochs: 10lr_scheduler_type: cosinewarmup_ratio: 0.1bf16: Truetf32: Trueload_best_model_at_end: Trueoptim: adamw_torch_fusedbatch_sampler: no_duplicates
All Hyperparameters
Click to expand
overwrite_output_dir: Falsedo_predict: Falseeval_strategy: epochprediction_loss_only: Trueper_device_train_batch_size: 8per_device_eval_batch_size: 8per_gpu_train_batch_size: Noneper_gpu_eval_batch_size: Nonegradient_accumulation_steps: 2eval_accumulation_steps: Nonetorch_empty_cache_steps: Nonelearning_rate: 2e-05weight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08max_grad_norm: 1.0num_train_epochs: 10max_steps: -1lr_scheduler_type: cosinelr_scheduler_kwargs: {}warmup_ratio: 0.1warmup_steps: 0log_level: passivelog_level_replica: warninglog_on_each_node: Truelogging_nan_inf_filter: Truesave_safetensors: Truesave_on_each_node: Falsesave_only_model: Falserestore_callback_states_from_checkpoint: Falseno_cuda: Falseuse_cpu: Falseuse_mps_device: Falseseed: 42data_seed: Nonejit_mode_eval: Falseuse_ipex: Falsebf16: Truefp16: Falsefp16_opt_level: O1half_precision_backend: autobf16_full_eval: Falsefp16_full_eval: Falsetf32: Truelocal_rank: 0ddp_backend: Nonetpu_num_cores: Nonetpu_metrics_debug: Falsedebug: []dataloader_drop_last: Falsedataloader_num_workers: 0dataloader_prefetch_factor: Nonepast_index: -1disable_tqdm: Falseremove_unused_columns: Truelabel_names: Noneload_best_model_at_end: Trueignore_data_skip: Falsefsdp: []fsdp_min_num_params: 0fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}tp_size: 0fsdp_transformer_layer_cls_to_wrap: Noneaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}deepspeed: Nonelabel_smoothing_factor: 0.0optim: adamw_torch_fusedoptim_args: Noneadafactor: Falsegroup_by_length: Falselength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falsedataloader_pin_memory: Truedataloader_persistent_workers: Falseskip_memory_metrics: Trueuse_legacy_prediction_loop: Falsepush_to_hub: Falseresume_from_checkpoint: Nonehub_model_id: Nonehub_strategy: every_savehub_private_repo: Nonehub_always_push: Falsegradient_checkpointing: Falsegradient_checkpointing_kwargs: Noneinclude_inputs_for_metrics: Falseinclude_for_metrics: []eval_do_concat_batches: Truefp16_backend: autopush_to_hub_model_id: Nonepush_to_hub_organization: Nonemp_parameters:auto_find_batch_size: Falsefull_determinism: Falsetorchdynamo: Noneray_scope: lastddp_timeout: 1800torch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneinclude_tokens_per_second: Falseinclude_num_input_tokens_seen: Falseneftune_noise_alpha: Noneoptim_target_modules: Nonebatch_eval_metrics: Falseeval_on_start: Falseuse_liger_kernel: Falseeval_use_gather_object: Falseaverage_tokens_across_devices: Falseprompts: Nonebatch_sampler: no_duplicatesmulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}
Training Logs
| Epoch | Step | Training Loss | dim_1024_cosine_ndcg@10 | dim_768_cosine_ndcg@10 | dim_512_cosine_ndcg@10 | dim_256_cosine_ndcg@10 | dim_128_cosine_ndcg@10 | dim_64_cosine_ndcg@10 |
|---|---|---|---|---|---|---|---|---|
| 0.1818 | 1 | 18.029 | - | - | - | - | - | - |
| 0.3636 | 2 | 19.4106 | - | - | - | - | - | - |
| 0.5455 | 3 | 16.6201 | - | - | - | - | - | - |
| 0.7273 | 4 | 15.3048 | - | - | - | - | - | - |
| 0.9091 | 5 | 14.0182 | - | - | - | - | - | - |
| 1.0 | 6 | 6.4771 | - | - | - | - | - | - |
| 1.0909 | 7 | 6.7664 | 0.6167 | 0.5821 | 0.5524 | 0.5177 | 0.5278 | 0.4124 |
| 1.1818 | 8 | 11.8583 | - | - | - | - | - | - |
| 1.3636 | 9 | 11.9216 | - | - | - | - | - | - |
| 1.5455 | 10 | 13.3764 | - | - | - | - | - | - |
| 1.7273 | 11 | 12.9063 | - | - | - | - | - | - |
| 1.9091 | 12 | 13.5984 | - | - | - | - | - | - |
| 2.0 | 13 | 7.8523 | - | - | - | - | - | - |
| 2.0909 | 14 | 4.4487 | 0.5921 | 0.5921 | 0.5518 | 0.5709 | 0.5685 | 0.5113 |
Framework Versions
- Python: 3.12.12
- Sentence Transformers: 5.1.1
- Transformers: 4.51.3
- PyTorch: 2.8.0+cu126
- Accelerate: 1.11.0
- Datasets: 4.0.0
- Tokenizers: 0.21.4
Citation
BibTeX
Sentence Transformers
@inproceedings{reimers-2019-sentence-bert,
title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
author = "Reimers, Nils and Gurevych, Iryna",
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
month = "11",
year = "2019",
publisher = "Association for Computational Linguistics",
url = "https://arxiv.org/abs/1908.10084",
}
MatryoshkaLoss
@misc{kusupati2024matryoshka,
title={Matryoshka Representation Learning},
author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
year={2024},
eprint={2205.13147},
archivePrefix={arXiv},
primaryClass={cs.LG}
}
MultipleNegativesRankingLoss
@misc{henderson2017efficient,
title={Efficient Natural Language Response Suggestion for Smart Reply},
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},
year={2017},
eprint={1705.00652},
archivePrefix={arXiv},
primaryClass={cs.CL}
}