mrshu commited on
Commit
de9fab4
1 Parent(s): cbe038b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -38,6 +38,16 @@ To train the model, use:
38
  ./fasttext supervised -input train.ft.txt -output model_amzn
39
  ```
40
 
 
 
 
 
 
 
 
 
 
 
41
  ## Acknowledgments
42
 
43
  Dataset obtained from https://www.kaggle.com/datasets/bittlingmayer/amazonreviews/data
 
38
  ./fasttext supervised -input train.ft.txt -output model_amzn
39
  ```
40
 
41
+ This should take a few minutes.
42
+
43
+ To test:
44
+
45
+ ```bash
46
+ ./fasttext test model_amzn.bin test.ft.txt
47
+ ```
48
+
49
+ Expect precision and recall of 0.916 if all is in order.
50
+
51
  ## Acknowledgments
52
 
53
  Dataset obtained from https://www.kaggle.com/datasets/bittlingmayer/amazonreviews/data