Downloads · 30 days
76
15% of all-time downloads
trentmkelly/gte-tiny-llm-family-stylometry
gte-tiny-llm-family-stylometry is a sentence similarity model from trentmkelly. Use it when you need a score for how close two texts are. It is set up for sentence-transformers.
This is a 22.7M-parameter, 384-dimensional SentenceTransformers model fine-tuned to place English essays with similar authorship and model-family style near one another in embedding space.
Downloads · 30 days
76
15% of all-time downloads
All-time downloads
504
Public
Parameters
22.7M
90.9 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors90.9 MB · 99%
From the Hugging Face model README
This is a 22.7M-parameter, 384-dimensional SentenceTransformers model fine-tuned to place English essays with similar authorship and model-family style near one another in embedding space.
It is intended for exploratory analysis of aggregate stylistic geometry: clustering batches of model outputs, comparing family centroids, and studying changes in writing style. It is not an AI-text detector, and similarity to a model family is not proof of distillation, training-data provenance, or model identity.
TaylorAI/gte-tinyThe upstream TaylorAI/gte-tiny repository does not currently declare a license in its Hub metadata. Accordingly, this repository does not assert a new license over the upstream-derived weights.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("trentmkelly/gte-tiny-llm-family-stylometry")
texts = [
"First essay or model response...",
"Second essay or model response...",
]
embeddings = model.encode(
texts,
normalize_embeddings=True,
batch_size=64,
)
cosine_similarity = embeddings @ embeddings.T
For comparisons across model families, use multiple content-matched samples per family and compare centroids in the original embedding space. Dimensionality reductions such as PCA or UMAP are useful visualizations but should not be treated as distance metrics.
On an internal held-out essay-pair evaluation, the final checkpoint obtained:
| Metric | Value |
|---|---|
| Average precision | 0.9724 |
| F1 | 0.9403 |
| Accuracy | 0.9377 |
| Precision | 0.9023 |
| Recall | 0.9817 |
The accuracy/F1 figures use a threshold selected on the same internal evaluation output and should not be interpreted as performance on an independent public benchmark. The full training/evaluation record is included as training_metrics.json.
The checkpoint was saved with:
sentence-transformers==3.3.1transformers==4.57.0torch==2.4.1+cu121Newer SentenceTransformers releases should load the standard model layout, but the versions above reproduce the original environment most closely.