Skip to content
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

update #1

Merged
merged 200 commits into from
Nov 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
985bba9
fix doc bug (#8082)
mymusise Oct 27, 2020
1496931
Fix comet_ml import and add ensure availability (#7933)
dsblank Oct 27, 2020
c42596b
Doc styling fixes (#8074)
sgugger Oct 27, 2020
33f6ef7
Fix DeBERTa docs (#8092)
LysandreJik Oct 27, 2020
bfd5e37
[CI] generate separate report files as artifacts (#7995)
stas00 Oct 27, 2020
d93acd6
Move style_doc to extra_quality_checks (#8081)
sshleifer Oct 27, 2020
286dc19
Fix IterableDataset with __len__ in Trainer (#8095)
cccntu Oct 27, 2020
3220f21
Styling fix
sgugger Oct 27, 2020
8e28c32
Fix assertion error message for MLflowCallback (#8091)
harupy Oct 27, 2020
7bff0af
Fix a bug for `CallbackHandler.callback_list` (#8052)
harupy Oct 27, 2020
55bc0c5
[model_cards] Switch to a more explicit domain for the media bucket
julien-c Oct 27, 2020
edd3721
update/add setup targets (#8076)
stas00 Oct 27, 2020
9fefdb0
DEP: pinned sentencepiece to 0.1.91 in setup.py (#8069)
jmwoloso Oct 27, 2020
3e58b6b
infer entailment label id on zero shot pipeline (#8059)
joeddav Oct 27, 2020
a090606
Fully remove codecov (#8093)
LysandreJik Oct 27, 2020
995006e
Add AzureML in integrations via dedicated callback (#8062)
davidefiocco Oct 27, 2020
c5f3149
Adjust setup so that all extras run on Windows (#8102)
sgugger Oct 27, 2020
556709a
rm multiclass option from model card
joeddav Oct 27, 2020
41cc5f3
Move installation instructions to the top (#8106)
sgugger Oct 27, 2020
b715e40
Fix typo
sgugger Oct 27, 2020
1e01db3
Remove header
sgugger Oct 27, 2020
8065fea
[gh actions] run artifacts job always (#8110)
stas00 Oct 28, 2020
47dfa65
New run_clm script (#8105)
sgugger Oct 28, 2020
5423f2a
[testing] port test_trainer_distributed to distributed pytest + TestC…
stas00 Oct 28, 2020
b4cacb7
fix(trainer_callback]: typo (#8121)
borisdayma Oct 28, 2020
5193172
[DOC] Improve pipeline() docstrings for config and tokenizer (#8123)
Oct 28, 2020
6241c87
Document the various LM Auto models (#8118)
sgugger Oct 28, 2020
378142a
Rename add_start_docstrings_to_callable (#8120)
sgugger Oct 28, 2020
1b6c8d4
Update CI cache (#8126)
LysandreJik Oct 28, 2020
5e24982
Upgrade PyTorch Lightning to 1.0.2 (#7852)
Oct 28, 2020
e477eb9
Fix typo in `AutoModelForMaskedLM` docs (#8129)
bryant1410 Oct 28, 2020
825925d
[s2s test] cleanup (#8131)
stas00 Oct 28, 2020
afa2150
add tags (#8147)
patrickvonplaten Oct 29, 2020
0a3b973
Add model_cards for DynaBERT (#8012)
mazicwong Oct 29, 2020
ff82a2a
Create README.md (#8015)
mrm8488 Oct 29, 2020
52cea7d
Create README.md (#8017)
mrm8488 Oct 29, 2020
ba2ad3a
Model Card for Gujarati-XLM-R-Base (#8038)
ashwanitanwar Oct 29, 2020
b215090
Add two model_cards: ethanyt/guwenbert-base and ethanyt/guwenbert-lar…
Ethan-yt Oct 29, 2020
5d76859
Create README.md (#8075)
gurkan08 Oct 29, 2020
234a6dc
Create README.md (#8088)
dartrevan Oct 29, 2020
cc8941d
Create README.md (#8089)
dartrevan Oct 29, 2020
e566adc
Add model_cards (#7969)
brandenchan Oct 29, 2020
2388760
Update README.md (#8090)
dartrevan Oct 29, 2020
4731a00
Update widget examples. (#8149)
Ethan-yt Oct 29, 2020
969859d
Fix doc errors and typos across the board (#8139)
bryant1410 Oct 29, 2020
b0f1c0e
Document tokenizer_class in configurations (#8152)
sgugger Oct 29, 2020
acf5640
Smarter prediction loop and no- -> no_ in console args (#8151)
sgugger Oct 29, 2020
49e4fec
[s2s] distillBART docs for paper replication (#8150)
sshleifer Oct 29, 2020
6911762
Add a template for examples and apply it for mlm and plm examples (#8…
sgugger Oct 29, 2020
c83cec4
improve error checking (#8157)
stas00 Oct 29, 2020
fdf893c
Fix typo: indinces -> indices (#8159)
bryant1410 Oct 29, 2020
9a21b50
Fix eval ref miss in Chinese WWM. (#8115)
wlhgtc Oct 29, 2020
0538820
[CI] Better reports #2 (#8163)
stas00 Oct 29, 2020
7e36dee
Fixing some warnings in DeBerta (#8176)
Narsil Oct 30, 2020
10f8c63
Ci test tf super slow (#8007)
LysandreJik Oct 30, 2020
6279072
Fix typo: s/languaged/language/ (#8165)
bryant1410 Oct 30, 2020
566b083
TFMarian, TFMbart, TFPegasus, TFBlenderbot (#7987)
sshleifer Oct 30, 2020
089cc10
Doc fixes and filter warning in wandb (#8189)
sgugger Oct 30, 2020
cdc48ce
Finalize lm examples (#8188)
sgugger Oct 30, 2020
00112c3
Replace swish with silu (#8166)
TFUsers Oct 30, 2020
9eb3a41
Remove deprecated arguments from new run_clm (#8197)
sgugger Oct 30, 2020
689ff74
Minor style improvements for the Flax BERT and RoBERTa examples (#8178)
avital Oct 30, 2020
8f1c960
Fix two bugs with --logging_first_step (#8193)
abisee Oct 30, 2020
1f12934
[Bug fix] Fixed value for BlenderBot pad token (#8205)
guillaume-be Nov 1, 2020
9bd30f7
[Seq2SeqTrainer] Move import to init to make file self-contained (#8194)
patrickvonplaten Nov 1, 2020
aa79aa4
Added 12 model cards for Indian Language Models (#8198)
kushalj001 Nov 2, 2020
00cc2d1
DynaBERT model cards update (#8192)
mazicwong Nov 2, 2020
84caa23
Fix the behaviour of DefaultArgumentHandler (removing it). (#8180)
Narsil Nov 2, 2020
0c92e7d
Fix ignore list behavior in doctests (#8213)
bryant1410 Nov 2, 2020
93354bc
doc: fix typo (#8235)
monperrus Nov 2, 2020
3c8d401
Patch reports (#8238)
LysandreJik Nov 2, 2020
d1ad4bf
Fix bad import with PyTorch <= 1.4.1 (#8237)
sgugger Nov 2, 2020
5406f31
Fix TensorBoardCallback for older versions of PyTorch (#8239)
sgugger Nov 2, 2020
ebec410
Create README.md
patrickvonplaten Nov 2, 2020
e1b1b61
Add line by line option to mlm/plm scripts (#8240)
sgugger Nov 2, 2020
5b178f3
Create README.md
patrickvonplaten Nov 2, 2020
9a23af4
Add XLMProphetNetTokenizer to tokenization auto (#8245)
LysandreJik Nov 2, 2020
dc26726
fix encoder decoder bug (#8243)
patrickvonplaten Nov 2, 2020
f744b81
add new notebooks (#8246)
patrickvonplaten Nov 2, 2020
504ff7b
2 SinusoidalPositionalEmbedding fixes (#8226)
stas00 Nov 2, 2020
9f1747f
[Seq2Seq] Correct import in Seq2Seq Trainer (#8254)
patrickvonplaten Nov 3, 2020
b63beb7
Skip tatoeba tests if Tatoeba-Challenge not cloned (#8260)
sshleifer Nov 3, 2020
a1bbcf3
Refactoring the generate() function (#6949)
patrickvonplaten Nov 3, 2020
c66ffa3
[FIX] TextGenerationPipeline is currently broken. (#8256)
Narsil Nov 3, 2020
74f6f91
Updated ConversationalPipeline to work with encoder-decoder models (#…
guillaume-be Nov 3, 2020
eb6313e
Fix Tatoeba skip
LysandreJik Nov 3, 2020
971c638
forward the worker stderr to the parent process (#8262)
stas00 Nov 3, 2020
cd360dc
[examples] minimal version requirement run-time check in PL (#8133)
stas00 Nov 3, 2020
068e6b5
make files independent (#8267)
patrickvonplaten Nov 3, 2020
4c19f3b
Clean Trainer tests and datasets dep (#8268)
sgugger Nov 3, 2020
6a06444
improve documentation of training_args.py (#8270)
PhilipMay Nov 3, 2020
7f556d2
Data collator for token classification (#8274)
sgugger Nov 3, 2020
1bb4bba
[CIs] Better reports everywhere (#8275)
stas00 Nov 3, 2020
29b536a
[WIP] Ner pipeline grouped_entities fixes (#5970)
cceyda Nov 3, 2020
7a7e2c2
[blenderbot] regex fix (#8282)
stas00 Nov 4, 2020
734afa3
Fix typo in language-modeling README.md (#8287)
gpengzhi Nov 4, 2020
cb966e6
[Generate Test] fix greedy generate test (#8293)
patrickvonplaten Nov 4, 2020
cf89724
Fix validation file loading in scripts (#8298)
sgugger Nov 4, 2020
414985c
Upgrade resource for doc building
sgugger Nov 4, 2020
854b44a
Revert size change as it doesn't change anything
sgugger Nov 4, 2020
04561ec
Model card: T5-base fine-tuned on QASC (#8299)
mrm8488 Nov 4, 2020
38630e7
Update model cards of deepset/roberta-base-squad2 v1 and v2 (#8241)
brandenchan Nov 4, 2020
7342d9a
Improve QA pipeline error handling (#8286)
Narsil Nov 4, 2020
969ccac
adding model cards for distilled models (#8300)
VictorSanh Nov 4, 2020
b6e58db
Speedup doc build (#8301)
sgugger Nov 4, 2020
b1d3e95
Fix path to old run_language_modeling.py script (#8302)
mrm8488 Nov 4, 2020
9c4aa4a
Clean up data collators and datasets (#8308)
sgugger Nov 4, 2020
638c0b7
Create README.md (#8223)
yfpeng Nov 5, 2020
6f35c61
Update bug-report.md
patrickvonplaten Nov 5, 2020
226b9de
Update PULL_REQUEST_TEMPLATE.md
patrickvonplaten Nov 5, 2020
77c8f6c
Corrected typo in readme (#8320)
GuillemGSubies Nov 5, 2020
52f44dd
change TokenClassificationTask class methods to static methods (#7902)
donchev7 Nov 5, 2020
7abc1d9
no warn (#8329)
sshleifer Nov 5, 2020
27b402c
Output global_attentions in Longformer models (#7562)
gui11aume Nov 5, 2020
04e442d
Make Trainer evaluation handle dynamic seq_length (#8336)
sgugger Nov 5, 2020
d787935
[s2s] test_distributed_eval (#8315)
stas00 Nov 5, 2020
1745039
Docs bart training ref (#8330)
lvwerra Nov 5, 2020
9edafae
[s2s] test_bash_script.py - actually learn something (#8318)
stas00 Nov 6, 2020
f833ca4
Model card: T5-base fine-tuned on QuaRel (#8334)
mrm8488 Nov 6, 2020
973218f
Model card: CodeBERT fine-tuned for Insecure Code Detection (#8247)
mrm8488 Nov 6, 2020
34bbf60
Model card: GPT-2 fine-tuned on CommonGen (#8248)
mrm8488 Nov 6, 2020
185259c
[model_cards] Update Italian BERT models and introduce new Italian XX…
stefan-it Nov 6, 2020
96baaaf
Create README.md (#8258)
Jiaxin-Pei Nov 6, 2020
ddeecf0
german medbert model details (#8266)
smanjil Nov 6, 2020
dd6bfca
Create README.md (#8327)
yfpeng Nov 6, 2020
77d62e7
Create README.md (#8167)
kuppulur Nov 6, 2020
08b92f7
Create README.md (#8168)
kuppulur Nov 6, 2020
f932dde
Create README.md (#8170)
kuppulur Nov 6, 2020
41cd031
Create README.md (#8169)
kuppulur Nov 6, 2020
06ebc37
Create README.md (#8255)
hasantanvir79 Nov 6, 2020
9e5c4d3
Create README.md (#8312)
ktrapeznikov Nov 6, 2020
8214649
Update README.md (#8338)
hassoudi Nov 6, 2020
5807ba3
Fix typo (#8351)
cccntu Nov 6, 2020
30f2507
Update README.md (#8360)
hassoudi Nov 6, 2020
bc0d26d
[All Seq2Seq model + CLM models that can be used with EncoderDecoder]…
ysgit Nov 6, 2020
0770879
fix encoder outputs (#8368)
patrickvonplaten Nov 6, 2020
517eaf4
[make] rewrite modified_py_files in python to be cross-platform (#8371)
stas00 Nov 7, 2020
77a257f
Fix DataCollatorForWholeWordMask (#8379)
cccntu Nov 7, 2020
1875543
fix md table (#8395)
stas00 Nov 8, 2020
0b02489
Add gpt2-medium-chinese model card (#8402)
mymusise Nov 8, 2020
6107309
fixed default labels for QA model (#8399)
ManavR123 Nov 8, 2020
4a53e8e
Fix DataCollatorForWholeWordMask again (#8397)
cccntu Nov 8, 2020
f62755a
[s2s examples test] fix data path (#8398)
stas00 Nov 8, 2020
6658249
[s2s test_finetune_trainer] failing multigpu test (#8400)
stas00 Nov 8, 2020
e6d9cda
[s2s/distill] remove run_distiller.sh, fix xsum script (#8412)
sshleifer Nov 8, 2020
4ab5617
comet_ml temporary fix(#8410)
stas00 Nov 9, 2020
7247d0b
updating tag for exbert viz (#8408)
smanjil Nov 9, 2020
507dfb4
Update README.md (#8406)
dartrevan Nov 9, 2020
76e7a44
Fix some tooling for windows (#8359)
jplu Nov 9, 2020
ebde57a
examples/docs: caveat that PL examples don't work on TPU (#8309)
sshleifer Nov 9, 2020
bf8625e
add evaluate doc - trainer.evaluate returns 'epoch' from training (#8…
PhilipMay Nov 9, 2020
1e2acd0
Bug fix for permutation language modelling (#8409)
shngt Nov 9, 2020
78d706f
[fsmt tokenizer] support lowercase tokenizer (#8389)
stas00 Nov 9, 2020
c7cb1aa
Bump tokenizers (#8419)
sgugger Nov 9, 2020
908a288
Add new token classification example (#8340)
sgugger Nov 9, 2020
5c766ec
Fix typo
sgugger Nov 9, 2020
d4d1fbf
[fsmt convert script] fairseq broke chkpt data - fixing that (#8377)
stas00 Nov 9, 2020
5204051
Deprecate old data/metrics functions (#8420)
sgugger Nov 9, 2020
9c83b96
[Tests] Add Common Test for Training + Fix a couple of bugs (#8415)
patrickvonplaten Nov 9, 2020
46509d1
[docs] remove sshleifer from issue-template :( (#8418)
sshleifer Nov 9, 2020
a8339b9
Fix bart shape comment (#8423)
sshleifer Nov 9, 2020
ef032dd
[docs] [testing] gpu decorators table (#8422)
stas00 Nov 9, 2020
a39218b
Check all models are in an auto class (#8425)
sgugger Nov 9, 2020
190df58
[github CI] add a multi-gpu job for all example tests (#8341)
stas00 Nov 9, 2020
4185b11
Changing XLNet default from not using memories to 512 context size fo…
TevenLeScao Nov 10, 2020
70f622f
Model versioning (#8324)
julien-c Nov 10, 2020
850afb4
Patch token classification pipeline (#8364)
LysandreJik Nov 10, 2020
55e8d0c
Update links from s3 to huggingface.co
julien-c Nov 10, 2020
ad2303a
Fix style
julien-c Nov 10, 2020
9cebee3
Model sharing rst (#8439)
LysandreJik Nov 10, 2020
818878d
Release: v3.5.0
LysandreJik Nov 10, 2020
aec51e5
v3.5.0 documentation
LysandreJik Nov 10, 2020
ae1cb4e
[s2s/distill] hparams.tokenizer_name = hparams.teacher (#8382)
ShichaoSun Nov 10, 2020
5d4972e
[examples] better PL version check (#8429)
stas00 Nov 10, 2020
3213d3b
Question template (#8440)
sgugger Nov 10, 2020
c314b1f
[docs] improve bart/marian/mBART/pegasus docs (#8421)
sshleifer Nov 10, 2020
8551a99
Add auto next sentence prediction (#8432)
jplu Nov 10, 2020
e7e1549
Windows dev section in the contributing file (#8436)
jplu Nov 10, 2020
e21340d
[testing utils] get_auto_remove_tmp_dir more intuitive behavior (#8401)
stas00 Nov 10, 2020
cace39a
Add missing import (#8444)
jplu Nov 10, 2020
b935694
fix t5 special tokens (#8435)
patrickvonplaten Nov 10, 2020
02bdfc0
using multi_gpu consistently (#8446)
stas00 Nov 10, 2020
8fe6629
Add missing tasks to `pipeline` docstring (#8428)
bryant1410 Nov 10, 2020
9fd1f56
[No merge] TF integration testing (#7621)
LysandreJik Nov 10, 2020
70708cc
fix t5 token type ids (#8437)
patrickvonplaten Nov 10, 2020
eb3bd73
Bug fix for modeling utilities function: apply_chunking_to_forward, c…
pedrocolon93 Nov 10, 2020
8dda916
[model_cards] harmonization
julien-c Nov 11, 2020
2329083
Fix TF Longformer (#8460)
jplu Nov 11, 2020
da842e4
Add next sentence prediction loss computation (#8462)
jplu Nov 11, 2020
069b638
Fix next sentence output (#8466)
jplu Nov 11, 2020
a38d1c7
Example NER script predicts on tokenized dataset (#8468)
sarnoult Nov 11, 2020
026a2ff
Add TFDPR (#8203)
ratthachat Nov 11, 2020
aa2a2c6
Replaced some iadd operations on lists with proper list methods. (#8433)
bombs-kim Nov 11, 2020
c7b6bbe
Skip test until investigation
LysandreJik Nov 11, 2020
a5b6823
Flax/Jax documentation (#8331)
mfuntowicz Nov 11, 2020
81ebd70
[s2s] distill t5-large -> t5-small (#8376)
sbhaktha Nov 11, 2020
121c24e
Update deploy-docs dependencies on CI to enable Flax (#8475)
mfuntowicz Nov 11, 2020
c6c08eb
[model_cards] other chars than [\w\-_] not allowed anymore in model n…
julien-c Nov 12, 2020
17b1fd8
Fix typo in roberta-base-squad2-v2 model card (#8489)
antoniolanza1996 Nov 12, 2020
924c624
quick fix on concatenating text to support more datasets (#8474)
zeyuyun1 Nov 12, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
153 changes: 83 additions & 70 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,21 +74,20 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-torch_and_tf-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-torch_and_tf-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install git+https://github.com/huggingface/datasets
- run: pip install .[sklearn,tf-cpu,torch,testing]
- run: pip install codecov pytest-cov
- save_cache:
key: v0.3-{{ checksum "setup.py" }}
key: v0.4-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: RUN_PT_TF_CROSS_TESTS=1 python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ -m is_pt_tf_cross_test --cov --durations=0 | tee output.txt
- run: codecov
- run: RUN_PT_TF_CROSS_TESTS=1 python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_torch_and_tf ./tests/ -m is_pt_tf_cross_test --durations=0 | tee tests_output.txt
- store_artifacts:
path: ~/transformers/output.txt
destination: test_output.txt
path: ~/transformers/tests_output.txt
- store_artifacts:
path: ~/transformers/reports

run_tests_torch:
working_directory: ~/transformers
docker:
Expand All @@ -101,19 +100,20 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-torch-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-torch-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install git+https://github.com/huggingface/datasets
- run: pip install .[sklearn,torch,testing]
- save_cache:
key: v0.3-torch-{{ checksum "setup.py" }}
key: v0.4-torch-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ | tee output.txt
- run: python -m pytest -n 8 --dist=loadfile -s --make-reports=tests_torch ./tests/ | tee tests_output.txt
- store_artifacts:
path: ~/transformers/tests_output.txt
- store_artifacts:
path: ~/transformers/output.txt
destination: test_output.txt
path: ~/transformers/reports

run_tests_tf:
working_directory: ~/transformers
docker:
Expand All @@ -126,19 +126,20 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-tf-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-tf-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install git+https://github.com/huggingface/datasets
- run: pip install .[sklearn,tf-cpu,testing]
- save_cache:
key: v0.3-tf-{{ checksum "setup.py" }}
key: v0.4-tf-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ | tee output.txt
- run: python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_tf ./tests/ | tee tests_output.txt
- store_artifacts:
path: ~/transformers/tests_output.txt
- store_artifacts:
path: ~/transformers/output.txt
destination: test_output.txt
path: ~/transformers/reports

run_tests_flax:
working_directory: ~/transformers
docker:
Expand All @@ -151,19 +152,20 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-flax-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-flax-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install git+https://github.com/huggingface/datasets
- run: sudo pip install .[flax,sklearn,torch,testing]
- save_cache:
key: v0.3-flax-{{ checksum "setup.py" }}
key: v0.4-flax-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ | tee output.txt
- run: python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_flax ./tests/ | tee tests_output.txt
- store_artifacts:
path: ~/transformers/output.txt
destination: test_output.txt
path: ~/transformers/tests_output.txt
- store_artifacts:
path: ~/transformers/reports

run_tests_pipelines_torch:
working_directory: ~/transformers
docker:
Expand All @@ -176,19 +178,20 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-torch-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-torch-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install git+https://github.com/huggingface/datasets
- run: pip install .[sklearn,torch,testing]
- save_cache:
key: v0.3-torch-{{ checksum "setup.py" }}
key: v0.4-torch-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: RUN_PIPELINE_TESTS=1 python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ -m is_pipeline_test | tee output.txt
- run: RUN_PIPELINE_TESTS=1 python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_pipelines_torch -m is_pipeline_test ./tests/ | tee tests_output.txt
- store_artifacts:
path: ~/transformers/tests_output.txt
- store_artifacts:
path: ~/transformers/output.txt
destination: test_output.txt
path: ~/transformers/reports

run_tests_pipelines_tf:
working_directory: ~/transformers
docker:
Expand All @@ -201,19 +204,20 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-tf-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-tf-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install git+https://github.com/huggingface/datasets
- run: pip install .[sklearn,tf-cpu,testing]
- save_cache:
key: v0.3-tf-{{ checksum "setup.py" }}
key: v0.4-tf-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: RUN_PIPELINE_TESTS=1 python -m pytest -n 8 --dist=loadfile -rA -s ./tests/ -m is_pipeline_test | tee output.txt
- run: RUN_PIPELINE_TESTS=1 python -m pytest -n 8 --dist=loadfile -rA -s --make-reports=tests_pipelines_tf ./tests/ -m is_pipeline_test | tee tests_output.txt
- store_artifacts:
path: ~/transformers/tests_output.txt
- store_artifacts:
path: ~/transformers/output.txt
destination: test_output.txt
path: ~/transformers/reports

run_tests_custom_tokenizers:
working_directory: ~/transformers
docker:
Expand All @@ -224,19 +228,21 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-custom_tokenizers-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-custom_tokenizers-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install .[ja,testing]
- run: python -m unidic download
- save_cache:
key: v0.3-custom_tokenizers-{{ checksum "setup.py" }}
key: v0.4-custom_tokenizers-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: python -m pytest -s ./tests/test_tokenization_bert_japanese.py | tee output.txt
- run: python -m pytest -s --make-reports=tests_custom_tokenizers ./tests/test_tokenization_bert_japanese.py | tee tests_output.txt
- store_artifacts:
path: ~/transformers/tests_output.txt
- store_artifacts:
path: ~/transformers/output.txt
destination: test_output.txt
path: ~/transformers/reports

run_examples_torch:
working_directory: ~/transformers
docker:
Expand All @@ -249,19 +255,21 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-torch_examples-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-torch_examples-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install .[sklearn,torch,testing]
- run: pip install -r examples/requirements.txt
- save_cache:
key: v0.3-torch_examples-{{ checksum "setup.py" }}
key: v0.4-torch_examples-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: python -m pytest -n 8 --dist=loadfile -rA -s ./examples/ | tee output.txt
- run: python -m pytest -n 8 --dist=loadfile -s --make-reports=examples_torch ./examples/ | tee examples_output.txt
- store_artifacts:
path: ~/transformers/output.txt
destination: test_output.txt
path: ~/transformers/examples_output.txt
- store_artifacts:
path: ~/transformers/reports

build_doc:
working_directory: ~/transformers
docker:
Expand All @@ -270,17 +278,18 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-build_doc-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-build_doc-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install .[tf,torch,sentencepiece,docs]
- run: pip install ."[all, docs]"
- save_cache:
key: v0.3-build_doc-{{ checksum "setup.py" }}
key: v0.4-build_doc-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: cd docs && make html SPHINXOPTS="-W"
- store_artifacts:
path: ./docs/_build

deploy_doc:
working_directory: ~/transformers
docker:
Expand All @@ -292,14 +301,15 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-deploy_doc-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- run: pip install .[tf,torch,sentencepiece,docs]
- v0.4-deploy_doc-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install ."[all,docs]"
- save_cache:
key: v0.3-deploy_doc-{{ checksum "setup.py" }}
key: v0.4-deploy_doc-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: ./.circleci/deploy.sh

check_code_quality:
working_directory: ~/transformers
docker:
Expand All @@ -310,22 +320,23 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.3-code_quality-{{ checksum "setup.py" }}
- v0.3-{{ checksum "setup.py" }}
- v0.4-code_quality-{{ checksum "setup.py" }}
- v0.4-{{ checksum "setup.py" }}
- run: pip install --upgrade pip
- run: pip install isort
- run: pip install .[tf,torch,flax,quality]
- save_cache:
key: v0.3-code_quality-{{ checksum "setup.py" }}
key: v0.4-code_quality-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- run: black --check examples templates tests src utils
- run: isort --check-only examples templates tests src utils
- run: flake8 examples templates tests src utils
- run: black --check examples tests src utils
- run: isort --check-only examples tests src utils
- run: flake8 examples tests src utils
- run: python utils/style_doc.py src/transformers docs/source --max_len 119 --check_only
- run: python utils/check_copies.py
- run: python utils/check_dummies.py
- run: python utils/check_repo.py

check_repository_consistency:
working_directory: ~/transformers
docker:
Expand Down Expand Up @@ -356,6 +367,7 @@ jobs:
- setup_remote_docker
- *build_push_docker
- *deploy_cluster

cleanup-gke-jobs:
docker:
- image: circleci/python:3.6
Expand All @@ -365,6 +377,7 @@ jobs:
cluster: $GKE_CLUSTER
perform-login: true
- *delete_gke_jobs

workflow_filters: &workflow_filters
filters:
branches:
Expand Down
3 changes: 2 additions & 1 deletion .circleci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ deploy_doc "7fb8bdf" v3.0.2
deploy_doc "4b3ee9c" v3.1.0
deploy_doc "3ebb1b3" v3.2.0
deploy_doc "0613f05" v3.3.1
deploy_doc "eb0e0ce" # v3.4.0 Latest stable release
deploy_doc "eb0e0ce" v3.4.0
deploy_doc "818878d" # v3.5.0 Latest stable release
18 changes: 10 additions & 8 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,20 +30,22 @@ assignees: ''
Trainer: @sgugger
Speed and Memory Benchmarks: @patrickvonplaten
Model Cards: @julien-c
Translation: @sshleifer
Summarization: @sshleifer
TextGeneration: @TevenLeScao
examples/distillation: @VictorSanh
nlp datasets: [different repo](https://github.com/huggingface/nlp)
rust tokenizers: [different repo](https://github.com/huggingface/tokenizers)
Text Generation: @TevenLeScao
blenderbot: @mariamabarham
Bart: @sshleifer
Marian: @sshleifer
Text Generation: @patrickvonplaten @TevenLeScao
Blenderbot: @patrickvonplaten
Bart: @patrickvonplaten
Marian: @patrickvonplaten
Pegasus: @patrickvonplaten
mBART: @patrickvonplaten
T5: @patrickvonplaten
Longformer/Reformer: @patrickvonplaten
TransfoXL/XLNet: @TevenLeScao
examples/seq2seq: @sshleifer
TransfoXL/XLNet: @TevenLeScao
RAG: @patrickvonplaten, @lhoestq
FSMT: @stas00
examples/seq2seq: @patil-suraj
examples/bert-loses-patience: @JetRunner
tensorflow: @jplu
examples/token-classification: @stefan-it
Expand Down
19 changes: 9 additions & 10 deletions .github/ISSUE_TEMPLATE/question-help.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "❓ Questions & Help"
about: Post your general questions on the Hugging Face forum or Stack Overflow tagged huggingface-transformers
about: Post your general questions on the Hugging Face forum: https://discuss.huggingface.co/
title: ''
labels: ''
assignees: ''
Expand All @@ -10,18 +10,17 @@ assignees: ''
# ❓ Questions & Help

<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
new models, benchmarks, and migration questions. For all other questions,
we direct you to the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. In this case, make sure to tag your
question with the right deep learning framework as well as the
huggingface-transformers tag:
https://stackoverflow.com/questions/tagged/huggingface-transformers
-->

## Details

<!-- Description of your issue -->

<!-- You should first ask your question on the forum or SO, and only if
you didn't get an answer ask it here on GitHub. -->
**A link to original question on the forum/Stack Overflow**:
<!-- You should first ask your question on the forum, and only if
you didn't get an answer after a few days ask it here on GitHub. -->

**A link to original question on the forum**:

<!-- Your issue will be closed if you don't fill this part. -->
Loading