File size: 1,391 Bytes
8fc59fd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | ---
language: en
license: mit
tags:
- stylometry
- authorship-attribution
- bitcoin
- satoshi-nakamoto
- text-classification
pipeline_tag: text-classification
datasets:
- custom
metrics:
- accuracy
- f1
model-index:
- name: satoshi-stylometry
results:
- task:
type: text-classification
name: Authorship Attribution
metrics:
- name: Accuracy
type: accuracy
value: 0.991
- name: F1
type: f1
value: 0.983
---
# Satoshi Stylometry
A ModernBERT-base model fine-tuned to detect Satoshi Nakamoto's writing style.
## Usage
```python
from transformers import pipeline
classifier = pipeline("text-classification", model="thestalwart/satoshi-stylometry")
result = classifier("The proof-of-work chain is the solution to the synchronization problem.")
print(result)
# [{'label': 'satoshi', 'score': 0.99}]
```
## Training Data
- **572 Satoshi writings**: BitcoinTalk posts, cryptography mailing list emails, P2P Foundation posts
- **1,546 non-Satoshi writings**: Same era cryptography mailing list and BitcoinTalk forum posts
## Results
99.1% accuracy on 350 held-out texts (97.8% Satoshi recall, 99.6% non-Satoshi recall).
## Links
- [Demo Space](https://huggingface.co/spaces/thestalwart/satoshi-stylometry)
- [GitHub](https://github.com/jnathan9/satoshi-stylometry)
|