Views
No views yet
1from transformers import pipeline
2
3classifier = pipeline("text-classification", model="thestalwart/satoshi-stylometry")
4result = classifier("The proof-of-work chain is the solution to the synchronization problem.")
5print(result)
6# [{'label': 'satoshi', 'score': 0.99}]