metadata
pipeline_tag: text-classification
tags:
- sentence-transformers
- transformers
language:
- en
licence:
- apache-2.0
SetFit-caesar-cipher-classifier
Made to detect whether or not text is gibberish for bruteforcing Caesar ciphers. It did not work anymore, and SetFit has been updated since. I used version 1.1.0 to train this classifier on the sentence-transformers/all-MiniLM-L6-v2 model.
Usage (SetFitModel)
from setfit import SetFitModel
sentences = ["This is an example sentence", "Each sentence is tested", "Aopz pz hu lehtwsl zlualujl", "Rnpu fragrapr vf grfgrq"]
model = SetFitModel.from_pretrained("trollek/setfit-gibberish-detector")
for sentence in sentences:
classification = model.predict(sentence)
print(classification)
# clear
# clear
# gibberish
# gibberish