url
stringlengths
62
66
repository_url
stringclasses
1 value
labels_url
stringlengths
76
80
comments_url
stringlengths
71
75
events_url
stringlengths
69
73
html_url
stringlengths
50
56
id
int64
377M
2.15B
node_id
stringlengths
18
32
number
int64
1
29.2k
title
stringlengths
1
487
user
dict
labels
list
state
stringclasses
2 values
locked
bool
2 classes
assignee
dict
assignees
list
comments
list
created_at
int64
1.54k
1.71k
updated_at
int64
1.54k
1.71k
closed_at
int64
1.54k
1.71k
author_association
stringclasses
4 values
active_lock_reason
stringclasses
2 values
body
stringlengths
0
234k
reactions
dict
timeline_url
stringlengths
71
75
state_reason
stringclasses
3 values
draft
bool
2 classes
pull_request
dict
https://api.github.com/repos/huggingface/transformers/issues/4820
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4820/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4820/comments
https://api.github.com/repos/huggingface/transformers/issues/4820/events
https://github.com/huggingface/transformers/pull/4820
632,707,174
MDExOlB1bGxSZXF1ZXN0NDI5NDIwNzY3
4,820
Updates args in tf squad example.
{ "login": "daniel-shan", "id": 8588419, "node_id": "MDQ6VXNlcjg1ODg0MTk=", "avatar_url": "https://avatars.githubusercontent.com/u/8588419?v=4", "gravatar_id": "", "url": "https://api.github.com/users/daniel-shan", "html_url": "https://github.com/daniel-shan", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4820?src=pr&el=h1) Report\n> Merging [#4820](https://codecov.io/gh/huggingface/transformers/pull/4820?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c58e6c129a153ca1a5021e5d7e642d00bf011e20&el=desc) will **increase...
1,591
1,591
1,591
CONTRIBUTOR
null
Updates example for execution of `run-tf-squad.py` due to changes in https://github.com/huggingface/transformers/pull/4530, particularly removal of `mode` and `optimizer_name`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4820/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4820/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4820", "html_url": "https://github.com/huggingface/transformers/pull/4820", "diff_url": "https://github.com/huggingface/transformers/pull/4820.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4820.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4819
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4819/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4819/comments
https://api.github.com/repos/huggingface/transformers/issues/4819/events
https://github.com/huggingface/transformers/pull/4819
632,664,006
MDExOlB1bGxSZXF1ZXN0NDI5MzgyNjU3
4,819
Export PretrainedBartModel from __init__
{ "login": "BramVanroy", "id": 2779410, "node_id": "MDQ6VXNlcjI3Nzk0MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BramVanroy", "html_url": "https://github.com/BramVanroy", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4819?src=pr&el=h1) Report\n> Merging [#4819](https://codecov.io/gh/huggingface/transformers/pull/4819?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c58e6c129a153ca1a5021e5d7e642d00bf011e20&el=desc) will **increase...
1,591
1,591
1,591
COLLABORATOR
null
`PretrainedBartModel ` is currently not being exported so one has to manually do ```python from transformers.modeling_bart import PretrainedBartModel ``` This required behaviour is different from other models which do expose their PretrainedModel in `__init__`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4819/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4819/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4819", "html_url": "https://github.com/huggingface/transformers/pull/4819", "diff_url": "https://github.com/huggingface/transformers/pull/4819.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4819.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4818
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4818/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4818/comments
https://api.github.com/repos/huggingface/transformers/issues/4818/events
https://github.com/huggingface/transformers/pull/4818
632,656,593
MDExOlB1bGxSZXF1ZXN0NDI5Mzc2MzQ3
4,818
Enable multiprocessing in glue datasets
{ "login": "zrxbeijing", "id": 38594797, "node_id": "MDQ6VXNlcjM4NTk0Nzk3", "avatar_url": "https://avatars.githubusercontent.com/u/38594797?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zrxbeijing", "html_url": "https://github.com/zrxbeijing", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,591
1,591
1,591
NONE
null
The preprocessing of glue datasets is too slow. This change enables multiprocessing to speed up the process of converting examples to features by utilizing multiple cpu cores.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4818/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4818/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4818", "html_url": "https://github.com/huggingface/transformers/pull/4818", "diff_url": "https://github.com/huggingface/transformers/pull/4818.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4818.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/4817
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4817/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4817/comments
https://api.github.com/repos/huggingface/transformers/issues/4817/events
https://github.com/huggingface/transformers/issues/4817
632,364,225
MDU6SXNzdWU2MzIzNjQyMjU=
4,817
Question: Where do I find the Transformer model from the paper "Attention is all you need" ?
{ "login": "abhisheksgumadi", "id": 1021734, "node_id": "MDQ6VXNlcjEwMjE3MzQ=", "avatar_url": "https://avatars.githubusercontent.com/u/1021734?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhisheksgumadi", "html_url": "https://github.com/abhisheksgumadi", "followers_url": "https://api.g...
[]
closed
false
null
[]
[ "You don't need this library if you only want the transformer module specifically.\r\n\r\nPyTorch: https://pytorch.org/docs/master/generated/torch.nn.Transformer.html\r\nTensorFlow: https://www.tensorflow.org/tutorials/text/transformer#create_the_transformer", "Thanks @BramVanroy " ]
1,591
1,591
1,591
NONE
null
Hello Firstly, thanks for supporting all questions here. I read the paper "Attention is all you need" and wondering which class should I use in the HuggingFace library to use the Transformer architecture used in the paper. Can you please advise? Thanks Abhishek
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4817/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4817/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4816
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4816/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4816/comments
https://api.github.com/repos/huggingface/transformers/issues/4816/events
https://github.com/huggingface/transformers/issues/4816
632,311,698
MDU6SXNzdWU2MzIzMTE2OTg=
4,816
NER pipeline: Inconsistent entity grouping
{ "login": "dav009", "id": 1659415, "node_id": "MDQ6VXNlcjE2NTk0MTU=", "avatar_url": "https://avatars.githubusercontent.com/u/1659415?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dav009", "html_url": "https://github.com/dav009", "followers_url": "https://api.github.com/users/dav009/foll...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "@dav009 Thanks for posting this issue!\r\n\r\n1. **Inconsistent grouping** - correct that `B` and `I` tokens are not yet considered. Will have to include this in a new PR.\r\n2. **Lost tokens** - the skipped tokens are those with an entity type found in the `ignore_labels` argument for `TokenClassificationPipeline...
1,591
1,600
1,600
NONE
null
# 🐛 Bug ## Information "mrm8488/bert-spanish-cased-finetuned-ner" Language I am using the model on (English, Chinese ...): Spanish The problem arises when using: * [ ] the official example scripts: (give details below) * [x] my own modified scripts: (give details below) The tasks I am working on is: ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4816/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4816/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4815
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4815/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4815/comments
https://api.github.com/repos/huggingface/transformers/issues/4815/events
https://github.com/huggingface/transformers/pull/4815
632,166,431
MDExOlB1bGxSZXF1ZXN0NDI4OTQ1Mzk2
4,815
[marian tests ] pass device to pipeline
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4815?src=pr&el=h1) Report\n> Merging [#4815](https://codecov.io/gh/huggingface/transformers/pull/4815?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/56d5d160cdd177ae6e644506535b56e79feccf68&el=desc) will **decrease...
1,591
1,591
1,591
CONTRIBUTOR
null
fixes self-hosted-runner failure
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4815/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4815/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4815", "html_url": "https://github.com/huggingface/transformers/pull/4815", "diff_url": "https://github.com/huggingface/transformers/pull/4815.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4815.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4814
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4814/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4814/comments
https://api.github.com/repos/huggingface/transformers/issues/4814/events
https://github.com/huggingface/transformers/issues/4814
632,135,419
MDU6SXNzdWU2MzIxMzU0MTk=
4,814
TPU Training fails with --evaluate_during_training
{ "login": "misrasaurabh1", "id": 1271289, "node_id": "MDQ6VXNlcjEyNzEyODk=", "avatar_url": "https://avatars.githubusercontent.com/u/1271289?v=4", "gravatar_id": "", "url": "https://api.github.com/users/misrasaurabh1", "html_url": "https://github.com/misrasaurabh1", "followers_url": "https://api.github....
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Had the same problem with TPU. `--logging_step` seems to freeze everything. \r\nI have removed logging and then evaluate it after training. ", "Hi, I fail to reproduce this on `master` following your steps. Can you try pulling from master and letting me know if the issue is resolved? If it's not I'll take a deep...
1,591
1,598
1,598
CONTRIBUTOR
null
# 🐛 Bug TPU Trainer does not seem to support `--evaluate_during_training`. When the training loop goes into logging part, the whole process just hangs up stalling training. The same code/dataset with a multi-gpu setup works well. I am trying to move my company to Huggingface so want to train models on TPUs on ou...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4814/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4814/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4813
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4813/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4813/comments
https://api.github.com/repos/huggingface/transformers/issues/4813/events
https://github.com/huggingface/transformers/issues/4813
632,052,581
MDU6SXNzdWU2MzIwNTI1ODE=
4,813
Is albert lm finetuning with SOP in Pytorch supported?
{ "login": "faddyai", "id": 47020306, "node_id": "MDQ6VXNlcjQ3MDIwMzA2", "avatar_url": "https://avatars.githubusercontent.com/u/47020306?v=4", "gravatar_id": "", "url": "https://api.github.com/users/faddyai", "html_url": "https://github.com/faddyai", "followers_url": "https://api.github.com/users/faddya...
[]
closed
false
null
[]
[ "Hi, `run_language_modeling.py` does support the Albert model. It only does MLM though, no SOP.", "I see, am i correct in assuming that pretraining/finetuning the albert model with run_language_modeling.py which only supports MLM task, would result in lower performance, vs training with a script from another li...
1,591
1,591
1,591
NONE
null
# ❓ Questions & Help Hello, I am trying to use transfer learning on the albert language model. Before i train it on Squad. Does run_language_modeling.py support albert models and SOP ? Thank you <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and bench...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4813/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4813/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4812
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4812/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4812/comments
https://api.github.com/repos/huggingface/transformers/issues/4812/events
https://github.com/huggingface/transformers/pull/4812
632,023,990
MDExOlB1bGxSZXF1ZXN0NDI4ODE4Mjcy
4,812
[cleanup/marian] pipelines test and new kwarg
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4812?src=pr&el=h1) Report\n> Merging [#4812](https://codecov.io/gh/huggingface/transformers/pull/4812?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/875288b344d2181b789746e27e7b5bc62df8cae1&el=desc) will **decrease...
1,591
1,591
1,591
CONTRIBUTOR
null
avoids DeprecationWarning (because `max_len` kwarg is being deprecated)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4812/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4812/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4812", "html_url": "https://github.com/huggingface/transformers/pull/4812", "diff_url": "https://github.com/huggingface/transformers/pull/4812.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4812.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4811
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4811/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4811/comments
https://api.github.com/repos/huggingface/transformers/issues/4811/events
https://github.com/huggingface/transformers/pull/4811
631,996,137
MDExOlB1bGxSZXF1ZXN0NDI4NzkzNTc2
4,811
Add model and doc badges
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4811?src=pr&el=h1) Report\n> Merging [#4811](https://codecov.io/gh/huggingface/transformers/pull/4811?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/875288b344d2181b789746e27e7b5bc62df8cae1&el=desc) will **decrease...
1,591
1,591
1,591
COLLABORATOR
null
Add badges at each model for: - the page with all community models - the documentation of the model Remove the manual doc links as a result.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4811/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4811/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4811", "html_url": "https://github.com/huggingface/transformers/pull/4811", "diff_url": "https://github.com/huggingface/transformers/pull/4811.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4811.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4810
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4810/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4810/comments
https://api.github.com/repos/huggingface/transformers/issues/4810/events
https://github.com/huggingface/transformers/pull/4810
631,991,489
MDExOlB1bGxSZXF1ZXN0NDI4Nzg5MjAz
4,810
[Benchmark] Add encoder decoder to benchmark and clean labels
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4810?src=pr&el=h1) Report\n> Merging [#4810](https://codecov.io/gh/huggingface/transformers/pull/4810?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b6f365a8ed32eca20034084f74450723414b5de6&el=desc) will **increase...
1,591
1,591
1,591
MEMBER
null
This PR cleans the benchmark utils a bit more: - tracing is made independent from CPU memory benchmarking - possibility to benchmark encoder-decoder models is added - 3 new tests - general refactoring
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4810/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4810/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4810", "html_url": "https://github.com/huggingface/transformers/pull/4810", "diff_url": "https://github.com/huggingface/transformers/pull/4810.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4810.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4809
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4809/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4809/comments
https://api.github.com/repos/huggingface/transformers/issues/4809/events
https://github.com/huggingface/transformers/pull/4809
631,946,809
MDExOlB1bGxSZXF1ZXN0NDI4NzQ4OTUw
4,809
[EncoderDecoderConfig] automatically set decoder config to decoder
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4809?src=pr&el=h1) Report\n> Merging [#4809](https://codecov.io/gh/huggingface/transformers/pull/4809?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/47a551d17b6ed2eaf03301f049006d559fca5cf3&el=desc) will **decrease...
1,591
1,591
1,591
MEMBER
null
When instantiating an encoder-decoder configuration from two pretrainied configs, the decoder config should automatically set to `config.is_decoder=True`. In general, whenever we instantiate an encoder decoder model, no matter how, the resulting decoder config should have the attribute `decoder.is_decoder=True`. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4809/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4809/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4809", "html_url": "https://github.com/huggingface/transformers/pull/4809", "diff_url": "https://github.com/huggingface/transformers/pull/4809.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4809.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4808
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4808/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4808/comments
https://api.github.com/repos/huggingface/transformers/issues/4808/events
https://github.com/huggingface/transformers/pull/4808
631,935,471
MDExOlB1bGxSZXF1ZXN0NDI4NzM5MDYx
4,808
Expose classes used in documentation
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4808?src=pr&el=h1) Report\n> Merging [#4808](https://codecov.io/gh/huggingface/transformers/pull/4808?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5c0cfc2cf0941d2db368767fd232d8712449c7f8&el=desc) will **increase...
1,591
1,591
1,591
COLLABORATOR
null
Currently, the documentation page of the tokenizers has three methods lacking documentation (see [here](https://huggingface.co/transformers/main_classes/tokenizer.html#pretrainedtokenizerfast)). This PR adds them to the `__init__` so sphynx can see them. If there is one that should not be public, we should remove it...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4808/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4808/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4808", "html_url": "https://github.com/huggingface/transformers/pull/4808", "diff_url": "https://github.com/huggingface/transformers/pull/4808.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4808.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4807
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4807/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4807/comments
https://api.github.com/repos/huggingface/transformers/issues/4807/events
https://github.com/huggingface/transformers/pull/4807
631,929,438
MDExOlB1bGxSZXF1ZXN0NDI4NzMzNzU1
4,807
Use labels to remove deprecation warnings
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4807?src=pr&el=h1) Report\n> Merging [#4807](https://codecov.io/gh/huggingface/transformers/pull/4807?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5c0cfc2cf0941d2db368767fd232d8712449c7f8&el=desc) will **decrease...
1,591
1,591
1,591
COLLABORATOR
null
This is a follow-up from #4722 and remove the deprecated arguments in the tests.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4807/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4807/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4807", "html_url": "https://github.com/huggingface/transformers/pull/4807", "diff_url": "https://github.com/huggingface/transformers/pull/4807.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4807.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4806
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4806/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4806/comments
https://api.github.com/repos/huggingface/transformers/issues/4806/events
https://github.com/huggingface/transformers/issues/4806
631,880,557
MDU6SXNzdWU2MzE4ODA1NTc=
4,806
Albert pretrained weights change across runs.
{ "login": "CVxTz", "id": 13545260, "node_id": "MDQ6VXNlcjEzNTQ1MjYw", "avatar_url": "https://avatars.githubusercontent.com/u/13545260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/CVxTz", "html_url": "https://github.com/CVxTz", "followers_url": "https://api.github.com/users/CVxTz/follow...
[]
closed
false
null
[]
[ "I just did the same experiment with Roberta weights and did not have the same issue.", "Hi, I can reproduce. This is due to the archive maps not being available anymore, and therefore the wrong ALBERT models are linked.\r\n\r\nThanks for raising the issue, this is quite a bug.\r\n\r\ncc @julien-c ", "My bad! I...
1,591
1,592
1,592
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): TFAlbertModel Language I am using the model on (English, Chinese ...): English The problem arises when using: * [ ] the official example scripts: (give details below) * [X] my own modified scripts: (give details below) ``` import tensorflow as...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4806/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4806/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4805
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4805/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4805/comments
https://api.github.com/repos/huggingface/transformers/issues/4805/events
https://github.com/huggingface/transformers/issues/4805
631,876,991
MDU6SXNzdWU2MzE4NzY5OTE=
4,805
Invalid Argument for Onnxruntime Inference on GPT2
{ "login": "mihail911", "id": 2789441, "node_id": "MDQ6VXNlcjI3ODk0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/2789441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mihail911", "html_url": "https://github.com/mihail911", "followers_url": "https://api.github.com/users/mi...
[]
closed
false
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[ { "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://...
[ "Assigning @mfuntowicz, the king of the onnx conversion!", "@mihail911, do you need attention_mask and token_type_ids in input? If not, you can inference the exported model like the following:\r\n model.run(None, {\"input_ids\": np.array([blah])})\r\n\r\nGPT-2 attention is unidirectional (right attends to le...
1,591
1,596
1,591
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): GPT2 Language I am using the model on (English, Chinese ...): English The problem arises when using: * [x] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am working on is: * ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4805/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4805/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4804
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4804/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4804/comments
https://api.github.com/repos/huggingface/transformers/issues/4804/events
https://github.com/huggingface/transformers/pull/4804
631,869,488
MDExOlB1bGxSZXF1ZXN0NDI4NjgxNDY3
4,804
Add link to community models
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "Thanks for the review @clmnt, doing god's work" ]
1,591
1,591
1,591
COLLABORATOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4804/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4804/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4804", "html_url": "https://github.com/huggingface/transformers/pull/4804", "diff_url": "https://github.com/huggingface/transformers/pull/4804.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4804.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4803
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4803/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4803/comments
https://api.github.com/repos/huggingface/transformers/issues/4803/events
https://github.com/huggingface/transformers/pull/4803
631,864,842
MDExOlB1bGxSZXF1ZXN0NDI4Njc3NDky
4,803
[WIP] Blenderbot
{ "login": "mariamabarham", "id": 38249783, "node_id": "MDQ6VXNlcjM4MjQ5Nzgz", "avatar_url": "https://avatars.githubusercontent.com/u/38249783?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariamabarham", "html_url": "https://github.com/mariamabarham", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Awesome, looks like the model is soon complete :-) \r\n\r\nA couple of things I think that could be improved a bit:\r\n\r\n1. More consistent naming with other models. For me personally, I try to write the code as similar as possible to the `bert_modeling.py` code. `input_tensor` => `hidden_states`, `incremental_s...
1,591
1,651
1,601
NONE
null
**UPDATES - 14 AUGUST 2020** - Blenderbot-3B is working exactly in the same way as parlai and they have the same generation outputs - Blenderbot-90M also generates the same output as parlai in most cases but it can sometime generate a sequence with a small difference. For example: Parlai: `i' m not sure . i j...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4803/reactions", "total_count": 12, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 3, "rocket": 5, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4803/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4803", "html_url": "https://github.com/huggingface/transformers/pull/4803", "diff_url": "https://github.com/huggingface/transformers/pull/4803.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4803.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/4802
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4802/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4802/comments
https://api.github.com/repos/huggingface/transformers/issues/4802/events
https://github.com/huggingface/transformers/pull/4802
631,843,391
MDExOlB1bGxSZXF1ZXN0NDI4NjU5MTU3
4,802
[cleanup] MarianTokenizer: delete unused constants
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4802?src=pr&el=h1) Report\n> Merging [#4802](https://codecov.io/gh/huggingface/transformers/pull/4802?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/acaa2e6267ebfda9814795fa00b6ad86c35ea5d6&el=desc) will **increase...
1,591
1,592
1,591
CONTRIBUTOR
null
slow tests pass. The only needed constant is `vocab_files_names`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4802/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4802/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4802", "html_url": "https://github.com/huggingface/transformers/pull/4802", "diff_url": "https://github.com/huggingface/transformers/pull/4802.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4802.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4801
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4801/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4801/comments
https://api.github.com/repos/huggingface/transformers/issues/4801/events
https://github.com/huggingface/transformers/issues/4801
631,820,649
MDU6SXNzdWU2MzE4MjA2NDk=
4,801
pip install -e does not always install the correct isort version
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "@LysandreJik @julien-c any ideas?", "Works for me, no issues. But `isort==4.3.21` is not precise enough, you need to have the actual precise commit.\r\n\r\nCan you try `pip uninstall isort && pip install git+git://github.com/timothycrosley/isort.git@e63ae06ec7d70b06df9e528357650281a3d3ec22#egg=isort`\r\n?", "T...
1,591
1,591
1,591
CONTRIBUTOR
null
```bash pip install -e .["dev"] make quality ``` ### Output ```bash black --check --line-length 119 --target-version py35 examples templates tests src utils All done! ✨ 🍰 ✨ 306 files would be left unchanged. isort --check-only --recursive examples templates tests src utils ERROR: /Users/shleifer/transformers...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4801/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4801/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4800
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4800/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4800/comments
https://api.github.com/repos/huggingface/transformers/issues/4800/events
https://github.com/huggingface/transformers/pull/4800
631,801,234
MDExOlB1bGxSZXF1ZXN0NDI4NjIyMzE1
4,800
[isort] add matplotlib to known 3rd party dependencies
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4800?src=pr&el=h1) Report\n> Merging [#4800](https://codecov.io/gh/huggingface/transformers/pull/4800?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/acaa2e6267ebfda9814795fa00b6ad86c35ea5d6&el=desc) will **increase...
1,591
1,591
1,591
CONTRIBUTOR
null
Many people (like me) have it installed locally, so this will synchronize local isort and circleci.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4800/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4800/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4800", "html_url": "https://github.com/huggingface/transformers/pull/4800", "diff_url": "https://github.com/huggingface/transformers/pull/4800.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4800.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4799
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4799/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4799/comments
https://api.github.com/repos/huggingface/transformers/issues/4799/events
https://github.com/huggingface/transformers/pull/4799
631,798,464
MDExOlB1bGxSZXF1ZXN0NDI4NjE5OTA2
4,799
[cleanup] consolidate some prune_heads logic
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4799?src=pr&el=h1) Report\n> Merging [#4799](https://codecov.io/gh/huggingface/transformers/pull/4799?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/56d5d160cdd177ae6e644506535b56e79feccf68&el=desc) will **decrease...
1,591
1,591
1,591
CONTRIBUTOR
null
factors out 5 repetitions of the following logic ```python def find_pruneable_heads_and_indices( heads: List, n_heads: int, head_size: int, already_pruned_heads: set ) -> Tuple[set, "torch.LongTensor"]: mask = torch.ones(n_heads, head_size) heads = set(heads) - already_pruned_heads # Convert to set ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4799/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4799/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4799", "html_url": "https://github.com/huggingface/transformers/pull/4799", "diff_url": "https://github.com/huggingface/transformers/pull/4799.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4799.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4798
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4798/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4798/comments
https://api.github.com/repos/huggingface/transformers/issues/4798/events
https://github.com/huggingface/transformers/issues/4798
631,786,373
MDU6SXNzdWU2MzE3ODYzNzM=
4,798
[ctrl] has broken code for pruning that is not tested
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "Yeah change \r\n```python\r\nself.h[layer].attn.prune_heads(heads)\r\n``` \r\nto \r\n```python\r\nself.h[layer].multi_head_attention.prune_heads(heads)\r\n``` \r\nin modeling_ctrl.py\r\n\r\nand set `test_pruning=True` in `CTRLModelTest`", "@sshleifer \r\nI did the above-mentioned changes however the testing of p...
1,591
1,591
1,591
CONTRIBUTOR
null
references an `attn` parameter than should be `multiheaded_attn`. Easy-ish fix.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4798/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4798/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4797
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4797/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4797/comments
https://api.github.com/repos/huggingface/transformers/issues/4797/events
https://github.com/huggingface/transformers/issues/4797
631,780,461
MDU6SXNzdWU2MzE3ODA0NjE=
4,797
Write With Transformer Request:
{ "login": "BigSalmon2", "id": 61605789, "node_id": "MDQ6VXNlcjYxNjA1Nzg5", "avatar_url": "https://avatars.githubusercontent.com/u/61605789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BigSalmon2", "html_url": "https://github.com/BigSalmon2", "followers_url": "https://api.github.com/use...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null }, { "id": 1565794707, "node_id": "MDU6TGFiZWwxNTY1Nzk0NzA3", ...
closed
false
null
[]
[ "This wouldn't change the unit economics of providing this service, but I'm curious, why don't you press tab twice instead?", "The previous suggestions disappear after I press tab. \r\n\r\nIt is easier to pick an autocompletion that is suitable, the more options I have to compare. ", "This issue has been automa...
1,591
1,597
1,597
NONE
null
# 🚀 Feature request I understand if this is unattainable for reason of money, but I was wondering if you could replace three autocomplete suggestions with five.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4797/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4797/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4796
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4796/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4796/comments
https://api.github.com/repos/huggingface/transformers/issues/4796/events
https://github.com/huggingface/transformers/pull/4796
631,775,506
MDExOlB1bGxSZXF1ZXN0NDI4NjAwMDA3
4,796
Ignore simlink
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4796?src=pr&el=h1) Report\n> Merging [#4796](https://codecov.io/gh/huggingface/transformers/pull/4796?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/acaa2e6267ebfda9814795fa00b6ad86c35ea5d6&el=desc) will **increase...
1,591
1,591
1,591
COLLABORATOR
null
Didn't get an answer to my question on #4774 so asking again in the form of a PR ;-) Currently, building the docs require making a simlink to the examples README (as per the [instructions](https://github.com/huggingface/transformers/tree/master/docs#building-the-documentation)) and that file then becomes untracked b...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4796/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4796/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4796", "html_url": "https://github.com/huggingface/transformers/pull/4796", "diff_url": "https://github.com/huggingface/transformers/pull/4796.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4796.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/4795
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4795/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4795/comments
https://api.github.com/repos/huggingface/transformers/issues/4795/events
https://github.com/huggingface/transformers/pull/4795
631,771,117
MDExOlB1bGxSZXF1ZXN0NDI4NTk2MzU4
4,795
Explain how to preview the docs in a PR
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4795?src=pr&el=h1) Report\n> Merging [#4795](https://codecov.io/gh/huggingface/transformers/pull/4795?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/acaa2e6267ebfda9814795fa00b6ad86c35ea5d6&el=desc) will **decrease...
1,591
1,591
1,591
COLLABORATOR
null
As discussed offline, add the instructions to check how to preview the docs.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4795/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4795/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4795", "html_url": "https://github.com/huggingface/transformers/pull/4795", "diff_url": "https://github.com/huggingface/transformers/pull/4795.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4795.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4794
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4794/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4794/comments
https://api.github.com/repos/huggingface/transformers/issues/4794/events
https://github.com/huggingface/transformers/pull/4794
631,768,615
MDExOlB1bGxSZXF1ZXN0NDI4NTk0MjA5
4,794
enable multiprocessing in glue dataset
{ "login": "zrxbeijing", "id": 38594797, "node_id": "MDQ6VXNlcjM4NTk0Nzk3", "avatar_url": "https://avatars.githubusercontent.com/u/38594797?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zrxbeijing", "html_url": "https://github.com/zrxbeijing", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,591
1,591
1,591
NONE
null
enable multiprocessing when converting examples to features utilizing the multiple cpu cores. N time faster...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4794/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4794/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4794", "html_url": "https://github.com/huggingface/transformers/pull/4794", "diff_url": "https://github.com/huggingface/transformers/pull/4794.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4794.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/4793
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4793/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4793/comments
https://api.github.com/repos/huggingface/transformers/issues/4793/events
https://github.com/huggingface/transformers/issues/4793
631,760,669
MDU6SXNzdWU2MzE3NjA2Njk=
4,793
🐛 run_ner.py runtime error linked to TPU training
{ "login": "vinmorel", "id": 15064465, "node_id": "MDQ6VXNlcjE1MDY0NDY1", "avatar_url": "https://avatars.githubusercontent.com/u/15064465?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vinmorel", "html_url": "https://github.com/vinmorel", "followers_url": "https://api.github.com/users/vin...
[]
closed
false
null
[]
[ "Hi! did you solve your issue?" ]
1,591
1,591
1,591
NONE
null
# 🐛 Bug ## Information Model I am using **Longformer For Token Classification** Language I am using the model on **German**: The problem arises when using: * [x] the official example scripts: T**he problem arises when trying to run run_ner.py on google colab in TPU fp16 mode.** The tasks I am work...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4793/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4793/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4792
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4792/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4792/comments
https://api.github.com/repos/huggingface/transformers/issues/4792/events
https://github.com/huggingface/transformers/pull/4792
631,760,558
MDExOlB1bGxSZXF1ZXN0NDI4NTg3MjQ1
4,792
Fix argument label
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4792?src=pr&el=h1) Report\n> Merging [#4792](https://codecov.io/gh/huggingface/transformers/pull/4792?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/acaa2e6267ebfda9814795fa00b6ad86c35ea5d6&el=desc) will **increase...
1,591
1,591
1,591
COLLABORATOR
null
After #4722 the labels are called just `labels` now, not `masked_lm_labels`. The fact it wasn't caught by the tests probably means we have some test missing...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4792/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4792/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4792", "html_url": "https://github.com/huggingface/transformers/pull/4792", "diff_url": "https://github.com/huggingface/transformers/pull/4792.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4792.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4791
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4791/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4791/comments
https://api.github.com/repos/huggingface/transformers/issues/4791/events
https://github.com/huggingface/transformers/pull/4791
631,737,437
MDExOlB1bGxSZXF1ZXN0NDI4NTY3NDMw
4,791
parse arguments from dict
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @patil-suraj :-),\r\n\r\nHmm, not sure we would definitely need that...let's say you have a dict of arguments that you want to parse it into a dataclass like `TrainingArguments`, you could just do \r\n\r\n```python\r\ntraining_args = TrainingArguments(**your_dict)\r\n```\r\n\r\nlike it is done in the Reformer ...
1,591
1,591
1,591
MEMBER
null
This PR adds `parse_dict` method to `HfArgumentParser` to allow parsing arguments from `dict`. I find this necessary for notebook workflows where I'm not using `Trainer` from command line. Otherwise I need to write arguments to json file and use that path with `parse_json_file` or pass a list of strings to `pars...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4791/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4791/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4791", "html_url": "https://github.com/huggingface/transformers/pull/4791", "diff_url": "https://github.com/huggingface/transformers/pull/4791.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4791.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/4790
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4790/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4790/comments
https://api.github.com/repos/huggingface/transformers/issues/4790/events
https://github.com/huggingface/transformers/pull/4790
631,734,747
MDExOlB1bGxSZXF1ZXN0NDI4NTY1MTc2
4,790
Clean-up code
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4790?src=pr&el=h1) Report\n> Merging [#4790](https://codecov.io/gh/huggingface/transformers/pull/4790?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fa661ce749b0d14ae1999d1b097866248624a842&el=desc) will **increase...
1,591
1,591
1,591
COLLABORATOR
null
Looks like #4747 introduced some bad formatting, fixing so CI is happy again.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4790/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4790/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4790", "html_url": "https://github.com/huggingface/transformers/pull/4790", "diff_url": "https://github.com/huggingface/transformers/pull/4790.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4790.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4789
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4789/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4789/comments
https://api.github.com/repos/huggingface/transformers/issues/4789/events
https://github.com/huggingface/transformers/pull/4789
631,644,318
MDExOlB1bGxSZXF1ZXN0NDI4NDkzNDA0
4,789
Add model summary
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4789?src=pr&el=h1) Report\n> Merging [#4789](https://codecov.io/gh/huggingface/transformers/pull/4789?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b9109f2de1c4f52967976dc840074a9d62713498&el=desc) will **increase...
1,591
1,591
1,591
COLLABORATOR
null
This PR adds a high-level summary of all the models in the documentation.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4789/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4789/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4789", "html_url": "https://github.com/huggingface/transformers/pull/4789", "diff_url": "https://github.com/huggingface/transformers/pull/4789.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4789.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4788
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4788/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4788/comments
https://api.github.com/repos/huggingface/transformers/issues/4788/events
https://github.com/huggingface/transformers/issues/4788
631,632,895
MDU6SXNzdWU2MzE2MzI4OTU=
4,788
Onnx conversion for bert models with classification layers
{ "login": "hrsmanian", "id": 9534168, "node_id": "MDQ6VXNlcjk1MzQxNjg=", "avatar_url": "https://avatars.githubusercontent.com/u/9534168?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hrsmanian", "html_url": "https://github.com/hrsmanian", "followers_url": "https://api.github.com/users/hr...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Might be of interest to @mfuntowicz ", "I think the issue could be due to pipeline which extracts the model\r\n# Allocate tokenizer and model\r\nreturn pipeline(\"feature-extraction\", model=model, tokenizer=tokenizer, framework=framework)\r\n\r\nSeems like default is 'feature-extraction'\r\nI could get this to ...
1,591
1,597
1,597
NONE
null
Hi, I am trying to convert a NER model trained with BertForTokenClassification to Onnx format. Am able to convert it using the convert_graph_to_onnx.py script using the following params convert(framework="pt", model="bert_small_ner", output="bert_small_onnx/bert_small_ner.onnx", opset=11) There are no errors t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4788/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4788/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4787
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4787/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4787/comments
https://api.github.com/repos/huggingface/transformers/issues/4787/events
https://github.com/huggingface/transformers/issues/4787
631,594,992
MDU6SXNzdWU2MzE1OTQ5OTI=
4,787
🚀 [Feature Request] Add self-contained browsable examples/notebooks in the docs
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Good point! I think we could definitely give more links to the community notebooks and the docs in general to people so that users check the resources first before opening an issue...what are your thoughts on this @sgugger @julien-c @thomwolf ?", "I agree we could add links to example notebooks in the docs, eith...
1,591
1,597
1,597
MEMBER
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> ## Motivation and feature request Recently I'm seeing lots of beginner-level issues asking help on how to fine-tune a particular model for a particular task...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4787/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4787/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4786
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4786/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4786/comments
https://api.github.com/repos/huggingface/transformers/issues/4786/events
https://github.com/huggingface/transformers/issues/4786
631,593,262
MDU6SXNzdWU2MzE1OTMyNjI=
4,786
Usage of Ġ in BPE tokenizer
{ "login": "maschasap", "id": 39886191, "node_id": "MDQ6VXNlcjM5ODg2MTkx", "avatar_url": "https://avatars.githubusercontent.com/u/39886191?v=4", "gravatar_id": "", "url": "https://api.github.com/users/maschasap", "html_url": "https://github.com/maschasap", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "@maschasap \r\nAFAIK, you won't need to add `Ġ ` when adding a new token. \r\nAnd you can use the `convert_tokens_to_string` method to convert these tokens to their respective strings.\r\n\r\ntagging @mfuntowicz for more info", "@patil-suraj thanks for your response! But still why doesn't the tokenizer add `Ġ`...
1,591
1,663
1,608
NONE
null
Hello, I want to add new words to my BPE tokenizer. I know the symbol Ġ means the end of a new token and the majority of tokens in vocabs of pre-trained tokenizers start with Ġ. Assume I want to add the word **Salah** to my tokenizer. I tried to add both **Salah** token and **ĠSalah**: `tokenizer.add_tokens(['Salah'...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4786/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4786/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4785
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4785/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4785/comments
https://api.github.com/repos/huggingface/transformers/issues/4785/events
https://github.com/huggingface/transformers/issues/4785
631,575,399
MDU6SXNzdWU2MzE1NzUzOTk=
4,785
Question Answering Pipeline with big texts.
{ "login": "thiagomoeng", "id": 64150563, "node_id": "MDQ6VXNlcjY0MTUwNTYz", "avatar_url": "https://avatars.githubusercontent.com/u/64150563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thiagomoeng", "html_url": "https://github.com/thiagomoeng", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Longformer would be a good choice, but it is currently not implemented in the pipelines. This issue might help :-) : https://github.com/huggingface/transformers/issues/4762", "and #4615", "This notebook might help :-) \r\nhttps://colab.research.google.com/drive/1m7eTGlPmLRgoPkkA7rkhQdZ9ydpmsdLE?usp=sharing" ]
1,591
1,591
1,591
NONE
null
# ❓ Questions & Help I am searching for some ideas of how to use QA pipeline with big data texts and get a good time response. (I am already using GPU)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4785/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4785/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4784
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4784/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4784/comments
https://api.github.com/repos/huggingface/transformers/issues/4784/events
https://github.com/huggingface/transformers/issues/4784
631,458,611
MDU6SXNzdWU2MzE0NTg2MTE=
4,784
Can I train question-answering on TPU using Huggingface
{ "login": "thak123", "id": 3891859, "node_id": "MDQ6VXNlcjM4OTE4NTk=", "avatar_url": "https://avatars.githubusercontent.com/u/3891859?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thak123", "html_url": "https://github.com/thak123", "followers_url": "https://api.github.com/users/thak123/...
[]
closed
false
null
[]
[ "as you can see in https://github.com/huggingface/transformers/tree/master/examples#the-big-table-of-tasks `question-answering` is not implemented using Trainer, yet – so doesn't have TPU support. \r\n\r\nThis is on our todo-list but might take a few weeks. Feel free to open a PR though – or use TFTrainer is TF is ...
1,591
1,591
1,591
NONE
null
# ❓ Questions & Help I am trying to run run_squad from question answering on TPU but I get the following error. ## Details export SQUAD_DIR=/path/to/SQUAD python examples/xla_spawn.py --num_cores 8 \ run_squad.py \ --model_type bert \ --model_name_or_path bert-base-uncased \ --do_train \ --do_eval \...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4784/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4784/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4783
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4783/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4783/comments
https://api.github.com/repos/huggingface/transformers/issues/4783/events
https://github.com/huggingface/transformers/issues/4783
631,417,088
MDU6SXNzdWU2MzE0MTcwODg=
4,783
question about tokenizer
{ "login": "yuimo", "id": 22741826, "node_id": "MDQ6VXNlcjIyNzQxODI2", "avatar_url": "https://avatars.githubusercontent.com/u/22741826?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuimo", "html_url": "https://github.com/yuimo", "followers_url": "https://api.github.com/users/yuimo/follow...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This notebook might help you, it shows how you can train a LM from scratch on a new language.\r\nhttps://github.com/huggingface/blog/blob/master/notebooks/01_how_to_train.ipynb", "@patil-suraj thanks for your reply. i have read this notebook. but i want to re-use the functions in the transfomers such as function...
1,591
1,597
1,597
NONE
null
hi, is there any difference between initializing BertTokenizer and load it using from_pretrained, such as: 1、tokenizer = BertTokenizer(bert-base-uncased-vocab) 2、tokenizer = BertTokenizer.from_pretrained('bert-base-uncased') i want to pretrain for some new language by myself, so i need to create the vocabulary, ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4783/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4783/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4782
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4782/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4782/comments
https://api.github.com/repos/huggingface/transformers/issues/4782/events
https://github.com/huggingface/transformers/issues/4782
631,412,439
MDU6SXNzdWU2MzE0MTI0Mzk=
4,782
❓ How to use Gradient Accumulator in TF_Trainer ?
{ "login": "astariul", "id": 43774355, "node_id": "MDQ6VXNlcjQzNzc0MzU1", "avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/astariul", "html_url": "https://github.com/astariul", "followers_url": "https://api.github.com/users/ast...
[]
closed
false
null
[]
[ "Hello!\r\n\r\nThe usage of the gradient accumulator is fully integrated since the beginning in the TF Trainer, the default value of accumulation is 1, if you want to change it you have to fill the `--gradient_accumulation_steps` parameter.", "That's awesome ! Thank you very much for your answer" ]
1,591
1,591
1,591
CONTRIBUTOR
null
# ❓ Questions & Help According to the documentation of Gradient Accumulator : > the accumulator should be called in a replica context. Gradients will be accumulated locally on each replica and without synchronization. Users should then call ``.gradients``, scale the gradients if required, and pass the re...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4782/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4782/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4781
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4781/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4781/comments
https://api.github.com/repos/huggingface/transformers/issues/4781/events
https://github.com/huggingface/transformers/issues/4781
631,375,493
MDU6SXNzdWU2MzEzNzU0OTM=
4,781
Regarding generate method used in BART
{ "login": "kunalpagarey", "id": 38290549, "node_id": "MDQ6VXNlcjM4MjkwNTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/38290549?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kunalpagarey", "html_url": "https://github.com/kunalpagarey", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "Hey @kunalpagarey, \r\n\r\nThe `.generate()` method cannot be used for training. It can be used for validation and testing. \r\nTo create a good model for summarization the following components are important:\r\n\r\n**Train**:\r\n1. What model do you want to use? => Bart for example\r\n2. What loss function do you...
1,591
1,591
1,591
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarily intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to Stack Overflow (SO) where a whole community of PyTorch and Tensorflow enthusiasts can help you out. Make...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4781/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4781/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4780
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4780/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4780/comments
https://api.github.com/repos/huggingface/transformers/issues/4780/events
https://github.com/huggingface/transformers/issues/4780
631,277,543
MDU6SXNzdWU2MzEyNzc1NDM=
4,780
Reformer hidden_size of output is doubled.
{ "login": "h324yang", "id": 6326212, "node_id": "MDQ6VXNlcjYzMjYyMTI=", "avatar_url": "https://avatars.githubusercontent.com/u/6326212?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h324yang", "html_url": "https://github.com/h324yang", "followers_url": "https://api.github.com/users/h324y...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hey @h324yang, \r\n\r\nGood observation! The reason for this is that Reformer uses Reversible Residual Layers and thus always has two input streams (two hidden states inputs) instead of one. Both of these streams have to be concatenated after running through the model which leads to double the size of `hidden_stat...
1,591
1,591
1,591
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to Stack Overflow (SO) where a whole community of PyTorch and Tensorflow enthusiast can help you out. Make s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4780/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4780/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4779
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4779/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4779/comments
https://api.github.com/repos/huggingface/transformers/issues/4779/events
https://github.com/huggingface/transformers/issues/4779
631,242,893
MDU6SXNzdWU2MzEyNDI4OTM=
4,779
🐛 [BART] Pipeline OOM
{ "login": "astariul", "id": 43774355, "node_id": "MDQ6VXNlcjQzNzc0MzU1", "avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4", "gravatar_id": "", "url": "https://api.github.com/users/astariul", "html_url": "https://github.com/astariul", "followers_url": "https://api.github.com/users/ast...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "@sshleifer Can you reproduce on your side or is it just me ?", "Yes I can replicate, sorry for the slow response. I am still trying to figure out why this is happening.", "OK I figured out the problem\r\nLong articles are not getting truncated anymore by pipeline.\r\nWill have a look.\r\nIf you look at the sec...
1,591
1,598
1,598
CONTRIBUTOR
null
# 🐛 Bug I try to run BART model myself versus running the model through `pipeline`. Running the BART model myself is fine, but I have OOM on my GPU if I try to run the same model through pipeline. Please see the following code : https://gist.github.com/Colanim/4fae6ab52c05716062a0f20c4a6b9737 _(It assume y...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4779/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4779/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4778
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4778/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4778/comments
https://api.github.com/repos/huggingface/transformers/issues/4778/events
https://github.com/huggingface/transformers/pull/4778
631,220,395
MDExOlB1bGxSZXF1ZXN0NDI4MTUwMzc2
4,778
Updated path "cd examples/text-generation/pplm"
{ "login": "Mr-Ruben", "id": 37179353, "node_id": "MDQ6VXNlcjM3MTc5MzUz", "avatar_url": "https://avatars.githubusercontent.com/u/37179353?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mr-Ruben", "html_url": "https://github.com/Mr-Ruben", "followers_url": "https://api.github.com/users/Mr-...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4778?src=pr&el=h1) Report\n> Merging [#4778](https://codecov.io/gh/huggingface/transformers/pull/4778?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f9414f7553d3f1872b372990ef03205c0d1141df&el=desc) will **increase...
1,591
1,591
1,591
CONTRIBUTOR
null
https://github.com/huggingface/transformers/issues/4776
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4778/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4778/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4778", "html_url": "https://github.com/huggingface/transformers/pull/4778", "diff_url": "https://github.com/huggingface/transformers/pull/4778.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4778.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4777
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4777/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4777/comments
https://api.github.com/repos/huggingface/transformers/issues/4777/events
https://github.com/huggingface/transformers/issues/4777
631,199,208
MDU6SXNzdWU2MzExOTkyMDg=
4,777
The purpose of files merges.txt, special_tokens_map.json, training_args.bin and add_tokens.json
{ "login": "Aktsvigun", "id": 36672861, "node_id": "MDQ6VXNlcjM2NjcyODYx", "avatar_url": "https://avatars.githubusercontent.com/u/36672861?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aktsvigun", "html_url": "https://github.com/Aktsvigun", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi. \r\n\r\nYou will get an explanation about `merges.txt` in this [post](https://github.com/huggingface/transformers/issues/1083#issuecomment-524303077).", "@piegu , thanks for you answer! I have already read this post, though still did not quite understand, does it contain all the possible tokens? If so, what ...
1,591
1,680
1,598
CONTRIBUTOR
null
Good evening! After I have my RoBERTa model pre-trained, I get the list of the following files: `merges.txt`, `special_tokens_map.json`, `training_args.bin`. I have also seen if you add extra tokens to the tokenizer, the file `add_tokens.json` appears. Could I ask to clarify the meaning of the first three files - h...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4777/reactions", "total_count": 9, "+1": 9, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4777/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4776
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4776/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4776/comments
https://api.github.com/repos/huggingface/transformers/issues/4776/events
https://github.com/huggingface/transformers/issues/4776
631,195,335
MDU6SXNzdWU2MzExOTUzMzU=
4,776
Correcting path to pplm examples
{ "login": "Mr-Ruben", "id": 37179353, "node_id": "MDQ6VXNlcjM3MTc5MzUz", "avatar_url": "https://avatars.githubusercontent.com/u/37179353?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mr-Ruben", "html_url": "https://github.com/Mr-Ruben", "followers_url": "https://api.github.com/users/Mr-...
[]
closed
false
null
[]
[ "Thanks for the report – care to open a PR?", "Done\r\nhttps://github.com/huggingface/transformers/pull/4778\r\n\r\nI hope it is done well." ]
1,591
1,591
1,591
CONTRIBUTOR
null
# 🐛 Bug On https://github.com/huggingface/transformers/tree/master/examples/text-generation/pplm#setup It says ``` git clone https://github.com/huggingface/transformers && cd transformers pip install . pip install nltk torchtext # additional requirements. cd examples/pplm ``` and as you can guess ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4776/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4776/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4775
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4775/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4775/comments
https://api.github.com/repos/huggingface/transformers/issues/4775/events
https://github.com/huggingface/transformers/pull/4775
631,157,949
MDExOlB1bGxSZXF1ZXN0NDI4MDk5MzYy
4,775
Create model card for tblard/allocine
{ "login": "TheophileBlard", "id": 37028092, "node_id": "MDQ6VXNlcjM3MDI4MDky", "avatar_url": "https://avatars.githubusercontent.com/u/37028092?v=4", "gravatar_id": "", "url": "https://api.github.com/users/TheophileBlard", "html_url": "https://github.com/TheophileBlard", "followers_url": "https://api.gi...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4775?src=pr&el=h1) Report\n> Merging [#4775](https://codecov.io/gh/huggingface/transformers/pull/4775?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/17a88d31925a9308e4d7275420033f07a20cd680&el=desc) will **increase...
1,591
1,591
1,591
CONTRIBUTOR
null
Model card for: https://huggingface.co/tblard/tf-allocine This is a french sentiment analysis model, trained from camembert-base, finetuned on Allociné.fr data. Original repo: https://github.com/TheophileBlard/french-sentiment-analysis-with-bert
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4775/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4775/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4775", "html_url": "https://github.com/huggingface/transformers/pull/4775", "diff_url": "https://github.com/huggingface/transformers/pull/4775.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4775.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4774
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4774/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4774/comments
https://api.github.com/repos/huggingface/transformers/issues/4774/events
https://github.com/huggingface/transformers/pull/4774
631,119,191
MDExOlB1bGxSZXF1ZXN0NDI4MDY2NDkw
4,774
Add .vs to gitignore
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4774?src=pr&el=h1) Report\n> Merging [#4774](https://codecov.io/gh/huggingface/transformers/pull/4774?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cd4e07a85e6161111016ca6d811d97e59368971a&el=desc) will **increase...
1,591
1,591
1,591
COLLABORATOR
null
My VS code writes stuff there so added it to the .gitignore. I also have other untracked files: - in tests/fixtures/ I have some cached_lm_\*Tokenizer_\*.txt and .txt.lock after running the tests - in docs/ I have the simlink to examples.md as indicated in [here](https://github.com/huggingface/transformers/tree/ma...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4774/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4774/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4774", "html_url": "https://github.com/huggingface/transformers/pull/4774", "diff_url": "https://github.com/huggingface/transformers/pull/4774.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4774.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4773
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4773/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4773/comments
https://api.github.com/repos/huggingface/transformers/issues/4773/events
https://github.com/huggingface/transformers/pull/4773
631,047,879
MDExOlB1bGxSZXF1ZXN0NDI4MDA4MzYx
4,773
Don't access pad_token_id if there is no pad_token
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4773?src=pr&el=h1) Report\n> Merging [#4773](https://codecov.io/gh/huggingface/transformers/pull/4773?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/cd4e07a85e6161111016ca6d811d97e59368971a&el=desc) will **increase...
1,591
1,591
1,591
COLLABORATOR
null
When using the `encode` method of a fast tokenizer, we end up here and accessing `pad_token_id` may log an error even when no padding is done. This PR corrects that. This fixes #4764 .
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4773/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 2, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4773/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4773", "html_url": "https://github.com/huggingface/transformers/pull/4773", "diff_url": "https://github.com/huggingface/transformers/pull/4773.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4773.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4772
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4772/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4772/comments
https://api.github.com/repos/huggingface/transformers/issues/4772/events
https://github.com/huggingface/transformers/pull/4772
631,035,228
MDExOlB1bGxSZXF1ZXN0NDI3OTk3Mzk4
4,772
Fix the __getattr__ method in BatchEncoding
{ "login": "jplu", "id": 959590, "node_id": "MDQ6VXNlcjk1OTU5MA==", "avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jplu", "html_url": "https://github.com/jplu", "followers_url": "https://api.github.com/users/jplu/followers", ...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4772?src=pr&el=h1) Report\n> Merging [#4772](https://codecov.io/gh/huggingface/transformers/pull/4772?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5856999a9f2926923f037ecd8d27b8058bcf9dae&el=desc) will **decrease...
1,591
1,591
1,591
CONTRIBUTOR
null
Fix the issue where the `__getattr__` method in `BatchEncoding` was raising a `KeyError` instead of an `AttributeError` when the attribute was accessed with `getattr()`. Example: ``` from transformers import BertTokenizer tokenizer = BertTokenizer.from_pretrained("bert-base-cased") features = tokenizer.encode_pl...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4772/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4772/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4772", "html_url": "https://github.com/huggingface/transformers/pull/4772", "diff_url": "https://github.com/huggingface/transformers/pull/4772.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4772.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4771
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4771/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4771/comments
https://api.github.com/repos/huggingface/transformers/issues/4771/events
https://github.com/huggingface/transformers/pull/4771
630,978,768
MDExOlB1bGxSZXF1ZXN0NDI3OTU1NDIz
4,771
Remove unnecessary model_type arg in example
{ "login": "zphang", "id": 1668462, "node_id": "MDQ6VXNlcjE2Njg0NjI=", "avatar_url": "https://avatars.githubusercontent.com/u/1668462?v=4", "gravatar_id": "", "url": "https://api.github.com/users/zphang", "html_url": "https://github.com/zphang", "followers_url": "https://api.github.com/users/zphang/foll...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4771?src=pr&el=h1) Report\n> Merging [#4771](https://codecov.io/gh/huggingface/transformers/pull/4771?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e645b9ab9407e1c1b2c168317dc79fe13fc6e0b4&el=desc) will **decrease...
1,591
1,591
1,591
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4771/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4771/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4771", "html_url": "https://github.com/huggingface/transformers/pull/4771", "diff_url": "https://github.com/huggingface/transformers/pull/4771.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4771.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4770
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4770/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4770/comments
https://api.github.com/repos/huggingface/transformers/issues/4770/events
https://github.com/huggingface/transformers/pull/4770
630,970,463
MDExOlB1bGxSZXF1ZXN0NDI3OTQ5Mjg5
4,770
Add note about doc generation
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4770?src=pr&el=h1) Report\n> Merging [#4770](https://codecov.io/gh/huggingface/transformers/pull/4770?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e645b9ab9407e1c1b2c168317dc79fe13fc6e0b4&el=desc) will **decrease...
1,591
1,591
1,591
COLLABORATOR
null
Just make it explicit that doc generation is only for local inspection.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4770/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4770/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4770", "html_url": "https://github.com/huggingface/transformers/pull/4770", "diff_url": "https://github.com/huggingface/transformers/pull/4770.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4770.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4769
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4769/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4769/comments
https://api.github.com/repos/huggingface/transformers/issues/4769/events
https://github.com/huggingface/transformers/issues/4769
630,938,385
MDU6SXNzdWU2MzA5MzgzODU=
4,769
Bert (sentence classification) output is non-deterministic for PyTorch (not for TF)
{ "login": "lutz-100worte", "id": 38904541, "node_id": "MDQ6VXNlcjM4OTA0NTQx", "avatar_url": "https://avatars.githubusercontent.com/u/38904541?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lutz-100worte", "html_url": "https://github.com/lutz-100worte", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Hi, as a quick note, all the instructions you've shown could be resumed in the simpler `BertForSequenceClassification.from_pretrained`.\r\n\r\nWhich checkpoint are you trying to load? How did you obtain it?", "Hi, thanks for the tip.\r\n\r\nThe checkpoint is from an own finetuned model. But would that matter? I ...
1,591
1,591
1,591
NONE
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): Bert Language I am using the model on (English, Chinese ...): German The problem arises when using: * [ ] the official example scripts: (give details below) * [X] my own modified scripts: (give details below) The tasks I am working on is: * [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4769/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4769/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4768
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4768/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4768/comments
https://api.github.com/repos/huggingface/transformers/issues/4768/events
https://github.com/huggingface/transformers/pull/4768
630,917,725
MDExOlB1bGxSZXF1ZXN0NDI3OTA5OTUz
4,768
Codecov setup
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4768?src=pr&el=h1) Report\n> Merging [#4768](https://codecov.io/gh/huggingface/transformers/pull/4768?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/2b8b6c929e282958a920ba2aa26ee59106986ec3&el=desc) will **increase...
1,591
1,591
1,591
MEMBER
null
Setup codecov
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4768/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4768/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4768", "html_url": "https://github.com/huggingface/transformers/pull/4768", "diff_url": "https://github.com/huggingface/transformers/pull/4768.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4768.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4767
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4767/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4767/comments
https://api.github.com/repos/huggingface/transformers/issues/4767/events
https://github.com/huggingface/transformers/issues/4767
630,917,597
MDU6SXNzdWU2MzA5MTc1OTc=
4,767
Model is running on special characters and word pieces for token classification
{ "login": "andrster", "id": 22357321, "node_id": "MDQ6VXNlcjIyMzU3MzIx", "avatar_url": "https://avatars.githubusercontent.com/u/22357321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andrster", "html_url": "https://github.com/andrster", "followers_url": "https://api.github.com/users/and...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hi @andrster , it's not clear what you mean here. Can you please provide more explanation", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,591
1,597
1,597
NONE
null
['last', 'completed', 'interactions', 'on', 'wed', '##nes', '##day'] and it will return for 9 labels, but should really on return 5
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4767/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4767/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4766
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4766/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4766/comments
https://api.github.com/repos/huggingface/transformers/issues/4766/events
https://github.com/huggingface/transformers/issues/4766
630,850,819
MDU6SXNzdWU2MzA4NTA4MTk=
4,766
Issue with HANS evaluation
{ "login": "prajjwal1", "id": 24690051, "node_id": "MDQ6VXNlcjI0NjkwMDUx", "avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prajjwal1", "html_url": "https://github.com/prajjwal1", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Could you please provide some possible areas to look at ? I can look at it and send a PR.", "@sgugger @julien-c Thank you for the [PR](https://github.com/huggingface/transformers/issues/4742). There is a problem associated with this PR, that is, if you run `python3 evaluate_heur_output.py /path_to_hans_predictio...
1,591
1,597
1,597
CONTRIBUTOR
null
# 🐛 Bug ## Information Model I am using (Bert, XLNet ...): Albert, Bert Language I am using the model on (English, Chinese ...): GLUE (MNLI), HANS The problem arises when using: * [x] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4766/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4766/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4765
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4765/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4765/comments
https://api.github.com/repos/huggingface/transformers/issues/4765/events
https://github.com/huggingface/transformers/issues/4765
630,849,167
MDU6SXNzdWU2MzA4NDkxNjc=
4,765
Cannot load pretrained model from repo.
{ "login": "jordaniac89", "id": 8006059, "node_id": "MDQ6VXNlcjgwMDYwNTk=", "avatar_url": "https://avatars.githubusercontent.com/u/8006059?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jordaniac89", "html_url": "https://github.com/jordaniac89", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Hello @jordaniac89 I just tried this, and it worked. Can you try this again ?", "Yeah, nothing. My assumption was that from_pretrained() should reach out to s3 and download the model if it can't find it?", "Figured it out. Just an fyi that `pip install transformers` installs v. 2.2.0. I needed to specify 2.5....
1,591
1,591
1,591
NONE
null
Hi, I'm trying to load a model from the repository: ``` tokenizer = AutoTokenizer.from_pretrained("NeuML/bert-small-cord19-squad2") model = AutoModelForQuestionAnswering.from_pretrained("NeuML/bert-small-cord19-squad2") ``` but I'm receiving the error: `OSError: Model name 'NeuML/bert-small-cord19-squad2' was n...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4765/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4765/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4764
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4764/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4764/comments
https://api.github.com/repos/huggingface/transformers/issues/4764/events
https://github.com/huggingface/transformers/issues/4764
630,789,576
MDU6SXNzdWU2MzA3ODk1NzY=
4,764
GPT2TokenizerFast raises pad_token error even if not used
{ "login": "tomhosking", "id": 9419158, "node_id": "MDQ6VXNlcjk0MTkxNTg=", "avatar_url": "https://avatars.githubusercontent.com/u/9419158?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tomhosking", "html_url": "https://github.com/tomhosking", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "I can reproduce and think I've found the cause, working on this." ]
1,591
1,591
1,591
CONTRIBUTOR
null
# 🐛 Bug ## Information Model: GPT2 Language: English Encoding with the `GPT2TokenizerFast` causes a `pad_token` error to be sent to stderr, despite not attempting to access that property. ## To reproduce ```import transformers from transformers import GPT2TokenizerFast tokenizer = GPT2TokenizerFa...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4764/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4764/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4763
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4763/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4763/comments
https://api.github.com/repos/huggingface/transformers/issues/4763/events
https://github.com/huggingface/transformers/pull/4763
630,749,871
MDExOlB1bGxSZXF1ZXN0NDI3Nzc3NTYw
4,763
Model Card for RoBERTa trained on Sanskrit
{ "login": "parmarsuraj99", "id": 9317265, "node_id": "MDQ6VXNlcjkzMTcyNjU=", "avatar_url": "https://avatars.githubusercontent.com/u/9317265?v=4", "gravatar_id": "", "url": "https://api.github.com/users/parmarsuraj99", "html_url": "https://github.com/parmarsuraj99", "followers_url": "https://api.github....
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4763?src=pr&el=h1) Report\n> Merging [#4763](https://codecov.io/gh/huggingface/transformers/pull/4763?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5bf9afbf351f9419505eb1c9e0c5ab78883c3caf&el=desc) will **decrease...
1,591
1,591
1,591
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4763/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4763/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4763", "html_url": "https://github.com/huggingface/transformers/pull/4763", "diff_url": "https://github.com/huggingface/transformers/pull/4763.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4763.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4762
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4762/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4762/comments
https://api.github.com/repos/huggingface/transformers/issues/4762/events
https://github.com/huggingface/transformers/issues/4762
630,738,469
MDU6SXNzdWU2MzA3Mzg0Njk=
4,762
KeyError in Pipeline Question Answering with LongFormer
{ "login": "avacaondata", "id": 35173563, "node_id": "MDQ6VXNlcjM1MTczNTYz", "avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4", "gravatar_id": "", "url": "https://api.github.com/users/avacaondata", "html_url": "https://github.com/avacaondata", "followers_url": "https://api.github.com/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "It seems that I have the same (or at least very similar) issue but using `ner` pipeline.\r\nMy model is a fine-tuned RoBERTa (`xlm-roberta-base`).\r\nI can produce different predictions with different inputs, but all are way outside the range of the actual label IDs.\r\n\r\nThe error shows where the predicted labe...
1,591
1,597
1,597
NONE
null
I'm trying to do QA with LongFormer in a Pipeline. First of all, I generate the pipeline: ` MODEL_STR = "mrm8488/longformer-base-4096-finetuned-squadv2" tokenizer = AutoTokenizer.from_pretrained(MODEL_STR) model = AutoModelForQuestionAnswering.from_pretrained(MODEL_STR) QA = pipeline('question-answering', model=mo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4762/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4762/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4761
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4761/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4761/comments
https://api.github.com/repos/huggingface/transformers/issues/4761/events
https://github.com/huggingface/transformers/pull/4761
630,734,690
MDExOlB1bGxSZXF1ZXN0NDI3NzY1NTU4
4,761
[cleanup] PretrainedModel.generate: remove unused kwargs
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4761?src=pr&el=h1) Report\n> Merging [#4761](https://codecov.io/gh/huggingface/transformers/pull/4761?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5bf9afbf351f9419505eb1c9e0c5ab78883c3caf&el=desc) will **decrease...
1,591
1,591
1,591
CONTRIBUTOR
null
`_generate_beam_search` and `_generate_no_beam_search` do not use `bos_token_id` or `decoder_start_token_id`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4761/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4761/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4761", "html_url": "https://github.com/huggingface/transformers/pull/4761", "diff_url": "https://github.com/huggingface/transformers/pull/4761.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4761.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4760
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4760/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4760/comments
https://api.github.com/repos/huggingface/transformers/issues/4760/events
https://github.com/huggingface/transformers/issues/4760
630,726,327
MDU6SXNzdWU2MzA3MjYzMjc=
4,760
Fine-tuning of RoBERTa
{ "login": "Aktsvigun", "id": 36672861, "node_id": "MDQ6VXNlcjM2NjcyODYx", "avatar_url": "https://avatars.githubusercontent.com/u/36672861?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aktsvigun", "html_url": "https://github.com/Aktsvigun", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello @Aktsvigun \r\nTo run the examples you'll need to clone the transformer repo. All examples can be found in examples directory. You can find `run_lm_finetuning` here.\r\nrun_language_modeling.py\r\nhttps://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_language_modeling.py", ...
1,591
1,591
1,591
CONTRIBUTOR
null
Good afternoon, I'm trying to fine-tune RoBERTa on my own dataset, following the instruction provided here [https://huggingface.co/transformers/v1.2.0/examples.html](url). However, I cannot find the file `run_lm_finetuning.py` - could you please clarify, is the instruction valid or the file has really been deleted? Th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4760/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4760/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4759
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4759/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4759/comments
https://api.github.com/repos/huggingface/transformers/issues/4759/events
https://github.com/huggingface/transformers/pull/4759
630,717,276
MDExOlB1bGxSZXF1ZXN0NDI3NzUxMDg2
4,759
Fix resize_token_embeddings for Transformer-XL
{ "login": "RafaelWO", "id": 38643099, "node_id": "MDQ6VXNlcjM4NjQzMDk5", "avatar_url": "https://avatars.githubusercontent.com/u/38643099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RafaelWO", "html_url": "https://github.com/RafaelWO", "followers_url": "https://api.github.com/users/Raf...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4759?src=pr&el=h1) Report\n> Merging [#4759](https://codecov.io/gh/huggingface/transformers/pull/4759?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/5bf9afbf351f9419505eb1c9e0c5ab78883c3caf&el=desc) will **decrease...
1,591
1,593
1,591
CONTRIBUTOR
null
Fixes #3554 As discussed in the issue above, the fix ensures that per default the last layer of the `AdaptiveEmbedding` is resized. Otherwise the target layer can be passed to the `resize_token_embeddings()` method as the parameter `layer`. After the resizing is done, the cutoffs are adjusted accordingly.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4759/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4759/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4759", "html_url": "https://github.com/huggingface/transformers/pull/4759", "diff_url": "https://github.com/huggingface/transformers/pull/4759.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4759.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4758
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4758/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4758/comments
https://api.github.com/repos/huggingface/transformers/issues/4758/events
https://github.com/huggingface/transformers/issues/4758
630,697,907
MDU6SXNzdWU2MzA2OTc5MDc=
4,758
run_tf_ner.py output_dir/saved_model empty
{ "login": "jx669", "id": 12667589, "node_id": "MDQ6VXNlcjEyNjY3NTg5", "avatar_url": "https://avatars.githubusercontent.com/u/12667589?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jx669", "html_url": "https://github.com/jx669", "followers_url": "https://api.github.com/users/jx669/follow...
[]
closed
false
null
[]
[ "I got my answers here: https://github.com/huggingface/transformers/issues/3246\r\nso I am closing this issue." ]
1,591
1,591
1,591
NONE
null
# ❓ Questions & Help https://github.com/huggingface/transformers/tree/master/examples/token-classification I followed the example here and saw the logging message: ` Saving model in model/saved_model` Then I went to the folder saved_model and found it is empty. Is this expected? <!-- The GitHub issue tr...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4758/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4758/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4757
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4757/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4757/comments
https://api.github.com/repos/huggingface/transformers/issues/4757/events
https://github.com/huggingface/transformers/pull/4757
630,522,943
MDExOlB1bGxSZXF1ZXN0NDI3NTk4MTc4
4,757
Add drop_last arg for data loader
{ "login": "setu4993", "id": 1833708, "node_id": "MDQ6VXNlcjE4MzM3MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/1833708?v=4", "gravatar_id": "", "url": "https://api.github.com/users/setu4993", "html_url": "https://github.com/setu4993", "followers_url": "https://api.github.com/users/setu4...
[]
closed
false
null
[]
[ "Hi! This looks like a cool feature to add, indeed. I'm curious, what was the error you obtained because of an incomplete batch? It shouldn't raise an error if a batch is smaller than what it has previously seen.\r\n\r\nI could see it being useful when the framework needs to trace with a given input size though, li...
1,591
1,591
1,591
CONTRIBUTOR
null
Add an extra argument to `TrainingArguments` that would be passed on to `Trainer` for use in DataLoader. I ran into a problem while using the `Trainer` this week and the GPU expecting the full batch size of vector inputs, and put a workaround in place in the dataset class I was using, but would be useful to have thi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4757/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4757/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4757", "html_url": "https://github.com/huggingface/transformers/pull/4757", "diff_url": "https://github.com/huggingface/transformers/pull/4757.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4757.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4756
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4756/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4756/comments
https://api.github.com/repos/huggingface/transformers/issues/4756/events
https://github.com/huggingface/transformers/pull/4756
630,443,053
MDExOlB1bGxSZXF1ZXN0NDI3NTM3Mzcx
4,756
[WIP] feat(wandb): add logging to TFTrainer
{ "login": "borisdayma", "id": 715491, "node_id": "MDQ6VXNlcjcxNTQ5MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borisdayma", "html_url": "https://github.com/borisdayma", "followers_url": "https://api.github.com/users/b...
[]
closed
false
null
[]
[ "Note that there are still a few differences.\r\n\r\nFor example `TFTrainer` uses `args.eval_steps`.\r\nIt could make sense to refactor training args so both classes share the same ones when possible.", "Here is an example run with `TFTrainer` on MRPC.\r\n\r\n![image](https://user-images.githubusercontent.com/715...
1,591
1,592
1,592
CONTRIBUTOR
null
Bring logging feature parity from `Trainer` to `TFTrainer`. Code has been refactored to share logging utilities.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4756/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4756/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4756", "html_url": "https://github.com/huggingface/transformers/pull/4756", "diff_url": "https://github.com/huggingface/transformers/pull/4756.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4756.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/4755
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4755/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4755/comments
https://api.github.com/repos/huggingface/transformers/issues/4755/events
https://github.com/huggingface/transformers/issues/4755
630,428,606
MDU6SXNzdWU2MzA0Mjg2MDY=
4,755
run_ner.py crashes with RoBERTa because of incorrect sequence length
{ "login": "oadams", "id": 1115622, "node_id": "MDQ6VXNlcjExMTU2MjI=", "avatar_url": "https://avatars.githubusercontent.com/u/1115622?v=4", "gravatar_id": "", "url": "https://api.github.com/users/oadams", "html_url": "https://github.com/oadams", "followers_url": "https://api.github.com/users/oadams/foll...
[]
closed
false
{ "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://api.github.com/users/...
[ { "login": "stefan-it", "id": 20651387, "node_id": "MDQ6VXNlcjIwNjUxMzg3", "avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stefan-it", "html_url": "https://github.com/stefan-it", "followers_url": "https://a...
[ "getting same error. any solution yet", "The quick temp fix would be to change the num_special_tokens_to_add() to be 3 instead OR not write the extra sep tag since it's single sequence tagging.\r\n\r\nI'm guessing the second option is more appropriate because the code that adds the extra sep tag is in utils_ner.p...
1,591
1,592
1,592
NONE
null
# 🐛 Bug ## Information I'm running `examples/token-classification/run_ner.py` with RoBERTa. An assert statement fails: ``` assert len(input_ids) == max_seq_length AssertionError ``` Looks like the cause is a mismatch between the value of roberta's `tokenizer.num_special_tokens_to_add()` and the number o...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4755/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4755/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4754
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4754/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4754/comments
https://api.github.com/repos/huggingface/transformers/issues/4754/events
https://github.com/huggingface/transformers/issues/4754
630,416,550
MDU6SXNzdWU2MzA0MTY1NTA=
4,754
bart-large-cnn model weights updated?
{ "login": "lzmax888", "id": 55983394, "node_id": "MDQ6VXNlcjU1OTgzMzk0", "avatar_url": "https://avatars.githubusercontent.com/u/55983394?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lzmax888", "html_url": "https://github.com/lzmax888", "followers_url": "https://api.github.com/users/lzm...
[]
closed
false
null
[]
[ "Hello! The weights have not been updated. The path has been changed in the last version, as you can see in the [release notes](https://github.com/huggingface/transformers/releases/tag/v2.11.0) (cc @julien-c), but no change was done to these weights.\r\n" ]
1,591
1,591
1,591
NONE
null
Hi, Today, I noticed that the bart model path has been changed to 'facebook/bart-large-cnn' rather than 'bart-large-cnn'. And I run the demo below, but the result changed since then. (seems worse) https://colab.research.google.com/drive/11hKBPfsfBXPKo-dK_gHsPklF4PcNflQZ#scrollTo=dyTJ_ZavDp1q So, is that weigh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4754/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4754/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4753
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4753/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4753/comments
https://api.github.com/repos/huggingface/transformers/issues/4753/events
https://github.com/huggingface/transformers/issues/4753
630,401,864
MDU6SXNzdWU2MzA0MDE4NjQ=
4,753
Can I use TorchText Iterator output as the input_ids for Hugging Face Transformer?
{ "login": "h56cho", "id": 52889259, "node_id": "MDQ6VXNlcjUyODg5MjU5", "avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h56cho", "html_url": "https://github.com/h56cho", "followers_url": "https://api.github.com/users/h56cho/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,591
1,597
1,597
NONE
null
Hello, For a given text, `TorchText` iterator, such as the `BPTTIterator`, returns the string of the text after each token is converted to their respective integer ID. So for example, if the integer ids are assigned as the following manner: "I" = 53, "like"=753, "dogs" = 2 Then for the string "I like dogs", a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4753/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4753/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4752
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4752/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4752/comments
https://api.github.com/repos/huggingface/transformers/issues/4752/events
https://github.com/huggingface/transformers/issues/4752
630,350,336
MDU6SXNzdWU2MzAzNTAzMzY=
4,752
Batching not speeding up Transformer-XL
{ "login": "tommccoy1", "id": 19821261, "node_id": "MDQ6VXNlcjE5ODIxMjYx", "avatar_url": "https://avatars.githubusercontent.com/u/19821261?v=4", "gravatar_id": "", "url": "https://api.github.com/users/tommccoy1", "html_url": "https://github.com/tommccoy1", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hey! I've also observed this with the CMU Transformer-XL codebase. The main difference with other Transformers is the adaptive softmax, so that's the first I'd look at; does an XL model with a normal projection layer also have problems with batching ?\r\n\r\nI was actually planning to investigate a suspected bug i...
1,591
1,593
1,593
CONTRIBUTOR
null
I have modified the example `[run_generation.py](https://github.com/huggingface/transformers/blob/master/examples/text-generation/run_generation.py)` so that it can use batches. My code (pared down for the example) is below, called `batch_gen.py`: ``` #!/usr/bin/env python3 # coding=utf-8 import argparse impor...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4752/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4752/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4751
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4751/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4751/comments
https://api.github.com/repos/huggingface/transformers/issues/4751/events
https://github.com/huggingface/transformers/pull/4751
630,305,514
MDExOlB1bGxSZXF1ZXN0NDI3NDM2NzI2
4,751
Update encode documentation
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,591
1,591
1,591
MEMBER
null
closes #4750
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4751/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4751/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4751", "html_url": "https://github.com/huggingface/transformers/pull/4751", "diff_url": "https://github.com/huggingface/transformers/pull/4751.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4751.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4750
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4750/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4750/comments
https://api.github.com/repos/huggingface/transformers/issues/4750/events
https://github.com/huggingface/transformers/issues/4750
630,291,101
MDU6SXNzdWU2MzAyOTExMDE=
4,750
Tokenizer.encode documentation not correct
{ "login": "lubok-dot", "id": 25525113, "node_id": "MDQ6VXNlcjI1NTI1MTEz", "avatar_url": "https://avatars.githubusercontent.com/u/25525113?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lubok-dot", "html_url": "https://github.com/lubok-dot", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "You're right! The documentation should be updated.", "Done! Thanks for raising an issue :)", "You are welcome. Thank you for the transformers package -- great work!", "Hi, I was checking the documentation page however, could not find the documentation for encode and encode_plus. \r\n\r\n[Documentation Link](...
1,591
1,598
1,591
NONE
null
# 🐛 Bug ## Information Model I am using Bert (bert-base-german-cased): Language I am using the model on German: The problem arises when using: * tokenizer of this model The tasks I am working on is: * encoding ## To reproduce Steps to reproduce the behavior: 1. lang_model = 'bert-base-german-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4750/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4750/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4749
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4749/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4749/comments
https://api.github.com/repos/huggingface/transformers/issues/4749/events
https://github.com/huggingface/transformers/issues/4749
630,283,884
MDU6SXNzdWU2MzAyODM4ODQ=
4,749
Hugging Face GPT-2 Tokenizer
{ "login": "h56cho", "id": 52889259, "node_id": "MDQ6VXNlcjUyODg5MjU5", "avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h56cho", "html_url": "https://github.com/h56cho", "followers_url": "https://api.github.com/users/h56cho/fo...
[]
closed
false
null
[]
[ "You would need to fine-tune your GPT-2 model on a dataset containing the word, yes. The reason being that your model needs to understand in which context is the word used, what it means, etc.", "Hello,\r\n\r\nThank you for your reply.\r\nSo I have a set of multiple choice questions, and when I use the `add_token...
1,591
1,591
1,591
NONE
null
Hello, I know that if I choose to add any new "special token" onto the pre-made GPT-2 tokenizer, and if I want to use the pre-trained GPT-2 model for my analysis, I will need to re-train the pre-trained GPT-2 to make the model learn that new special token. But what if I just add an extra non-special token? for ex...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4749/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4749/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4748
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4748/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4748/comments
https://api.github.com/repos/huggingface/transformers/issues/4748/events
https://github.com/huggingface/transformers/issues/4748
630,263,567
MDU6SXNzdWU2MzAyNjM1Njc=
4,748
QuestionAnsweringPipeline query performance
{ "login": "davidmezzetti", "id": 561939, "node_id": "MDQ6VXNlcjU2MTkzOQ==", "avatar_url": "https://avatars.githubusercontent.com/u/561939?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidmezzetti", "html_url": "https://github.com/davidmezzetti", "followers_url": "https://api.github.co...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Hi! Thanks for the detailed report. Indeed, it would be nice to keep the performance high, especially if it's due to something annex than pure inference. I'm looking into it.", "Great, thank you for the quick response!", "After looking into it, it seems that the threading is only part of the problem. Removing...
1,591
1,607
1,602
CONTRIBUTOR
null
This is my first issue posted here, so first off thank you for building this library, it's really pushing NLP forward. The current [QuestionAnsweringPipeline](https://github.com/huggingface/transformers/blob/master/src/transformers/pipelines.py#L1187) relies on the method [squad_convert_examples_to_features](https:/...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4748/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4748/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4747
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4747/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4747/comments
https://api.github.com/repos/huggingface/transformers/issues/4747/events
https://github.com/huggingface/transformers/pull/4747
630,180,688
MDExOlB1bGxSZXF1ZXN0NDI3MzQ3ODUx
4,747
No silent error when d_head already in the configuration
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4747?src=pr&el=h1) Report\n> Merging [#4747](https://codecov.io/gh/huggingface/transformers/pull/4747?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ed4df85572924871758ca32133b46116121c706f&el=desc) will **increase...
1,591
1,591
1,591
MEMBER
null
closes #4696
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4747/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4747/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4747", "html_url": "https://github.com/huggingface/transformers/pull/4747", "diff_url": "https://github.com/huggingface/transformers/pull/4747.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4747.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4746
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4746/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4746/comments
https://api.github.com/repos/huggingface/transformers/issues/4746/events
https://github.com/huggingface/transformers/issues/4746
630,149,228
MDU6SXNzdWU2MzAxNDkyMjg=
4,746
Why I can't generate phrases in batches if I include an attention mask? (GPT2)
{ "login": "Barbara931120", "id": 62270260, "node_id": "MDQ6VXNlcjYyMjcwMjYw", "avatar_url": "https://avatars.githubusercontent.com/u/62270260?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Barbara931120", "html_url": "https://github.com/Barbara931120", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "Probably of interest to @patrickvonplaten ", "Hi @Barbara931120,\r\n\r\nBatch generation is sadly currently not implemented in the `.generate()` method. Also, see https://github.com/huggingface/transformers/issues/3021 for reasons why. It's on our roadmap to implement this functionality soon :-) " ]
1,591
1,591
1,591
NONE
null
Assuming these are my input phrases and model: ``` from transformers import GPT2LMHeadModel, GPT2Tokenizer import torch model = GPT2LMHeadModel.from_pretrained('gpt2') tokenizer = GPT2Tokenizer.from_pretrained('gpt2', pad_token='<PAD>') prompt_text = [ "are there any good coaching institutes for civil ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4746/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4746/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4745
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4745/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4745/comments
https://api.github.com/repos/huggingface/transformers/issues/4745/events
https://github.com/huggingface/transformers/pull/4745
630,097,575
MDExOlB1bGxSZXF1ZXN0NDI3MjgzMjEw
4,745
[Generation Beam Search] Fix bug when changing the <EOS> token for generate
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4745?src=pr&el=h1) Report\n> Merging [#4745](https://codecov.io/gh/huggingface/transformers/pull/4745?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/47a551d17b6ed2eaf03301f049006d559fca5cf3&el=desc) will **increase...
1,591
1,591
1,591
MEMBER
null
This PR fixes https://github.com/huggingface/transformers/issues/4121 . When comparing int `!=` should be used here instead of `is not`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4745/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4745/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4745", "html_url": "https://github.com/huggingface/transformers/pull/4745", "diff_url": "https://github.com/huggingface/transformers/pull/4745.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4745.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4744
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4744/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4744/comments
https://api.github.com/repos/huggingface/transformers/issues/4744/events
https://github.com/huggingface/transformers/issues/4744
630,091,692
MDU6SXNzdWU2MzAwOTE2OTI=
4,744
How to use pretrained model for inference?
{ "login": "andrster", "id": 22357321, "node_id": "MDQ6VXNlcjIyMzU3MzIx", "avatar_url": "https://avatars.githubusercontent.com/u/22357321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andrster", "html_url": "https://github.com/andrster", "followers_url": "https://api.github.com/users/and...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hello @andrster \r\nWhich model are you trying ? for ex, for QA, token classification, sentence classification etc.\r\nPlease elaborate more. ", "Sorry, token classification ", "@andrster have you checked out the pipelines section of the README?", "doesn't have one on NER", "@andrster \r\nner pipeline is ...
1,591
1,597
1,597
NONE
null
I have a bert model finetuned for pytorch and have trouble actually using it. Like how can I get to model("<some sentance>") outputting results for the tokens?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4744/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4744/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4743
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4743/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4743/comments
https://api.github.com/repos/huggingface/transformers/issues/4743/events
https://github.com/huggingface/transformers/pull/4743
630,085,645
MDExOlB1bGxSZXF1ZXN0NDI3MjczODUz
4,743
Create README.md
{ "login": "orena1", "id": 8983713, "node_id": "MDQ6VXNlcjg5ODM3MTM=", "avatar_url": "https://avatars.githubusercontent.com/u/8983713?v=4", "gravatar_id": "", "url": "https://api.github.com/users/orena1", "html_url": "https://github.com/orena1", "followers_url": "https://api.github.com/users/orena1/foll...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4743?src=pr&el=h1) Report\n> Merging [#4743](https://codecov.io/gh/huggingface/transformers/pull/4743?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1b5820a56540a2096daeb43a0cd8247c8c94a719&el=desc) will **increase...
1,591
1,591
1,591
CONTRIBUTOR
null
Main issue is to refer to the fairseq website.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4743/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4743/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4743", "html_url": "https://github.com/huggingface/transformers/pull/4743", "diff_url": "https://github.com/huggingface/transformers/pull/4743.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4743.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4742
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4742/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4742/comments
https://api.github.com/repos/huggingface/transformers/issues/4742/events
https://github.com/huggingface/transformers/issues/4742
630,077,647
MDU6SXNzdWU2MzAwNzc2NDc=
4,742
Perform evaluation on HANS with Trainer (like GLUE example)
{ "login": "prajjwal1", "id": 24690051, "node_id": "MDQ6VXNlcjI0NjkwMDUx", "avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4", "gravatar_id": "", "url": "https://api.github.com/users/prajjwal1", "html_url": "https://github.com/prajjwal1", "followers_url": "https://api.github.com/users/...
[ { "id": 1990918270, "node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw", "url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue", "name": "Good First Issue", "color": "bbf794", "default": false, "description": "" } ]
closed
false
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[ { "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.git...
[ "Maybe @sgugger would be interested in taking a look at this", "There is an evaluation issue that I faced with HANS evaluation. Issue [here](https://github.com/huggingface/transformers/issues/4766). I tried to run in the exact same manner as listed in `examples/adversarial`. But the results obtained seem skewed f...
1,591
1,592
1,592
CONTRIBUTOR
null
Current [HANS](https://github.com/huggingface/transformers/tree/master/examples/adversarial) evaluation implementation is carried out in the old way. It'd be good to do it in the same manner as other examples are implemented now with the Trainer class.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4742/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4742/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4741
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4741/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4741/comments
https://api.github.com/repos/huggingface/transformers/issues/4741/events
https://github.com/huggingface/transformers/pull/4741
630,013,434
MDExOlB1bGxSZXF1ZXN0NDI3MjE2NzM3
4,741
Implemented resizing of token embeddings for TensorFlow models
{ "login": "RobMcH", "id": 7346905, "node_id": "MDQ6VXNlcjczNDY5MDU=", "avatar_url": "https://avatars.githubusercontent.com/u/7346905?v=4", "gravatar_id": "", "url": "https://api.github.com/users/RobMcH", "html_url": "https://github.com/RobMcH", "followers_url": "https://api.github.com/users/RobMcH/foll...
[]
closed
false
null
[]
[ "Hello !\r\n\r\nThanks a lot for this PR!! Can you rebase on master and push force in order to be able to review :)", "Hi,\r\n\r\nI've rebased on master. Are you able to review the PR like this?", "Hello! Thanks a lot for your contribution, unfortunately we've decided to move on with https://github.com/huggingf...
1,591
1,592
1,592
NONE
null
As mentioned in [this issue](https://github.com/huggingface/transformers/issues/1838) transformers currently does not support resizing token embeddings with TensorFlow. I have implemented this functionality for ALBERT, BERT, DistilBERT, and GPT2. **Note** All of the respective TF[...]MainLayer[s] inherit from a uti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4741/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4741/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4741", "html_url": "https://github.com/huggingface/transformers/pull/4741", "diff_url": "https://github.com/huggingface/transformers/pull/4741.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4741.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/4740
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4740/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4740/comments
https://api.github.com/repos/huggingface/transformers/issues/4740/events
https://github.com/huggingface/transformers/issues/4740
629,983,164
MDU6SXNzdWU2Mjk5ODMxNjQ=
4,740
Can't find config.json
{ "login": "mustafameruyert", "id": 43790316, "node_id": "MDQ6VXNlcjQzNzkwMzE2", "avatar_url": "https://avatars.githubusercontent.com/u/43790316?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mustafameruyert", "html_url": "https://github.com/mustafameruyert", "followers_url": "https://api...
[]
closed
false
null
[]
[ "Hi @mustafameruyert, please poste a codesnippet so that we can reproduce the error", "> Hi @mustafameruyert, please poste a codesnippet so that we can reproduce the error\r\n![1](https://user-images.githubusercontent.com/43790316/83646412-6afffd80-a5d5-11ea-89d2-0ea80b14adff.png)\r\n![1](https://user-images.gith...
1,591
1,591
1,591
NONE
null
# ❓ Questions & Help Hello!When I use transformers I get this error Make sure that 'mrm8488/bert-multi-cased-finetuned-xquadv1' is the correct path to a directory containing a config.json file.How to solve it?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4740/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4740/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4739
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4739/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4739/comments
https://api.github.com/repos/huggingface/transformers/issues/4739/events
https://github.com/huggingface/transformers/issues/4739
629,980,891
MDU6SXNzdWU2Mjk5ODA4OTE=
4,739
Extending run_language_modeling.py for XLNet
{ "login": "shngt", "id": 20009551, "node_id": "MDQ6VXNlcjIwMDA5NTUx", "avatar_url": "https://avatars.githubusercontent.com/u/20009551?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shngt", "html_url": "https://github.com/shngt", "followers_url": "https://api.github.com/users/shngt/follow...
[]
closed
false
null
[]
[ "See also https://github.com/huggingface/transformers/issues/2008", "@shngt can you please share your code for adapting xlnet to the domain specific data ? ( the cli command or the code you used after the merged PR ) \r\nI was following the latest changes to transformers but I still don't understand how to contin...
1,591
1,605
1,594
CONTRIBUTOR
null
# 🚀 Feature request The run_language_modeling.py script in examples/language-modeling/ currently works for BERT, RoBERTa, GPT and related models. It would be helpful if it also allowed XLNet. I believe this would involve writing functions to generate `perm_mask`, `target_mapping` and `labels` for the inputs sequenc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4739/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4739/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4738
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4738/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4738/comments
https://api.github.com/repos/huggingface/transformers/issues/4738/events
https://github.com/huggingface/transformers/issues/4738
629,962,508
MDU6SXNzdWU2Mjk5NjI1MDg=
4,738
Question Answering Modeling through Hugging Face Models
{ "login": "AishwaryaVerma", "id": 53822388, "node_id": "MDQ6VXNlcjUzODIyMzg4", "avatar_url": "https://avatars.githubusercontent.com/u/53822388?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AishwaryaVerma", "html_url": "https://github.com/AishwaryaVerma", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "How long is your document, you may wanna try longformer model which can handle sequences upto 4096 tokens. Here's a longformer model trained for QA https://huggingface.co/valhalla/longformer-base-4096-finetuned-squadv1\r\n\r\nAlso, take a loot at this https://github.com/deepset-ai/haystack. This might help you a ...
1,591
1,591
1,591
NONE
null
# ❓ Questions & Help <!-- The GitHub issue tracker is primarly intended for bugs, feature requests, new models and benchmarks, and migration questions. For all other questions, we direct you to Stack Overflow (SO) where a whole community of PyTorch and Tensorflow enthusiast can help you out. Make s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4738/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4738/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4737
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4737/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4737/comments
https://api.github.com/repos/huggingface/transformers/issues/4737/events
https://github.com/huggingface/transformers/pull/4737
629,901,894
MDExOlB1bGxSZXF1ZXN0NDI3MTI3MTcz
4,737
Create model card for T5-base fine-tuned for Sentiment Span Extraction
{ "login": "mrm8488", "id": 3653789, "node_id": "MDQ6VXNlcjM2NTM3ODk=", "avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mrm8488", "html_url": "https://github.com/mrm8488", "followers_url": "https://api.github.com/users/mrm8488/...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4737?src=pr&el=h1) Report\n> Merging [#4737](https://codecov.io/gh/huggingface/transformers/pull/4737?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3e5928c57d57db3071638e6beaec9349a75b6a22&el=desc) will **not chan...
1,591
1,591
1,591
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4737/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4737/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4737", "html_url": "https://github.com/huggingface/transformers/pull/4737", "diff_url": "https://github.com/huggingface/transformers/pull/4737.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4737.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4736
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4736/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4736/comments
https://api.github.com/repos/huggingface/transformers/issues/4736/events
https://github.com/huggingface/transformers/issues/4736
629,845,422
MDU6SXNzdWU2Mjk4NDU0MjI=
4,736
BertModel Inputs
{ "login": "pn12", "id": 64300791, "node_id": "MDQ6VXNlcjY0MzAwNzkx", "avatar_url": "https://avatars.githubusercontent.com/u/64300791?v=4", "gravatar_id": "", "url": "https://api.github.com/users/pn12", "html_url": "https://github.com/pn12", "followers_url": "https://api.github.com/users/pn12/followers"...
[]
closed
false
null
[]
[ "Can you please link the example you mean? :-) ", "Hi , \r\n\r\nIn the example code below; I have highlighted the inputs** being provided to the model i.e. ids , attention_mask and token_type_ids.\r\n\r\nIf I add start_positions and end_positions as inputs here - I get an error saying unknown inputs : start_posit...
1,591
1,591
1,591
NONE
null
# ❓ Questions & Help Hi, I have been using BertModel for Question and Answering . In examples - I see there are no start_position , end_position being provided to the Model . How is the Model able to train in this case using Input_ids , Mask and Attention Head ? Might be a naive question , but I have dig in...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4736/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4736/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4735
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4735/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4735/comments
https://api.github.com/repos/huggingface/transformers/issues/4735/events
https://github.com/huggingface/transformers/issues/4735
629,780,457
MDU6SXNzdWU2Mjk3ODA0NTc=
4,735
Bart model for textinfilling
{ "login": "andompesta", "id": 6725612, "node_id": "MDQ6VXNlcjY3MjU2MTI=", "avatar_url": "https://avatars.githubusercontent.com/u/6725612?v=4", "gravatar_id": "", "url": "https://api.github.com/users/andompesta", "html_url": "https://github.com/andompesta", "followers_url": "https://api.github.com/users...
[ { "id": 1845609017, "node_id": "MDU6TGFiZWwxODQ1NjA5MDE3", "url": "https://api.github.com/repos/huggingface/transformers/labels/seq2seq", "name": "seq2seq", "color": "fef2c0", "default": false, "description": "" } ]
closed
false
null
[]
[ "it is a hack to make `MarianMTModel`, which inherits from Bart work. For the Bart models that parameter does nothing, as you suggest. You can remove or ignore.", "Thanks got it" ]
1,591
1,591
1,591
CONTRIBUTOR
null
# ❓ Questions & Help ## Details <!-- Description of your issue --> @sshleifer I was wandering why you used a registered_buffer to define the ``final_logits_bias`` in the BartForConditionalGeneration. In my understanding a registered_buffer would have not gradient so if I fine-tune the a Bart model for generation ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4735/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4735/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4734
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4734/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4734/comments
https://api.github.com/repos/huggingface/transformers/issues/4734/events
https://github.com/huggingface/transformers/issues/4734
629,705,895
MDU6SXNzdWU2Mjk3MDU4OTU=
4,734
TFTrainer: Checkpoints not getting saved in `output_dir` but in {cwd}/checkpoint
{ "login": "0dust", "id": 29033531, "node_id": "MDQ6VXNlcjI5MDMzNTMx", "avatar_url": "https://avatars.githubusercontent.com/u/29033531?v=4", "gravatar_id": "", "url": "https://api.github.com/users/0dust", "html_url": "https://github.com/0dust", "followers_url": "https://api.github.com/users/0dust/follow...
[]
closed
false
null
[]
[ "Pinging @jplu as it might be of interest.", "@0dust This is the intent behavior :)\r\n\r\nA solution would be to add a parameter to the arguments to select the checkpoint folder location you want", "@jplu Sorry if i am missing something but isn't 'output_dir' the folder to save the checkpoint?\r\nhttps://githu...
1,591
1,591
1,591
NONE
null
I am using TFTrainer for the SQuAD task. Checkpoints are being created in cwd/checkpoint insted of output_dir. **Potential Cause:** https://github.com/huggingface/transformers/blob/9ca485734aea269961d63a040ff194365d151fd1/src/transformers/trainer_tf.py#L156 Instead of PREFIX_CHECKPOINT_DIR we need to have ```pyt...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4734/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4734/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4733
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4733/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4733/comments
https://api.github.com/repos/huggingface/transformers/issues/4733/events
https://github.com/huggingface/transformers/issues/4733
629,667,510
MDU6SXNzdWU2Mjk2Njc1MTA=
4,733
When I use TFBertEncoder in my laptop, I get an error.I can not build a model. Here is a simple examples.
{ "login": "shange1996", "id": 49185852, "node_id": "MDQ6VXNlcjQ5MTg1ODUy", "avatar_url": "https://avatars.githubusercontent.com/u/49185852?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shange1996", "html_url": "https://github.com/shange1996", "followers_url": "https://api.github.com/use...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "I also meet this problem? Do you solve it? @shange1996 ", "> I also meet this problem? Do you solve it? @shange1996\r\n\r\nNo. The problem bothers me.", "Me too. When I change use keras not tf.keras, it has another problem...", "It bothers me, too.", "> It bothers me, too.\r\n\r\nNow I solve it. NOT import...
1,591
1,592
1,592
NONE
null
# 🐛 Bug ## Information Model I am using TFBertEncoder: Language I am using the model on English: The problem arises when using: * [ ] my own modified scripts: (give details below) The tasks I am working on is: * [ ] my own task or dataset: (give details below) ## To reproduce Steps to reproduce ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4733/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4733/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4732
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4732/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4732/comments
https://api.github.com/repos/huggingface/transformers/issues/4732/events
https://github.com/huggingface/transformers/pull/4732
629,627,404
MDExOlB1bGxSZXF1ZXN0NDI2OTE0MzA3
4,732
Adding notebooks for Fine Tuning [Community Notebook]
{ "login": "abhimishra91", "id": 27291199, "node_id": "MDQ6VXNlcjI3MjkxMTk5", "avatar_url": "https://avatars.githubusercontent.com/u/27291199?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhimishra91", "html_url": "https://github.com/abhimishra91", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4732?src=pr&el=h1) Report\n> Merging [#4732](https://codecov.io/gh/huggingface/transformers/pull/4732?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9ca485734aea269961d63a040ff194365d151fd1&el=desc) will **increase...
1,591
1,591
1,591
CONTRIBUTOR
null
Hi @patrickvonplaten, Adding 3 documented notebooks to fine tune transformers to downstream NLP tasks with PyTorch: - Multi-class classification: Using DistilBert - Multi-label classification: Using Bert - Summarization: Using T5 - **Model Tracking with WandB** These notebooks are pulled from the git repo: http...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4732/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4732/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4732", "html_url": "https://github.com/huggingface/transformers/pull/4732", "diff_url": "https://github.com/huggingface/transformers/pull/4732.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4732.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4731
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4731/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4731/comments
https://api.github.com/repos/huggingface/transformers/issues/4731/events
https://github.com/huggingface/transformers/pull/4731
629,565,458
MDExOlB1bGxSZXF1ZXN0NDI2ODY4OTg5
4,731
[DOT NOT MERGE] Tokenizers Shape Polymorphism - Introduce pad_to_next_multiple_of parameters
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "That's a really cool feature. Looking forward to it!", "Is the bucketization size not going to be too linear? Shouldn't we rather do `pad_to_next_power_of_two` or similar?", "@julien-c That will be linear yet, by using a `power_of` growth we might rapidly increase the number of padding tokens to add and then f...
1,591
1,651
1,592
MEMBER
null
Needs new release of tokenizers (cc @n1t0)
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4731/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4731/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4731", "html_url": "https://github.com/huggingface/transformers/pull/4731", "diff_url": "https://github.com/huggingface/transformers/pull/4731.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4731.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/4730
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4730/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4730/comments
https://api.github.com/repos/huggingface/transformers/issues/4730/events
https://github.com/huggingface/transformers/pull/4730
629,525,332
MDExOlB1bGxSZXF1ZXN0NDI2ODM3NTUz
4,730
bert-small-cord19 model cards
{ "login": "davidmezzetti", "id": 561939, "node_id": "MDQ6VXNlcjU2MTkzOQ==", "avatar_url": "https://avatars.githubusercontent.com/u/561939?v=4", "gravatar_id": "", "url": "https://api.github.com/users/davidmezzetti", "html_url": "https://github.com/davidmezzetti", "followers_url": "https://api.github.co...
[ { "id": 1838412367, "node_id": "MDU6TGFiZWwxODM4NDEyMzY3", "url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card", "name": "model card", "color": "92d5f4", "default": false, "description": "Related to pretrained model cards" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4730?src=pr&el=h1) Report\n> Merging [#4730](https://codecov.io/gh/huggingface/transformers/pull/4730?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9ca485734aea269961d63a040ff194365d151fd1&el=desc) will **increase...
1,591
1,591
1,591
CONTRIBUTOR
null
Adds model cards for the bert-small-cord19 series of models.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4730/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4730/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4730", "html_url": "https://github.com/huggingface/transformers/pull/4730", "diff_url": "https://github.com/huggingface/transformers/pull/4730.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4730.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4729
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4729/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4729/comments
https://api.github.com/repos/huggingface/transformers/issues/4729/events
https://github.com/huggingface/transformers/issues/4729
629,523,673
MDU6SXNzdWU2Mjk1MjM2NzM=
4,729
[Feature request] Support batched conditional generation from GPT-2
{ "login": "sarahwie", "id": 8027676, "node_id": "MDQ6VXNlcjgwMjc2NzY=", "avatar_url": "https://avatars.githubusercontent.com/u/8027676?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sarahwie", "html_url": "https://github.com/sarahwie", "followers_url": "https://api.github.com/users/sarah...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Also see: https://github.com/huggingface/transformers/issues/3021", "This is known to not work at the moment with `generate()`. I have to think a bit about the cleanest way to implement it :-) Code suggestions are very welcome! \r\n\r\n", "Very interested in this! Came here from #3021 (many hours after wonderi...
1,591
1,602
1,602
NONE
null
# 🚀 Feature request Support batched conditional generation from GPT-2 ## Motivation Currently the [method](https://github.com/huggingface/transformers/blob/9ca485734aea269961d63a040ff194365d151fd1/src/transformers/modeling_utils.py#L802) to generate text from GPT-2 conditioned on an input sequence only suppo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4729/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4729/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4728
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4728/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4728/comments
https://api.github.com/repos/huggingface/transformers/issues/4728/events
https://github.com/huggingface/transformers/pull/4728
629,422,118
MDExOlB1bGxSZXF1ZXN0NDI2NzU4MTUz
4,728
Possible fix to make AMP work with DDP in the trainer
{ "login": "BramVanroy", "id": 2779410, "node_id": "MDQ6VXNlcjI3Nzk0MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BramVanroy", "html_url": "https://github.com/BramVanroy", "followers_url": "https://api.github.com/users...
[ { "id": 1834053813, "node_id": "MDU6TGFiZWwxODM0MDUzODEz", "url": "https://api.github.com/repos/huggingface/transformers/labels/PyTorch", "name": "PyTorch", "color": "a12bef", "default": false, "description": "Anything PyTorch" } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4728?src=pr&el=h1) Report\n> Merging [#4728](https://codecov.io/gh/huggingface/transformers/pull/4728?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b231a413f5d58592bb4d98304c3d3b668c5d4a42&el=desc) will **decrease...
1,591
1,592
1,592
COLLABORATOR
null
closes https://github.com/huggingface/transformers/issues/4657 Using multiple GPUs in PyTorch (with DistrubutedDataParallel) speeds up performance drastically. To get even more speed out of it, the example scripts often - if not always - allow the use of apex for automatic mixed precision. This is great. However, so...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4728/reactions", "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4728/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4728", "html_url": "https://github.com/huggingface/transformers/pull/4728", "diff_url": "https://github.com/huggingface/transformers/pull/4728.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4728.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4727
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4727/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4727/comments
https://api.github.com/repos/huggingface/transformers/issues/4727/events
https://github.com/huggingface/transformers/issues/4727
629,421,628
MDU6SXNzdWU2Mjk0MjE2Mjg=
4,727
Albert pretraining loss not decreasing
{ "login": "008karan", "id": 18630864, "node_id": "MDQ6VXNlcjE4NjMwODY0", "avatar_url": "https://avatars.githubusercontent.com/u/18630864?v=4", "gravatar_id": "", "url": "https://api.github.com/users/008karan", "html_url": "https://github.com/008karan", "followers_url": "https://api.github.com/users/008...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Not certain, but looks like maybe nvidia apex was not installed correctly?\r\n\r\n\"was: ModuleNotFoundError(\"No module named 'amp_C'\",)\"", "thats warning. \r\nHave followed `pip install -v --no-cache-dir ./` for apex installation. \r\nChanging LR to 5e-5 reducing the loss.", "@008karan, setting the loss to...
1,591
1,597
1,597
NONE
null
I am training Albert from scratch using run_language_modeling.py. Doing training on 8 V100.p3dn8x. Launching with this parameters. ``` python transformers/examples/language-modeling/test.py --train_data_file x.txt --output_dir albert_model --model_type albert --mlm --config_name test --tokenizer_name test --...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4727/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4727/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4726
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4726/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4726/comments
https://api.github.com/repos/huggingface/transformers/issues/4726/events
https://github.com/huggingface/transformers/pull/4726
629,357,322
MDExOlB1bGxSZXF1ZXN0NDI2NzA3Njg0
4,726
TFRobertaModelIntegrationTest requires tf
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4726?src=pr&el=h1) Report\n> Merging [#4726](https://codecov.io/gh/huggingface/transformers/pull/4726?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d976ef262e0b2c52363d201b2e14e5ecc42abbb3&el=desc) will **increase...
1,591
1,591
1,591
CONTRIBUTOR
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4726/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4726/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4726", "html_url": "https://github.com/huggingface/transformers/pull/4726", "diff_url": "https://github.com/huggingface/transformers/pull/4726.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4726.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4725
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4725/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4725/comments
https://api.github.com/repos/huggingface/transformers/issues/4725/events
https://github.com/huggingface/transformers/issues/4725
629,342,164
MDU6SXNzdWU2MjkzNDIxNjQ=
4,725
Save & load sparse models from the models database
{ "login": "borisdayma", "id": 715491, "node_id": "MDQ6VXNlcjcxNTQ5MQ==", "avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4", "gravatar_id": "", "url": "https://api.github.com/users/borisdayma", "html_url": "https://github.com/borisdayma", "followers_url": "https://api.github.com/users/b...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,591
1,596
1,596
CONTRIBUTOR
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> Handle saving and loading pipeline for sparse models such as PruneBERT. ## Motivation <!-- Please outline the motivation for the proposal. Is your feat...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4725/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4725/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/4724
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4724/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4724/comments
https://api.github.com/repos/huggingface/transformers/issues/4724/events
https://github.com/huggingface/transformers/pull/4724
629,244,524
MDExOlB1bGxSZXF1ZXN0NDI2NjE4NTQ3
4,724
Fix CI after killing archive maps
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[]
1,591
1,591
1,591
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4724/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4724/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4724", "html_url": "https://github.com/huggingface/transformers/pull/4724", "diff_url": "https://github.com/huggingface/transformers/pull/4724.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4724.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4723
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4723/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4723/comments
https://api.github.com/repos/huggingface/transformers/issues/4723/events
https://github.com/huggingface/transformers/pull/4723
629,170,366
MDExOlB1bGxSZXF1ZXN0NDI2NTU3OTU2
4,723
never_split on slow tokenizers should not split
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4723?src=pr&el=h1) Report\n> Merging [#4723](https://codecov.io/gh/huggingface/transformers/pull/4723?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/76779363160a598f130433209a77f8a747351b61&el=desc) will **increase...
1,591
1,591
1,591
MEMBER
null
I'm actually not sure if it's the right behavior, but when using `do_basic_tokenization` on `BertTokenizer` the parameter `never_split` is not used to determine if a token should be sent to wordpiece tokenizer. This PR checks, for each tokens returned by `basic_tokenizer`, if the token is not in the `never_split: se...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4723/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 2, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4723/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4723", "html_url": "https://github.com/huggingface/transformers/pull/4723", "diff_url": "https://github.com/huggingface/transformers/pull/4723.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4723.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4722
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4722/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4722/comments
https://api.github.com/repos/huggingface/transformers/issues/4722/events
https://github.com/huggingface/transformers/pull/4722
629,128,371
MDExOlB1bGxSZXF1ZXN0NDI2NTI1MjE3
4,722
Unify label args
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "Like it!", "Added a tentative documentation for the kwargs, not sure if we want it or not.", "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4722?src=pr&el=h1) Report\n> Merging [#4722](https://codecov.io/gh/huggingface/transformers/pull/4722?src=pr&el=desc) into [master](https://codecov.io/gh...
1,591
1,591
1,591
COLLABORATOR
null
Following up from #4711, this is a proposal to deprecate any argument that's not `labels` (like `madked_lm_labels`, `lm_labels`, etc.) to `labels`. I've only done one model for now to get feedback on the design, once we have something you like, I can do them all (or have separate PRs if you think that's best).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4722/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4722/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4722", "html_url": "https://github.com/huggingface/transformers/pull/4722", "diff_url": "https://github.com/huggingface/transformers/pull/4722.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4722.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/4721
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/4721/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/4721/comments
https://api.github.com/repos/huggingface/transformers/issues/4721/events
https://github.com/huggingface/transformers/pull/4721
629,125,433
MDExOlB1bGxSZXF1ZXN0NDI2NTIzMDAx
4,721
Faster bert basic tokenizer
{ "login": "GuillemGSubies", "id": 37592763, "node_id": "MDQ6VXNlcjM3NTkyNzYz", "avatar_url": "https://avatars.githubusercontent.com/u/37592763?v=4", "gravatar_id": "", "url": "https://api.github.com/users/GuillemGSubies", "html_url": "https://github.com/GuillemGSubies", "followers_url": "https://api.gi...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/4721?src=pr&el=h1) Report\n> Merging [#4721](https://codecov.io/gh/huggingface/transformers/pull/4721?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/47a551d17b6ed2eaf03301f049006d559fca5cf3&el=desc) will **increase...
1,591
1,597
1,597
CONTRIBUTOR
null
In this PR I tried 2 things: * First I change some comparisons in the form of `a == sth or a == otherthing` for `a in {sth, otherthing}`. It is faster and more readable. * I noticed that some methods could actually be functions because they did not use anything from the class. I am a bit new to this, so I will...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/4721/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/4721/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/4721", "html_url": "https://github.com/huggingface/transformers/pull/4721", "diff_url": "https://github.com/huggingface/transformers/pull/4721.diff", "patch_url": "https://github.com/huggingface/transformers/pull/4721.patch", "merged_at": n...