Skip to main content

SPOT

Spot spots LLM-based texts

Use this repo

conda create -n spot python=3.8 --y
conda activate spot

poetry install

Installation

poetry add spot

Usage

from spot import MistralSpotter

s = MistralSpotter("YourHuggingfaceToken")

s.is_human("""The wide acceptance of large language models (LLMs) has unlocked new applica-
tions and social risks. Popular countermeasures aim at detecting misinformation,
usually involve domain specific models trained to recognize the relevance of any
information. Instead of evaluating the validity of the information, we propose to
investigate LLM generated text from the perspective of trust. In this study, we
define trust as the ability to know if an input text was generated by a LLM or a
human. To do so, we design SPOT, an efficient method, that classifies the source
of any, standalone, text input based on originality score. This score is derived from
the prediction of a given LLM to detect other LLMs. We empirically demonstrate
the robustness of the method to the architecture, training data, evaluation data, task
and compression of modern LLMs.""") # => true
from spot import Opt125Spotter

s = Opt125Spotter()

s.is_human("""The wide acceptance of large language models (LLMs) has unlocked new applica-
tions and social risks. Popular countermeasures aim at detecting misinformation,
usually involve domain specific models trained to recognize the relevance of any
information. Instead of evaluating the validity of the information, we propose to
investigate LLM generated text from the perspective of trust. In this study, we
define trust as the ability to know if an input text was generated by a LLM or a
human. To do so, we design SPOT, an efficient method, that classifies the source
of any, standalone, text input based on originality score. This score is derived from
the prediction of a given LLM to detect other LLMs. We empirically demonstrate
the robustness of the method to the architecture, training data, evaluation data, task
and compression of modern LLMs.""") # => true

Metadata

Release files for spot-llm 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spot-llm 0.4.0
File Size Uploaded Provenance
spot_llm-0.4.0.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for spot-llm 0.4.0
File Interpreter ABI Platform
spot_llm-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / spot_llm-0.4.0.tar.gz

Download URL spot_llm-0.4.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
40f361d9d1b8824e8016737505fe839c1fcaee47cc2fc55a6954598881fe35c3
BLAKE2b-256 checksum
How to use checksums
6eee3d09dc95f5edb7762a94c40793a99b33c08afdb193e303aa5618aeecbda9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.8.19 Linux/5.15.154+

Release files / spot_llm-0.4.0-py3-none-any.whl

Download URL spot_llm-0.4.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
830ddd9e6f3a478fe847f33f4c71c4a5a51795d9492d8d8aec830ef413c8bdd0
BLAKE2b-256 checksum
How to use checksums
5746d4b5753aaf57c48b5e705b7845f2fcf9551ac32a43fff94f34d71df2f818
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.8.19 Linux/5.15.154+

Security for spot-llm 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page