CoolFace
Modelpublic

trollek/setfit-gibberish-detector

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes20downloads
Model Card

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)

python
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