Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
floriancafiero authored Dec 18, 2024
1 parent 6330a48 commit 5d13c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ python train_svm.py data/feats_tests_train.csv --test_path unseen.csv --norms --
If you have generated samples in a rolling fashion (using `--sampling` in `load_corpus.py`), you can visualize how author predictions evolve across consecutive text segments. For example:

```bash
# Creating rolling samples (e.g., 1000-word segments)
# e.g., with 1000 word segments
python load_corpus.py -s data/long_text/*.txt -t chars -n 3 -o rolling_train --sampling --units words --sample_size 1000
python load_corpus.py -s data/long_text_to_predict/*.txt -t chars -n 3 -o rolling_unknown -f rolling_train_feats.json --sampling --units words --sample_size 1000

Expand Down

0 comments on commit 5d13c7f

Please sign in to comment.