This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
fastNLP
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
13
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
把测试文件夹 test 改名为 tests
tags/v1.0.0alpha
willqvq
3 years ago
parent
c49c849aee
commit
fc8f8f6913
100 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
.Jenkinsfile
+1
-1
.travis.yml
+1
-1
MANIFEST.in
+0
-0
tests/__init__.py
+0
-0
tests/core/__init__.py
+0
-0
tests/core/test_batch.py
+0
-0
tests/core/test_callbacks.py
+0
-0
tests/core/test_dataset.py
+0
-0
tests/core/test_dist_trainer.py
+0
-0
tests/core/test_field.py
+0
-0
tests/core/test_instance.py
+0
-0
tests/core/test_logger.py
+0
-0
tests/core/test_loss.py
+0
-0
tests/core/test_metrics.py
+0
-0
tests/core/test_optimizer.py
+0
-0
tests/core/test_predictor.py
+0
-0
tests/core/test_sampler.py
+0
-0
tests/core/test_tester.py
+0
-0
tests/core/test_trainer.py
+0
-0
tests/core/test_utils.py
+0
-0
tests/core/test_vocabulary.py
+0
-0
tests/data_for_tests/config
+0
-0
tests/data_for_tests/conll_2003_example.txt
+0
-0
tests/data_for_tests/conll_example.txt
+0
-0
tests/data_for_tests/cws_pku_utf_8
+0
-0
tests/data_for_tests/cws_test
+0
-0
tests/data_for_tests/cws_train
+0
-0
tests/data_for_tests/embedding/small_bert/config.json
+0
-0
tests/data_for_tests/embedding/small_bert/small_pytorch_model.bin
+0
-0
tests/data_for_tests/embedding/small_bert/vocab.txt
+0
-0
tests/data_for_tests/embedding/small_elmo/char.dic
+0
-0
tests/data_for_tests/embedding/small_elmo/elmo_1x16_16_32cnn_1xhighway_options.json
+0
-0
tests/data_for_tests/embedding/small_elmo/elmo_mini_for_testing.pkl
+0
-0
tests/data_for_tests/embedding/small_gpt2/config.json
+0
-0
tests/data_for_tests/embedding/small_gpt2/merges.txt
+0
-0
tests/data_for_tests/embedding/small_gpt2/small_pytorch_model.bin
+0
-0
tests/data_for_tests/embedding/small_gpt2/vocab.json
+0
-0
tests/data_for_tests/embedding/small_roberta/config.json
+0
-0
tests/data_for_tests/embedding/small_roberta/merges.txt
+0
-0
tests/data_for_tests/embedding/small_roberta/small_pytorch_model.bin
+0
-0
tests/data_for_tests/embedding/small_roberta/vocab.json
+0
-0
tests/data_for_tests/embedding/small_static_embedding/glove.6B.50d_test.txt
+0
-0
tests/data_for_tests/embedding/small_static_embedding/word2vec_test.txt
+0
-0
tests/data_for_tests/io/BQCorpus/dev.txt
+0
-0
tests/data_for_tests/io/BQCorpus/test.txt
+0
-0
tests/data_for_tests/io/BQCorpus/train.txt
+0
-0
tests/data_for_tests/io/ChnSentiCorp/dev.txt
+0
-0
tests/data_for_tests/io/ChnSentiCorp/test.txt
+0
-0
tests/data_for_tests/io/ChnSentiCorp/train.txt
+0
-0
tests/data_for_tests/io/LCQMC/dev.txt
+0
-0
tests/data_for_tests/io/LCQMC/test.txt
+0
-0
tests/data_for_tests/io/LCQMC/train.txt
+0
-0
tests/data_for_tests/io/MNLI/dev_matched.tsv
+0
-0
tests/data_for_tests/io/MNLI/dev_mismatched.tsv
+0
-0
tests/data_for_tests/io/MNLI/test_matched.tsv
+0
-0
tests/data_for_tests/io/MNLI/test_mismatched.tsv
+0
-0
tests/data_for_tests/io/MNLI/train.tsv
+0
-0
tests/data_for_tests/io/MSRA_NER/dev.conll
+0
-0
tests/data_for_tests/io/MSRA_NER/test.conll
+0
-0
tests/data_for_tests/io/MSRA_NER/train.conll
+0
-0
tests/data_for_tests/io/OntoNotes/dev.txt
+0
-0
tests/data_for_tests/io/OntoNotes/test.txt
+0
-0
tests/data_for_tests/io/OntoNotes/train.txt
+0
-0
tests/data_for_tests/io/QNLI/dev.tsv
+0
-0
tests/data_for_tests/io/QNLI/test.tsv
+0
-0
tests/data_for_tests/io/QNLI/train.tsv
+0
-0
tests/data_for_tests/io/Quora/dev.tsv
+0
-0
tests/data_for_tests/io/Quora/test.tsv
+0
-0
tests/data_for_tests/io/Quora/train.tsv
+0
-0
tests/data_for_tests/io/RTE/dev.tsv
+0
-0
tests/data_for_tests/io/RTE/test.tsv
+0
-0
tests/data_for_tests/io/RTE/train.tsv
+0
-0
tests/data_for_tests/io/SNLI/snli_1.0_dev.jsonl
+0
-0
tests/data_for_tests/io/SNLI/snli_1.0_test.jsonl
+0
-0
tests/data_for_tests/io/SNLI/snli_1.0_train.jsonl
+0
-0
tests/data_for_tests/io/SST-2/dev.tsv
+0
-0
tests/data_for_tests/io/SST-2/test.tsv
+0
-0
tests/data_for_tests/io/SST-2/train.tsv
+0
-0
tests/data_for_tests/io/SST/dev.txt
+0
-0
tests/data_for_tests/io/SST/test.txt
+0
-0
tests/data_for_tests/io/SST/train.txt
+0
-0
tests/data_for_tests/io/THUCNews/dev.txt
+0
-0
tests/data_for_tests/io/THUCNews/test.txt
+0
-0
tests/data_for_tests/io/THUCNews/train.txt
+0
-0
tests/data_for_tests/io/WeiboSenti100k/dev.txt
+0
-0
tests/data_for_tests/io/WeiboSenti100k/test.txt
+0
-0
tests/data_for_tests/io/WeiboSenti100k/train.txt
+0
-0
tests/data_for_tests/io/XNLI/dev.txt
+0
-0
tests/data_for_tests/io/XNLI/test.txt
+0
-0
tests/data_for_tests/io/XNLI/train.txt
+0
-0
tests/data_for_tests/io/ag/test.csv
+0
-0
tests/data_for_tests/io/ag/train.csv
+0
-0
tests/data_for_tests/io/cmrc/dev.json
+0
-0
tests/data_for_tests/io/cmrc/train.json
+0
-0
tests/data_for_tests/io/cnndm/dev.label.jsonl
+0
-0
tests/data_for_tests/io/cnndm/test.label.jsonl
+0
-0
tests/data_for_tests/io/cnndm/train.cnndm.jsonl
+0
-0
tests/data_for_tests/io/cnndm/vocab
+0
-0
tests/data_for_tests/io/conll2003/dev.txt
+0
-0
tests/data_for_tests/io/conll2003/test.txt
+ 1
- 1
.Jenkinsfile
View File
@@ -29,7 +29,7 @@ pipeline {
steps {
sh 'python -m spacy download en'
sh 'pip install fitlog'
sh 'pytest ./test --html=test_results.html --self-contained-html'
sh 'pytest ./test
s
--html=test_results.html --self-contained-html'
}
}
}
+ 1
- 1
.travis.yml
View File
@@ -14,7 +14,7 @@ install:
# command to run tests
script:
- python -m spacy download en
- pytest --cov=fastNLP test/
- pytest --cov=fastNLP test
s
/
after_success:
- bash <(curl -s https://codecov.io/bash)
+ 1
- 1
MANIFEST.in
View File
@@ -1,7 +1,7 @@
include requirements.txt
include LICENSE
include README.md
prune test/
prune test
s
/
prune reproduction/
prune fastNLP/api
prune fastNLP/automl
test/__init__.py → tests/__init__.py
View File
test/core/__init__.py → tests/core/__init__.py
View File
test/core/test_batch.py → tests/core/test_batch.py
View File
test/core/test_callbacks.py → tests/core/test_callbacks.py
View File
test/core/test_dataset.py → tests/core/test_dataset.py
View File
test/core/test_dist_trainer.py → tests/core/test_dist_trainer.py
View File
test/core/test_field.py → tests/core/test_field.py
View File
test/core/test_instance.py → tests/core/test_instance.py
View File
test/core/test_logger.py → tests/core/test_logger.py
View File
test/core/test_loss.py → tests/core/test_loss.py
View File
test/core/test_metrics.py → tests/core/test_metrics.py
View File
test/core/test_optimizer.py → tests/core/test_optimizer.py
View File
test/core/test_predictor.py → tests/core/test_predictor.py
View File
test/core/test_sampler.py → tests/core/test_sampler.py
View File
test/core/test_tester.py → tests/core/test_tester.py
View File
test/core/test_trainer.py → tests/core/test_trainer.py
View File
test/core/test_utils.py → tests/core/test_utils.py
View File
test/core/test_vocabulary.py → tests/core/test_vocabulary.py
View File
test/data_for_tests/config → tests/data_for_tests/config
View File
test/data_for_tests/conll_2003_example.txt → tests/data_for_tests/conll_2003_example.txt
View File
test/data_for_tests/conll_example.txt → tests/data_for_tests/conll_example.txt
View File
test/data_for_tests/cws_pku_utf_8 → tests/data_for_tests/cws_pku_utf_8
View File
test/data_for_tests/cws_test → tests/data_for_tests/cws_test
View File
test/data_for_tests/cws_train → tests/data_for_tests/cws_train
View File
test/data_for_tests/embedding/small_bert/config.json → tests/data_for_tests/embedding/small_bert/config.json
View File
test/data_for_tests/embedding/small_bert/small_pytorch_model.bin → tests/data_for_tests/embedding/small_bert/small_pytorch_model.bin
View File
test/data_for_tests/embedding/small_bert/vocab.txt → tests/data_for_tests/embedding/small_bert/vocab.txt
View File
test/data_for_tests/embedding/small_elmo/char.dic → tests/data_for_tests/embedding/small_elmo/char.dic
View File
test/data_for_tests/embedding/small_elmo/elmo_1x16_16_32cnn_1xhighway_options.json → tests/data_for_tests/embedding/small_elmo/elmo_1x16_16_32cnn_1xhighway_options.json
View File
test/data_for_tests/embedding/small_elmo/elmo_mini_for_testing.pkl → tests/data_for_tests/embedding/small_elmo/elmo_mini_for_testing.pkl
View File
test/data_for_tests/embedding/small_gpt2/config.json → tests/data_for_tests/embedding/small_gpt2/config.json
View File
test/data_for_tests/embedding/small_gpt2/merges.txt → tests/data_for_tests/embedding/small_gpt2/merges.txt
View File
test/data_for_tests/embedding/small_gpt2/small_pytorch_model.bin → tests/data_for_tests/embedding/small_gpt2/small_pytorch_model.bin
View File
test/data_for_tests/embedding/small_gpt2/vocab.json → tests/data_for_tests/embedding/small_gpt2/vocab.json
View File
test/data_for_tests/embedding/small_roberta/config.json → tests/data_for_tests/embedding/small_roberta/config.json
View File
test/data_for_tests/embedding/small_roberta/merges.txt → tests/data_for_tests/embedding/small_roberta/merges.txt
View File
test/data_for_tests/embedding/small_roberta/small_pytorch_model.bin → tests/data_for_tests/embedding/small_roberta/small_pytorch_model.bin
View File
test/data_for_tests/embedding/small_roberta/vocab.json → tests/data_for_tests/embedding/small_roberta/vocab.json
View File
test/data_for_tests/embedding/small_static_embedding/glove.6B.50d_test.txt → tests/data_for_tests/embedding/small_static_embedding/glove.6B.50d_test.txt
View File
test/data_for_tests/embedding/small_static_embedding/word2vec_test.txt → tests/data_for_tests/embedding/small_static_embedding/word2vec_test.txt
View File
test/data_for_tests/io/BQCorpus/dev.txt → tests/data_for_tests/io/BQCorpus/dev.txt
View File
test/data_for_tests/io/BQCorpus/test.txt → tests/data_for_tests/io/BQCorpus/test.txt
View File
test/data_for_tests/io/BQCorpus/train.txt → tests/data_for_tests/io/BQCorpus/train.txt
View File
test/data_for_tests/io/ChnSentiCorp/dev.txt → tests/data_for_tests/io/ChnSentiCorp/dev.txt
View File
test/data_for_tests/io/ChnSentiCorp/test.txt → tests/data_for_tests/io/ChnSentiCorp/test.txt
View File
test/data_for_tests/io/ChnSentiCorp/train.txt → tests/data_for_tests/io/ChnSentiCorp/train.txt
View File
test/data_for_tests/io/LCQMC/dev.txt → tests/data_for_tests/io/LCQMC/dev.txt
View File
test/data_for_tests/io/LCQMC/test.txt → tests/data_for_tests/io/LCQMC/test.txt
View File
test/data_for_tests/io/LCQMC/train.txt → tests/data_for_tests/io/LCQMC/train.txt
View File
test/data_for_tests/io/MNLI/dev_matched.tsv → tests/data_for_tests/io/MNLI/dev_matched.tsv
View File
test/data_for_tests/io/MNLI/dev_mismatched.tsv → tests/data_for_tests/io/MNLI/dev_mismatched.tsv
View File
test/data_for_tests/io/MNLI/test_matched.tsv → tests/data_for_tests/io/MNLI/test_matched.tsv
View File
test/data_for_tests/io/MNLI/test_mismatched.tsv → tests/data_for_tests/io/MNLI/test_mismatched.tsv
View File
test/data_for_tests/io/MNLI/train.tsv → tests/data_for_tests/io/MNLI/train.tsv
View File
test/data_for_tests/io/MSRA_NER/dev.conll → tests/data_for_tests/io/MSRA_NER/dev.conll
View File
test/data_for_tests/io/MSRA_NER/test.conll → tests/data_for_tests/io/MSRA_NER/test.conll
View File
test/data_for_tests/io/MSRA_NER/train.conll → tests/data_for_tests/io/MSRA_NER/train.conll
View File
test/data_for_tests/io/OntoNotes/dev.txt → tests/data_for_tests/io/OntoNotes/dev.txt
View File
test/data_for_tests/io/OntoNotes/test.txt → tests/data_for_tests/io/OntoNotes/test.txt
View File
test/data_for_tests/io/OntoNotes/train.txt → tests/data_for_tests/io/OntoNotes/train.txt
View File
test/data_for_tests/io/QNLI/dev.tsv → tests/data_for_tests/io/QNLI/dev.tsv
View File
test/data_for_tests/io/QNLI/test.tsv → tests/data_for_tests/io/QNLI/test.tsv
View File
test/data_for_tests/io/QNLI/train.tsv → tests/data_for_tests/io/QNLI/train.tsv
View File
test/data_for_tests/io/Quora/dev.tsv → tests/data_for_tests/io/Quora/dev.tsv
View File
test/data_for_tests/io/Quora/test.tsv → tests/data_for_tests/io/Quora/test.tsv
View File
test/data_for_tests/io/Quora/train.tsv → tests/data_for_tests/io/Quora/train.tsv
View File
test/data_for_tests/io/RTE/dev.tsv → tests/data_for_tests/io/RTE/dev.tsv
View File
test/data_for_tests/io/RTE/test.tsv → tests/data_for_tests/io/RTE/test.tsv
View File
test/data_for_tests/io/RTE/train.tsv → tests/data_for_tests/io/RTE/train.tsv
View File
test/data_for_tests/io/SNLI/snli_1.0_dev.jsonl → tests/data_for_tests/io/SNLI/snli_1.0_dev.jsonl
View File
test/data_for_tests/io/SNLI/snli_1.0_test.jsonl → tests/data_for_tests/io/SNLI/snli_1.0_test.jsonl
View File
test/data_for_tests/io/SNLI/snli_1.0_train.jsonl → tests/data_for_tests/io/SNLI/snli_1.0_train.jsonl
View File
test/data_for_tests/io/SST-2/dev.tsv → tests/data_for_tests/io/SST-2/dev.tsv
View File
test/data_for_tests/io/SST-2/test.tsv → tests/data_for_tests/io/SST-2/test.tsv
View File
test/data_for_tests/io/SST-2/train.tsv → tests/data_for_tests/io/SST-2/train.tsv
View File
test/data_for_tests/io/SST/dev.txt → tests/data_for_tests/io/SST/dev.txt
View File
test/data_for_tests/io/SST/test.txt → tests/data_for_tests/io/SST/test.txt
View File
test/data_for_tests/io/SST/train.txt → tests/data_for_tests/io/SST/train.txt
View File
test/data_for_tests/io/THUCNews/dev.txt → tests/data_for_tests/io/THUCNews/dev.txt
View File
test/data_for_tests/io/THUCNews/test.txt → tests/data_for_tests/io/THUCNews/test.txt
View File
test/data_for_tests/io/THUCNews/train.txt → tests/data_for_tests/io/THUCNews/train.txt
View File
test/data_for_tests/io/WeiboSenti100k/dev.txt → tests/data_for_tests/io/WeiboSenti100k/dev.txt
View File
test/data_for_tests/io/WeiboSenti100k/test.txt → tests/data_for_tests/io/WeiboSenti100k/test.txt
View File
test/data_for_tests/io/WeiboSenti100k/train.txt → tests/data_for_tests/io/WeiboSenti100k/train.txt
View File
test/data_for_tests/io/XNLI/dev.txt → tests/data_for_tests/io/XNLI/dev.txt
View File
test/data_for_tests/io/XNLI/test.txt → tests/data_for_tests/io/XNLI/test.txt
View File
test/data_for_tests/io/XNLI/train.txt → tests/data_for_tests/io/XNLI/train.txt
View File
test/data_for_tests/io/ag/test.csv → tests/data_for_tests/io/ag/test.csv
View File
test/data_for_tests/io/ag/train.csv → tests/data_for_tests/io/ag/train.csv
View File
test/data_for_tests/io/cmrc/dev.json → tests/data_for_tests/io/cmrc/dev.json
View File
test/data_for_tests/io/cmrc/train.json → tests/data_for_tests/io/cmrc/train.json
View File
test/data_for_tests/io/cnndm/dev.label.jsonl → tests/data_for_tests/io/cnndm/dev.label.jsonl
View File
test/data_for_tests/io/cnndm/test.label.jsonl → tests/data_for_tests/io/cnndm/test.label.jsonl
View File
test/data_for_tests/io/cnndm/train.cnndm.jsonl → tests/data_for_tests/io/cnndm/train.cnndm.jsonl
View File
test/data_for_tests/io/cnndm/vocab → tests/data_for_tests/io/cnndm/vocab
View File
test/data_for_tests/io/conll2003/dev.txt → tests/data_for_tests/io/conll2003/dev.txt
View File
test/data_for_tests/io/conll2003/test.txt → tests/data_for_tests/io/conll2003/test.txt
View File
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save