-
Notifications
You must be signed in to change notification settings - Fork 50
Example on README did not work #311
Comments
I found a similar example in the $ python examples/scoring.py
Traceback (most recent call last):
File "examples/scoring.py", line 5, in <module>
with open("models/enwiki.damaging.linear_svc.model") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'models/enwiki.damaging.linear_svc.model' cc: @batpad |
Good questions! So this example doesn't work, that's right. We'd need to rebuild a model and keep it in sync with the repository in order for this to continue to work as intended. This is hard because I see two good options here:
For (1), this might make sense because this repository doesn't store up-to-date models. For (2), we'll have the problem that you can't really train a model in < 10 lines of code in any useful way. See https://github.com/wiki-ai/editquality for an example of repository that does store models that are sync'd to a version of this library. |
I know that a repository has trained models when the |
We'd like to use git-lfs for this, but our internal infra doesn't support it :( |
Is there any > 10 lines example available? |
This is essentially the same as https://phabricator.wikimedia.org/T250635. See also #486. |
Example on README
Error message
I am 🤔 what should be done to get the example working.
cc: @halfak @geohacker
The text was updated successfully, but these errors were encountered: