-
Notifications
You must be signed in to change notification settings - Fork 434
changes to eval cli : option to eval on entire dataset #310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I'm also wondering if it's just possible to achieve the same behavior using |
I see what you mean Jeffrey! @ArshdeepSekhon can you add one more thing: a check to make sure both arguments aren't set? Like if someone calls `textattack eval --num-examples=50 --test-on-full-dataset we should throw an error bc we don't know which one to do. Btw @jinyongyoo I think if we switched to click or another command-line package we'd have better support for this type of thing! |
small typo in the Update 0_End_to_End.ipynb (3 epochs not 5)
black conf.py
(one manually selected, one autodoc-generated)
add sphinx autodoc generated rest
major docstring clean up / plus reorganize the folder structure under docs
with black
a major shift to rst files generated by sphinx-apidoc
The previous link https://github.com/QData/TextAttack/blob/master/docs/quickstart/installation.rst doesn't work anymore.
Installation link fix
Signed-off-by: Opdoop <[email protected]>
Signed-off-by: Opdoop <[email protected]>
Add chinese version of readme
|
@ArshdeepSekhon I will close this since you merge similar changes to the #324 |
custom embeddings
|
In the end, how to eval on entire dataset?
Sadly, none of the above works. |
|
@Opdoop we put this on hold due to final exams.. will update in a week |
|
Added |
|
@Opdoop please try now! |
|
@qiyanjun Success with One thing I want to confirm, the |
|
… On Nov 28, 2020, at 07:45, Opdoop ***@***.***> wrote:
@qiyanjun Success with --num-examples -1
log:
textattack eval --model lstm-imdb --num-examples -1
textattack: train_args.json not found in model path models/classification/lstm/imdb. Defaulting to 2 labels.
textattack: Loading pre-trained TextAttack LSTM: lstm-imdb
Reusing dataset imdb (/home/nano/.cache/huggingface/datasets/imdb/plain_text/1.0.0/90099cb476936b753383ba2ae6ab2eae419b2e87f71cd5189cb9c8e5814d12a3)
textattack: Loading datasets dataset imdb, split test.
textattack: Got 25000 predictions.
textattack: Successes 20535/25000 (82.14%)
One thing I want to confirm, the Successes here means classification result on normal test/val set. Thus the accuracy of the available model lstm-imdb here is 82.14%. Is this correct?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
Is it possible to rebase this on the master branch and clean up the commits? Seems like we have way too many commits (169!) coming from master. |
|
Nvm didn't see that this PR was already merged. |
|
@jinyongyoo i wondered that too.. @jinyongyoo @ArshdeepSekhon is it because this is way behind master branch? |
|
@jinyongyoo i merged it because the request functions are in. And all tests pass. Should we revert? |
|
@qiyanjun Em... I have seen this doc before. |
|
@qiyanjun Yes this was behind, I rebased it to master |
|
Good call. Let me clean the mentions.
… On Nov 28, 2020, at 08:18, Opdoop ***@***.***> wrote:
@qiyanjun Em... I have seen this doc before. Succesees and Accuracy looks confusing to me. So I just want to confirm these two means the same.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
No description provided.