The Anchovy Clickbait Detector by https://www.linkedin.com/in/alessandromacagno/ written in Python 3
Usage
- Download training data: https://www.clickbait-challenge.org/#data and copy to /data and eval.py
- git clone https://github.com/tira-io/anchovy
- cd anchovy
- pip install all dependencies
- python3 train.py. You can edit flags in utils.py
- python3 test.py -i test_data -o output
- python3 eval.py test_data/truth.jsonl ./output/results.jsonl output.prototext
If you don't have locally your test data and you want to evaluate on http://www.tira.io/.
- ask for a Tira.io account to martin.potthast@uni-leipzig.de
- ssh @ -p
- git clone, cd etc.
- scp -P -r data/runs/* @:anchovy/data/runs
- Go to tira.io page and submit first program python3 anchovy/test.py -i $inputDataset -o $outputDir. Run it
- Wait for approval and see your results