Compare commits

..

No commits in common. "e4eb322aa7e0e134ddbced6aa38970820a44f60b" and "b3e6a13e65caf82b841b5078aa9cc26027b8d49b" have entirely different histories.

View File

@ -18,6 +18,13 @@ This will prompt for a string and classify it, then print (in JSON) a dict of
the format `{category: probability, category:probability, ...}` to stdout. (For
information about `-n <max_ngram_length>`, see section "Ngrams.")
Alternatively, if you only need the most likely category, you can use this:
gptc classify [-n <max_ngram_length>] <-c|--category> <compiled model file>
This will prompt for a string and classify it, outputting the category on
stdout (or "None" if it cannot determine anything).
### Checking individual words or ngrams
gptc check <compiled model file> <token or ngram>