trollek commited on
Commit
f84adec
·
verified ·
1 Parent(s): 0221775

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -10
README.md CHANGED
@@ -10,14 +10,11 @@ licence:
10
  ---
11
  # SetFit-caesar-cipher-classifier
12
 
13
- Made to detect whether or not text is gibberish.
14
 
15
  ## Usage (SetFitModel)
16
- Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) and [SetFit](https://github.com/huggingface/setfit) installed:
17
- ```
18
- pip install -U sentence-transformers setfit
19
- ```
20
- Then you can use the model like this:
21
  ```python
22
  from setfit import SetFitModel
23
  sentences = ["This is an example sentence", "Each sentence is tested", "Aopz pz hu lehtwsl zlualujl", "Rnpu fragrapr vf grfgrq"]
@@ -30,7 +27,4 @@ for sentence in sentences:
30
  # clear
31
  # gibberish
32
  # gibberish
33
- ```
34
-
35
-
36
- It would presumably work on Enigma encrypted text, but tests would have to be done. Anyway, the model has proven pretty reliable (99%) in classifying english and danish sentences.
 
10
  ---
11
  # SetFit-caesar-cipher-classifier
12
 
13
+ Made to detect whether or not text is gibberish. 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](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) model.
14
 
15
  ## Usage (SetFitModel)
16
+
17
+
 
 
 
18
  ```python
19
  from setfit import SetFitModel
20
  sentences = ["This is an example sentence", "Each sentence is tested", "Aopz pz hu lehtwsl zlualujl", "Rnpu fragrapr vf grfgrq"]
 
27
  # clear
28
  # gibberish
29
  # gibberish
30
+ ```