We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
there is no any dataset in OpenAttack.DataManager.AVAILABLE_DATAS:
OpenAttack.DataManager.AVAILABLE_DATAS
['AttackAssist.ChineseWord2Vec', 'AttackAssist.CiLin', 'AttackAssist.CounterFit', 'AttackAssist.DCES', 'AttackAssist.FYH', 'AttackAssist.GAN', 'AttackAssist.GloVe', 'AttackAssist.HowNet', 'AttackAssist.HownetSubstituteDict', 'TProcess.NLTKPerceptronPosTagger', 'TProcess.NLTKSentTokenizer', 'TProcess.NLTKWordNet', 'TProcess.NLTKWordNetDelemma', 'AttackAssist.SCPN', 'AttackAssist.SentenceTransformer', 'AttackAssist.SGAN', 'AttackAssist.SIM', 'TProcess.StanfordNER', 'TProcess.StanfordParser', 'test', 'AttackAssist.TranslationModels', 'AttackAssist.UniversalSentenceEncoder', 'Victim.ALBERT.AG', 'Victim.ALBERT.IMDB', 'Victim.ALBERT.MNLI', 'Victim.ALBERT.SNLI', 'Victim.ALBERT.SST', 'Victim.BERT.SST', 'Victim.BERT.AMAZON_ZH', 'Victim.BERT.MNLI', 'Victim.BERT.SNLI', 'Victim.BiLSTM.SST', 'Victim.BiLSTM.IMDB', 'Victim.ROBERTA.AG', 'Victim.ROBERTA.IMDB', 'Victim.ROBERTA.MNLI', 'Victim.ROBERTA.SNLI', 'Victim.ROBERTA.SST', 'Victim.XLNET.AG', 'Victim.XLNET.IMDB', 'Victim.XLNET.MNLI', 'Victim.XLNET.SNLI', 'Victim.XLNET.SST', 'AttackAssist.Word2Vec']
and dataset cannot be loaded manually since Dataset and DataInstance are removed
Is there any other way to load custom dataset?
The text was updated successfully, but these errors were encountered:
After OpenAttack 2, we use thedatasets library to load datasets. Here is an example, see examples/custom_dataset.py.
datasets
examples/custom_dataset.py
Sorry, something went wrong.
No branches or pull requests
there is no any dataset in
OpenAttack.DataManager.AVAILABLE_DATAS
:and dataset cannot be loaded manually since Dataset and DataInstance are removed
Is there any other way to load custom dataset?
The text was updated successfully, but these errors were encountered: