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/6721 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6721/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6721/comments | https://api.github.com/repos/huggingface/transformers/issues/6721/events | https://github.com/huggingface/transformers/pull/6721 | 685,598,753 | MDExOlB1bGxSZXF1ZXN0NDczMjk5NzY0 | 6,721 | Add model card for singbert large | {
"login": "zyuanlim",
"id": 7169731,
"node_id": "MDQ6VXNlcjcxNjk3MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7169731?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zyuanlim",
"html_url": "https://github.com/zyuanlim",
"followers_url": "https://api.github.com/users/zyuan... | [] | closed | false | null | [] | [
"@JetRunner same model but bert large version, thank you!!",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6721?src=pr&el=h1) Report\n> Merging [#6721](https://codecov.io/gh/huggingface/transformers/pull/6721?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d1... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Model card for singbert large, similar to [singbert](https://github.com/huggingface/transformers/tree/master/model_cards/zanelim/singbert) but bert large model.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6721/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/6721/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6721",
"html_url": "https://github.com/huggingface/transformers/pull/6721",
"diff_url": "https://github.com/huggingface/transformers/pull/6721.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6721.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6720 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6720/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6720/comments | https://api.github.com/repos/huggingface/transformers/issues/6720/events | https://github.com/huggingface/transformers/issues/6720 | 685,595,620 | MDU6SXNzdWU2ODU1OTU2MjA= | 6,720 | Resuming training from a checkpoint on Windows does not resume at the correct global_step | {
"login": "jncasey",
"id": 31020859,
"node_id": "MDQ6VXNlcjMxMDIwODU5",
"avatar_url": "https://avatars.githubusercontent.com/u/31020859?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jncasey",
"html_url": "https://github.com/jncasey",
"followers_url": "https://api.github.com/users/jncase... | [] | closed | false | null | [] | [
"Seems wrong indeed. Would you mind fixing with a PR?",
"I'm embarrassed to say I'm not super familiar with git or open source collaboration in general, so even though it seems super trivial, I'm worried I'll mess something up. ",
"I can fix this but it'll be next week as I'm off tonight and tying a few other l... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | ### Who can help
Trainer: @sgugger
## Information
I've noticed that resuming training from a checkpoint on Windows fails to start at the right global step (though learning rate, loss, etc continue from where the training left off). The same doesn't happen under macOS.
## Solution?
I think the issue is in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6720/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/6720/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6719 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6719/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6719/comments | https://api.github.com/repos/huggingface/transformers/issues/6719/events | https://github.com/huggingface/transformers/pull/6719 | 685,573,476 | MDExOlB1bGxSZXF1ZXN0NDczMjc4NDUy | 6,719 | [Albert] Add position ids to allowed uninitialized weights | {
"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/6719?src=pr&el=h1) Report\n> Merging [#6719](https://codecov.io/gh/huggingface/transformers/pull/6719?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/625318f52516b413126be1bb1cb6818231d2eca6?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | MEMBER | null | <!-- This line specifies which issue to close after the pull request is merged. -->
Fixes #6700
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6719/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/6719/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6719",
"html_url": "https://github.com/huggingface/transformers/pull/6719",
"diff_url": "https://github.com/huggingface/transformers/pull/6719.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6719.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6718 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6718/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6718/comments | https://api.github.com/repos/huggingface/transformers/issues/6718/events | https://github.com/huggingface/transformers/pull/6718 | 685,454,632 | MDExOlB1bGxSZXF1ZXN0NDczMTc3NTgx | 6,718 | Create model card for lordtt13/COVID-SciBERT | {
"login": "lordtt13",
"id": 35500534,
"node_id": "MDQ6VXNlcjM1NTAwNTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/35500534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lordtt13",
"html_url": "https://github.com/lordtt13",
"followers_url": "https://api.github.com/users/lor... | [
{
"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/6718?src=pr&el=h1) Report\n> Merging [#6718](https://codecov.io/gh/huggingface/transformers/pull/6718?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/625318f52516b413126be1bb1cb6818231d2eca6?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6718/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/6718/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6718",
"html_url": "https://github.com/huggingface/transformers/pull/6718",
"diff_url": "https://github.com/huggingface/transformers/pull/6718.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6718.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6717 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6717/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6717/comments | https://api.github.com/repos/huggingface/transformers/issues/6717/events | https://github.com/huggingface/transformers/pull/6717 | 685,445,761 | MDExOlB1bGxSZXF1ZXN0NDczMTcwMDQ2 | 6,717 | Fix TF optimizer | {
"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/6717?src=pr&el=h1) Report\n> Merging [#6717](https://codecov.io/gh/huggingface/transformers/pull/6717?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/841f07156948a28f8cc9182bb14c911f9e63b0e7?el=desc) will **decrease... | 1,598 | 1,600 | 1,598 | CONTRIBUTOR | null | Fix #6560. Now the parameter `experimental_aggregate_gradients` should be correctly taken into account.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6717/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/6717/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6717",
"html_url": "https://github.com/huggingface/transformers/pull/6717",
"diff_url": "https://github.com/huggingface/transformers/pull/6717.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6717.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6716 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6716/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6716/comments | https://api.github.com/repos/huggingface/transformers/issues/6716/events | https://github.com/huggingface/transformers/pull/6716 | 685,431,066 | MDExOlB1bGxSZXF1ZXN0NDczMTU3NDg4 | 6,716 | Fix ONNX test_quantize unittest | {
"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... | [
{
"id": 1834088753,
"node_id": "MDU6TGFiZWwxODM0MDg4NzUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Tests",
"name": "Tests",
"color": "a6fcca",
"default": false,
"description": "Related to tests"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6716?src=pr&el=h1) Report\n> Merging [#6716](https://codecov.io/gh/huggingface/transformers/pull/6716?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/abc0202194674ae5e241e547f3af34b4226bdc72?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | MEMBER | null | `quantize` was catching exception silently, it now let the exception be catched by the caller to avoid dead path.
Also, introduces extras dependencies ["onnxruntime"] required to quantize a model and installs the extra when running slow tests. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6716/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/6716/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6716",
"html_url": "https://github.com/huggingface/transformers/pull/6716",
"diff_url": "https://github.com/huggingface/transformers/pull/6716.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6716.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6715 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6715/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6715/comments | https://api.github.com/repos/huggingface/transformers/issues/6715/events | https://github.com/huggingface/transformers/pull/6715 | 685,410,326 | MDExOlB1bGxSZXF1ZXN0NDczMTM5NzM3 | 6,715 | tensor.nonzero() is deprecated in PyTorch 1.6 | {
"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/6715?src=pr&el=h1) Report\n> Merging [#6715](https://codecov.io/gh/huggingface/transformers/pull/6715?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b105f2c6b3986e7170be353b1684861a3f70991b?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | MEMBER | null | It also seems to make the api-inference crash ...
Signed-off-by: Morgan Funtowicz <funtowiczmo@gmail.com>
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6715/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/6715/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6715",
"html_url": "https://github.com/huggingface/transformers/pull/6715",
"diff_url": "https://github.com/huggingface/transformers/pull/6715.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6715.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6714 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6714/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6714/comments | https://api.github.com/repos/huggingface/transformers/issues/6714/events | https://github.com/huggingface/transformers/issues/6714 | 685,394,740 | MDU6SXNzdWU2ODUzOTQ3NDA= | 6,714 | RuntimeError: forward() Expected a value of type ‘Tensor’ for argument ‘input_ids’ but instead found type ‘list’ while loading a torchscript model following the documentation | {
"login": "xf05888",
"id": 33285394,
"node_id": "MDQ6VXNlcjMzMjg1Mzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/33285394?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xf05888",
"html_url": "https://github.com/xf05888",
"followers_url": "https://api.github.com/users/xf0588... | [] | 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 @xf05888, \r\n\r\nThanks for submitting the issue! I can reproduce it. I updated the docs here: #6714 . This should solve your problem I think. The input lists of tensors has to be unpacked before using it.\r\n"
] | 1,598 | 1,598 | 1,598 | NONE | null | # ❓ Questions & Help
I followed the documentation [here](https://huggingface.co/transformers/torchscript.html) to convert transformers model to torchscript, modified the code for `ALBERT` and then ran them on Google Colab (also my local machine):
**To recurrent:**
**Step 1**
``` from transformers import Alb... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6714/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/6714/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6713 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6713/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6713/comments | https://api.github.com/repos/huggingface/transformers/issues/6713/events | https://github.com/huggingface/transformers/pull/6713 | 685,389,591 | MDExOlB1bGxSZXF1ZXN0NDczMTIxODc3 | 6,713 | Fix the TF Trainer gradient accumulation and the TF NER example | {
"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/6713?src=pr&el=h1) Report\n> Merging [#6713](https://codecov.io/gh/huggingface/transformers/pull/6713?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/841f07156948a28f8cc9182bb14c911f9e63b0e7?el=desc) will **increase... | 1,598 | 1,600 | 1,598 | CONTRIBUTOR | null | This PR fixes #6479 and fix also the NER example that was not working anymore since few weeks.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6713/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/6713/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6713",
"html_url": "https://github.com/huggingface/transformers/pull/6713",
"diff_url": "https://github.com/huggingface/transformers/pull/6713.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6713.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6712 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6712/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6712/comments | https://api.github.com/repos/huggingface/transformers/issues/6712/events | https://github.com/huggingface/transformers/issues/6712 | 685,322,595 | MDU6SXNzdWU2ODUzMjI1OTU= | 6,712 | longformer padding logging | {
"login": "yuvalkirstain",
"id": 57996478,
"node_id": "MDQ6VXNlcjU3OTk2NDc4",
"avatar_url": "https://avatars.githubusercontent.com/u/57996478?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuvalkirstain",
"html_url": "https://github.com/yuvalkirstain",
"followers_url": "https://api.githu... | [
{
"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! This should be manageable with the logger:\r\n\r\n```py\r\nimport transformers\r\nimport logging\r\n\r\nlogger = logging.getLogger(\"transformers\")\r\nlogger.setLevel(logging.ERROR)\r\n```",
"thank you! sounds great. However, I do think that you can perhaps just notify this behavior at the start of training... | 1,598 | 1,604 | 1,604 | CONTRIBUTOR | null | # 🚀 Feature request
The longformer model logs the extra padding length that it adds (when the padding length is bigger than zero). Can you please add a verbose or non-verbose option to control this behavior? It basically creates a log every forward pass.
the code is in:
module - transformers/modeling_longformer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6712/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/6712/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6711 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6711/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6711/comments | https://api.github.com/repos/huggingface/transformers/issues/6711/events | https://github.com/huggingface/transformers/issues/6711 | 685,277,627 | MDU6SXNzdWU2ODUyNzc2Mjc= | 6,711 | Pegasus finetuning: OOM | {
"login": "laibamehnaz",
"id": 36405283,
"node_id": "MDQ6VXNlcjM2NDA1Mjgz",
"avatar_url": "https://avatars.githubusercontent.com/u/36405283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/laibamehnaz",
"html_url": "https://github.com/laibamehnaz",
"followers_url": "https://api.github.com/... | [] | 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... | [
"Hi @laibamehnaz can you also post env info ",
"have seen this issue with colab, when the RAM usage suddenly increases colab just crashes it , were you using colab ?\r\n\r\nJust to confirm can you try using less examples, you can control the number of examples using `--n_train`\r\n\r\nOR\r\n\r\nMy guess is at t... | 1,598 | 1,598 | 1,598 | NONE | null | Epoch 0: 91% 5747/6331 [39:52<04:03, 2.40it/s, loss=75.765, v_num=2]/usr/local/lib/python3.6/dist-packages/torch/optim/lr_scheduler.py:200: UserWarning: Please also save or load the state of the optimzer when saving or loading the scheduler.
warnings.warn(SAVE_STATE_WARNING, UserWarning)
tcmalloc: large alloc 108... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6711/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/6711/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6710 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6710/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6710/comments | https://api.github.com/repos/huggingface/transformers/issues/6710/events | https://github.com/huggingface/transformers/pull/6710 | 685,219,280 | MDExOlB1bGxSZXF1ZXN0NDcyOTc5NDU5 | 6,710 | [squad] make examples and dataset accessible from SquadDataset object | {
"login": "lazovich",
"id": 678679,
"node_id": "MDQ6VXNlcjY3ODY3OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/678679?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lazovich",
"html_url": "https://github.com/lazovich",
"followers_url": "https://api.github.com/users/lazovic... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6710?src=pr&el=h1) Report\n> Merging [#6710](https://codecov.io/gh/huggingface/transformers/pull/6710?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0344428f7955675847ef95ddcb4980236b6f8721?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | In order to do evaluation on the SQuAD dataset using squad_evaluate, the user needs access to both the examples loaded in the dataset and the TensorDataset that contains values like unique_id and the like that are used in constructing the list of SquadResult objects. This PR surfaces the examples and dataset to the use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6710/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/6710/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6710",
"html_url": "https://github.com/huggingface/transformers/pull/6710",
"diff_url": "https://github.com/huggingface/transformers/pull/6710.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6710.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6709 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6709/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6709/comments | https://api.github.com/repos/huggingface/transformers/issues/6709/events | https://github.com/huggingface/transformers/issues/6709 | 685,164,847 | MDU6SXNzdWU2ODUxNjQ4NDc= | 6,709 | consolidate tf activation functions | {
"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... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 2139... | 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... | [
"Done by @jplu ! https://github.com/huggingface/transformers/blob/master/src/transformers/activations_tf.py#L50"
] | 1,598 | 1,602 | 1,602 | CONTRIBUTOR | null | e.g.
```
def gelu(x):
"""Gaussian Error Linear Unit.
This is a smoother version of the RELU.
Original paper: https://arxiv.org/abs/1606.08415
Args:
x: float Tensor to perform activation.
Returns:
`x` with the GELU activation applied.
"""
cdf = 0.5 * (1.0 + tf.tanh(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6709/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6709/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6708 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6708/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6708/comments | https://api.github.com/repos/huggingface/transformers/issues/6708/events | https://github.com/huggingface/transformers/pull/6708 | 685,160,768 | MDExOlB1bGxSZXF1ZXN0NDcyOTI5NjYz | 6,708 | [bart] rename self-attention -> attention | {
"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/6708?src=pr&el=h1) Report\n> Merging [#6708](https://codecov.io/gh/huggingface/transformers/pull/6708?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0f58903bb62870342eae52f5a02c9105ec6f9b1e?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Makes more sense since also used from cross-attention.
Does not change the state dict, or break slow tests/backwards compatibility.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6708/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/6708/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6708",
"html_url": "https://github.com/huggingface/transformers/pull/6708",
"diff_url": "https://github.com/huggingface/transformers/pull/6708.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6708.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6707 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6707/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6707/comments | https://api.github.com/repos/huggingface/transformers/issues/6707/events | https://github.com/huggingface/transformers/pull/6707 | 685,145,658 | MDExOlB1bGxSZXF1ZXN0NDcyOTE3NDE3 | 6,707 | copy of #6654 for easier pulling | {
"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 | [] | [] | 1,598 | 1,651 | 1,598 | CONTRIBUTOR | null | ```bash
git fetch
git checkout batch-parity-cleaner
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6707/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/6707/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6707",
"html_url": "https://github.com/huggingface/transformers/pull/6707",
"diff_url": "https://github.com/huggingface/transformers/pull/6707.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6707.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6706 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6706/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6706/comments | https://api.github.com/repos/huggingface/transformers/issues/6706/events | https://github.com/huggingface/transformers/pull/6706 | 685,134,432 | MDExOlB1bGxSZXF1ZXN0NDcyOTA4MjI3 | 6,706 | ci/gh/self-scheduled: add newline to make examples tests run even if src/ tests fail | {
"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... | [
{
"id": 1834088753,
"node_id": "MDU6TGFiZWwxODM0MDg4NzUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Tests",
"name": "Tests",
"color": "a6fcca",
"default": false,
"description": "Related to tests"
}
] | 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... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6706?src=pr&el=h1) Report\n> Merging [#6706](https://codecov.io/gh/huggingface/transformers/pull/6706?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0ebc9699fad3889a6e882dce1e4c465232d73438?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | At the moment, the examples tests dont run if the src/ tests don't
this is not the case for self-push I don't think. I don't know why.
Maybe you have an idea @julien-c ?
https://github.com/huggingface/transformers/runs/1024137280?check_suite_focus=true
 Report\n> Merging [#6704](https://codecov.io/gh/huggingface/transformers/pull/6704?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0ebc9699fad3889a6e882dce1e4c465232d73438?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Current output is ridiculous to copy paste into the forums/github/slack:
```
{ "rouge1": 43.38281995775625,
"rouge2": 20.59345268595595,
"rougeL": 30.00905449498762
}
```
also `calculate_bleu_score` -> `calculate_bleu` for consistency with `calculate_rouge` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6704/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/6704/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6704",
"html_url": "https://github.com/huggingface/transformers/pull/6704",
"diff_url": "https://github.com/huggingface/transformers/pull/6704.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6704.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6703 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6703/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6703/comments | https://api.github.com/repos/huggingface/transformers/issues/6703/events | https://github.com/huggingface/transformers/pull/6703 | 685,089,471 | MDExOlB1bGxSZXF1ZXN0NDcyODcwNTIw | 6,703 | Adding model cards for 5 models | {
"login": "AMontgomerie",
"id": 7648722,
"node_id": "MDQ6VXNlcjc2NDg3MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7648722?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AMontgomerie",
"html_url": "https://github.com/AMontgomerie",
"followers_url": "https://api.github.com... | [
{
"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/6703?src=pr&el=h1) Report\n> Merging [#6703](https://codecov.io/gh/huggingface/transformers/pull/6703?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/640550fc7a1e311915ead1bcca6dacea0c503faf?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Adding model cards for:
- iarfmoose/bert-base-cased-qa-evaluator
- iarfmoose/roberta-base-bulgarian-pos
- iarfmoose/roberta-base-bulgarian
- iarfmoose/roberta-small-bulgarian-pos
- iarfmoose/roberta-small-bulgarian | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6703/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/6703/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6703",
"html_url": "https://github.com/huggingface/transformers/pull/6703",
"diff_url": "https://github.com/huggingface/transformers/pull/6703.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6703.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6702 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6702/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6702/comments | https://api.github.com/repos/huggingface/transformers/issues/6702/events | https://github.com/huggingface/transformers/issues/6702 | 685,081,664 | MDU6SXNzdWU2ODUwODE2NjQ= | 6,702 | Questions on the date of Wikipedia dumps for pretrained checkpoints (BERT and RoBERTa). | {
"login": "woojeongjin",
"id": 37932936,
"node_id": "MDQ6VXNlcjM3OTMyOTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/37932936?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/woojeongjin",
"html_url": "https://github.com/woojeongjin",
"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 | 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,598 | 1,604 | 1,604 | NONE | null | # ❓ Questions & Help
Hi, I really appreciate the Huggingface and the fantastic code for pretrained LMs.
I am trying to figure out the date of Wikipedia dumps used for pretrained checkpoints. (BERT and RoBERTa)
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6702/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/6702/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6701 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6701/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6701/comments | https://api.github.com/repos/huggingface/transformers/issues/6701/events | https://github.com/huggingface/transformers/issues/6701 | 685,036,226 | MDU6SXNzdWU2ODUwMzYyMjY= | 6,701 | NER GermEval preprocessor not working as documented | {
"login": "jdruvini",
"id": 70177735,
"node_id": "MDQ6VXNlcjcwMTc3NzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/70177735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jdruvini",
"html_url": "https://github.com/jdruvini",
"followers_url": "https://api.github.com/users/jdr... | [] | closed | false | null | [] | [
"Hi @jdruvini , the script was added in [Transformers 3.0.0](https://github.com/huggingface/transformers/releases/tag/v3.0.0) so unfortuntately it is only working with more recent versions of Transformers. Could you try to update your version to at least 3.0 to give it a try 🤔",
"Indeed... My bad, sorry.",
"Th... | 1,598 | 1,598 | 1,598 | NONE | null | ## Environment info
- `transformers` version: 2.5.1
- Platform: Darwin-18.7.0-x86_64-i386-64bit
- Python version: 3.7.7
- PyTorch version (GPU?): 1.4.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
### Who can help
@st... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6701/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/6701/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6700 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6700/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6700/comments | https://api.github.com/repos/huggingface/transformers/issues/6700/events | https://github.com/huggingface/transformers/issues/6700 | 685,028,257 | MDU6SXNzdWU2ODUwMjgyNTc= | 6,700 | Some weights of AlbertModel were not initialized ['albert.embeddings.position_ids'] | {
"login": "vgaraujov",
"id": 43154161,
"node_id": "MDQ6VXNlcjQzMTU0MTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/43154161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vgaraujov",
"html_url": "https://github.com/vgaraujov",
"followers_url": "https://api.github.com/users/... | [] | 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... | [
"Hello! Which checkpoint are you trying to load? Is it one of your checkpoints or is it one of the checkpoints hosted on the modelhub?",
"This is probably because of this PR: https://github.com/huggingface/transformers/pull/5773 , but should not pose a real problem. I guess we just have to add the position ids as... | 1,598 | 1,600 | 1,598 | NONE | null | Hello!
There seems to be a problem with the current code to load a pre-trained Albert model. This warning appears in any configuration of the Albert model:
`Some weights of AlbertModel were not initialized from the model checkpoint at albert-base-v2 and are newly initialized: ['albert.embeddings.position_ids']`
`Y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6700/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/6700/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6699 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6699/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6699/comments | https://api.github.com/repos/huggingface/transformers/issues/6699/events | https://github.com/huggingface/transformers/pull/6699 | 684,938,374 | MDExOlB1bGxSZXF1ZXN0NDcyNzQzMzQw | 6,699 | More tests to Trainer | {
"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/6699?src=pr&el=h1) Report\n> Merging [#6699](https://codecov.io/gh/huggingface/transformers/pull/6699?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6b4c617666fd26646d44d54f0c45dfe1332b12ca?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | COLLABORATOR | null | While doing see, realized there were some problems with the seed (in particular for HP search) so added a few tests of that too. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6699/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/6699/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6699",
"html_url": "https://github.com/huggingface/transformers/pull/6699",
"diff_url": "https://github.com/huggingface/transformers/pull/6699.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6699.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6698 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6698/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6698/comments | https://api.github.com/repos/huggingface/transformers/issues/6698/events | https://github.com/huggingface/transformers/pull/6698 | 684,920,735 | MDExOlB1bGxSZXF1ZXN0NDcyNzI4NDk3 | 6,698 | [fixdoc] Add import to pegasus usage doc | {
"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 | [] | [] | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6698/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/6698/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6698",
"html_url": "https://github.com/huggingface/transformers/pull/6698",
"diff_url": "https://github.com/huggingface/transformers/pull/6698.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6698.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6697 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6697/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6697/comments | https://api.github.com/repos/huggingface/transformers/issues/6697/events | https://github.com/huggingface/transformers/issues/6697 | 684,912,014 | MDU6SXNzdWU2ODQ5MTIwMTQ= | 6,697 | words of overflowing_tokens in function truncate_sequences is not in right order | {
"login": "cin-levi",
"id": 61211179,
"node_id": "MDQ6VXNlcjYxMjExMTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/61211179?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cin-levi",
"html_url": "https://github.com/cin-levi",
"followers_url": "https://api.github.com/users/cin... | [
{
"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,598 | 1,604 | 1,604 | NONE | null | https://github.com/huggingface/transformers/blob/6b4c617666fd26646d44d54f0c45dfe1332b12ca/src/transformers/tokenization_utils_base.py#L2570
```
if not overflowing_tokens:
window_len = min(len(pair_ids), stride + 1)
else:
window_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6697/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/6697/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6696 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6696/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6696/comments | https://api.github.com/repos/huggingface/transformers/issues/6696/events | https://github.com/huggingface/transformers/pull/6696 | 684,880,421 | MDExOlB1bGxSZXF1ZXN0NDcyNjk0NTU2 | 6,696 | Use separate tqdm progressbars | {
"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/6696?src=pr&el=h1) Report\n> Merging [#6696](https://codecov.io/gh/huggingface/transformers/pull/6696?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/6b4c617666fd26646d44d54f0c45dfe1332b12ca?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | COLLABORATOR | null | Currently, we close progress bar and break the inner loops when training is complete which yields to the progress bars indicating one less step than actually done. The user might believe the last step was not done (even if it was) so this PR uses different generators for the loops than the progress bar and manually upd... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6696/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/6696/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6696",
"html_url": "https://github.com/huggingface/transformers/pull/6696",
"diff_url": "https://github.com/huggingface/transformers/pull/6696.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6696.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6695 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6695/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6695/comments | https://api.github.com/repos/huggingface/transformers/issues/6695/events | https://github.com/huggingface/transformers/pull/6695 | 684,845,090 | MDExOlB1bGxSZXF1ZXN0NDcyNjY1ODk2 | 6,695 | Fix hyperparameter_search doc | {
"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 | [] | [] | 1,598 | 1,598 | 1,598 | COLLABORATOR | null | Fixes a few typos in the doc. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6695/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/6695/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6695",
"html_url": "https://github.com/huggingface/transformers/pull/6695",
"diff_url": "https://github.com/huggingface/transformers/pull/6695.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6695.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6694 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6694/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6694/comments | https://api.github.com/repos/huggingface/transformers/issues/6694/events | https://github.com/huggingface/transformers/pull/6694 | 684,830,721 | MDExOlB1bGxSZXF1ZXN0NDcyNjUzOTU4 | 6,694 | Move unused args to kwargs | {
"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/6694?src=pr&el=h1) Report\n> Merging [#6694](https://codecov.io/gh/huggingface/transformers/pull/6694?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/912a21ec78998a5e35751132c328e7aee8e9f47f?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | COLLABORATOR | null | Those arguments are poped from the kwargs since specific to optuna for now.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6694/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/6694/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6694",
"html_url": "https://github.com/huggingface/transformers/pull/6694",
"diff_url": "https://github.com/huggingface/transformers/pull/6694.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6694.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6693 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6693/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6693/comments | https://api.github.com/repos/huggingface/transformers/issues/6693/events | https://github.com/huggingface/transformers/issues/6693 | 684,829,226 | MDU6SXNzdWU2ODQ4MjkyMjY= | 6,693 | Longformer finetuning on TPUs IndexError: tuple index out of range | {
"login": "wassimseif",
"id": 7282773,
"node_id": "MDQ6VXNlcjcyODI3NzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7282773?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wassimseif",
"html_url": "https://github.com/wassimseif",
"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 | [] | [
"Hey @wassimseif, sadly neither Longformer nor Reformer works on PyTorch/XLA . There is just too much dynamic tensor reshaping happening. I think @ibeltagy made Longformer work on PyTorch/XLA when respecting certain limitations (only local attention)",
"Hey @patrickvonplaten,\r\nUnderstood. Is there some wiki tha... | 1,598 | 1,616 | 1,604 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.0.2
- Platform: Google Colab
- Python version: 3.6
- PyTorch version (GPU?):1.6.0+cu101
- Tensorflo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6693/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/6693/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6692 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6692/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6692/comments | https://api.github.com/repos/huggingface/transformers/issues/6692/events | https://github.com/huggingface/transformers/pull/6692 | 684,803,483 | MDExOlB1bGxSZXF1ZXN0NDcyNjMxMjg2 | 6,692 | Add "tie_word_embeddings" config param | {
"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 | [] | [
"`tie_word_embeddings` doesn't sound a good name to me since it may be confused with freezing the word embeddings.",
"Maybe `embedding_as_softmax_weights` or something like that?",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6692?src=pr&el=h1) Report\n> Merging [#6692](https://codecov.io/gh... | 1,598 | 1,598 | 1,598 | MEMBER | null | As discussed in #6628, this PR makes the word embedding tying dependent on a new parameter:
`config.tie_word_embeddings` which is set to `True` by default and set to `False` for Reformer.
Also, some unnecessary code is removed in Albert and a similar param is deprecated in Transfo-XL.
I don't see how this PR c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6692/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/6692/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6692",
"html_url": "https://github.com/huggingface/transformers/pull/6692",
"diff_url": "https://github.com/huggingface/transformers/pull/6692.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6692.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6691 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6691/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6691/comments | https://api.github.com/repos/huggingface/transformers/issues/6691/events | https://github.com/huggingface/transformers/pull/6691 | 684,790,176 | MDExOlB1bGxSZXF1ZXN0NDcyNjIwMzIy | 6,691 | Lat fix for Ray HP search | {
"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/6691?src=pr&el=h1) Report\n> Merging [#6691](https://codecov.io/gh/huggingface/transformers/pull/6691?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/3a7fdd3f5214d1ec494379e7c65b4eb08146ddb0?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | COLLABORATOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6691/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/6691/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6691",
"html_url": "https://github.com/huggingface/transformers/pull/6691",
"diff_url": "https://github.com/huggingface/transformers/pull/6691.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6691.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6690 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6690/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6690/comments | https://api.github.com/repos/huggingface/transformers/issues/6690/events | https://github.com/huggingface/transformers/pull/6690 | 684,745,835 | MDExOlB1bGxSZXF1ZXN0NDcyNTg0MTcw | 6,690 | Add DPR to models summary | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6690?src=pr&el=h1) Report\n> Merging [#6690](https://codecov.io/gh/huggingface/transformers/pull/6690?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d9cbc0350deaa7e146a8c8dbb6ad4dc9bd6afc4f?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | MEMBER | null | I created a `retrieval-based-models` section for models like DPR. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6690/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/6690/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6690",
"html_url": "https://github.com/huggingface/transformers/pull/6690",
"diff_url": "https://github.com/huggingface/transformers/pull/6690.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6690.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6689 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6689/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6689/comments | https://api.github.com/repos/huggingface/transformers/issues/6689/events | https://github.com/huggingface/transformers/pull/6689 | 684,733,314 | MDExOlB1bGxSZXF1ZXN0NDcyNTczOTMz | 6,689 | Add tokenizer to Trainer | {
"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/6689?src=pr&el=h1) Report\n> Merging [#6689](https://codecov.io/gh/huggingface/transformers/pull/6689?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/abc0202194674ae5e241e547f3af34b4226bdc72?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | COLLABORATOR | null | Not entirely sure about this change as there is a trade-off API complexity/ease of use.
This PR adds `tokenizer` as an optional argument to `Trainer` (if this is approved, will do the same for `TFTrainer`, I have a few recent changes to port there but was mainly waiting for @jplu to be back from vacation to make the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6689/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/6689/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6689",
"html_url": "https://github.com/huggingface/transformers/pull/6689",
"diff_url": "https://github.com/huggingface/transformers/pull/6689.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6689.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6688 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6688/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6688/comments | https://api.github.com/repos/huggingface/transformers/issues/6688/events | https://github.com/huggingface/transformers/issues/6688 | 684,729,296 | MDU6SXNzdWU2ODQ3MjkyOTY= | 6,688 | Question Answering demonstrator for contribute model stopped working | {
"login": "mfebIBM",
"id": 50590088,
"node_id": "MDQ6VXNlcjUwNTkwMDg4",
"avatar_url": "https://avatars.githubusercontent.com/u/50590088?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfebIBM",
"html_url": "https://github.com/mfebIBM",
"followers_url": "https://api.github.com/users/mfebIB... | [] | 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://... | [
"Same issue as #6226. We are currently working on a fix, will post an update here.",
"Interestingly, this was working last Thursday. #6226 was from 21 days ago.",
"@mfebIBM It should be working right now, if you want to give it a try, let us know 👍.\r\n\r\nSorry for the inconvenience.",
"Yes. Working now. T... | 1,598 | 1,598 | 1,598 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
All if this is run on the huggingface platform for contributed models.
Processing of the model in other hosts works correctly, usi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6688/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/6688/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6687 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6687/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6687/comments | https://api.github.com/repos/huggingface/transformers/issues/6687/events | https://github.com/huggingface/transformers/pull/6687 | 684,708,610 | MDExOlB1bGxSZXF1ZXN0NDcyNTUyODE5 | 6,687 | Typo fix in longformer documentation | {
"login": "arnavsharma93",
"id": 1503614,
"node_id": "MDQ6VXNlcjE1MDM2MTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1503614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arnavsharma93",
"html_url": "https://github.com/arnavsharma93",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Great, thank you :-) "
] | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6687/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/6687/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6687",
"html_url": "https://github.com/huggingface/transformers/pull/6687",
"diff_url": "https://github.com/huggingface/transformers/pull/6687.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6687.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6686 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6686/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6686/comments | https://api.github.com/repos/huggingface/transformers/issues/6686/events | https://github.com/huggingface/transformers/pull/6686 | 684,651,398 | MDExOlB1bGxSZXF1ZXN0NDcyNTAzOTU0 | 6,686 | Update repo to isort v5 | {
"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/6686?src=pr&el=h1) Report\n> Merging [#6686](https://codecov.io/gh/huggingface/transformers/pull/6686?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1a779ad7ecb9e5215b6bd1cfa0153469d37e4274?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | COLLABORATOR | null | Since isort now works properly with black, we can use the latest version. It also comes with new functionality (hence the lot of diff) mainly:
- it can deal with the __init__
- it can deal with import in if/else blocks.
This will fix #6681
Also v5 does not use the recursive flag anymore, so I removed it from th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6686/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/6686/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6686",
"html_url": "https://github.com/huggingface/transformers/pull/6686",
"diff_url": "https://github.com/huggingface/transformers/pull/6686.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6686.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6685 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6685/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6685/comments | https://api.github.com/repos/huggingface/transformers/issues/6685/events | https://github.com/huggingface/transformers/pull/6685 | 684,639,280 | MDExOlB1bGxSZXF1ZXN0NDcyNDkzNzUz | 6,685 | Fixed DataCollatorForLanguageModeling not accepting lists of lists | {
"login": "TevenLeScao",
"id": 26709476,
"node_id": "MDQ6VXNlcjI2NzA5NDc2",
"avatar_url": "https://avatars.githubusercontent.com/u/26709476?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TevenLeScao",
"html_url": "https://github.com/TevenLeScao",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6685?src=pr&el=h1) Report\n> Merging [#6685](https://codecov.io/gh/huggingface/transformers/pull/6685?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1a779ad7ecb9e5215b6bd1cfa0153469d37e4274?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | As discussed on Slack, currently `DataCollatorForLanguageModeling` and `DataCollatorForPermutationLanguageModeling` cannot take in lists of lists, as opposed to `default_data_collator`. This fixes this issue by calling `torch.Tensor` beforehand if a list of lists is detected. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6685/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6685/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6685",
"html_url": "https://github.com/huggingface/transformers/pull/6685",
"diff_url": "https://github.com/huggingface/transformers/pull/6685.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6685.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6684 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6684/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6684/comments | https://api.github.com/repos/huggingface/transformers/issues/6684/events | https://github.com/huggingface/transformers/issues/6684 | 684,626,304 | MDU6SXNzdWU2ODQ2MjYzMDQ= | 6,684 | missing reference `from model_bertabs import BertAbsSummarizer` | {
"login": "MarcoGorelli",
"id": 33491632,
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarcoGorelli",
"html_url": "https://github.com/MarcoGorelli",
"followers_url": "https://api.github.c... | [
{
"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,598 | 1,604 | 1,604 | NONE | null | [This line](https://github.com/huggingface/transformers/blob/1a779ad7ecb9e5215b6bd1cfa0153469d37e4274/examples/seq2seq/bertabs/convert_bertabs_original_pytorch_checkpoint.py#L28) reads
> from model_bertabs import BertAbsSummarizer
yet neither `model_bertabs` not `BertAbsSummarizer` can be found in the repository | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6684/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/6684/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6683 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6683/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6683/comments | https://api.github.com/repos/huggingface/transformers/issues/6683/events | https://github.com/huggingface/transformers/pull/6683 | 684,605,241 | MDExOlB1bGxSZXF1ZXN0NDcyNDY1MDYx | 6,683 | Don't reset the dataset type + plug for rm unused columns | {
"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/6683?src=pr&el=h1) Report\n> Merging [#6683](https://codecov.io/gh/huggingface/transformers/pull/6683?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1a779ad7ecb9e5215b6bd1cfa0153469d37e4274?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | COLLABORATOR | null | This PR avoids resetting the dataset type when removing columns, and also introduces a filed in `TrainingArguments` to disable that behavior (in case the use wants to use some of those fields in an elaborate data collator). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6683/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/6683/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6683",
"html_url": "https://github.com/huggingface/transformers/pull/6683",
"diff_url": "https://github.com/huggingface/transformers/pull/6683.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6683.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6682 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6682/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6682/comments | https://api.github.com/repos/huggingface/transformers/issues/6682/events | https://github.com/huggingface/transformers/pull/6682 | 684,601,416 | MDExOlB1bGxSZXF1ZXN0NDcyNDYxODYz | 6,682 | Fix PL token classification examples | {
"login": "vblagoje",
"id": 458335,
"node_id": "MDQ6VXNlcjQ1ODMzNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/458335?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vblagoje",
"html_url": "https://github.com/vblagoje",
"followers_url": "https://api.github.com/users/vblagoj... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6682?src=pr&el=h1) Report\n> Merging [#6682](https://codecov.io/gh/huggingface/transformers/pull/6682?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d0e42a7bed3de9271ae39c575d7eeb54cf985921?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | This PR fixes the following:
- fetches germeval_14 dataset from a new [location](https://drive.google.com/drive/folders/1kC0I2UGl2ltrluI9NqDjaQJGw5iliw_J) where it has been moved recently (cc @stefan-it)
- correctly implements `def get_dataloader(self, mode: int, batch_size: int, shuffle: bool = False) -> DataLoad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6682/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6682/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6682",
"html_url": "https://github.com/huggingface/transformers/pull/6682",
"diff_url": "https://github.com/huggingface/transformers/pull/6682.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6682.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6681 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6681/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6681/comments | https://api.github.com/repos/huggingface/transformers/issues/6681/events | https://github.com/huggingface/transformers/issues/6681 | 684,571,058 | MDU6SXNzdWU2ODQ1NzEwNTg= | 6,681 | BUILD upgrade to isort v5 | {
"login": "MarcoGorelli",
"id": 33491632,
"node_id": "MDQ6VXNlcjMzNDkxNjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/33491632?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarcoGorelli",
"html_url": "https://github.com/MarcoGorelli",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"which linked PR are you referring to?",
"this one https://github.com/timothycrosley/isort/pull/1000 (it's linked to here https://huggingface.co/transformers/contributing.html )"
] | 1,598 | 1,598 | 1,598 | NONE | null | The contributing guide says
> Right now, we need an unreleased version of isort to avoid a bug:
However, it looks like the linked PR has been incorporated into the latest version of isort. I could submit a PR to address this if it would be welcome | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6681/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/6681/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6680 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6680/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6680/comments | https://api.github.com/repos/huggingface/transformers/issues/6680/events | https://github.com/huggingface/transformers/issues/6680 | 684,565,360 | MDU6SXNzdWU2ODQ1NjUzNjA= | 6,680 | Tokenizers works different between NFD/NFKD and NFC/NFKC normalize functions in lowercase Turkish(and probably some other languages) | {
"login": "abdullaholuk-loodos",
"id": 70137509,
"node_id": "MDQ6VXNlcjcwMTM3NTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/70137509?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abdullaholuk-loodos",
"html_url": "https://github.com/abdullaholuk-loodos",
"followers_url": ... | [
{
"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 | [] | [
"Did you experiment with the FastTokenizers from https://github.com/huggingface/tokenizers?\r\n\r\ncc @n1t0 ",
"Yes, it is same.\r\n\r\n```\r\nfrom transformers import BertTokenizerFast\r\n\r\nTEXT = \"ÇOCUK ŞANLIURFA'DAN GELENLERİ ÖĞÜN OLARAK YİYOR\"\r\n\r\nbt = BertTokenizerFast.from_pretrained(\"bert-base-turk... | 1,598 | 1,625 | 1,614 | CONTRIBUTOR | null | Transformers: 3.0.2
Tokenizers: 0.8.1
Hi. First of all thanks for this great library. This is my first issue opening here. I am working at Loodos Tech as a NLP R&D Engineer in Turkey. We are pretraining and finetuning Turkish BERT/ALBERT/ELECTRA models and publizing them.
I found a bug in Tokenizers for Turkish(... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6680/reactions",
"total_count": 6,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6680/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6679 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6679/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6679/comments | https://api.github.com/repos/huggingface/transformers/issues/6679/events | https://github.com/huggingface/transformers/pull/6679 | 684,551,472 | MDExOlB1bGxSZXF1ZXN0NDcyNDE5Mzg0 | 6,679 | Add Mirror Option for Downloads | {
"login": "JetRunner",
"id": 22514219,
"node_id": "MDQ6VXNlcjIyNTE0MjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JetRunner",
"html_url": "https://github.com/JetRunner",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6679?src=pr&el=h1) Report\n> Merging [#6679](https://codecov.io/gh/huggingface/transformers/pull/6679?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/8fcbe486e1592321e868f872545c8fd9d359a515?el=desc) will **decrease... | 1,598 | 1,600 | 1,600 | CONTRIBUTOR | null | This PR will integrate a mirror download source kindly provided by Tsinghua University. This will enormously accelerate downloads from China. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6679/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/6679/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6679",
"html_url": "https://github.com/huggingface/transformers/pull/6679",
"diff_url": "https://github.com/huggingface/transformers/pull/6679.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6679.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6678 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6678/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6678/comments | https://api.github.com/repos/huggingface/transformers/issues/6678/events | https://github.com/huggingface/transformers/issues/6678 | 684,524,381 | MDU6SXNzdWU2ODQ1MjQzODE= | 6,678 | Can't load config for New Community Model | {
"login": "donal1",
"id": 30771534,
"node_id": "MDQ6VXNlcjMwNzcxNTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/30771534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/donal1",
"html_url": "https://github.com/donal1",
"followers_url": "https://api.github.com/users/donal1/fo... | [] | closed | false | null | [] | [
"Edit so it appears to work with: \r\n\r\nfrom transformers import AutoTokenizer, AutoModelWithLMHead\r\ntokenizer = AutoTokenizer.from_pretrained(\"donal/Pro_Berta\")\r\nmodel = AutoModelWithLMHead.from_pretrained(\"donal/Pro_Berta\")\r\n\r\nCould just be an issue with the API? maybe needs some time to load correc... | 1,598 | 1,598 | 1,598 | NONE | null | API says "Can't load config for 'donal/Pro_Berta'. Make sure that: - 'donal/Pro_Berta' is a correct model identifier listed on 'https://huggingface.co/models' - or 'donal/Pro_Berta' is the correct path to a directory containing a config.json file". But I followed the instructions to the letter. Do not know what's the i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6678/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/6678/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6677 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6677/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6677/comments | https://api.github.com/repos/huggingface/transformers/issues/6677/events | https://github.com/huggingface/transformers/pull/6677 | 684,490,474 | MDExOlB1bGxSZXF1ZXN0NDcyMzY3Nzc2 | 6,677 | Batch encore plus and overflowing tokens fails when non existing overflowing tokens for a sequence | {
"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 | [] | [
"I face this issue as well, and I agree this PR will fix it. Thanks for the PR, I can now fix it on my local :P",
"@LysandreJik I encountered the same issue, glad you found a way to fix it.\r\nsome tests are failing - maybe that's the reason this PR is not being merged?",
"# [Codecov](https://codecov.io/gh/hugg... | 1,598 | 1,599 | 1,599 | MEMBER | null | closes #6632 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6677/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/6677/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6677",
"html_url": "https://github.com/huggingface/transformers/pull/6677",
"diff_url": "https://github.com/huggingface/transformers/pull/6677.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6677.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6676 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6676/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6676/comments | https://api.github.com/repos/huggingface/transformers/issues/6676/events | https://github.com/huggingface/transformers/pull/6676 | 684,478,909 | MDExOlB1bGxSZXF1ZXN0NDcyMzU4MjMx | 6,676 | Allow numpy array as tokenizer input | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [
{
"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/6676?src=pr&el=h1) Report\n> Merging [#6676](https://codecov.io/gh/huggingface/transformers/pull/6676?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f230a640941ef11b077c953cbda01aa981e1ec9a?el=desc) will **increase... | 1,598 | 1,614 | 1,614 | MEMBER | null | Tokenizers allow numpy arrays since https://pypi.org/project/tokenizers/0.9.0.dev0/ thanks to @n1t0
This is related to issue #5729 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6676/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/6676/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6676",
"html_url": "https://github.com/huggingface/transformers/pull/6676",
"diff_url": "https://github.com/huggingface/transformers/pull/6676.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6676.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6675 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6675/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6675/comments | https://api.github.com/repos/huggingface/transformers/issues/6675/events | https://github.com/huggingface/transformers/issues/6675 | 684,456,391 | MDU6SXNzdWU2ODQ0NTYzOTE= | 6,675 | ner example failed on examples/token-classification % bash run.sh | {
"login": "SeekPoint",
"id": 18051187,
"node_id": "MDQ6VXNlcjE4MDUxMTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/18051187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeekPoint",
"html_url": "https://github.com/SeekPoint",
"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
},
{
"id": 1834060867,
"node_id": "MDU6TGFiZWwxODM0MDYwODY3",
... | 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... | [
"I also get this same error on this example.",
"Hi @loveJasmine and @isoboroff ,\r\n\r\nthis should be fixed in latest `master` version (I'm currently training a model with this example script, preprocessing was fine) :)",
"This issue has been automatically marked as stale because it has not had recent activity... | 1,598 | 1,605 | 1,605 | NONE | null | (.venvpy36) examples/token-classification % bash run.sh
08/24/2020 15:56:12 - INFO - filelock - Lock 5754732216 acquired on ./cached_train_BertTokenizer_128.lock
08/24/2020 15:56:12 - INFO - utils_ner - Creating features from dataset file at .
08/24/2020 15:56:12 - INFO - utils_ner - Saving features into cac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6675/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/6675/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6674 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6674/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6674/comments | https://api.github.com/repos/huggingface/transformers/issues/6674/events | https://github.com/huggingface/transformers/pull/6674 | 684,392,311 | MDExOlB1bGxSZXF1ZXN0NDcyMjg1MjM2 | 6,674 | Add model card for singbert. | {
"login": "zyuanlim",
"id": 7169731,
"node_id": "MDQ6VXNlcjcxNjk3MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7169731?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zyuanlim",
"html_url": "https://github.com/zyuanlim",
"followers_url": "https://api.github.com/users/zyuan... | [] | closed | false | null | [] | [
"@JetRunner Just a final addition of couple of more examples and customized the widget inputs, good to go :)",
"Not sure if I should bring this up here or raise a new issue, but when i tested my widget (hosted inference), i got this error: \r\n```\r\nCan't load config for 'zanelim/singbert'. Make sure that: - 'za... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Adding a model card for singbert- bert for singlish and manglish. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6674/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/6674/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6674",
"html_url": "https://github.com/huggingface/transformers/pull/6674",
"diff_url": "https://github.com/huggingface/transformers/pull/6674.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6674.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6673 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6673/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6673/comments | https://api.github.com/repos/huggingface/transformers/issues/6673/events | https://github.com/huggingface/transformers/issues/6673 | 684,298,123 | MDU6SXNzdWU2ODQyOTgxMjM= | 6,673 | New training arg: warmup_ratio | {
"login": "GanjinZero",
"id": 19466330,
"node_id": "MDQ6VXNlcjE5NDY2MzMw",
"avatar_url": "https://avatars.githubusercontent.com/u/19466330?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GanjinZero",
"html_url": "https://github.com/GanjinZero",
"followers_url": "https://api.github.com/use... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | 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",
"Well, I think it is a useful feature since PLMs like RoBERTa require setting task-specific warmup-steps, which is annoying. But the des... | 1,598 | 1,613 | 1,613 | NONE | null | # 🚀 Feature request
When training or fine-tuning a transformer model, people usually warmup for 10% training steps. For now, transformers only provide the parameter of warmup_steps. A warmup_ratio parameter can be helpful, it means warmup for some percentage of total training steps.
<!-- A clear and concise desc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6673/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6673/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6672 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6672/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6672/comments | https://api.github.com/repos/huggingface/transformers/issues/6672/events | https://github.com/huggingface/transformers/issues/6672 | 684,228,929 | MDU6SXNzdWU2ODQyMjg5Mjk= | 6,672 | TFTrainer with TPUs: Here's a suggestion on getting it to work | {
"login": "alexorona",
"id": 11825654,
"node_id": "MDQ6VXNlcjExODI1NjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11825654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexorona",
"html_url": "https://github.com/alexorona",
"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 | [] | [
"cc @jplu for when he comes back",
"Thanks a lot @alexorona for this explicit issue.\r\n\r\nIndeed the TF Trainer was working with usual TPU creation on GCP but not with Colab and investigating on this was one of my priotities when back from vacation. Apparently, TPU on Colab is more restrictive which is good to ... | 1,598 | 1,605 | 1,605 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.0.2
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.6.0+cu101 (False)
- Tensorflow version (GPU?): 2.3.0 (False)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: Yes
## ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6672/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6672/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6671 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6671/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6671/comments | https://api.github.com/repos/huggingface/transformers/issues/6671/events | https://github.com/huggingface/transformers/issues/6671 | 684,163,825 | MDU6SXNzdWU2ODQxNjM4MjU= | 6,671 | Value Error & dev file parameter: run_squad.py BERT QA finetuning | {
"login": "haenvely",
"id": 34908281,
"node_id": "MDQ6VXNlcjM0OTA4Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/34908281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haenvely",
"html_url": "https://github.com/haenvely",
"followers_url": "https://api.github.com/users/hae... | [
{
"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,598 | 1,604 | 1,604 | NONE | null | # ❓ Questions & Help
Hello, I have a question about implementing run_squad.py finetuning.
I have 2 questions.
**1. --dev_file parameter**
I have 3 datasets : train, dev, and predict file.
However, I discovered that run_squad.py finetuning seems it does not supply `--dev_file` parameter, so I can use only 2 dat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6671/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/6671/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6670 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6670/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6670/comments | https://api.github.com/repos/huggingface/transformers/issues/6670/events | https://github.com/huggingface/transformers/issues/6670 | 684,076,930 | MDU6SXNzdWU2ODQwNzY5MzA= | 6,670 | Pretrained GPT2DoubleHeadsModel | {
"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 | [] | [
"One of the two output heads is the language modeling head, which is tied to the embeddings. This is already trained, as the embeddings were trained during pre-training.\r\n\r\nThe second output head is a multiple choice head, which was not pre-trained. You would need to fine-tune it on a multiple choice dataset so... | 1,598 | 1,604 | 1,604 | NONE | null | #6667
Hello,
This is a follow-up post for #6667.
So just so that I am understanding this correctly, the main body (excluding the 2 output heads) of the pre-trained `GPT2DoubleHeadsModel` are indeed the pre-trained weights and biases, but the 2 output heads are not pre-trained?
Thank you, | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6670/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/6670/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6669 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6669/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6669/comments | https://api.github.com/repos/huggingface/transformers/issues/6669/events | https://github.com/huggingface/transformers/issues/6669 | 684,074,179 | MDU6SXNzdWU2ODQwNzQxNzk= | 6,669 | Inconsistent handling of empty string in tokenizers | {
"login": "thomlake",
"id": 404526,
"node_id": "MDQ6VXNlcjQwNDUyNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/404526?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomlake",
"html_url": "https://github.com/thomlake",
"followers_url": "https://api.github.com/users/thomlak... | [] | closed | false | null | [] | [
"After looking into this a bit, I believe it is isolated to the tokenizers package. If `BertTokenizerFast` is replaced with `BertTokenizer` above, no error is raised. I've opened an issue with a proposed solution there."
] | 1,598 | 1,600 | 1,600 | NONE | null | ## Environment info
- `transformers` version: 3.0.2
- Platform: Linux-5.4.0-42-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.7
- PyTorch version (GPU?): 1.6.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: no (issue with tokenizer)
- Using distributed or paral... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6669/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/6669/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6668 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6668/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6668/comments | https://api.github.com/repos/huggingface/transformers/issues/6668/events | https://github.com/huggingface/transformers/issues/6668 | 684,068,283 | MDU6SXNzdWU2ODQwNjgyODM= | 6,668 | Zero-Shot-Classification: multi_class or multi_label? | {
"login": "taufique74",
"id": 7470463,
"node_id": "MDQ6VXNlcjc0NzA0NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7470463?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/taufique74",
"html_url": "https://github.com/taufique74",
"followers_url": "https://api.github.com/users... | [] | closed | false | {
"login": "joeddav",
"id": 9353833,
"node_id": "MDQ6VXNlcjkzNTM4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeddav",
"html_url": "https://github.com/joeddav",
"followers_url": "https://api.github.com/users/joeddav/... | [
{
"login": "joeddav",
"id": 9353833,
"node_id": "MDQ6VXNlcjkzNTM4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeddav",
"html_url": "https://github.com/joeddav",
"followers_url": "https://api.githu... | [
"cc @joeddav ",
"Yeah I think `multi_label` probably would have been better in retrospect given that many do seem to make this distinction between terms. Since it's already being widely used, though, I think we'll keep it as is for the moment. If it turns out to cause consistent confusion for people we can look a... | 1,598 | 1,615 | 1,615 | NONE | null | https://github.com/huggingface/transformers/blob/068df740bd73b95e9a1e233e47608df942fda9da/src/transformers/pipelines.py#L1048
Since we're allowing multiple labels to be true, shouldn't this be called `multi_label` instead of `multi_class`? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6668/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/6668/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6667 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6667/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6667/comments | https://api.github.com/repos/huggingface/transformers/issues/6667/events | https://github.com/huggingface/transformers/issues/6667 | 684,048,406 | MDU6SXNzdWU2ODQwNDg0MDY= | 6,667 | Why does the median cross entropy loss change when I change the random seed? | {
"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 | [] | [
"Hello! The `GPT2DoubleHeadsModel` model has a multiple choice head which generally isn't initialized from GPT-2 checkpoints. The `gpt2` checkpoint doesn't contain weights for that head as the pre-training didn't involve a multiple-choice task.\r\n\r\nIf you're on the latest version of `transformers` you should see... | 1,598 | 1,598 | 1,598 | NONE | null | Hello,
I've noticed that, when I use the *pre-trained* `GPT2DoubleHeadsModel` to process multiple choice questions, the median of the cross entropy loss generated for the same set of multiple choice questions change when I change the type of my random seed (NOTE: I changed my random seed *before* loading the pre-train... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6667/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/6667/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6666 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6666/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6666/comments | https://api.github.com/repos/huggingface/transformers/issues/6666/events | https://github.com/huggingface/transformers/pull/6666 | 684,030,105 | MDExOlB1bGxSZXF1ZXN0NDcyMDExNDk0 | 6,666 | added multiple model_cards for below models | {
"login": "sagorbrur",
"id": 10723655,
"node_id": "MDQ6VXNlcjEwNzIzNjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/10723655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sagorbrur",
"html_url": "https://github.com/sagorbrur",
"followers_url": "https://api.github.com/users/... | [
{
"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/6666?src=pr&el=h1) Report\n> Merging [#6666](https://codecov.io/gh/huggingface/transformers/pull/6666?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f230a640941ef11b077c953cbda01aa981e1ec9a?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Hi,
I added model_cards for these models
* codeswitch-hineng-ner-lince
* codeswitch-hineng-pos-lince
* codeswitch-nepeng-lid-lince
* codeswitch-spaeng-ner-lince
* codeswitch-spaeng-pos-lince
also update model card for this two model
* codeswitch-hineng-lid-lince
* codeswitch-spaeng-lid-lince
Please chec... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6666/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/6666/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6666",
"html_url": "https://github.com/huggingface/transformers/pull/6666",
"diff_url": "https://github.com/huggingface/transformers/pull/6666.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6666.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6665 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6665/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6665/comments | https://api.github.com/repos/huggingface/transformers/issues/6665/events | https://github.com/huggingface/transformers/issues/6665 | 684,012,121 | MDU6SXNzdWU2ODQwMTIxMjE= | 6,665 | Finetune.sh showing killed | {
"login": "mc2259",
"id": 57819870,
"node_id": "MDQ6VXNlcjU3ODE5ODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/57819870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mc2259",
"html_url": "https://github.com/mc2259",
"followers_url": "https://api.github.com/users/mc2259/fo... | [] | closed | false | null | [] | [
"Hi, can you post the full command and your env info",
"lets all hang out in #6711 "
] | 1,598 | 1,598 | 1,598 | 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 the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6665/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/6665/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6664 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6664/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6664/comments | https://api.github.com/repos/huggingface/transformers/issues/6664/events | https://github.com/huggingface/transformers/pull/6664 | 684,007,730 | MDExOlB1bGxSZXF1ZXN0NDcxOTk1NTcz | 6,664 | convert_BertForQuestionAnswering_pytorch_checkpoint_to_tf | {
"login": "kbrajwani",
"id": 29722986,
"node_id": "MDQ6VXNlcjI5NzIyOTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/29722986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kbrajwani",
"html_url": "https://github.com/kbrajwani",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,598 | 1,598 | 1,598 | NONE | null | check src/transformers/convert_BertForQuestionAnswering_pytorch_checkpoint_to_tf.py file
i only make this file which can convert BertForQuestionAnswering pytorch models into in TFBertForQuestionAnswering. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6664/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/6664/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6664",
"html_url": "https://github.com/huggingface/transformers/pull/6664",
"diff_url": "https://github.com/huggingface/transformers/pull/6664.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6664.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6663 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6663/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6663/comments | https://api.github.com/repos/huggingface/transformers/issues/6663/events | https://github.com/huggingface/transformers/pull/6663 | 683,993,431 | MDExOlB1bGxSZXF1ZXN0NDcxOTg1NDM3 | 6,663 | added model_card for model codeswitch-hineng-lid-lince and codeswitch-spaeng-lid-lince | {
"login": "sagorbrur",
"id": 10723655,
"node_id": "MDQ6VXNlcjEwNzIzNjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/10723655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sagorbrur",
"html_url": "https://github.com/sagorbrur",
"followers_url": "https://api.github.com/users/... | [
{
"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 | [] | [
"Looks great! Maybe also add a link to https://github.com/sagorbrur/codeswitch?",
"Hi @julien-c,\r\nthank you so much. \r\nregards\r\nSagor"
] | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Hi,
Thank you so much for this beautiful, awesome repo.
I added model card for model `codeswitch-hineng-lid-lince` and `codeswitch-spaeng-lid-lince`.
Please check and if possible please merge.
thanks and regards
Sagor | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6663/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/6663/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6663",
"html_url": "https://github.com/huggingface/transformers/pull/6663",
"diff_url": "https://github.com/huggingface/transformers/pull/6663.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6663.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6662 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6662/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6662/comments | https://api.github.com/repos/huggingface/transformers/issues/6662/events | https://github.com/huggingface/transformers/issues/6662 | 683,991,814 | MDU6SXNzdWU2ODM5OTE4MTQ= | 6,662 | Integer division of tensors using div or / is no longer supported torch | {
"login": "dhruvrnaik",
"id": 22565320,
"node_id": "MDQ6VXNlcjIyNTY1MzIw",
"avatar_url": "https://avatars.githubusercontent.com/u/22565320?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dhruvrnaik",
"html_url": "https://github.com/dhruvrnaik",
"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
}
] | 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,598 | 1,604 | 1,604 | NONE | null | https://github.com/huggingface/transformers/blob/97bb2497abbbf978a0f78f1d414a7b45539e795b/examples/seq2seq/bertabs/modeling_bertabs.py#L885
Line throws an error "integer division of tensors using div or / is no longer supported torch" when executing `bertabs/run_summarization.py`
Is replacing `.div()` with `.floo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6662/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/6662/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6661 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6661/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6661/comments | https://api.github.com/repos/huggingface/transformers/issues/6661/events | https://github.com/huggingface/transformers/issues/6661 | 683,947,254 | MDU6SXNzdWU2ODM5NDcyNTQ= | 6,661 | Sequence packing | {
"login": "saareliad",
"id": 22762845,
"node_id": "MDQ6VXNlcjIyNzYyODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/22762845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saareliad",
"html_url": "https://github.com/saareliad",
"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 | [] | [
"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,598 | 1,604 | 1,604 | NONE | null | # 🚀 Feature request
Add sequence packing support
## Motivation
Faster training, higher utilization, replicate experiments.
See https://github.com/google-research/text-to-text-transfer-transformer/issues/365
## Your contribution
I think it makes sense doing something similar to other frameworks which a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6661/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/6661/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6660 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6660/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6660/comments | https://api.github.com/repos/huggingface/transformers/issues/6660/events | https://github.com/huggingface/transformers/pull/6660 | 683,930,564 | MDExOlB1bGxSZXF1ZXN0NDcxOTM4OTU0 | 6,660 | Create PULL_REQUEST_TEMPLATE.md | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6660?src=pr&el=h1) Report\n> Merging [#6660](https://codecov.io/gh/huggingface/transformers/pull/6660?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0f94151dc7809128b40ab68ba164742fe1c5b4e6?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Proposing to copy this neat feature from pytorch. This is a small template that let's a PR submitter tell which issue that PR closes.
Here is an example of it in action, the end of the top post: https://github.com/huggingface/transformers/pull/6659 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6660/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/6660/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6660",
"html_url": "https://github.com/huggingface/transformers/pull/6660",
"diff_url": "https://github.com/huggingface/transformers/pull/6660.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6660.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6659 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6659/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6659/comments | https://api.github.com/repos/huggingface/transformers/issues/6659/events | https://github.com/huggingface/transformers/pull/6659 | 683,929,497 | MDExOlB1bGxSZXF1ZXN0NDcxOTM4MTAz | 6,659 | [doc] remove BartForConditionalGeneration.generate | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6659?src=pr&el=h1) Report\n> Merging [#6659](https://codecov.io/gh/huggingface/transformers/pull/6659?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0f94151dc7809128b40ab68ba164742fe1c5b4e6?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | As suggested here: https://github.com/huggingface/transformers/issues/6651#issuecomment-678594233
this removes a generic `generate` doc with a large group of generate examples, none of which is relevant to BART. the BART class pre-amble doc already provides the examples.
Fixes #6651 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6659/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/6659/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6659",
"html_url": "https://github.com/huggingface/transformers/pull/6659",
"diff_url": "https://github.com/huggingface/transformers/pull/6659.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6659.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6658 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6658/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6658/comments | https://api.github.com/repos/huggingface/transformers/issues/6658/events | https://github.com/huggingface/transformers/pull/6658 | 683,928,572 | MDExOlB1bGxSZXF1ZXN0NDcxOTM3MzU4 | 6,658 | wip: add from scratch arg to lightning_base | {
"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 | [] | [] | 1,598 | 1,601 | 1,601 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6658/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/6658/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6658",
"html_url": "https://github.com/huggingface/transformers/pull/6658",
"diff_url": "https://github.com/huggingface/transformers/pull/6658.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6658.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/6657 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6657/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6657/comments | https://api.github.com/repos/huggingface/transformers/issues/6657/events | https://github.com/huggingface/transformers/issues/6657 | 683,889,083 | MDU6SXNzdWU2ODM4ODkwODM= | 6,657 | Error while loading pretrained model with "return_dict=True" | {
"login": "tuner007",
"id": 46425391,
"node_id": "MDQ6VXNlcjQ2NDI1Mzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/46425391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tuner007",
"html_url": "https://github.com/tuner007",
"followers_url": "https://api.github.com/users/tun... | [] | closed | false | null | [] | [
"Hi! I believe that parameter is only available on `master` right now, so you should install `transformers` from the `master` branch to use it (`pip install git+https://github.com/huggingface/transformers`). It'll be available in version `3.1.0` which will be released in a couple of days.",
"Working for me after ... | 1,598 | 1,631 | 1,598 | CONTRIBUTOR | null | # ❓ Questions & Help
torch: 1.6.0+cu101
Transformers: 3.0.2
**Error with "return_dict=True"**
```
from transformers import BertTokenizer, BertForPreTraining
import torch
tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
model = BertForPreTraining.from_pretrained('bert-base-uncased', return_d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6657/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6657/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6656 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6656/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6656/comments | https://api.github.com/repos/huggingface/transformers/issues/6656/events | https://github.com/huggingface/transformers/pull/6656 | 683,857,992 | MDExOlB1bGxSZXF1ZXN0NDcxODgwMTU0 | 6,656 | Add bibtex for new paper | {
"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/6656?src=pr&el=h1) Report\n> Merging [#6656](https://codecov.io/gh/huggingface/transformers/pull/6656?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/0f94151dc7809128b40ab68ba164742fe1c5b4e6?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | and link
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6656/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/6656/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6656",
"html_url": "https://github.com/huggingface/transformers/pull/6656",
"diff_url": "https://github.com/huggingface/transformers/pull/6656.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6656.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6655 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6655/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6655/comments | https://api.github.com/repos/huggingface/transformers/issues/6655/events | https://github.com/huggingface/transformers/issues/6655 | 683,833,637 | MDU6SXNzdWU2ODM4MzM2Mzc= | 6,655 | Error when wandb is installed | {
"login": "aclifton314",
"id": 53267795,
"node_id": "MDQ6VXNlcjUzMjY3Nzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/53267795?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aclifton314",
"html_url": "https://github.com/aclifton314",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"What version of wandb do you have?\r\nAlso would you have a simple example to reproduce this issue?",
"It could be a problem with your virtual environment.\r\nMaybe this issue will help: https://github.com/wandb/client/issues/539",
"@borisdayma Thank you for your reply. I'm using wand 0.9.5. Here is some sampl... | 1,598 | 1,598 | 1,598 | NONE | null | ## System Summary
Pop!_OS 20.04
Pytorch: 1.5.1
Transformers: 3.0.2
Tokenizers: 0.8.1rc1
Python: 3.7.6
Pretrained Model: GPT2
Pretrained Tokenizer: GPT2
## Question
Training without `wandb` works fine but when I `pip install wandb` and change nothing else in my code, whenever I go to run training I get the fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6655/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/6655/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6654 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6654/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6654/comments | https://api.github.com/repos/huggingface/transformers/issues/6654/events | https://github.com/huggingface/transformers/pull/6654 | 683,831,777 | MDExOlB1bGxSZXF1ZXN0NDcxODU4NTQx | 6,654 | prepare_seq2seq_batch makes labels/ decoder_input_ids made later. | {
"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/6654?src=pr&el=h1) Report\n> Merging [#6654](https://codecov.io/gh/huggingface/transformers/pull/6654?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/4bd7be9a4268221d2a0000c7e8033aaeb365c03b?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | `src/` changes:
- when `tgt_texts` is supplied `prepare_seq_to_seq_batch` calls the tensor that used to be called `decoder_input_ids`, `labels`.
- This change helps metrics for models whose tokenizers do not add bos to the beginning of target sequences, like Marian and Pegasus, without affecting metrics for other mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6654/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/6654/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6654",
"html_url": "https://github.com/huggingface/transformers/pull/6654",
"diff_url": "https://github.com/huggingface/transformers/pull/6654.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6654.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6653/comments | https://api.github.com/repos/huggingface/transformers/issues/6653/events | https://github.com/huggingface/transformers/issues/6653 | 683,821,829 | MDU6SXNzdWU2ODM4MjE4Mjk= | 6,653 | old nlp causes error that pip install -e. can't fix. | {
"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... | [
{
"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 | [] | [
"Fixed with `pip install nlp --upgrade`.\r\nThis problem only happens if you do have nlp installed, but an old version.\r\nwe could make assertions about` nlp.__version___` to avoid this.",
"I face this even now after running pip install on requirements.txt . I just upgrade the version for pyarrow and it works fi... | 1,598 | 1,604 | 1,604 | CONTRIBUTOR | null | ```
Traceback (most recent call last):
File "finetune.py", line 15, in <module>
from lightning_base import BaseTransformer, add_generic_args, generic_train
File "/home/shleifer/transformers_fork/examples/lightning_base.py", line 10, in <mo
dule>
from transformers import (
File "/home/shleifer/trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6653/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/6653/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6652 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6652/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6652/comments | https://api.github.com/repos/huggingface/transformers/issues/6652/events | https://github.com/huggingface/transformers/issues/6652 | 683,789,447 | MDU6SXNzdWU2ODM3ODk0NDc= | 6,652 | ['encoder.version', 'decoder.version'] are unexpected when loading a pretrained BART model | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Yeah I think the clean solution is `authorized_extra_keys` but I could also just reconvert the models.\r\nWe could also leave the warning.\r\nWhat do you think @sgugger ?",
"IMHO, that warning makes the library look somewhat amateurish, as it makes the user wonder whether something is wrong, for absolutely no re... | 1,598 | 1,599 | 1,599 | CONTRIBUTOR | null | Using an example from the bart doc:
https://huggingface.co/transformers/model_doc/bart.html#bartforconditionalgeneration
```
from transformers import BartTokenizer, BartForConditionalGeneration
tokenizer = BartTokenizer.from_pretrained('facebook/bart-large')
TXT = "My friends are <mask> but they eat too many car... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6652/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/6652/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6651 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6651/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6651/comments | https://api.github.com/repos/huggingface/transformers/issues/6651/events | https://github.com/huggingface/transformers/issues/6651 | 683,787,399 | MDU6SXNzdWU2ODM3ODczOTk= | 6,651 | [doc] bart doc examples aren't for bart | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | 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... | [
"Those examples are from the `generate` method doc which is a generic method shared by all generative models.",
"Thank you, @patil-suraj. Indeed, since `BartForConditionalGeneration` uses super-super class's `generate` it ends up having that generic signature in its docs.\r\n\r\nWhat I'm trying to say is that the... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | If you look at the very end of this section https://huggingface.co/transformers/model_doc/bart.html#transformers.BartForConditionalGeneration.generate
there are 5 examples of using `generate` none of which is for BART. Is this an accidental copy-n-paste issue and they should just be removed?
There are examples of ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6651/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/6651/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6650 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6650/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6650/comments | https://api.github.com/repos/huggingface/transformers/issues/6650/events | https://github.com/huggingface/transformers/pull/6650 | 683,695,373 | MDExOlB1bGxSZXF1ZXN0NDcxNzQ1MTE2 | 6,650 | Add model card for electricidad-base-generator | {
"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/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6650?src=pr&el=h1) Report\n> Merging [#6650](https://codecov.io/gh/huggingface/transformers/pull/6650?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9e8c494da78077a91071a00ab2b73717deda24be?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | I works like a charm!
Look at the output of the example code! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6650/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/6650/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6650",
"html_url": "https://github.com/huggingface/transformers/pull/6650",
"diff_url": "https://github.com/huggingface/transformers/pull/6650.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6650.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6649 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6649/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6649/comments | https://api.github.com/repos/huggingface/transformers/issues/6649/events | https://github.com/huggingface/transformers/pull/6649 | 683,684,459 | MDExOlB1bGxSZXF1ZXN0NDcxNzM2MTAz | 6,649 | [Doc model summary] add MBart model summary | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6649?src=pr&el=h1) Report\n> Merging [#6649](https://codecov.io/gh/huggingface/transformers/pull/6649?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9e8c494da78077a91071a00ab2b73717deda24be?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | MEMBER | null | add model summary for MBart
@sshleifer , @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6649/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/6649/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6649",
"html_url": "https://github.com/huggingface/transformers/pull/6649",
"diff_url": "https://github.com/huggingface/transformers/pull/6649.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6649.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6648/comments | https://api.github.com/repos/huggingface/transformers/issues/6648/events | https://github.com/huggingface/transformers/pull/6648 | 683,681,085 | MDExOlB1bGxSZXF1ZXN0NDcxNzMzMzYz | 6,648 | Remove hard-coded uses of float32 to fix mixed precision use | {
"login": "schmidek",
"id": 442328,
"node_id": "MDQ6VXNlcjQ0MjMyOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/442328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/schmidek",
"html_url": "https://github.com/schmidek",
"followers_url": "https://api.github.com/users/schmide... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6648?src=pr&el=h1) Report\n> Merging [#6648](https://codecov.io/gh/huggingface/transformers/pull/6648?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9e8c494da78077a91071a00ab2b73717deda24be?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Remove hard-coded uses of float32 from the tensorflow implementation of BERT and ELECTRA.
Fixes #3320 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6648/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6648/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6648",
"html_url": "https://github.com/huggingface/transformers/pull/6648",
"diff_url": "https://github.com/huggingface/transformers/pull/6648.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6648.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6647 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6647/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6647/comments | https://api.github.com/repos/huggingface/transformers/issues/6647/events | https://github.com/huggingface/transformers/issues/6647 | 683,671,250 | MDU6SXNzdWU2ODM2NzEyNTA= | 6,647 | mbart broken in summarization 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 | [] | [
"works on master."
] | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | ```
summarizer = pipeline("summarization", model="facebook/mbart-large-cc25", tokenizer="facebook/mbart-large-cc25")
```
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6647/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/6647/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6646/comments | https://api.github.com/repos/huggingface/transformers/issues/6646/events | https://github.com/huggingface/transformers/issues/6646 | 683,662,338 | MDU6SXNzdWU2ODM2NjIzMzg= | 6,646 | Error when loading my trained model | {
"login": "yanchao-yu",
"id": 5929774,
"node_id": "MDQ6VXNlcjU5Mjk3NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5929774?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yanchao-yu",
"html_url": "https://github.com/yanchao-yu",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Does \r\n```\r\nself._model = BertForQuestionAnswering.from_pretrained(`./model/trained_squad/`)\r\n```\r\nwork?",
"How silly I am! Thanks a lot. It works for me. ",
"When I take out `from_tf=True` it then says `[Error no file named ['pytorch_model.bin', 'tf_model.h5', 'model.ckpt.index', 'flax_model.msgpack']... | 1,598 | 1,645 | 1,598 | NONE | null | Hello,
I tried to train the question-answering model using `bert-base-uncased` on SQUADv1.1. The training process seems to be successfully completed. However, when I load the trained model, it said that `File "h5py/h5f.pyx", line 88, in h5py.h5f.open
OSError: Unable to open file (file signature not found)`
Here... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6646/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/6646/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6645 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6645/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6645/comments | https://api.github.com/repos/huggingface/transformers/issues/6645/events | https://github.com/huggingface/transformers/issues/6645 | 683,643,290 | MDU6SXNzdWU2ODM2NDMyOTA= | 6,645 | New config param for cross-attention dimensionality | {
"login": "Squire-tomsk",
"id": 5622473,
"node_id": "MDQ6VXNlcjU2MjI0NzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5622473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Squire-tomsk",
"html_url": "https://github.com/Squire-tomsk",
"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... | [
"is this different than d_model/hidden_size?",
"Yes it is. As I undestand from T5 and TransformerXL config this param named `n_embd` in GPT2 config (embedding and hidden size dimensionality). It has impact on selt-attention dimentionality:\r\nQ (n_embd x n_embd) \r\nK (n_embd x n_embd) \r\nV (n_embd x n_embd). \r... | 1,598 | 1,636 | 1,610 | NONE | null | # 🚀 Feature request
Add a new config param `n_cross` for each model that has cross-attention. This param will determine key and value matrices dimensionality in cross-attention.
## Motivation
I have pretrained encoder (hidden size 512) and want to combine it with GPT-2 medium (hidden size 1024) by cross-atten... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6645/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/6645/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6644 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6644/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6644/comments | https://api.github.com/repos/huggingface/transformers/issues/6644/events | https://github.com/huggingface/transformers/pull/6644 | 683,613,849 | MDExOlB1bGxSZXF1ZXN0NDcxNjc3NjE3 | 6,644 | Dataset and DataCollator for BERT Next Sentence Prediction (NSP) task | {
"login": "mojave-pku",
"id": 26648528,
"node_id": "MDQ6VXNlcjI2NjQ4NTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/26648528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mojave-pku",
"html_url": "https://github.com/mojave-pku",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6644?src=pr&el=h1) Report\n> Merging [#6644](https://codecov.io/gh/huggingface/transformers/pull/6644?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/41aa2b4ef1b9c2d14d5b06af2e0faa10592779dd?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Add `DataCollatorForNextSencencePrediction` and `TextDatasetForNextSencencePrediction` to support mlm and next sentence prediction objectives together. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6644/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/6644/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6644",
"html_url": "https://github.com/huggingface/transformers/pull/6644",
"diff_url": "https://github.com/huggingface/transformers/pull/6644.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6644.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6643/comments | https://api.github.com/repos/huggingface/transformers/issues/6643/events | https://github.com/huggingface/transformers/issues/6643 | 683,595,738 | MDU6SXNzdWU2ODM1OTU3Mzg= | 6,643 | bert finetuning for multilingual question answering | {
"login": "haenvely",
"id": 34908281,
"node_id": "MDQ6VXNlcjM0OTA4Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/34908281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haenvely",
"html_url": "https://github.com/haenvely",
"followers_url": "https://api.github.com/users/hae... | [
{
"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 @haenvely , if you have the datset in same format as SQuAD then you can us the `run_squad` script. You can specify train and eval file using `--train_file` and `--predict_file` argument.\r\n\r\nBut you'll need a model which pre-trained on the language that you want.",
"This issue has been automatically marked... | 1,598 | 1,604 | 1,604 | NONE | null | Hi, I'm just learning BERT now, and wanna use pyTorch and apply BERT for question answering.
I browsed the models, and it seems that run_squad.py is appropriate for question answering task.
But I wanna apply it to other languages' question answering tasks, so what I can do is using run_squad.py and switching the trai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6643/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/6643/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6642 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6642/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6642/comments | https://api.github.com/repos/huggingface/transformers/issues/6642/events | https://github.com/huggingface/transformers/pull/6642 | 683,592,039 | MDExOlB1bGxSZXF1ZXN0NDcxNjU5MjI2 | 6,642 | fix order of input/target of cross_entropy | {
"login": "HHoofs",
"id": 4730933,
"node_id": "MDQ6VXNlcjQ3MzA5MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4730933?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HHoofs",
"html_url": "https://github.com/HHoofs",
"followers_url": "https://api.github.com/users/HHoofs/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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6642?src=pr&el=h1) Report\n> Merging [#6642](https://codecov.io/gh/huggingface/transformers/pull/6642?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d0e42a7bed3de9271ae39c575d7eeb54cf985921?el=desc) will **not chan... | 1,598 | 1,609 | 1,603 | NONE | null | https://pytorch.org/docs/stable/nn.functional.html#cross-entropy | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6642/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/6642/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6642",
"html_url": "https://github.com/huggingface/transformers/pull/6642",
"diff_url": "https://github.com/huggingface/transformers/pull/6642.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6642.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6641 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6641/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6641/comments | https://api.github.com/repos/huggingface/transformers/issues/6641/events | https://github.com/huggingface/transformers/pull/6641 | 683,580,882 | MDExOlB1bGxSZXF1ZXN0NDcxNjQ5NzM0 | 6,641 | Dataset and DataCollator for BERT Next Sentence Prediction (NSP) task | {
"login": "mojave-pku",
"id": 26648528,
"node_id": "MDQ6VXNlcjI2NjQ4NTI4",
"avatar_url": "https://avatars.githubusercontent.com/u/26648528?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mojave-pku",
"html_url": "https://github.com/mojave-pku",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | Add `DataCollatorForNextSencencePrediction` and `TextDatasetForNextSencencePrediction` to support mlm and next sentence prediction objectives together. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6641/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/6641/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6641",
"html_url": "https://github.com/huggingface/transformers/pull/6641",
"diff_url": "https://github.com/huggingface/transformers/pull/6641.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6641.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/6640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6640/comments | https://api.github.com/repos/huggingface/transformers/issues/6640/events | https://github.com/huggingface/transformers/pull/6640 | 683,564,036 | MDExOlB1bGxSZXF1ZXN0NDcxNjM1ODAx | 6,640 | [Docs model summaries] Add pegasus to docs | {
"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/6640?src=pr&el=h1) Report\n> Merging [#6640](https://codecov.io/gh/huggingface/transformers/pull/6640?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d0e42a7bed3de9271ae39c575d7eeb54cf985921?el=desc) will **decrease... | 1,598 | 1,598 | 1,598 | MEMBER | null | Stiched together a short model summary for Pegasus. Would be great if @sshleifer and @sgugger can take a look :-) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6640/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/6640/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6640",
"html_url": "https://github.com/huggingface/transformers/pull/6640",
"diff_url": "https://github.com/huggingface/transformers/pull/6640.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6640.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6639 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6639/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6639/comments | https://api.github.com/repos/huggingface/transformers/issues/6639/events | https://github.com/huggingface/transformers/issues/6639 | 683,537,915 | MDU6SXNzdWU2ODM1Mzc5MTU= | 6,639 | Run_glue.py, how can I continue previous fine-tuning training? | {
"login": "lzl19971215",
"id": 63151530,
"node_id": "MDQ6VXNlcjYzMTUxNTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/63151530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lzl19971215",
"html_url": "https://github.com/lzl19971215",
"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 | null | [] | [
"If you're using the Trainer API, it's all automatic by running the same command as before.",
"Thanks a lot!",
"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,598 | 1,604 | 1,604 | NONE | null | My previous training on the fine-tuning of glue's SST had been shut down, and now I want to continue my training on the base of the latest checkpoint, how can I implement this ?
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6639/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/6639/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6638 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6638/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6638/comments | https://api.github.com/repos/huggingface/transformers/issues/6638/events | https://github.com/huggingface/transformers/issues/6638 | 683,484,731 | MDU6SXNzdWU2ODM0ODQ3MzE= | 6,638 | Running squad_convert_examples_to_features causes warnings. | {
"login": "dominichillier",
"id": 35426768,
"node_id": "MDQ6VXNlcjM1NDI2NzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/35426768?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dominichillier",
"html_url": "https://github.com/dominichillier",
"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 | [] | [
"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",
"Found this issue looking for the same problem.\r\n\r\nI'm using a `question_answering` pipeline (which call the `squad_convert_examples... | 1,598 | 1,606 | 1,604 | NONE | null | Running function squad_convert_examples_to_features from data/processors/squad.py causes warning. Very annoying to disable warnings when running function many times :)
Warned that tokenization_base_utils.py, max_len is depricated.
`tokenization_utils_base.py:1320: FutureWarning: The max_len attribute has been depr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6638/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/6638/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6637 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6637/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6637/comments | https://api.github.com/repos/huggingface/transformers/issues/6637/events | https://github.com/huggingface/transformers/pull/6637 | 683,436,570 | MDExOlB1bGxSZXF1ZXN0NDcxNTI4OTg4 | 6,637 | Add typing.overload for convert_ids_tokens | {
"login": "tamuhey",
"id": 24998666,
"node_id": "MDQ6VXNlcjI0OTk4NjY2",
"avatar_url": "https://avatars.githubusercontent.com/u/24998666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tamuhey",
"html_url": "https://github.com/tamuhey",
"followers_url": "https://api.github.com/users/tamuhe... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6637?src=pr&el=h1) Report\n> Merging [#6637](https://codecov.io/gh/huggingface/transformers/pull/6637?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bdf7e5de92d76ff6dd7cee317ffa43bed8c5d233?el=desc) will **increase... | 1,598 | 1,598 | 1,598 | CONTRIBUTOR | null | The annotation of `convert_ids_tokens` is not sufficient. When `ids` are `List[str]` and `str`, the return type are always `List[int]` and `int` respectively.
It can be solved with [typing.overload](https://docs.python.org/3/library/typing.html#typing.overload) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6637/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/6637/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6637",
"html_url": "https://github.com/huggingface/transformers/pull/6637",
"diff_url": "https://github.com/huggingface/transformers/pull/6637.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6637.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6636 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6636/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6636/comments | https://api.github.com/repos/huggingface/transformers/issues/6636/events | https://github.com/huggingface/transformers/issues/6636 | 683,409,175 | MDU6SXNzdWU2ODM0MDkxNzU= | 6,636 | Pre-training a language model on a large dataset | {
"login": "go-inoue",
"id": 20531705,
"node_id": "MDQ6VXNlcjIwNTMxNzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/20531705?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/go-inoue",
"html_url": "https://github.com/go-inoue",
"followers_url": "https://api.github.com/users/go-... | [
{
"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 | [] | [
"Maybe @LysandreJik can help here? ",
"Same question...",
"Linked to https://github.com/huggingface/transformers/issues/6873",
"@go-inoue For large datasets, recommended to use mmap. I like Apache Arrow, which is also used in huggingface datasets library. Megatron LM also uses mmap, but with different impleme... | 1,598 | 1,608 | 1,608 | 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 the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6636/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/6636/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6635 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6635/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6635/comments | https://api.github.com/repos/huggingface/transformers/issues/6635/events | https://github.com/huggingface/transformers/issues/6635 | 683,401,448 | MDU6SXNzdWU2ODM0MDE0NDg= | 6,635 | How to convert tokenizer output to train_dataset which is required by Trainer API | {
"login": "questpavan",
"id": 63842917,
"node_id": "MDQ6VXNlcjYzODQyOTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/63842917?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/questpavan",
"html_url": "https://github.com/questpavan",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @questpavan ,\r\nThis awesome [tutorial](https://huggingface.co/transformers/master/custom_datasets.html) walks you through how you can fine-tune transformer models using custom dataset. It also covers pre-processing and how to create dataset etc.",
"Thanks @patil-suraj. It helped a lot. "
] | 1,597 | 1,598 | 1,598 | 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 the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6635/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/6635/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6634 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6634/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6634/comments | https://api.github.com/repos/huggingface/transformers/issues/6634/events | https://github.com/huggingface/transformers/pull/6634 | 683,400,181 | MDExOlB1bGxSZXF1ZXN0NDcxNDk4ODM5 | 6,634 | Fix error class instantiation | {
"login": "tamuhey",
"id": 24998666,
"node_id": "MDQ6VXNlcjI0OTk4NjY2",
"avatar_url": "https://avatars.githubusercontent.com/u/24998666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tamuhey",
"html_url": "https://github.com/tamuhey",
"followers_url": "https://api.github.com/users/tamuhe... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6634?src=pr&el=h1) Report\n> Merging [#6634](https://codecov.io/gh/huggingface/transformers/pull/6634?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e5f452275b3d963bdff5b9c01346bef62032a150?el=desc) will **increase... | 1,597 | 1,599 | 1,599 | CONTRIBUTOR | null | The lines I fixed are bugs, causing `TypeError: 'ModuleNotFoundError' object is not callable` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6634/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/6634/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6634",
"html_url": "https://github.com/huggingface/transformers/pull/6634",
"diff_url": "https://github.com/huggingface/transformers/pull/6634.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6634.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6633 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6633/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6633/comments | https://api.github.com/repos/huggingface/transformers/issues/6633/events | https://github.com/huggingface/transformers/pull/6633 | 683,356,998 | MDExOlB1bGxSZXF1ZXN0NDcxNDYzNDY2 | 6,633 | model card for Spanish electra base | {
"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/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6633?src=pr&el=h1) Report\n> Merging [#6633](https://codecov.io/gh/huggingface/transformers/pull/6633?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e5f452275b3d963bdff5b9c01346bef62032a150?el=desc) will **increase... | 1,597 | 1,598 | 1,598 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6633/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/6633/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6633",
"html_url": "https://github.com/huggingface/transformers/pull/6633",
"diff_url": "https://github.com/huggingface/transformers/pull/6633.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6633.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6632 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6632/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6632/comments | https://api.github.com/repos/huggingface/transformers/issues/6632/events | https://github.com/huggingface/transformers/issues/6632 | 683,315,207 | MDU6SXNzdWU2ODMzMTUyMDc= | 6,632 | Error on `PreTrainedTokenizerBase.batch_encode_plus` with `return_overflowing_tokens=True, truncation=True` | {
"login": "tamuhey",
"id": 24998666,
"node_id": "MDQ6VXNlcjI0OTk4NjY2",
"avatar_url": "https://avatars.githubusercontent.com/u/24998666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tamuhey",
"html_url": "https://github.com/tamuhey",
"followers_url": "https://api.github.com/users/tamuhe... | [] | closed | false | null | [] | [
"Try `padding=True` ?",
"@patil-suraj Same error occurs",
"@mfuntowicz the issue here is that one of the string returns an `overflowing_tokens` value (as it overflows) while the other doesn't. The resulting batch contains `overflowing_tokens` that have a single list, rather than two (one for each string).\r\n\r... | 1,597 | 1,599 | 1,599 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.0.2 (master branch)
- Platform: macOS-10.14.6-x86_64-i386-64bit
- Python version: 3.8.1
- PyTorch ver... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6632/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/6632/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6631/comments | https://api.github.com/repos/huggingface/transformers/issues/6631/events | https://github.com/huggingface/transformers/issues/6631 | 683,204,998 | MDU6SXNzdWU2ODMyMDQ5OTg= | 6,631 | fine tuning with Chinese data LCQMC val_acc not increase | {
"login": "ares5221",
"id": 13331671,
"node_id": "MDQ6VXNlcjEzMzMxNjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/13331671?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ares5221",
"html_url": "https://github.com/ares5221",
"followers_url": "https://api.github.com/users/are... | [
{
"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,597 | 1,604 | 1,604 | 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 the Hugging Face forum: https://discuss.huggingface.co/ .
You can also try Stack Overflow (SO) where a wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6631/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/6631/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6630/comments | https://api.github.com/repos/huggingface/transformers/issues/6630/events | https://github.com/huggingface/transformers/issues/6630 | 683,195,044 | MDU6SXNzdWU2ODMxOTUwNDQ= | 6,630 | Tokenize got an unexpected keyword argument 'pad_to_max_length', 'return_attention_mask' | {
"login": "Prithvi103",
"id": 12830451,
"node_id": "MDQ6VXNlcjEyODMwNDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/12830451?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Prithvi103",
"html_url": "https://github.com/Prithvi103",
"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": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | null | [] | [
"You GPU and CPU env might have different version of transformers. Could you try updating to master ?",
"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,597 | 1,604 | 1,604 | NONE | null | This works fine when I run on my GPU but gives the above error when I try to run on my CPU. They bought have the same environment setup.
Error:
File "C:\ProgramData\Anaconda3\lib\site-packages\transformers\tokenization_utils.py", line 786, in encode_plus
first_ids = get_input_ids(text)
File "C:\ProgramDat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6630/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/6630/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6629 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6629/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6629/comments | https://api.github.com/repos/huggingface/transformers/issues/6629/events | https://github.com/huggingface/transformers/pull/6629 | 683,191,027 | MDExOlB1bGxSZXF1ZXN0NDcxMzIwNjk1 | 6,629 | Remove accidental comment | {
"login": "josephrocca",
"id": 1167575,
"node_id": "MDQ6VXNlcjExNjc1NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1167575?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/josephrocca",
"html_url": "https://github.com/josephrocca",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6629?src=pr&el=h1) Report\n> Merging [#6629](https://codecov.io/gh/huggingface/transformers/pull/6629?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e5f452275b3d963bdff5b9c01346bef62032a150?el=desc) will **decrease... | 1,597 | 1,598 | 1,598 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6629/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/6629/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6629",
"html_url": "https://github.com/huggingface/transformers/pull/6629",
"diff_url": "https://github.com/huggingface/transformers/pull/6629.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6629.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/6628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6628/comments | https://api.github.com/repos/huggingface/transformers/issues/6628/events | https://github.com/huggingface/transformers/issues/6628 | 683,184,448 | MDU6SXNzdWU2ODMxODQ0NDg= | 6,628 | PreTrainedModel's tie_weights invocation needs to be configurable | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Hey @stas00 - I think I agree with you here! I think this is not limited to Encoder Decoder models only, so I think a better configuration parameter would be `tie_word_embeddings`. `tie_word_embeddings` could be set to `True` by default and then set to `False` for the respective classes (such as Reformer, ....). W... | 1,597 | 1,598 | 1,598 | CONTRIBUTOR | null | `PreTrainedModel` defines `tie_weights` method and then in [one place suggests](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_utils.py#L512)
> Takes care of tying weights embeddings afterwards if the model class has a :obj:`tie_weights()` method.
But since the super-class has i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6628/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/6628/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6627/comments | https://api.github.com/repos/huggingface/transformers/issues/6627/events | https://github.com/huggingface/transformers/issues/6627 | 683,177,318 | MDU6SXNzdWU2ODMxNzczMTg= | 6,627 | BartTokenizerFast cannot decode PyTorch tensors | {
"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... | [
{
"id": 1920687293,
"node_id": "MDU6TGFiZWwxOTIwNjg3Mjkz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Fast%20Tokenizers",
"name": "Fast Tokenizers",
"color": "b60205",
"default": false,
"description": ""
}
] | 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://... | [
"Faster snippet w same error\r\n```python\r\nimport torch\r\ntokenizer = BartTokenizerFast.from_pretrained(\"sshleifer/distilbart-xsum-1-1\")\r\nids = torch.tensor([1,2,3], dtype=torch.long)\r\ntokenizer.decode(ids)\r\n```",
"Any update on this?",
"Hi, neither the slow or fast tokenizers can decode torch tensor... | 1,597 | 1,662 | 1,600 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.0.2
- Platform: MacOS and Linux
- Python version: 3.6 and 3.7
- PyTorch version (GPU?): 1.6.0 (no and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6627/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/6627/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6626/comments | https://api.github.com/repos/huggingface/transformers/issues/6626/events | https://github.com/huggingface/transformers/pull/6626 | 683,160,891 | MDExOlB1bGxSZXF1ZXN0NDcxMjk1NTkx | 6,626 | Specify config filename in HfArgumentParser | {
"login": "jarednielsen",
"id": 4564897,
"node_id": "MDQ6VXNlcjQ1NjQ4OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/4564897?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jarednielsen",
"html_url": "https://github.com/jarednielsen",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6626?src=pr&el=h1) Report\n> Merging [#6626](https://codecov.io/gh/huggingface/transformers/pull/6626?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bc820476a5c72060f810f825298befd5ec85da4d?el=desc) will **decrease... | 1,597 | 1,598 | 1,598 | CONTRIBUTOR | null | Currently, HfArgumentParser will load arguments from a config file if that config file is the same name as the script being run. So `train.py` would have a corresponding `train.args`. This extends the method to load from any config file that is specified. So `train.py` could use a `bert-large.args` or a `bert-small.arg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6626/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/6626/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6626",
"html_url": "https://github.com/huggingface/transformers/pull/6626",
"diff_url": "https://github.com/huggingface/transformers/pull/6626.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6626.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6625 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6625/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6625/comments | https://api.github.com/repos/huggingface/transformers/issues/6625/events | https://github.com/huggingface/transformers/issues/6625 | 683,126,850 | MDU6SXNzdWU2ODMxMjY4NTA= | 6,625 | **Specifically for Pegasus-arxiv** - PegasusForConditionalGeneration - Error in loading state dictionary | {
"login": "suchig",
"id": 37094536,
"node_id": "MDQ6VXNlcjM3MDk0NTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/37094536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suchig",
"html_url": "https://github.com/suchig",
"followers_url": "https://api.github.com/users/suchig/fo... | [] | 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... | [
"works for me with\r\n```\r\n- Python version: 3.7.4\r\n- PyTorch version (GPU?): 1.5.1 (True)\r\n```\r\nTry\r\n```\r\nmname = \"google/pegasus-arxiv\"\r\nmodel = PegasusForConditionalGeneration.from_pretrained(mname, force_download=True)\r\n```\r\n",
"> works for me with\r\n> \r\n> ```\r\n> - Python version: 3.7... | 1,597 | 1,598 | 1,598 | NONE | null | Please note that this specifically happens only for **pegasus-arxiv** (Reopening Issue 6609). Before you close, please let me know if this works for pegasus-arxiv. Because I am getting the below error even after taking a fresh git fetch of transformers and removing all checkpoints from cache.
## Environment info
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6625/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/6625/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6624 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6624/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6624/comments | https://api.github.com/repos/huggingface/transformers/issues/6624/events | https://github.com/huggingface/transformers/issues/6624 | 683,019,897 | MDU6SXNzdWU2ODMwMTk4OTc= | 6,624 | Bart: make decoder_input_ids correctly if labels specified. | {
"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... | [
{
"id": 1845609017,
"node_id": "MDU6TGFiZWwxODQ1NjA5MDE3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/seq2seq",
"name": "seq2seq",
"color": "fef2c0",
"default": false,
"description": ""
}
] | 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... | [
"Yes, definitely. Better to handle it in the model. Since lots of recent issues were due to incorrect or not shifting labels",
"But then `prepare_seq2seq_batch` should return `labels` instead of `decoder_input_ids`",
"yep. I'll take a stab."
] | 1,597 | 1,598 | 1,598 | CONTRIBUTOR | null | should call shift_tokens_right(labels), like T5.
cc @patil-suraj: does that make sense? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6624/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/6624/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/6623 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6623/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6623/comments | https://api.github.com/repos/huggingface/transformers/issues/6623/events | https://github.com/huggingface/transformers/pull/6623 | 683,015,306 | MDExOlB1bGxSZXF1ZXN0NDcxMTczNzEz | 6,623 | Fix confusing warnings during TF2 import from PyTorch | {
"login": "jcrocholl",
"id": 118312,
"node_id": "MDQ6VXNlcjExODMxMg==",
"avatar_url": "https://avatars.githubusercontent.com/u/118312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jcrocholl",
"html_url": "https://github.com/jcrocholl",
"followers_url": "https://api.github.com/users/jcro... | [] | closed | false | null | [] | [
"This fixes the confusing warnings mentioned in #5588",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/6623?src=pr&el=h1) Report\n> Merging [#6623](https://codecov.io/gh/huggingface/transformers/pull/6623?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/86c07e6... | 1,597 | 1,599 | 1,599 | CONTRIBUTOR | null | 1. Swapped missing_keys and unexpected_keys.
2. Copy&paste error caused these warnings to say "from TF 2.0" when it's actually "from PyTorch". | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6623/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/6623/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6623",
"html_url": "https://github.com/huggingface/transformers/pull/6623",
"diff_url": "https://github.com/huggingface/transformers/pull/6623.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6623.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/6622 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/6622/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/6622/comments | https://api.github.com/repos/huggingface/transformers/issues/6622/events | https://github.com/huggingface/transformers/pull/6622 | 682,952,860 | MDExOlB1bGxSZXF1ZXN0NDcxMTE3OTQ3 | 6,622 | Move threshold up for flaky test with Electra | {
"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/6622?src=pr&el=h1) Report\n> Merging [#6622](https://codecov.io/gh/huggingface/transformers/pull/6622?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/c9454507cf57d38fd863c2544300c88583fc60e3?el=desc) will **increase... | 1,597 | 1,598 | 1,597 | COLLABORATOR | null | As discussed on slack, this should take care of the Electra flaky test with PT/TF equivalence.
@LysandreJik just a ping for when you're back so you're aware. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/6622/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/6622/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/6622",
"html_url": "https://github.com/huggingface/transformers/pull/6622",
"diff_url": "https://github.com/huggingface/transformers/pull/6622.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/6622.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.