Downloads · 30 days
29
4% of all-time downloads
trollek/setfit-gibberish-detector
setfit-gibberish-detector is a text classification model from trollek. Use it when you need a label for a piece of text. It is set up for sentence-transformers.
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/a…
Downloads · 30 days
29
4% of all-time downloads
All-time downloads
783
Public
Parameters
22.7M
967 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors90.9 MB · 99%
From the Hugging Face model README
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.
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