1 Star 0 Fork 0

淘金小子/simpletransformers

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Thilina Rajapakse 提交于 2021-10-02 14:57 . tensorboard_fix
install:
pip install -e .
pip install -r requirements-dev.txt
pip list
clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
clean-test:
-rm -r .coverage*
-rm -r data
-rm -r runs
-rm -r outputs
-rm -r cache_dir
-rm -r wandb
-rm train.txt
formatter:
black --line-length 119 simpletransformers tests --exclude simpletransformers/experimental\
lint: clean
flake8 simpletransformers tests --exclude=simpletransformers/experimental
black --check --line-length 119 . simpletransformers tests --exclude simpletransformers/experimental
types:
pytype --keep-going simpletransformers --exclude simpletransformers/experimental
test: clean
pytest tests --cov simpletransformers/classification simpletransformers/ner simpletransformers/question_answering simpletransformers/language_modeling simpletransformers/t5 simpletransformers/seq2seq
test-lm: clean
pytest tests/language_modeling --cov simpletransformers/language_modeling
# if this runs through we can be sure the readme is properly shown on pypi
check-readme:
python setup.py check --restructuredtext
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quehanwei/simpletransformers.git
git@gitee.com:quehanwei/simpletransformers.git
quehanwei
simpletransformers
simpletransformers
master

搜索帮助