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/8421 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8421/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8421/comments | https://api.github.com/repos/huggingface/transformers/issues/8421/events | https://github.com/huggingface/transformers/pull/8421 | 739,209,062 | MDExOlB1bGxSZXF1ZXN0NTE3OTEyMjM3 | 8,421 | [docs] improve bart/marian/mBART/pegasus docs | {
"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,604 | 1,605 | 1,605 | CONTRIBUTOR | null | + Give example of bart mask filling
+ Link to training scripts where applicable
+ Clarify Marian naming scheme a bit. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8421/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/8421/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8421",
"html_url": "https://github.com/huggingface/transformers/pull/8421",
"diff_url": "https://github.com/huggingface/transformers/pull/8421.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8421.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8420 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8420/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8420/comments | https://api.github.com/repos/huggingface/transformers/issues/8420/events | https://github.com/huggingface/transformers/pull/8420 | 739,170,392 | MDExOlB1bGxSZXF1ZXN0NTE3ODgwNDY5 | 8,420 | Deprecate old data/metrics functions | {
"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,604 | 1,605 | 1,604 | COLLABORATOR | null | # What does this PR do?
This PR deprecates the old data/metrics utils we used now that we have some examples of scripts leveraging the Datasets library to point at. The idea is to eventually remove those from the library but keep them somewhere in the examples folder as utilities, so the old scripts can still be run... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8420/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/8420/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8420",
"html_url": "https://github.com/huggingface/transformers/pull/8420",
"diff_url": "https://github.com/huggingface/transformers/pull/8420.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8420.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8419 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8419/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8419/comments | https://api.github.com/repos/huggingface/transformers/issues/8419/events | https://github.com/huggingface/transformers/pull/8419 | 739,148,961 | MDExOlB1bGxSZXF1ZXN0NTE3ODYzMDA2 | 8,419 | Bump tokenizers | {
"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,604 | 1,604 | 1,604 | COLLABORATOR | null | # What does this PR do?
Bump the version of tokenizers to the last release. This fixes some bugs in `XLNetTokenizerFast`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8419/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/8419/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8419",
"html_url": "https://github.com/huggingface/transformers/pull/8419",
"diff_url": "https://github.com/huggingface/transformers/pull/8419.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8419.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8418 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8418/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8418/comments | https://api.github.com/repos/huggingface/transformers/issues/8418/events | https://github.com/huggingface/transformers/pull/8418 | 739,070,865 | MDExOlB1bGxSZXF1ZXN0NTE3Nzk5MjE5 | 8,418 | [docs] remove sshleifer from issue-template :( | {
"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 | [] | [
"Thank you for the invitation, @sshleifer. \r\n\r\nMy feeling is that a person in charge of any domain should have commit rights to that domain. Since I don't have those I'd be happy to be delegated to. (with the exception of fsmt since I wrote it)"
] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | + Removes sshleifer from issue-templates :(
+ For previous @sshleifer stuff, if it's in `src/` I put @patrickvonplaten, if it's `examples/seq2seq` I put @patil-suraj.
+ @stas00 if you want to take over any thing or feel comfortable being the point person for certain things, feel free to suggest.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8418/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/8418/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8418",
"html_url": "https://github.com/huggingface/transformers/pull/8418",
"diff_url": "https://github.com/huggingface/transformers/pull/8418.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8418.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8417 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8417/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8417/comments | https://api.github.com/repos/huggingface/transformers/issues/8417/events | https://github.com/huggingface/transformers/pull/8417 | 739,016,819 | MDExOlB1bGxSZXF1ZXN0NTE3NzU0MjI1 | 8,417 | Changing XLNet default from not using memories to 512 context size following paper | {
"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 | [] | [
"Ha yeah I saw your message on Slack just afterwards, I'll just change the default :)",
"It's changed !",
"Merging now so that it's in v3.5.0!"
] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | In #8317, we found out that calling `XLNetLMHeadModel.from_pretrained(mem_len=384)` still produced the FutureWarning that announces that the default configuration will change in 3.5.0, as the config first gets initialized with `mem_len=0` then `mem_len` gets changed. This PR moves the warning to the `forward` pass in t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8417/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/8417/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8417",
"html_url": "https://github.com/huggingface/transformers/pull/8417",
"diff_url": "https://github.com/huggingface/transformers/pull/8417.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8417.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8416 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8416/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8416/comments | https://api.github.com/repos/huggingface/transformers/issues/8416/events | https://github.com/huggingface/transformers/issues/8416 | 739,001,437 | MDU6SXNzdWU3MzkwMDE0Mzc= | 8,416 | Does MBartTokenizer remove the parameter decoder_input_ids? | {
"login": "wmathor",
"id": 32392878,
"node_id": "MDQ6VXNlcjMyMzkyODc4",
"avatar_url": "https://avatars.githubusercontent.com/u/32392878?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wmathor",
"html_url": "https://github.com/wmathor",
"followers_url": "https://api.github.com/users/wmatho... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"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... | [
"The docs are incorrect, sorry about that.\r\n\r\nTry\r\n```python\r\n from transformers import MBartForConditionalGeneration, MBartTokenizer\r\n model = MBartForConditionalGeneration.from_pretrained(\"facebook/mbart-large-en-ro\")\r\n tokenizer = MBartTokenizer.from_pretrained(\"facebook/mbart-large-en-ro... | 1,604 | 1,605 | 1,605 | 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.4.0
- Platform:Google Colab
- Python version:3.7
- PyTorch version (GPU?):1.7.0+cu101
- Tensorflow ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8416/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/8416/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8415 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8415/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8415/comments | https://api.github.com/repos/huggingface/transformers/issues/8415/events | https://github.com/huggingface/transformers/pull/8415 | 738,853,124 | MDExOlB1bGxSZXF1ZXN0NTE3NjE3Mjk3 | 8,415 | [Tests] Add Common Test for Training + Fix a couple of bugs | {
"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://... | [
{
"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 | [] | [] | 1,604 | 1,604 | 1,604 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8415/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/8415/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8415",
"html_url": "https://github.com/huggingface/transformers/pull/8415",
"diff_url": "https://github.com/huggingface/transformers/pull/8415.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8415.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8414 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8414/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8414/comments | https://api.github.com/repos/huggingface/transformers/issues/8414/events | https://github.com/huggingface/transformers/issues/8414 | 738,704,164 | MDU6SXNzdWU3Mzg3MDQxNjQ= | 8,414 | [seq2seq] translation tpu example doesnt work | {
"login": "Stupack",
"id": 68128236,
"node_id": "MDQ6VXNlcjY4MTI4MjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/68128236?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Stupack",
"html_url": "https://github.com/Stupack",
"followers_url": "https://api.github.com/users/Stupac... | [] | closed | false | {
"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/... | [
{
"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": "htt... | [
"Hi,\r\nI'm experiencing the same issue while fine-tuning on TPU for marianMT. Code works well on GPU. On TPU, it throws similar exception: \r\n```python\r\nRuntimeError: Cannot access data pointer of Tensor that doesn't have storage\r\n```\r\nThanks!",
"Hi @chris-tng ,\r\n\r\ncould you post your env info, and th... | 1,604 | 1,619 | 1,619 | NONE | null | Hi im trying to run the `train_distil_marian_enro_tpu.sh` example in collab/kaggle tpus and for some reason it gives me the following output:
@sshleifer
```
Exception in device=TPU:0: Cannot access data pointer of Tensor that doesn't have storage
Traceback (most recent call last):
File "/usr/local/lib/python3.6... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8414/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/8414/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8413 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8413/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8413/comments | https://api.github.com/repos/huggingface/transformers/issues/8413/events | https://github.com/huggingface/transformers/issues/8413 | 738,565,293 | MDU6SXNzdWU3Mzg1NjUyOTM= | 8,413 | continuing fine-tuning from the last checkpoint | {
"login": "naturecreator",
"id": 39854185,
"node_id": "MDQ6VXNlcjM5ODU0MTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/39854185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/naturecreator",
"html_url": "https://github.com/naturecreator",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"It looks like the config was not saved in the checkpoint folder you are passing. Double-check its contents, but apparently, the model was not properly saved inside it.",
"> It looks like the config was not saved in the checkpoint folder you are passing. Double-check its contents, but apparently, the model was no... | 1,604 | 1,604 | 1,604 | NONE | null | Hello,
While fine-tuning BERT on the custom data using "run_language_modeling.py" script, due to memory issue the fine-tuning stopped in the middle. However, I tried to resume the fine-tuning from the last checkpoint. But, I came across with the following error:
```
python run_language_modeling.py --output_d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8413/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/8413/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8412 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8412/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8412/comments | https://api.github.com/repos/huggingface/transformers/issues/8412/events | https://github.com/huggingface/transformers/pull/8412 | 738,562,852 | MDExOlB1bGxSZXF1ZXN0NTE3Mzc2OTI4 | 8,412 | [s2s/distill] remove run_distiller.sh, fix xsum script | {
"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,604 | 1,604 | 1,604 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8412/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/8412/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8412",
"html_url": "https://github.com/huggingface/transformers/pull/8412",
"diff_url": "https://github.com/huggingface/transformers/pull/8412.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8412.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/8411 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8411/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8411/comments | https://api.github.com/repos/huggingface/transformers/issues/8411/events | https://github.com/huggingface/transformers/issues/8411 | 738,545,183 | MDU6SXNzdWU3Mzg1NDUxODM= | 8,411 | Tokenizer return nothing instead of unk for certain token? | {
"login": "zhouhanxie",
"id": 47683426,
"node_id": "MDQ6VXNlcjQ3NjgzNDI2",
"avatar_url": "https://avatars.githubusercontent.com/u/47683426?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhouhanxie",
"html_url": "https://github.com/zhouhanxie",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Similar error at [1662]https://github.com/huggingface/transformers/issues/1662\r\n\r\nThe problem could be solved by switching to multilingual tokenizer(if present), else it would require some hot fix. "
] | 1,604 | 1,604 | 1,604 | NONE | null | ## Environment info
- `transformers` version: 3.1.0
- Platform: pytorch
- Python version: python 3.6.9
- PyTorch version (GPU?): 1.6.0
- Tensorflow version (GPU?): na
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
## Information
Model I am using (tokenizer && mod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8411/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/8411/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8410 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8410/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8410/comments | https://api.github.com/repos/huggingface/transformers/issues/8410/events | https://github.com/huggingface/transformers/pull/8410 | 738,541,049 | MDExOlB1bGxSZXF1ZXN0NTE3MzYwNzA5 | 8,410 | comet_ml init weirdness | {
"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 | [] | [
"Thanks for the report... I'll take a look at this.",
"Again, if you find out how comet_ml got installed, that would be helpful.",
"> Again, if you find out how comet_ml got installed, that would be helpful.\r\n\r\nYay, I found at least one of them `pytorch-lightning`. https://github.com/PyTorchLightning/pytorc... | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | Using a slightly bogus invocation of the following
```
cd examples/seq2seq
PYTHONPATH="../../src" BS=2 python finetune.py --data_dir cnn_dm --do_predict --do_train --eval_batch_size $BS --fp16 --fp16_opt_level O1--freeze_embeds --freeze_encoder --gpus 1 --gradient_accumulation_steps 1 --learning_rate 3e-5 --max_targ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8410/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/8410/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8410",
"html_url": "https://github.com/huggingface/transformers/pull/8410",
"diff_url": "https://github.com/huggingface/transformers/pull/8410.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8410.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8409 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8409/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8409/comments | https://api.github.com/repos/huggingface/transformers/issues/8409/events | https://github.com/huggingface/transformers/pull/8409 | 738,535,548 | MDExOlB1bGxSZXF1ZXN0NTE3MzU2ODE3 | 8,409 | Bug fix for permutation language modelling | {
"login": "shngt",
"id": 20009551,
"node_id": "MDQ6VXNlcjIwMDA5NTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/20009551?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shngt",
"html_url": "https://github.com/shngt",
"followers_url": "https://api.github.com/users/shngt/follow... | [] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | Addresses a bug in permutation language modelling data collator, where `&` is used instead of `|` to compute the non-functional token mask (tokens excluding [PAD], [SEP], [CLS]). For verification, may refer to original XLNet code (https://github.com/zihangdai/xlnet/blob/master/data_utils.py#L602).
Addresses #6812 (f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8409/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/8409/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8409",
"html_url": "https://github.com/huggingface/transformers/pull/8409",
"diff_url": "https://github.com/huggingface/transformers/pull/8409.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8409.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8408 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8408/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8408/comments | https://api.github.com/repos/huggingface/transformers/issues/8408/events | https://github.com/huggingface/transformers/pull/8408 | 738,491,640 | MDExOlB1bGxSZXF1ZXN0NTE3MzI0NzI2 | 8,408 | updating tag for exbert viz | {
"login": "smanjil",
"id": 11598535,
"node_id": "MDQ6VXNlcjExNTk4NTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/11598535?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/smanjil",
"html_url": "https://github.com/smanjil",
"followers_url": "https://api.github.com/users/smanji... | [
{
"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 | [] | [
"Note that `exbert` integration is unfortunately not automatic. The authors from Exbert (@bhoov @HendrikStrobelt) need to re-deploy manually to add support for a new model. We've discussed with @Narsil @mfuntowicz hooking this into the hosted Inference API, so this might be automatic in the future.\r\n\r\ncc'ing @J... | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8408/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/8408/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8408",
"html_url": "https://github.com/huggingface/transformers/pull/8408",
"diff_url": "https://github.com/huggingface/transformers/pull/8408.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8408.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8407 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8407/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8407/comments | https://api.github.com/repos/huggingface/transformers/issues/8407/events | https://github.com/huggingface/transformers/issues/8407 | 738,470,169 | MDU6SXNzdWU3Mzg0NzAxNjk= | 8,407 | All the weights of the model checkpoint at roberta-base were not used when initializing | {
"login": "xujiaz2000",
"id": 72122139,
"node_id": "MDQ6VXNlcjcyMTIyMTM5",
"avatar_url": "https://avatars.githubusercontent.com/u/72122139?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xujiaz2000",
"html_url": "https://github.com/xujiaz2000",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"but when i use the same way to initializing `MyBert` which is based on the `BertModel`, it works and have a good result.",
"This is probably because you put `self.bert = RobertaModel(config)`. It's looking for the identifier `roberta`, which isn't in your model.\r\n\r\nTry replacing `self.roberta = RobertaModel(... | 1,604 | 1,649 | 1,605 | NONE | null | # How to use the model checkpoint to initializing my own roberta?
**I wrote a class named `MyRoberta` at `modeling_roberta.py`, the main code is just like below:**
```python
class MyRoberta(RobertaPreTrainedModel):
def __init__(self, config):
super(MyRoberta, self).__init__(config)
# self.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8407/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/8407/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8406 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8406/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8406/comments | https://api.github.com/repos/huggingface/transformers/issues/8406/events | https://github.com/huggingface/transformers/pull/8406 | 738,445,215 | MDExOlB1bGxSZXF1ZXN0NTE3MjkwODIy | 8,406 | Update README.md | {
"login": "dartrevan",
"id": 24587263,
"node_id": "MDQ6VXNlcjI0NTg3MjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/24587263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dartrevan",
"html_url": "https://github.com/dartrevan",
"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 | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8406/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/8406/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8406",
"html_url": "https://github.com/huggingface/transformers/pull/8406",
"diff_url": "https://github.com/huggingface/transformers/pull/8406.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8406.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8405 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8405/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8405/comments | https://api.github.com/repos/huggingface/transformers/issues/8405/events | https://github.com/huggingface/transformers/pull/8405 | 738,444,776 | MDExOlB1bGxSZXF1ZXN0NTE3MjkwNTE0 | 8,405 | Update README.md | {
"login": "dartrevan",
"id": 24587263,
"node_id": "MDQ6VXNlcjI0NTg3MjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/24587263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dartrevan",
"html_url": "https://github.com/dartrevan",
"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 | [] | [] | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8405/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/8405/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8405",
"html_url": "https://github.com/huggingface/transformers/pull/8405",
"diff_url": "https://github.com/huggingface/transformers/pull/8405.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8405.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8404 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8404/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8404/comments | https://api.github.com/repos/huggingface/transformers/issues/8404/events | https://github.com/huggingface/transformers/issues/8404 | 738,419,402 | MDU6SXNzdWU3Mzg0MTk0MDI= | 8,404 | Tokenizer problem for model 'patrickvonplaten/longformer-random-tiny' | {
"login": "lessenko",
"id": 40150500,
"node_id": "MDQ6VXNlcjQwMTUwNTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/40150500?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lessenko",
"html_url": "https://github.com/lessenko",
"followers_url": "https://api.github.com/users/les... | [] | closed | false | null | [] | [
"Hey @lessenko - the model is useless for any real application as it's just randomly initialized. It's only used for testing purposes.",
"Hi @patrickvonplaten,\r\nThanks. "
] | 1,604 | 1,604 | 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.4.0
- Platform: Ubuntu 18.04.5 LTS
- Python version: Python 3.6.9
- PyTorch version (GPU?):1.6.0
- T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8404/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/8404/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8403 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8403/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8403/comments | https://api.github.com/repos/huggingface/transformers/issues/8403/events | https://github.com/huggingface/transformers/issues/8403 | 738,409,232 | MDU6SXNzdWU3Mzg0MDkyMzI= | 8,403 | [s2s finetune] huge increase in memory demands with --fp16 native amp | {
"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 | [] | [
"I managed to install `nvidia-apex` binary via conda:\r\n```\r\nconda install nvidia-apex -c conda-forge\r\n``` \r\nSo now I was able to validate that with pytorch-1.5 + nvdia-apex `--fp16` consumes less memory, than w/o `--fp16`. \r\n\r\nI was able to squeeze bs=20 (!) onto a 8gb card.\r\n\r\nSo the problem has t... | 1,604 | 1,608 | 1,607 | CONTRIBUTOR | null | While working on https://github.com/huggingface/transformers/issues/8353 I discovered that `--fp16` causes a 10x+ increase in gpu memory demands.
e.g. I can run bs=12 w/o `--fp16`
```
cd examples/seq2seq
export BS=12; rm -rf distilbart-cnn-12-6; python finetune.py --learning_rate=3e-5 --gpus 1 \
--do_train -... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8403/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/8403/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8402 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8402/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8402/comments | https://api.github.com/repos/huggingface/transformers/issues/8402/events | https://github.com/huggingface/transformers/pull/8402 | 738,361,408 | MDExOlB1bGxSZXF1ZXN0NTE3MjIzMzM5 | 8,402 | Add gpt2-medium-chinese model card | {
"login": "mymusise",
"id": 6883957,
"node_id": "MDQ6VXNlcjY4ODM5NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6883957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mymusise",
"html_url": "https://github.com/mymusise",
"followers_url": "https://api.github.com/users/mymus... | [
{
"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 | [] | [
"The Inference API is failing to load your model so there might be a configuration issue:\r\n\r\n<img width=\"770\" alt=\"Screenshot 2020-11-08 at 11 02 01\" src=\"https://user-images.githubusercontent.com/326577/98462120-a5bb2280-217f-11eb-8777-8456534b99ef.png\">\r\n\r\nI suspect this line is not working: `tokeni... | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | Hi,
this PR adds the model card for **gpt2-medium-chinese** model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8402/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/8402/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8402",
"html_url": "https://github.com/huggingface/transformers/pull/8402",
"diff_url": "https://github.com/huggingface/transformers/pull/8402.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8402.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8401 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8401/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8401/comments | https://api.github.com/repos/huggingface/transformers/issues/8401/events | https://github.com/huggingface/transformers/pull/8401 | 738,360,431 | MDExOlB1bGxSZXF1ZXN0NTE3MjIyNjE2 | 8,401 | [testing utils] get_auto_remove_tmp_dir more intuitive behavior | {
"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 | [] | [
"> For example, if someone were to use `self.get_auto_remove_tmp_dir()` but didn't like where the tmp directory was set, they would specify the directory. They then re-run their code, but the behavior now has changed, even though they only updated the path. That seems unexpected and unwanted to me.\r\n\r\nYou're ma... | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | Now that I have been heavily using `get_auto_remove_tmp_dir` for a while, I realized that one of the defaults isn't most optimal and we had to type too much for what we need most of the time.
tldr: 99% of the time when debugging we want the tmp dir
1. to be empty at the beginning of the test
2. to be left alone ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8401/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/8401/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8401",
"html_url": "https://github.com/huggingface/transformers/pull/8401",
"diff_url": "https://github.com/huggingface/transformers/pull/8401.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8401.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8400 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8400/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8400/comments | https://api.github.com/repos/huggingface/transformers/issues/8400/events | https://github.com/huggingface/transformers/pull/8400 | 738,357,746 | MDExOlB1bGxSZXF1ZXN0NTE3MjIwNjYw | 8,400 | [s2s test_finetune_trainer] failing multigpu test | {
"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 | [] | [
"Agreed that more than 8 records is the way to go. Feel free to address that in a future PR!"
] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | Sam,
On a multigpu machine:
```
RUN_SLOW=1 pytest examples/seq2seq/test_finetune_trainer.py::TestFinetuneTrainer::test_finetune_trainer_slow
```
fails for me - not learning anything.
```
> assert first_step_stats["eval_bleu"] < last_step_stats["eval_bleu"] # model learned nothing
E AssertionErro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8400/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/8400/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8400",
"html_url": "https://github.com/huggingface/transformers/pull/8400",
"diff_url": "https://github.com/huggingface/transformers/pull/8400.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8400.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8399 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8399/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8399/comments | https://api.github.com/repos/huggingface/transformers/issues/8399/events | https://github.com/huggingface/transformers/pull/8399 | 738,356,614 | MDExOlB1bGxSZXF1ZXN0NTE3MjE5ODI3 | 8,399 | Fixed Trainer default labels for QA Model | {
"login": "ManavR123",
"id": 17506262,
"node_id": "MDQ6VXNlcjE3NTA2MjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/17506262?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ManavR123",
"html_url": "https://github.com/ManavR123",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | PR https://github.com/huggingface/transformers/pull/7191 added default labels for models. However, for QA Models it sets the default labels to ["start_positions, end_positions"] instead of ["start_positions", "end_positions"], which was the intention based on the PR description. This PR is a simple fix to this.
Fixe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8399/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/8399/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8399",
"html_url": "https://github.com/huggingface/transformers/pull/8399",
"diff_url": "https://github.com/huggingface/transformers/pull/8399.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8399.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8398 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8398/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8398/comments | https://api.github.com/repos/huggingface/transformers/issues/8398/events | https://github.com/huggingface/transformers/pull/8398 | 738,355,825 | MDExOlB1bGxSZXF1ZXN0NTE3MjE5MjU2 | 8,398 | [s2s examples test] fix data path | {
"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 | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | This PR fixes a relative path in a test that should be a resolved full path instead - I forgot to test from the top of the repo in the previous PR and therefore missed this.
@sshleifer | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8398/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/8398/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8398",
"html_url": "https://github.com/huggingface/transformers/pull/8398",
"diff_url": "https://github.com/huggingface/transformers/pull/8398.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8398.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8397 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8397/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8397/comments | https://api.github.com/repos/huggingface/transformers/issues/8397/events | https://github.com/huggingface/transformers/pull/8397 | 738,353,815 | MDExOlB1bGxSZXF1ZXN0NTE3MjE3ODI2 | 8,397 | Fix DataCollatorForWholeWordMask again | {
"login": "cccntu",
"id": 31893406,
"node_id": "MDQ6VXNlcjMxODkzNDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cccntu",
"html_url": "https://github.com/cccntu",
"followers_url": "https://api.github.com/users/cccntu/fo... | [] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
Fixes #8388
I tested this change by running `run_mlm_wwm.py` (did not test the chinese version). Seems to work after also fixing the example. #8394
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8397/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/8397/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8397",
"html_url": "https://github.com/huggingface/transformers/pull/8397",
"diff_url": "https://github.com/huggingface/transformers/pull/8397.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8397.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8396 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8396/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8396/comments | https://api.github.com/repos/huggingface/transformers/issues/8396/events | https://github.com/huggingface/transformers/issues/8396 | 738,352,365 | MDU6SXNzdWU3MzgzNTIzNjU= | 8,396 | Inreproducible loss when train same setting bert model >=2 times | {
"login": "Backpackerice",
"id": 7083541,
"node_id": "MDQ6VXNlcjcwODM1NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7083541?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Backpackerice",
"html_url": "https://github.com/Backpackerice",
"followers_url": "https://api.github.... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | 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",
"Hi @Backpackerice did you solve the issue? I also encounter the same issue while training with `Trainer` API.",
"I have found the iss... | 1,604 | 1,611 | 1,610 | NONE | null | Hi there,
I am using my customized bert script to train a model. However, everything even I keep the same setting for lr, AdamW weight decay and epoch, and run on the same platform (cuda on SageMaker) with same torch (1.5.0) and transformers (2.11.0) versions, the results still change a lot in terms of the loss. Th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8396/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/8396/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8395 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8395/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8395/comments | https://api.github.com/repos/huggingface/transformers/issues/8395/events | https://github.com/huggingface/transformers/pull/8395 | 738,349,906 | MDExOlB1bGxSZXF1ZXN0NTE3MjE0OTg2 | 8,395 | [model card] fix md table | {
"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... | [
{
"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 good now!\r\n<img width=\"645\" alt=\"Screenshot 2020-11-08 at 10 25 27\" src=\"https://user-images.githubusercontent.com/326577/98461482-748c2380-217a-11eb-9fe4-38d6dc555233.png\">\r\n"
] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | Just noticed, I had a borked md table that wasn't rendering as a table on the site in a few cards, this PR fixes that.
Thank you!
@julien-c
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8395/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/8395/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8395",
"html_url": "https://github.com/huggingface/transformers/pull/8395",
"diff_url": "https://github.com/huggingface/transformers/pull/8395.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8395.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8394 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8394/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8394/comments | https://api.github.com/repos/huggingface/transformers/issues/8394/events | https://github.com/huggingface/transformers/pull/8394 | 738,347,610 | MDExOlB1bGxSZXF1ZXN0NTE3MjEzMjQ2 | 8,394 | Fix run_mlm_wwm example | {
"login": "cccntu",
"id": 31893406,
"node_id": "MDQ6VXNlcjMxODkzNDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cccntu",
"html_url": "https://github.com/cccntu",
"followers_url": "https://api.github.com/users/cccntu/fo... | [] | closed | false | null | [] | [
"Wait, the example for `run_mlm_wwm.py` doesn't seem to run:\r\n```\r\nTraceback (most recent call last):\r\n File \"run_mlm_wwm.py\", line 334, in <module>\r\n main()\r\n File \"run_mlm_wwm.py\", line 161, in main\r\n model_args, data_args, training_args = parser.parse_args_into_dataclasses()\r\n File \".... | 1,604 | 1,619 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8394/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/8394/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8394",
"html_url": "https://github.com/huggingface/transformers/pull/8394",
"diff_url": "https://github.com/huggingface/transformers/pull/8394.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8394.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8393 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8393/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8393/comments | https://api.github.com/repos/huggingface/transformers/issues/8393/events | https://github.com/huggingface/transformers/pull/8393 | 738,338,155 | MDExOlB1bGxSZXF1ZXN0NTE3MjA2MjA2 | 8,393 | Add barthez model | {
"login": "moussaKam",
"id": 28675016,
"node_id": "MDQ6VXNlcjI4Njc1MDE2",
"avatar_url": "https://avatars.githubusercontent.com/u/28675016?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moussaKam",
"html_url": "https://github.com/moussaKam",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You might also test that the config is identical to `BartConfig`.\r\n",
"Thank you @sshleifer for your review, I added some additional integration tests.",
"Hi @sgugger, thank you for your review, I added all the proposed changes.\r\n\r\nAs for the tokenizer, the reason for having a vocab file, is that mBarthe... | 1,604 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
Add BARThez models, tokenizer and docs. BARThez is a french seq2seq model that uses BART objective and architecture (https://arxiv.org/abs/2010.12321)
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8393/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/8393/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8393",
"html_url": "https://github.com/huggingface/transformers/pull/8393",
"diff_url": "https://github.com/huggingface/transformers/pull/8393.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8393.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8392 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8392/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8392/comments | https://api.github.com/repos/huggingface/transformers/issues/8392/events | https://github.com/huggingface/transformers/issues/8392 | 738,335,954 | MDU6SXNzdWU3MzgzMzU5NTQ= | 8,392 | Training script "run_mlm.py" doesn't work for certain datasets | {
"login": "zeyuyun1",
"id": 43428393,
"node_id": "MDQ6VXNlcjQzNDI4Mzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/43428393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zeyuyun1",
"html_url": "https://github.com/zeyuyun1",
"followers_url": "https://api.github.com/users/zey... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"> The training script should work for all datasets in huggingface datasets.\r\n\r\nTo clarify our intent with the examples we provide, this is untrue. We can't support every use case of every user. The script can easily be modified and has plenty of comments to help the user tune them to their needs.\r\n\r\nIn thi... | 1,604 | 1,605 | 1,605 | 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:
- Platform:3.4.0
- Python version:3.8.3
- PyTorch version (GPU?):3.6.0
- Tensorflow version (GPU?):
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8392/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/8392/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8391 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8391/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8391/comments | https://api.github.com/repos/huggingface/transformers/issues/8391/events | https://github.com/huggingface/transformers/pull/8391 | 738,313,970 | MDExOlB1bGxSZXF1ZXN0NTE3MTg5Mzk4 | 8,391 | Bug fix for apply_chunking_to_forward chunking dimension check | {
"login": "pedrocolon93",
"id": 5157240,
"node_id": "MDQ6VXNlcjUxNTcyNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5157240?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pedrocolon93",
"html_url": "https://github.com/pedrocolon93",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null |
Chunking should be in the chunking dimension, an exception was raised if the complete shape of the inputs was not the same rather than only the chunking dimension
# What does this PR do?
Fixes #8349
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if tha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8391/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/8391/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8391",
"html_url": "https://github.com/huggingface/transformers/pull/8391",
"diff_url": "https://github.com/huggingface/transformers/pull/8391.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8391.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8390 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8390/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8390/comments | https://api.github.com/repos/huggingface/transformers/issues/8390/events | https://github.com/huggingface/transformers/issues/8390 | 738,301,968 | MDU6SXNzdWU3MzgzMDE5Njg= | 8,390 | Trainer QA Model Label Names | {
"login": "ManavR123",
"id": 17506262,
"node_id": "MDQ6VXNlcjE3NTA2MjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/17506262?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ManavR123",
"html_url": "https://github.com/ManavR123",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | In the Trainer Class, the default label names for a QA model is ["start_positions, end_positions"]. You can see this defined on the line I linked here. Is this supposed to be the case or should it be a list with 2 strings? The tutorials for using Trainer on the transformers documentation show setting up a custom datase... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8390/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/8390/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8389 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8389/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8389/comments | https://api.github.com/repos/huggingface/transformers/issues/8389/events | https://github.com/huggingface/transformers/pull/8389 | 738,295,810 | MDExOlB1bGxSZXF1ZXN0NTE3MTc2MDgw | 8,389 | [fsmt tokenizer] support lowercase tokenizer | {
"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 | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | This PR:
* [x] implements support for `do_lower_case` in the fsmt tokenizer - requested [here](https://github.com/huggingface/transformers/pull/8374#issuecomment-723419221)
* [x] adds test to validate the new feature
* [x] adds case detector in the converter script
@LysandreJik | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8389/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/8389/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8389",
"html_url": "https://github.com/huggingface/transformers/pull/8389",
"diff_url": "https://github.com/huggingface/transformers/pull/8389.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8389.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8388 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8388/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8388/comments | https://api.github.com/repos/huggingface/transformers/issues/8388/events | https://github.com/huggingface/transformers/issues/8388 | 738,292,018 | MDU6SXNzdWU3MzgyOTIwMTg= | 8,388 | DataCollatorForWholeWordMask error persists after fix | {
"login": "uunal",
"id": 2520197,
"node_id": "MDQ6VXNlcjI1MjAxOTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2520197?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/uunal",
"html_url": "https://github.com/uunal",
"followers_url": "https://api.github.com/users/uunal/follower... | [] | closed | false | null | [] | [
"The problem can be fixed by changing `e[\"input_ids\"].tolist()` to `e[\"input_ids\"]` "
] | 1,604 | 1,604 | 1,604 | NONE | null | After quick fix #8379
Tried same flow of #8378
**Gives error:**
```
/usr/local/lib/python3.6/dist-packages/transformers/data/data_collator.py in __call__(self, examples)
321 for e in examples:
322 ref_tokens = []
--> 323 for id in e["input_ids"].tolist():
324 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8388/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/8388/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8387 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8387/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8387/comments | https://api.github.com/repos/huggingface/transformers/issues/8387/events | https://github.com/huggingface/transformers/pull/8387 | 738,283,705 | MDExOlB1bGxSZXF1ZXN0NTE3MTY3NDg2 | 8,387 | Add LMHeadModel similar to BertLMHeadModel to modeling_distilbert.py | {
"login": "KMFODA",
"id": 35491698,
"node_id": "MDQ6VXNlcjM1NDkxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KMFODA",
"html_url": "https://github.com/KMFODA",
"followers_url": "https://api.github.com/users/KMFODA/fo... | [] | closed | false | null | [] | [
"I don't know if this PR is in its final state and ready for review now, but here are a few pointers:\r\n\r\nThe PR looks good, but there are a few things to do before merging.\r\n\r\n- You should take a look at the failing tests and fix them if they're related to your PR (they should be)\r\n- You should implement ... | 1,604 | 1,615 | 1,614 | CONTRIBUTOR | null | # What does this PR do?
Similar to the `BertLMHeadModel` this PR aims to add a `DistilBertForCausalLM` model in `modeling_distilbert.py`.
Fixes #7397
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8387/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/8387/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8387",
"html_url": "https://github.com/huggingface/transformers/pull/8387",
"diff_url": "https://github.com/huggingface/transformers/pull/8387.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8387.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8386 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8386/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8386/comments | https://api.github.com/repos/huggingface/transformers/issues/8386/events | https://github.com/huggingface/transformers/issues/8386 | 738,281,030 | MDU6SXNzdWU3MzgyODEwMzA= | 8,386 | ImportError: cannot import name 'is_flax_available' from 'transformers.file_utils' | {
"login": "brendan-AI",
"id": 74021280,
"node_id": "MDQ6VXNlcjc0MDIxMjgw",
"avatar_url": "https://avatars.githubusercontent.com/u/74021280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brendan-AI",
"html_url": "https://github.com/brendan-AI",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"It seems you have a mismatch between several `transformers` versions.\r\n\r\nWe generally recommend using virtual environments not relying on `conda`, as full `transformers` support is not yet available on `conda`. Can you reproduce using a pip virtual env?\r\n\r\n```py\r\npython -m venv .env\r\nsource .env/bin/ac... | 1,604 | 1,604 | 1,604 | NONE | null | - `transformers` version: 3.4.0
- Platform: macOS-10.13.6-x86_64-i386-64bit
- Python version: 3.8.3
- PyTorch version (GPU?): 1.7.0 (False)
- Tensorflow version (GPU?): 2.3.0 (False)
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
The problem arises when using trying to impor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8386/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/8386/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8385 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8385/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8385/comments | https://api.github.com/repos/huggingface/transformers/issues/8385/events | https://github.com/huggingface/transformers/issues/8385 | 738,265,848 | MDU6SXNzdWU3MzgyNjU4NDg= | 8,385 | TPU padding in seq2seq codes | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"I understood this is implemented in Seq2SeqDataCollator with adding padding=longest. "
] | 1,604 | 1,604 | 1,604 | NONE | null | Hi
In the readme of seq2seq models https://github.com/huggingface/transformers/tree/master/examples/seq2seq it is written:
All sequences should be padded to be of equal length otherwise it leads to extremely slow training. (finetune_trainer.py does this automatically when running on TPU.)
could you point me plea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8385/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/8385/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8384 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8384/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8384/comments | https://api.github.com/repos/huggingface/transformers/issues/8384/events | https://github.com/huggingface/transformers/issues/8384 | 738,259,015 | MDU6SXNzdWU3MzgyNTkwMTU= | 8,384 | comment correction in modeling_bart.py | {
"login": "jc-hou",
"id": 30210529,
"node_id": "MDQ6VXNlcjMwMjEwNTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/30210529?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jc-hou",
"html_url": "https://github.com/jc-hou",
"followers_url": "https://api.github.com/users/jc-hou/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... | [
"Great catch, you are correct."
] | 1,604 | 1,604 | 1,604 | NONE | null | Hello, in here
https://github.com/huggingface/transformers/blob/07708793f20ec3a949ccab32cc4fe0c7272dcc4c/src/transformers/modeling_bart.py#L588
I think the comment should be
```
# Convert to Bart output format: (BS, seq_len, model_dim) -> (seq_len, BS, model_dim)
```
Before transpose , shape of x and encoder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8384/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/8384/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8383 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8383/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8383/comments | https://api.github.com/repos/huggingface/transformers/issues/8383/events | https://github.com/huggingface/transformers/issues/8383 | 738,248,179 | MDU6SXNzdWU3MzgyNDgxNzk= | 8,383 | finetune_trainer crashes in the beginning | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"My gpu instances does not have access to download the files, could you please assist me? could it be not hardcoded in the codes? so user could download the files and put them in the directory?",
"could you tell me what is this trying to download in the beginning? ",
"apparently the code downloads some stuff in... | 1,604 | 1,608 | 1,608 | NONE | null | Hi
I am trying to run
```
python finetune_trainer.py \
--model_name_or_path /idiap/temp/rkarimi/pretrained_transformers/t5-small/ \
--data_dir=/home/rabeeh/data/test_data/wmt_en_ro \
--learning_rate=3e-5 \
--output_dir=/home/rabeeh/temp \
--max_source_length=512 \
--max_target_length=56 \
--do_train --do_p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8383/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/8383/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8382 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8382/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8382/comments | https://api.github.com/repos/huggingface/transformers/issues/8382/events | https://github.com/huggingface/transformers/pull/8382 | 738,243,811 | MDExOlB1bGxSZXF1ZXN0NTE3MTM4NTkz | 8,382 | [s2s/distill] hparams.tokenizer_name = hparams.teacher | {
"login": "ShichaoSun",
"id": 13548568,
"node_id": "MDQ6VXNlcjEzNTQ4NTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/13548568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShichaoSun",
"html_url": "https://github.com/ShichaoSun",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You need to run `make fixup`"
] | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | fix bug that initialization of student model without tokenizer name
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8382/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/8382/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8382",
"html_url": "https://github.com/huggingface/transformers/pull/8382",
"diff_url": "https://github.com/huggingface/transformers/pull/8382.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8382.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8381 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8381/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8381/comments | https://api.github.com/repos/huggingface/transformers/issues/8381/events | https://github.com/huggingface/transformers/pull/8381 | 738,236,108 | MDExOlB1bGxSZXF1ZXN0NTE3MTMyOTI4 | 8,381 | initialize student's tokenizer name Update distillation.py | {
"login": "ShichaoSun",
"id": 13548568,
"node_id": "MDQ6VXNlcjEzNTQ4NTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/13548568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShichaoSun",
"html_url": "https://github.com/ShichaoSun",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | fix a bug, that student's tokenizer can be initialized without tokenizer_name | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8381/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/8381/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8381",
"html_url": "https://github.com/huggingface/transformers/pull/8381",
"diff_url": "https://github.com/huggingface/transformers/pull/8381.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8381.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8380 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8380/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8380/comments | https://api.github.com/repos/huggingface/transformers/issues/8380/events | https://github.com/huggingface/transformers/issues/8380 | 738,232,434 | MDU6SXNzdWU3MzgyMzI0MzQ= | 8,380 | training T5 on multiple datasets | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"Hi, these questions are better suited for the forum as we try to keep the github issues for bugs/feature requests only. Could you open an issue on the [forum](https://discuss.huggingface.co) instead?",
"Hi, the link is broken. thanks\n\nOn Mon, Nov 9, 2020 at 3:50 PM Lysandre Debut <notifications@github.com>\nwr... | 1,604 | 1,604 | 1,604 | NONE | null | Hi
I'd need to train finetune_trainer with T5 on multiple datasets. Could you give me some pointers, how I can form a dataloader with multiple datasets in the very simple form of it?
thanks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8380/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/8380/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8379 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8379/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8379/comments | https://api.github.com/repos/huggingface/transformers/issues/8379/events | https://github.com/huggingface/transformers/pull/8379 | 738,227,896 | MDExOlB1bGxSZXF1ZXN0NTE3MTI2OTcx | 8,379 | Fix DataCollatorForWholeWordMask | {
"login": "cccntu",
"id": 31893406,
"node_id": "MDQ6VXNlcjMxODkzNDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cccntu",
"html_url": "https://github.com/cccntu",
"followers_url": "https://api.github.com/users/cccntu/fo... | [] | closed | false | null | [] | [
"Oh I had missed that this one was a subclass of `DataCollatorForLanguageModeling`, thanks for fixing. The last one isn't a subclass, but we can certainly change it to use the same function too!",
"Merging the PR to have the fix as quickly as possible, but if you want to add a test of this data collator, please g... | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
This is a quick fix for #8378
There is another `_tensorize_batch` in other class, I think we can replace it too.
And there might be tests missing?
@sgugger #8308 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8379/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/8379/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8379",
"html_url": "https://github.com/huggingface/transformers/pull/8379",
"diff_url": "https://github.com/huggingface/transformers/pull/8379.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8379.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8378 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8378/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8378/comments | https://api.github.com/repos/huggingface/transformers/issues/8378/events | https://github.com/huggingface/transformers/issues/8378 | 738,223,809 | MDU6SXNzdWU3MzgyMjM4MDk= | 8,378 | DataCollatorForWholeWordMask is missing _tensorize_batch method | {
"login": "RainIwakura",
"id": 8593585,
"node_id": "MDQ6VXNlcjg1OTM1ODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8593585?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RainIwakura",
"html_url": "https://github.com/RainIwakura",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"@RedneckedCrake Hey please checkout my PR and let me know if it works!",
"Should be fixed by #8379, thanks for flagging this!"
] | 1,604 | 1,604 | 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.4.0
- Platform: Google Colab
- Python version: 3.6
- PyTorch version (GPU?): Yes
- Tensorflow versio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8378/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/8378/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8377 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8377/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8377/comments | https://api.github.com/repos/huggingface/transformers/issues/8377/events | https://github.com/huggingface/transformers/pull/8377 | 738,171,351 | MDExOlB1bGxSZXF1ZXN0NTE3MDg1OTU5 | 8,377 | [fsmt convert script] fairseq broke chkpt data - fixing that | {
"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 | [] | [
"+1 It would be good to document supported/tested versions, but I think it would be useful to try to keep up to date (to the extent possible.) I think most people choose whether to upload to hf **after** they have trained a model, and simply won't upload if their version if it is not supported. (Rather than re-trai... | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | This PR's main purpose:
* [x] adjusts for breaking fairseq [changes](https://github.com/pytorch/fairseq/commit/3b27ed7996b0315f471c795cf9b7dfcc18467cbe)
Plus:
* [x] adds support for older `bpecodes` filenames - specifically `code` in iwslt14
* [x] improves reporting
* [x] removes CDN note that will be shortl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8377/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/8377/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8377",
"html_url": "https://github.com/huggingface/transformers/pull/8377",
"diff_url": "https://github.com/huggingface/transformers/pull/8377.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8377.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8376 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8376/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8376/comments | https://api.github.com/repos/huggingface/transformers/issues/8376/events | https://github.com/huggingface/transformers/pull/8376 | 738,125,902 | MDExOlB1bGxSZXF1ZXN0NTE3MDQ3ODk3 | 8,376 | [s2s] distill t5-large -> t5-small | {
"login": "sbhaktha",
"id": 5631150,
"node_id": "MDQ6VXNlcjU2MzExNTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5631150?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sbhaktha",
"html_url": "https://github.com/sbhaktha",
"followers_url": "https://api.github.com/users/sbhak... | [] | closed | false | null | [] | [
"For your test, you could check the code runs correctly with `dict(teacher=BART_TINY_RANDOM, student=T5_TINY_RANDOM)`",
"I've pushed some fixes to get the tests to run successfully! However, I realized that an issue I was wondering about earlier is indeed important, and that is, dealing with the student and teach... | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
@sshleifer : This PR addresses the feature I was requesting on [this thread](https://discuss.huggingface.co/t/distillation-create-student-model-from-a-different-base-model-than-teacher/1501/8). It add a way to specify a base model to initialize the student model with (in `distillation.py`), ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8376/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/8376/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8376",
"html_url": "https://github.com/huggingface/transformers/pull/8376",
"diff_url": "https://github.com/huggingface/transformers/pull/8376.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8376.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8375 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8375/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8375/comments | https://api.github.com/repos/huggingface/transformers/issues/8375/events | https://github.com/huggingface/transformers/issues/8375 | 738,047,685 | MDU6SXNzdWU3MzgwNDc2ODU= | 8,375 | RobertaTokenizerFast is around 10 times slower than BertTokenizerFast #510 | {
"login": "napsternxg",
"id": 112678,
"node_id": "MDQ6VXNlcjExMjY3OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/112678?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/napsternxg",
"html_url": "https://github.com/napsternxg",
"followers_url": "https://api.github.com/users/n... | [
{
"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 related to https://github.com/huggingface/transformers/issues/6962",
"Both tokenizers are very unrelated, so I don't think they can be directly compared like this.",
"@LysandreJik can you elaborate on this unrelatedness? \r\nI think both are implemented in Rust and I assume the tokenizers use same algori... | 1,604 | 1,618 | 1,610 | 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.3.1
- Platform: Linux-5.4.38-t2.el7.x86_64-x86_64-with-centos-7.7.1908-Core
- Python version: 3.7.9
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8375/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/8375/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8374 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8374/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8374/comments | https://api.github.com/repos/huggingface/transformers/issues/8374/events | https://github.com/huggingface/transformers/pull/8374 | 738,035,039 | MDExOlB1bGxSZXF1ZXN0NTE2OTczMDM0 | 8,374 | [wip] [fsmt] possible support of iwslt14 in fsmt | {
"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 | [] | [
"You were right, it was an EN to EL model so the src-tgt were inversed, however I changed the args and I tried again. \r\nIt gave me an error: \r\n```\r\nRuntimeError: Error(s) in loading state_dict for FSMTForConditionalGeneration:\r\n size mismatch for model.decoder.embed_tokens.weight: copying a param wit... | 1,604 | 1,605 | 1,604 | CONTRIBUTOR | null | This is an attempt to see whether fsmt can support older fairseq archs, based on this request: https://github.com/huggingface/transformers/issues/8233
Currently it's just changing the conversion code directly to see if it can be converted.
```
python src/transformers/convert_fsmt_original_pytorch_checkpoint_to_pyt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8374/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/8374/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8374",
"html_url": "https://github.com/huggingface/transformers/pull/8374",
"diff_url": "https://github.com/huggingface/transformers/pull/8374.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8374.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8373 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8373/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8373/comments | https://api.github.com/repos/huggingface/transformers/issues/8373/events | https://github.com/huggingface/transformers/issues/8373 | 738,028,550 | MDU6SXNzdWU3MzgwMjg1NTA= | 8,373 | removing runs folders | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"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 | [] | [
"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",
"Hi,\r\n\r\nYou can move the path of the \"**_runs/_**\" folder by adding `logging_dir` to your `TrainingArguments` such like this:\r\n\... | 1,604 | 1,619 | 1,610 | NONE | null | Hi
Do you know where in the codes when training finetune_trainer.py a folder "runs" created? could it be moved to output_dir? so this is always created in the directory running codes than output_dir
thanks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8373/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/8373/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8372 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8372/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8372/comments | https://api.github.com/repos/huggingface/transformers/issues/8372/events | https://github.com/huggingface/transformers/issues/8372 | 738,024,380 | MDU6SXNzdWU3MzgwMjQzODA= | 8,372 | Fine-tuning for QA: how to prepare custom dataset? | {
"login": "AndreyStille",
"id": 65295663,
"node_id": "MDQ6VXNlcjY1Mjk1NjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/65295663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndreyStille",
"html_url": "https://github.com/AndreyStille",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This is for **extractive** QA which means the answer needs to be in a continuous sequence in the context. The way the model works is by predicting the start and end indices of the answer. ",
"> This is for **extractive** QA which means the answer needs to be in a continuous sequence in the context. The way the m... | 1,604 | 1,604 | 1,604 | NONE | null | I have csv dataset article,name
I want to use fine-tuning(Albert), don't undestand how to prepare my dataset to suite for fine-tuning tutorial (https://huggingface.co/transformers/custom_datasets.html#question-answering-with-squad-2-0)
Can't understand the reason why we add start and end idx of answer in context to '... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8372/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/8372/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8371 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8371/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8371/comments | https://api.github.com/repos/huggingface/transformers/issues/8371/events | https://github.com/huggingface/transformers/pull/8371 | 737,993,953 | MDExOlB1bGxSZXF1ZXN0NTE2OTM4NDQx | 8,371 | [make] rewrite modified_py_files in python to be cross-platform | {
"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 | [] | [
"Nice!! Now I have with `make fixup`:\r\n\r\n```\r\n-n was unexpected.\r\nmake: *** [modified_only_fixup] Error 255\r\n```",
"OK, so it sounds that perhaps I was trying to fix the wrong thing in first place. Let's see if we can find a different way to check whether the variable is empty that also works on windows... | 1,604 | 1,605 | 1,604 | CONTRIBUTOR | null | As it can be seen here https://github.com/huggingface/transformers/pull/8359 some windows setups don't do well with the few lines of unix code that derive which files were modified, when called from `Makefile` so it looked like the best solution was to rewrite that logic in python which this PR does.
**status update... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8371/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/8371/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8371",
"html_url": "https://github.com/huggingface/transformers/pull/8371",
"diff_url": "https://github.com/huggingface/transformers/pull/8371.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8371.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8370 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8370/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8370/comments | https://api.github.com/repos/huggingface/transformers/issues/8370/events | https://github.com/huggingface/transformers/issues/8370 | 737,985,448 | MDU6SXNzdWU3Mzc5ODU0NDg= | 8,370 | BertTokenizerFast object has no attribute 'ids_to_tokens' | {
"login": "githubrandomuser2017",
"id": 25097908,
"node_id": "MDQ6VXNlcjI1MDk3OTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/25097908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/githubrandomuser2017",
"html_url": "https://github.com/githubrandomuser2017",
"followers_url... | [] | closed | false | null | [] | [
"Hi! `ids_to_token` is legacy code that should have its visibility set to private. We recommend using the `convert_ids_to_tokens` method, or the `get_vocab()` if you wish to take a look at the whole vocabulary. Both should be available on both the `BertTokenizer` and `BertTokenizerFast`."
] | 1,604 | 1,604 | 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:
- Platform: Google Colab
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7
- Tensorflow version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8370/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/8370/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8369 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8369/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8369/comments | https://api.github.com/repos/huggingface/transformers/issues/8369/events | https://github.com/huggingface/transformers/pull/8369 | 737,971,662 | MDExOlB1bGxSZXF1ZXN0NTE2OTIwMTky | 8,369 | Model card: T5-base fine-tuned on QuaRTz | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Should I add tags like`question answering`and so on? @julien-c ",
"If it's intended to be consumed (through the inference API) as a QA model, you can add `pipeline_tag: question-answering`.\r\n\r\ncc @Narsil "
] | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8369/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/8369/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8369",
"html_url": "https://github.com/huggingface/transformers/pull/8369",
"diff_url": "https://github.com/huggingface/transformers/pull/8369.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8369.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8368 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8368/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8368/comments | https://api.github.com/repos/huggingface/transformers/issues/8368/events | https://github.com/huggingface/transformers/pull/8368 | 737,964,432 | MDExOlB1bGxSZXF1ZXN0NTE2OTE0MjYy | 8,368 | [TF generate] Cut encoder outptus to just last hidden states for now | {
"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 | [] | [] | 1,604 | 1,604 | 1,604 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8368/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/8368/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8368",
"html_url": "https://github.com/huggingface/transformers/pull/8368",
"diff_url": "https://github.com/huggingface/transformers/pull/8368.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8368.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8367 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8367/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8367/comments | https://api.github.com/repos/huggingface/transformers/issues/8367/events | https://github.com/huggingface/transformers/issues/8367 | 737,945,480 | MDU6SXNzdWU3Mzc5NDU0ODA= | 8,367 | Which model to choose for seq2seq(generating headers for articles)? | {
"login": "AndreyStille",
"id": 65295663,
"node_id": "MDQ6VXNlcjY1Mjk1NjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/65295663?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AndreyStille",
"html_url": "https://github.com/AndreyStille",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi! Questions like this are welcome on the forum, we try to keep the github issues for bugs/feature requests only :) Thanks!\r\n\r\nForum link: https://discuss.huggingface.co"
] | 1,604 | 1,604 | 1,604 | NONE | null | Hi
Task is generating headers for articles. I have dataset with articles and correct names.
I think about using T5 for summarization or GPT-2 for seq2seq modeling. I'm not sure what way to choose
Can you please give me advise which direction is more relevant for this task? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8367/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/8367/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8366 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8366/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8366/comments | https://api.github.com/repos/huggingface/transformers/issues/8366/events | https://github.com/huggingface/transformers/pull/8366 | 737,938,463 | MDExOlB1bGxSZXF1ZXN0NTE2ODkyODE5 | 8,366 | Some added tests for TokenClassificationArgumentHandler | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8366/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/8366/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8366",
"html_url": "https://github.com/huggingface/transformers/pull/8366",
"diff_url": "https://github.com/huggingface/transformers/pull/8366.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8366.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8365 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8365/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8365/comments | https://api.github.com/repos/huggingface/transformers/issues/8365/events | https://github.com/huggingface/transformers/issues/8365 | 737,886,441 | MDU6SXNzdWU3Mzc4ODY0NDE= | 8,365 | TFTrainerArguments: ImportError: Method `device` requires PyTorch. | {
"login": "vlreinier",
"id": 43336873,
"node_id": "MDQ6VXNlcjQzMzM2ODcz",
"avatar_url": "https://avatars.githubusercontent.com/u/43336873?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vlreinier",
"html_url": "https://github.com/vlreinier",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Indeed. It has been fixed on master and will be in the next release (early next week). In the meantime you can install from source to have the fix.",
"Ah ok, thanks for the quick response 👍 "
] | 1,604 | 1,604 | 1,604 | NONE | null | from transformers import TFTrainer, TFTrainingArguments
training_args = TFTrainingArguments(output_dir='models',
num_train_epochs=1,
per_device_train_batch_size=32,
per_device_eval_batch_size... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8365/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/8365/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8364 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8364/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8364/comments | https://api.github.com/repos/huggingface/transformers/issues/8364/events | https://github.com/huggingface/transformers/pull/8364 | 737,866,122 | MDExOlB1bGxSZXF1ZXN0NTE2ODMzMTI3 | 8,364 | Patch token classification pipeline | {
"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 | [] | [
"Merging now to ensure the bug is patched in v3.5.0. Will address your comments in a future PR @Narsil."
] | 1,604 | 1,605 | 1,605 | MEMBER | null | This PR patches issues found with the `TokenClassificationPipeline` since the merge of https://github.com/huggingface/transformers/pull/5970, namely not being able to load a slow tokenizer in the pipeline.
It also sets the `ignore_subwords` to `False` by default, as this does not work with the slow tokenizers. No re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8364/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/8364/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8364",
"html_url": "https://github.com/huggingface/transformers/pull/8364",
"diff_url": "https://github.com/huggingface/transformers/pull/8364.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8364.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8363 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8363/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8363/comments | https://api.github.com/repos/huggingface/transformers/issues/8363/events | https://github.com/huggingface/transformers/pull/8363 | 737,846,286 | MDExOlB1bGxSZXF1ZXN0NTE2ODE2ODkz | 8,363 | Create README.md | {
"login": "yfpeng",
"id": 2766437,
"node_id": "MDQ6VXNlcjI3NjY0Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2766437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yfpeng",
"html_url": "https://github.com/yfpeng",
"followers_url": "https://api.github.com/users/yfpeng/foll... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8363/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/8363/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8363",
"html_url": "https://github.com/huggingface/transformers/pull/8363",
"diff_url": "https://github.com/huggingface/transformers/pull/8363.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8363.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8362 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8362/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8362/comments | https://api.github.com/repos/huggingface/transformers/issues/8362/events | https://github.com/huggingface/transformers/pull/8362 | 737,845,395 | MDExOlB1bGxSZXF1ZXN0NTE2ODE2MTAz | 8,362 | Create README.md | {
"login": "yfpeng",
"id": 2766437,
"node_id": "MDQ6VXNlcjI3NjY0Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2766437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yfpeng",
"html_url": "https://github.com/yfpeng",
"followers_url": "https://api.github.com/users/yfpeng/foll... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8362/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/8362/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8362",
"html_url": "https://github.com/huggingface/transformers/pull/8362",
"diff_url": "https://github.com/huggingface/transformers/pull/8362.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8362.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8361 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8361/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8361/comments | https://api.github.com/repos/huggingface/transformers/issues/8361/events | https://github.com/huggingface/transformers/issues/8361 | 737,804,159 | MDU6SXNzdWU3Mzc4MDQxNTk= | 8,361 | TF generate() function is incompatible with output_attention and output_hidden_states | {
"login": "sebastianGehrmann",
"id": 2212304,
"node_id": "MDQ6VXNlcjIyMTIzMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2212304?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sebastianGehrmann",
"html_url": "https://github.com/sebastianGehrmann",
"followers_url": "https:/... | [
{
"id": 1862634478,
"node_id": "MDU6TGFiZWwxODYyNjM0NDc4",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Should%20Fix",
"name": "Should Fix",
"color": "FF0000",
"default": false,
"description": "This has been identified as a bug and should be fixed."
}
] | 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 @sebastianGehrmann,\r\n\r\nThanks for the super in-detail error description! You're 100% correct. The PR attached below does an rather ugly fix for now (just cut the `encoder_outputs` to the last hidden states) since the `attentions` and `hidden_states` cannot be output anyways at the moment. \r\n\r\nWith the ... | 1,604 | 1,651 | 1,604 | NONE | null | ## Environment info
- `transformers` version: 3.4.0
- Platform: Mac OS Catalina (10.15.6)
- Python version: 3.6.8
- PyTorch version (GPU?): N/A
- Tensorflow version (GPU?): 2.3.1 (no)
- Using GPU in script?: No, but bug is persistent regardless of device.
- Using distributed or parallel set-up in script?: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8361/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/8361/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8360 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8360/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8360/comments | https://api.github.com/repos/huggingface/transformers/issues/8360/events | https://github.com/huggingface/transformers/pull/8360 | 737,745,813 | MDExOlB1bGxSZXF1ZXN0NTE2NzMzNzgw | 8,360 | Update README.md | {
"login": "hassoudi",
"id": 6810258,
"node_id": "MDQ6VXNlcjY4MTAyNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6810258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hassoudi",
"html_url": "https://github.com/hassoudi",
"followers_url": "https://api.github.com/users/hasso... | [
{
"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 | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | Fix websitr address
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8360/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/8360/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8360",
"html_url": "https://github.com/huggingface/transformers/pull/8360",
"diff_url": "https://github.com/huggingface/transformers/pull/8360.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8360.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8359 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8359/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8359/comments | https://api.github.com/repos/huggingface/transformers/issues/8359/events | https://github.com/huggingface/transformers/pull/8359 | 737,745,736 | MDExOlB1bGxSZXF1ZXN0NTE2NzMzNzE1 | 8,359 | Fix some tooling for windows | {
"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 | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes a small issue on the `check_repo.py` script with the encodings. I have also updated the `Makefile` to move the creation of the variables `fork_point_sha`, `joined_dirs` and `modified_py_files` in the `modified_only_fixup` target because they are used only there.
The makefile ra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8359/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/8359/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8359",
"html_url": "https://github.com/huggingface/transformers/pull/8359",
"diff_url": "https://github.com/huggingface/transformers/pull/8359.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8359.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8358 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8358/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8358/comments | https://api.github.com/repos/huggingface/transformers/issues/8358/events | https://github.com/huggingface/transformers/pull/8358 | 737,703,169 | MDExOlB1bGxSZXF1ZXN0NTE2Njk4MTI0 | 8,358 | [WIP] Add performer in flax | {
"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 | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,604 | 1,619 | 1,619 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8358/reactions",
"total_count": 8,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 6,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8358/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8358",
"html_url": "https://github.com/huggingface/transformers/pull/8358",
"diff_url": "https://github.com/huggingface/transformers/pull/8358.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8358.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8357 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8357/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8357/comments | https://api.github.com/repos/huggingface/transformers/issues/8357/events | https://github.com/huggingface/transformers/issues/8357 | 737,674,669 | MDU6SXNzdWU3Mzc2NzQ2Njk= | 8,357 | Cannot Load roberta tokenizer | {
"login": "Rogerspy",
"id": 26625102,
"node_id": "MDQ6VXNlcjI2NjI1MTAy",
"avatar_url": "https://avatars.githubusercontent.com/u/26625102?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rogerspy",
"html_url": "https://github.com/Rogerspy",
"followers_url": "https://api.github.com/users/Rog... | [] | closed | false | null | [] | [
"It seems that the tokenizer in that directory is not a Byte level BPE, or at least not in a format the library can understand. A byte-level BPE like the RoBERTa tokenizer should have a merges files as well.\r\n\r\nCould you try to load it in a BERT tokenizer? The BERT tokenizer saves its vocabulary as `vocab.txt` ... | 1,604 | 1,604 | 1,604 | NONE | null | # ❓ Questions & Help
My `transformers`'s version is `transformers 3.4.0`
I download a Chinese RoBERTa model, where:
```
models
├── RoBERTa_zh_Large_Pytorch
│ ├── config.json
│ ├── pytorch_model.bin
│ └── vocab.txt
```
I want to load the tokenizer from local:
```python
tokenizer_zh = RobertaT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8357/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/8357/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8356 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8356/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8356/comments | https://api.github.com/repos/huggingface/transformers/issues/8356/events | https://github.com/huggingface/transformers/issues/8356 | 737,644,036 | MDU6SXNzdWU3Mzc2NDQwMzY= | 8,356 | assert tgt_line, f"empty tgt line for index {index}" with t5 | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"@patil-suraj ",
"I am guessing maybe this issue is making it slower on tpus? on en-ro which it does not happen it is faster",
"@rabeehkarimimahabadi did you solve the issue? ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addre... | 1,604 | 1,619 | 1,619 | NONE | null | Hi
I am trying to run fineutne_trainer with this command and I got assert error thanks for your help
export TPU_IB_ADDRESS=10.160.244.2
start=`date +%s`
python xla_spawn.py --num_cores 8 \
finetune_trainer.py \
--tokenizer_name t5-small --model_name_or_path t5-small \
--data_dir wmt_en_de \
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8356/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/8356/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8355 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8355/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8355/comments | https://api.github.com/repos/huggingface/transformers/issues/8355/events | https://github.com/huggingface/transformers/issues/8355 | 737,597,274 | MDU6SXNzdWU3Mzc1OTcyNzQ= | 8,355 | finetune_trainer segfault | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"This seems like a memory error. Can you try reducing the batch size and see if that works?",
"thanks worked\n\nOn Fri, Nov 6, 2020 at 5:28 PM Lysandre Debut <notifications@github.com>\nwrote:\n\n> This seems like a memory error. Can you try reducing the batch size and\n> see if that works?\n>\n> —\n> You are rec... | 1,604 | 1,608 | 1,608 | NONE | null | Hi
I wand to run finetune_trainer on tpu:
export TPU_IB_ADDRESS=10.160.244.2
start=`date +%s`
python xla_spawn.py --num_cores 8 \
finetune_trainer.py \
--tokenizer_name t5-base --model_name_or_path t5-base \
--data_dir /home/rabeeh/ruse/seq2seq/seq2seq/data \
--output_dir /home/rabeeh/output... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8355/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/8355/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8354 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8354/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8354/comments | https://api.github.com/repos/huggingface/transformers/issues/8354/events | https://github.com/huggingface/transformers/issues/8354 | 737,559,327 | MDU6SXNzdWU3Mzc1NTkzMjc= | 8,354 | update from v3.0.0 to v3.4.0 got an error | {
"login": "zyh3826",
"id": 31238754,
"node_id": "MDQ6VXNlcjMxMjM4NzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/31238754?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zyh3826",
"html_url": "https://github.com/zyh3826",
"followers_url": "https://api.github.com/users/zyh382... | [
{
"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! Yes, you should use the `from_pretrained` method to ensure compatibility within versions. Have you tried using that method instead? It should point to a directory containing your model file named as `pytorch_model.bin` and the configuration file of the model named as `config.json`.",
"> Hi! Yes, you should u... | 1,604 | 1,610 | 1,610 | 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: v3.4.0
- Platform: redhat
- Python version: 3.8.3 64bit
- PyTorch version (GPU?): 1.5.1
- Tensorflow vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8354/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/8354/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8353 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8353/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8353/comments | https://api.github.com/repos/huggingface/transformers/issues/8353/events | https://github.com/huggingface/transformers/issues/8353 | 737,503,653 | MDU6SXNzdWU3Mzc1MDM2NTM= | 8,353 | [s2s trainer examples] a tight quality regression test | {
"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 | [] | [
"(FYI, this seems less important than the OOM issue you've found separately.)\r\n\r\n1) definitely S3. Otherwise there will be lots of pressure to have small data which could hurt learning objectives. I would try to satisfy learning objectives then make data smaller. If it gets to 1MB you could check it in, but tha... | 1,604 | 1,607 | 1,607 | CONTRIBUTOR | null | Continuing from https://github.com/huggingface/transformers/issues/6049 and https://github.com/huggingface/transformers/issues/8154, we are trying to build a test that will be good at regression detection in the finetune training code, quoting @sshleifer:
> try to make a fast command line test/script for summarizati... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8353/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/8353/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8352 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8352/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8352/comments | https://api.github.com/repos/huggingface/transformers/issues/8352/events | https://github.com/huggingface/transformers/issues/8352 | 737,425,470 | MDU6SXNzdWU3Mzc0MjU0NzA= | 8,352 | I encountered an error when I was running code that the object could not be called.But the BertTokenizer doesn't exist in my code. | {
"login": "YeNiTing",
"id": 50485311,
"node_id": "MDQ6VXNlcjUwNDg1MzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/50485311?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/YeNiTing",
"html_url": "https://github.com/YeNiTing",
"followers_url": "https://api.github.com/users/YeN... | [
{
"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 is probably due to a mismatch of your transformers version.\r\n\r\nPlease complete the template, otherwise we cannot help you.",
"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,604 | 1,610 | 1,610 | NONE | null | ## Error details
- `transformers` version:2.11.0
Traceback (most recent call last):
File "main.py", line 108, in
fire.Fire()
File "D:\software\Anaconda3\envs\ynt2\lib\site-packages\fire\core.py", line 138, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "D:\softwar... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8352/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/8352/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8351 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8351/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8351/comments | https://api.github.com/repos/huggingface/transformers/issues/8351/events | https://github.com/huggingface/transformers/pull/8351 | 737,410,638 | MDExOlB1bGxSZXF1ZXN0NTE2NDU2NDI5 | 8,351 | Fix typo | {
"login": "cccntu",
"id": 31893406,
"node_id": "MDQ6VXNlcjMxODkzNDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/31893406?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cccntu",
"html_url": "https://github.com/cccntu",
"followers_url": "https://api.github.com/users/cccntu/fo... | [] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8351/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/8351/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8351",
"html_url": "https://github.com/huggingface/transformers/pull/8351",
"diff_url": "https://github.com/huggingface/transformers/pull/8351.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8351.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8350 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8350/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8350/comments | https://api.github.com/repos/huggingface/transformers/issues/8350/events | https://github.com/huggingface/transformers/issues/8350 | 737,398,748 | MDU6SXNzdWU3MzczOTg3NDg= | 8,350 | torch 1.4.0 transformers segment fault | {
"login": "namenotexist",
"id": 40298904,
"node_id": "MDQ6VXNlcjQwMjk4OTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/40298904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/namenotexist",
"html_url": "https://github.com/namenotexist",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi, please complete the template, otherwise we cannot help you."
] | 1,604 | 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/8350/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/8350/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8349 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8349/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8349/comments | https://api.github.com/repos/huggingface/transformers/issues/8349/events | https://github.com/huggingface/transformers/issues/8349 | 737,390,210 | MDU6SXNzdWU3MzczOTAyMTA= | 8,349 | apply_chunking_to_forward should only be the same in the chunking dimension | {
"login": "pedrocolon93",
"id": 5157240,
"node_id": "MDQ6VXNlcjUxNTcyNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5157240?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pedrocolon93",
"html_url": "https://github.com/pedrocolon93",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Great catch @pedrocolon93 ! Do you feel like opening a PR to fix it? :-) Feel free to tag me and I'll help you!",
"Sounds good! I'll get it in and link it later today!\r\n"
] | 1,604 | 1,605 | 1,605 | 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.4.0
- Platform: All
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Usin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8349/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/8349/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8348 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8348/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8348/comments | https://api.github.com/repos/huggingface/transformers/issues/8348/events | https://github.com/huggingface/transformers/issues/8348 | 737,366,502 | MDU6SXNzdWU3MzczNjY1MDI= | 8,348 | PEGASUS generation/decoding VERY Slow | {
"login": "muggin",
"id": 4559861,
"node_id": "MDQ6VXNlcjQ1NTk4NjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4559861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/muggin",
"html_url": "https://github.com/muggin",
"followers_url": "https://api.github.com/users/muggin/foll... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1841528858,
"node_id": "MDU6TGFiZWwxODQxNTI4ODU4",
... | 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... | [
"this is expected behavior. pegasus has more layers and higher num_beams than BART.\ntry using num_beams=2 for both models, and or using a distilled model for faster inference. BART also works in fp16.",
"I used greedy decoding when generating outputs, so the number of beams should not matter in this case.\r\nAls... | 1,604 | 1,610 | 1,610 | NONE | null | ## Environment info
- `transformers` version: 3.4.0
- Platform: Linux-4.19.112+-x86_64-with-glibc2.10
- Python version: 3.8.3
- PyTorch version (GPU?): 1.7.0+cu110 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
### Who c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8348/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/8348/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8347 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8347/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8347/comments | https://api.github.com/repos/huggingface/transformers/issues/8347/events | https://github.com/huggingface/transformers/issues/8347 | 737,342,833 | MDU6SXNzdWU3MzczNDI4MzM= | 8,347 | TFTrainer stuck in evaluation | {
"login": "soufianeelalami",
"id": 16280778,
"node_id": "MDQ6VXNlcjE2MjgwNzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/16280778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soufianeelalami",
"html_url": "https://github.com/soufianeelalami",
"followers_url": "https://api... | [
{
"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 | [] | [
"Tagging @jplu as I'm not familiar with the code of TFTrainer.",
"Hello!\r\n\r\nPlease provide a piece of code in order for us to be able to reproduce your issue.",
"Since i am using a custom dataset, here are some stats about the input:\r\n\r\ntrain_dataset = tf.data.Dataset.from_tensor_slices((\r\n {'input... | 1,604 | 1,610 | 1,610 | 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.1.0
- Platform: Darwin-17.7.0-x86_64-i386-64bit
- Python version: 3.6.10
- PyTorch version (GPU?): 1.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8347/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/8347/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8346 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8346/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8346/comments | https://api.github.com/repos/huggingface/transformers/issues/8346/events | https://github.com/huggingface/transformers/issues/8346 | 737,323,161 | MDU6SXNzdWU3MzczMjMxNjE= | 8,346 | Adding kNN language modeling and Machine Translation | {
"login": "yjernite",
"id": 10469459,
"node_id": "MDQ6VXNlcjEwNDY5NDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/10469459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yjernite",
"html_url": "https://github.com/yjernite",
"followers_url": "https://api.github.com/users/yje... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg... | open | false | null | [] | [
"are you interested @stas00 ? this will be a tough one but cool!",
"This definitely sounds interested, thank you for thinking of me, @sshleifer!\r\n\r\nBut I also want to make sure that since I will be shortly starting on a big project which could take time, if someone wants to work on this one by all means do th... | 1,604 | 1,657 | null | MEMBER | null | # 🌟 Adding the kNN-LM and kNN-MT models
## Model description
The kNN [Language Model](https://arxiv.org/pdf/1911.00172.pdf) and [Machine Translation](https://arxiv.org/pdf/2010.00710.pdf) leverage additional data at test time by looking up examples in the data store that are similar to the test example and using... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8346/reactions",
"total_count": 7,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 7,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8346/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8345 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8345/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8345/comments | https://api.github.com/repos/huggingface/transformers/issues/8345/events | https://github.com/huggingface/transformers/issues/8345 | 737,315,240 | MDU6SXNzdWU3MzczMTUyNDA= | 8,345 | Error in RAG finetuning script | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | {
"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... | [
{
"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.git... | [
"It is related with the optimizer initialization in the finetune.py script. Seems like even in the lightning_base.py there is no initialization for the optimizer.",
"@lhoestq \r\n\r\nany idea on this?\r\n\r\nI managed to work around by calling the optimizer initialization inside the train_dataloader function in f... | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | ## Environment info
ut the missing fields in that output! -->
- `transformers` version: 3.4.0
- Platform: Linux-4.18.0-147.5.1.el8_1.x86_64-x86_64-with-centos-8.1.1911-Core
- Python version: 3.6.8
- PyTorch version (GPU?): 1.7.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8345/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/8345/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8344 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8344/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8344/comments | https://api.github.com/repos/huggingface/transformers/issues/8344/events | https://github.com/huggingface/transformers/issues/8344 | 737,296,485 | MDU6SXNzdWU3MzcyOTY0ODU= | 8,344 | model parallelism for BART | {
"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": 2627272588,
"node_id": "MDU6TGFiZWwyNjI3MjcyNTg4",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Model%20Parallel",
"name": "Model Parallel",
"color": "8B66A5",
"default": false,
"description": "Model Parallelilsm Implementations"
}
] | closed | false | {
"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... | [
{
"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... | [
"That sounds exciting - please assign it to me.\r\n\r\nOnce I finish with the tests I will study what you shared and ask follow up questions!",
"Almost there: https://github.com/huggingface/transformers/pull/9384",
"This issue has been automatically marked as stale because it has not had recent activity. If you... | 1,604 | 1,654 | 1,619 | CONTRIBUTOR | null | For @stas00:
High Level Goal: allow large Seq2Seq transformers, (many of which inherit from BART) to be run on/accross multiple GPUs with model-parallelism.
+ This is a prerequisite for [adding m2m100](https://github.com/huggingface/transformers/issues/8054), and can be done in the same or a separate PR.I prefer ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8344/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/8344/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8343 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8343/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8343/comments | https://api.github.com/repos/huggingface/transformers/issues/8343/events | https://github.com/huggingface/transformers/pull/8343 | 737,291,456 | MDExOlB1bGxSZXF1ZXN0NTE2MzU5NDg1 | 8,343 | [model_cards] Update Italian BERT models and introduce new Italian XX… | {
"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/... | [
{
"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 | [] | [] | 1,604 | 1,605 | 1,604 | COLLABORATOR | null | Hi,
this PR updates some of our @dbmdz model cards for Italian BERT models:
* Add details about issues with vocab for BERT models
* Introduce new repository for downstream evaluations (NER and PoS tagging)
It also adds new model cards for our newly trained Italian XXL ELECTRA model (discriminator and generato... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8343/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/8343/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8343",
"html_url": "https://github.com/huggingface/transformers/pull/8343",
"diff_url": "https://github.com/huggingface/transformers/pull/8343.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8343.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8342 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8342/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8342/comments | https://api.github.com/repos/huggingface/transformers/issues/8342/events | https://github.com/huggingface/transformers/issues/8342 | 737,274,047 | MDU6SXNzdWU3MzcyNzQwNDc= | 8,342 | got an unexpected keyword argument 'early_stop_callback' | {
"login": "yxu1168",
"id": 50936877,
"node_id": "MDQ6VXNlcjUwOTM2ODc3",
"avatar_url": "https://avatars.githubusercontent.com/u/50936877?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yxu1168",
"html_url": "https://github.com/yxu1168",
"followers_url": "https://api.github.com/users/yxu116... | [] | closed | false | null | [] | [
"Hello, we would need you to fill the issue template to have an idea of what's going on and how we can help.",
"if you have `pytorch-lightning=1.0.4` and the code on `master` this shouldn't happen.",
"Thank you Sam, it works!",
"I have 1.8.6 and it still happens. "
] | 1,604 | 1,674 | 1,604 | NONE | null | __init__() got an unexpected keyword argument 'early_stop_callback'
## 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:
- Platform:
- Python version:
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8342/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/8342/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8341 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8341/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8341/comments | https://api.github.com/repos/huggingface/transformers/issues/8341/events | https://github.com/huggingface/transformers/pull/8341 | 737,271,719 | MDExOlB1bGxSZXF1ZXN0NTE2MzQzMDMw | 8,341 | [github CI] add a multi-gpu job for all example tests | {
"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 | [] | [
"Ah, thank you for clarifying the state of things, @LysandreJik \r\n\r\nSome possible solutions I can think of:\r\n\r\n1. fix the situation quickly by adding `@require_torch_non_multigpu` to any such failing tests and make a plan to port those.\r\n2. rename all good tests to include `_multigpu` and run the test sui... | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | As discussed in https://github.com/huggingface/transformers/pull/8315#issuecomment-722398166 we now have a growing set of tests that do distributed testing and require a multi-gpu setup, and which aren't being tested at the moment by any CI.
This PR adds a new job:
* [x] run all example tests on multi-gpu
Sinc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8341/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/8341/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8341",
"html_url": "https://github.com/huggingface/transformers/pull/8341",
"diff_url": "https://github.com/huggingface/transformers/pull/8341.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8341.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8340 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8340/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8340/comments | https://api.github.com/repos/huggingface/transformers/issues/8340/events | https://github.com/huggingface/transformers/pull/8340 | 737,270,966 | MDExOlB1bGxSZXF1ZXN0NTE2MzQyNDI4 | 8,340 | Add new token classification example | {
"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... | [
{
"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 | [] | [
"Hi @sgugger , thanks for these new features :hugs: \r\n\r\nI have a some comments:\r\n\r\n* Only training and validation files can be passed via command line argument. The `do_predict` method is already supported, so a new argument for specifiying the test file would be great to have!\r\n* A new version of the `ru... | 1,604 | 1,604 | 1,604 | COLLABORATOR | null | # What does this PR do?
This PR adds a new example script leveraging the dataset library, the offsets from the fast tokenizers of the tokenizers library and the Trainer API. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8340/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8340/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8340",
"html_url": "https://github.com/huggingface/transformers/pull/8340",
"diff_url": "https://github.com/huggingface/transformers/pull/8340.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8340.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8339 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8339/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8339/comments | https://api.github.com/repos/huggingface/transformers/issues/8339/events | https://github.com/huggingface/transformers/issues/8339 | 737,244,516 | MDU6SXNzdWU3MzcyNDQ1MTY= | 8,339 | finetune_trainer being really slow on TPU | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"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 | [] | [
"could you give me some numbers how much time it could take for training WMT on TPUs so I could compare? I appreciate letting me know how to do the setting on TPUs @patil-suraj ",
"AFAIK, there is a recent slowdown on TPU that @patil-suraj is investigating. \r\n\r\nI simple speedup would be to use `--model_name_o... | 1,604 | 1,610 | 1,610 | NONE | null | Hi
I need to run finetune_trainer for a large scale project on TPU, here is the command I use
`python xla_spawn.py --num_cores 8 finetune_trainer.py --learning_rate=3e-5 --n_val 1000 --model_name_or_path t5-small --data_dir data/wmt_en_ro/ --output_dir /home/rabeeh/temp/ --overwrite_output_dir --tpu_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8339/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/8339/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8338 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8338/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8338/comments | https://api.github.com/repos/huggingface/transformers/issues/8338/events | https://github.com/huggingface/transformers/pull/8338 | 737,229,703 | MDExOlB1bGxSZXF1ZXN0NTE2MzA3OTIx | 8,338 | Update README.md | {
"login": "hassoudi",
"id": 6810258,
"node_id": "MDQ6VXNlcjY4MTAyNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6810258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hassoudi",
"html_url": "https://github.com/hassoudi",
"followers_url": "https://api.github.com/users/hasso... | [
{
"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 | [] | [
"Plz merge",
"Plz metge"
] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | fixes
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please repla... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8338/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/8338/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8338",
"html_url": "https://github.com/huggingface/transformers/pull/8338",
"diff_url": "https://github.com/huggingface/transformers/pull/8338.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8338.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8337 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8337/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8337/comments | https://api.github.com/repos/huggingface/transformers/issues/8337/events | https://github.com/huggingface/transformers/issues/8337 | 737,222,352 | MDU6SXNzdWU3MzcyMjIzNTI= | 8,337 | pip cannot install transformers with python version 3.X version on Ubuntu 18.04 | {
"login": "varshachawan",
"id": 25875832,
"node_id": "MDQ6VXNlcjI1ODc1ODMy",
"avatar_url": "https://avatars.githubusercontent.com/u/25875832?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/varshachawan",
"html_url": "https://github.com/varshachawan",
"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 | [] | [
"since transformers 3.4.0 or earlier version tries to install senetencepiece 0.1.94 ( latest) and it fails on this platform\r\nHere is fix I tried \r\n>installation of `sentencepiece==0.1.5` and then transformers installations",
"The issue seems to be with SentencePiece then, rather than with `transformers`.\r\n\... | 1,604 | 1,610 | 1,610 | 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.4.0
- Platform:
```
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8337/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/8337/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8336 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8336/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8336/comments | https://api.github.com/repos/huggingface/transformers/issues/8336/events | https://github.com/huggingface/transformers/pull/8336 | 737,209,501 | MDExOlB1bGxSZXF1ZXN0NTE2MjkxNjI5 | 8,336 | Make Trainer evaluation handle dynamic seq_length | {
"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,604 | 1,604 | 1,604 | COLLABORATOR | null | # What does this PR do?
In token classification problems or language modeling predictions, logits and labels are usually of shape `[batch_size, seq_length, ...]` and if one uses dynamic padding, the `seq_length` might change from batch to batch. This made the evaluate and predict methods of the `Trainer` fail, becau... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8336/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/8336/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8336",
"html_url": "https://github.com/huggingface/transformers/pull/8336",
"diff_url": "https://github.com/huggingface/transformers/pull/8336.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8336.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8335 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8335/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8335/comments | https://api.github.com/repos/huggingface/transformers/issues/8335/events | https://github.com/huggingface/transformers/issues/8335 | 737,147,070 | MDU6SXNzdWU3MzcxNDcwNzA= | 8,335 | Language Model to get only the score of predefined tokens | {
"login": "agombert",
"id": 17645711,
"node_id": "MDQ6VXNlcjE3NjQ1NzEx",
"avatar_url": "https://avatars.githubusercontent.com/u/17645711?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agombert",
"html_url": "https://github.com/agombert",
"followers_url": "https://api.github.com/users/ago... | [
{
"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,604 | 1,613 | 1,610 | NONE | null | # 🚀 Feature request
Hey,
In Masked Language Model such as [TFDistilBertForMaskedLM](https://huggingface.co/transformers/model_doc/distilbert.html#tfdistilbertformaskedlm). The example explains well how to get the scores for [MASK] token. Nevertheless I did not find anything related to scale it up to 50k texts a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8335/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/8335/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8334 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8334/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8334/comments | https://api.github.com/repos/huggingface/transformers/issues/8334/events | https://github.com/huggingface/transformers/pull/8334 | 737,125,895 | MDExOlB1bGxSZXF1ZXN0NTE2MjIxNDQz | 8,334 | Model card: T5-base fine-tuned on QuaRel | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"Nice! => https://huggingface.co/datasets/quarel"
] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8334/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/8334/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8334",
"html_url": "https://github.com/huggingface/transformers/pull/8334",
"diff_url": "https://github.com/huggingface/transformers/pull/8334.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8334.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8333 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8333/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8333/comments | https://api.github.com/repos/huggingface/transformers/issues/8333/events | https://github.com/huggingface/transformers/issues/8333 | 737,123,937 | MDU6SXNzdWU3MzcxMjM5Mzc= | 8,333 | FRCNN in the LXMERT demo outputs different features when using a local image vs. an image from a URL | {
"login": "ecekt",
"id": 16474496,
"node_id": "MDQ6VXNlcjE2NDc0NDk2",
"avatar_url": "https://avatars.githubusercontent.com/u/16474496?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ecekt",
"html_url": "https://github.com/ecekt",
"followers_url": "https://api.github.com/users/ecekt/follow... | [] | closed | false | null | [] | [
"Pinging @eltoto1219 ",
"Hi @eltoto1219 I see that my issue and proposed solution have been mentioned in a more recent issue (#8769), should I follow there for the confirmation?",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addre... | 1,604 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-5.4.0-52-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.4
- PyTorch version (GPU?): 1.6.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8333/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/8333/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8332 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8332/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8332/comments | https://api.github.com/repos/huggingface/transformers/issues/8332/events | https://github.com/huggingface/transformers/issues/8332 | 737,115,868 | MDU6SXNzdWU3MzcxMTU4Njg= | 8,332 | Measuring time when using xla_spawn on multiple cores | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"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 | [] | [
"Hi, I think you should take a look at the [troubleshooting section over at pytorch/xla](https://github.com/pytorch/xla/blob/master/TROUBLESHOOTING.md), it has a lot of information on how to debug on TPU.\r\n\r\nThe metrics report they mention in the first paragraph can be output by the trainer with the `--debug` f... | 1,604 | 1,610 | 1,610 | NONE | null | Hi,
I would like to measure the time of the program, when this is launched in distributed way on mutiple TPU cores with xla_spawn, I tried to write some callback like this which retunrs the same results with num_cores = 1 and 8, I am not sure how to handle it when this is distributed? I want to make sure pytorch XLA i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8332/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/8332/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8331 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8331/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8331/comments | https://api.github.com/repos/huggingface/transformers/issues/8331/events | https://github.com/huggingface/transformers/pull/8331 | 737,092,680 | MDExOlB1bGxSZXF1ZXN0NTE2MTk0ODAz | 8,331 | Flax/Jax documentation | {
"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 | [] | [] | 1,604 | 1,605 | 1,605 | MEMBER | null | Integrating Flax & JAX into transformers documentation | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8331/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/8331/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8331",
"html_url": "https://github.com/huggingface/transformers/pull/8331",
"diff_url": "https://github.com/huggingface/transformers/pull/8331.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8331.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8330 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8330/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8330/comments | https://api.github.com/repos/huggingface/transformers/issues/8330/events | https://github.com/huggingface/transformers/pull/8330 | 737,063,704 | MDExOlB1bGxSZXF1ZXN0NTE2MTcxNjc3 | 8,330 | Docs bart training ref | {
"login": "lvwerra",
"id": 8264887,
"node_id": "MDQ6VXNlcjgyNjQ4ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8264887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lvwerra",
"html_url": "https://github.com/lvwerra",
"followers_url": "https://api.github.com/users/lvwerra/... | [] | closed | false | null | [] | [
"Thanks for the contribution!\r\ncc @LysandreJik "
] | 1,604 | 1,604 | 1,604 | MEMBER | null | # What does this PR do?
Following the discussion on #7828 with @sshleifer and others I created a minimal example on the forum and added a reference to the Bart documentation. Let me know if this works for you. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8330/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/8330/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8330",
"html_url": "https://github.com/huggingface/transformers/pull/8330",
"diff_url": "https://github.com/huggingface/transformers/pull/8330.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8330.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8329 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8329/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8329/comments | https://api.github.com/repos/huggingface/transformers/issues/8329/events | https://github.com/huggingface/transformers/pull/8329 | 737,019,962 | MDExOlB1bGxSZXF1ZXN0NTE2MTM0NDUx | 8,329 | [Seq2SeqDataCollator] dont pass add_prefix_space=False to all tokenizers | {
"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 | [] | [
"We should at some point test whether, for BART, this impacts performance."
] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | T5Tokenizer will warn about an unrecognized kwarg, this fixes that error.
cc @patil-suraj | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8329/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/8329/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8329",
"html_url": "https://github.com/huggingface/transformers/pull/8329",
"diff_url": "https://github.com/huggingface/transformers/pull/8329.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8329.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8328 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8328/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8328/comments | https://api.github.com/repos/huggingface/transformers/issues/8328/events | https://github.com/huggingface/transformers/pull/8328 | 737,004,037 | MDExOlB1bGxSZXF1ZXN0NTE2MTIxMjEx | 8,328 | Return raw outputs in TextClassificationPipeline | {
"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 | [] | [
"Will that flag be configurable on a model-level for the hosted Inference API, and if yes, how?",
"Through the configuration, as specified in the original issue would be the easiest way to control it through the API. Haven't thought about it this far however.\r\n\r\nThe other option would be to disable the `sigmo... | 1,604 | 1,628 | 1,628 | MEMBER | null | Currently the `TextClassificationPipeline` does a softmax over the output values when `num_labels > 1`, and does a sigmoid over the output when `num_labels == 1`.
As seen in https://github.com/huggingface/transformers/issues/8259, this may be problematic when systems depend on a different output range.
Adding a f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8328/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/8328/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8328",
"html_url": "https://github.com/huggingface/transformers/pull/8328",
"diff_url": "https://github.com/huggingface/transformers/pull/8328.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8328.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8327 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8327/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8327/comments | https://api.github.com/repos/huggingface/transformers/issues/8327/events | https://github.com/huggingface/transformers/pull/8327 | 736,975,470 | MDExOlB1bGxSZXF1ZXN0NTE2MDk2ODQ0 | 8,327 | Create README.md | {
"login": "yfpeng",
"id": 2766437,
"node_id": "MDQ6VXNlcjI3NjY0Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2766437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yfpeng",
"html_url": "https://github.com/yfpeng",
"followers_url": "https://api.github.com/users/yfpeng/foll... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8327/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/8327/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8327",
"html_url": "https://github.com/huggingface/transformers/pull/8327",
"diff_url": "https://github.com/huggingface/transformers/pull/8327.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8327.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8326 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8326/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8326/comments | https://api.github.com/repos/huggingface/transformers/issues/8326/events | https://github.com/huggingface/transformers/issues/8326 | 736,966,716 | MDU6SXNzdWU3MzY5NjY3MTY= | 8,326 | Muti GPU training with torch==1.7.0 not working | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"I haven't noticed anything strange on my side, but didn't play much with 1.7 yet. Could you post the code you're using?",
"> Could you post the code you're using?\r\n\r\nThat is not possible - it is some company code. If you have some \"toy\" code maybe you could try it.\r\n\r\nI am using an electra base model. ... | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | Hi,
muti GPU training with torch==1.7.0 is not working.
I have the following configuration:
- CUDA 11.0
- V100 GPU (1 or 4)
- Torch 1.7.0 (1.6.0)
- transformers 3.4.0
- Linux
When I train with one GPU all works. When I run it with 4 GPUs the CPU load goes up to 100% on one core like 1,5 MB memory is used fr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8326/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/8326/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8325 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8325/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8325/comments | https://api.github.com/repos/huggingface/transformers/issues/8325/events | https://github.com/huggingface/transformers/issues/8325 | 736,951,015 | MDU6SXNzdWU3MzY5NTEwMTU= | 8,325 | Adding call back to measure time of each step | {
"login": "cameronalonso2",
"id": 73615224,
"node_id": "MDQ6VXNlcjczNjE1MjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/73615224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cameronalonso2",
"html_url": "https://github.com/cameronalonso2",
"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"
] | 1,604 | 1,610 | 1,610 | NONE | null | Hi
I need to measure the time of each training step, with distributed version of seq2seq_trainer with TPUs, could you provide me with some hints how to measure the time? thanks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8325/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/8325/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8324 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8324/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8324/comments | https://api.github.com/repos/huggingface/transformers/issues/8324/events | https://github.com/huggingface/transformers/pull/8324 | 736,919,789 | MDExOlB1bGxSZXF1ZXN0NTE2MDQ5ODUw | 8,324 | Model versioning | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"id": 1802861720,
"node_id": "MDU6TGFiZWwxODAyODYxNzIw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20CLI",
"name": "Core: CLI",
"color": "FF6426",
"default": false,
"description": ""
},
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ... | closed | false | null | [] | [
"LGTM!",
"When this PR is merged, how do I modify:\r\n```\r\n data_cached = cached_path(\r\n \"https://cdn-datasets.huggingface.co/translation/wmt_en_ro-tr40k-va0.5k-te0.5k.tar.gz\",\r\n extract_compressed_file=True,\r\n )\r\n```\r\nto take advantage of this new API? https://g... | 1,604 | 1,605 | 1,605 | MEMBER | null | **Write-up about the context for this change, and the enabled features is at https://discuss.huggingface.co/t/announcement-model-versioning-upcoming-changes-to-the-model-hub/1914**
In short:
1. changes to the file downloading code used in `from_pretrained()` methods to use the new file URLs backed by huggingface-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8324/reactions",
"total_count": 7,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 7,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8324/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8324",
"html_url": "https://github.com/huggingface/transformers/pull/8324",
"diff_url": "https://github.com/huggingface/transformers/pull/8324.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8324.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8323 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8323/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8323/comments | https://api.github.com/repos/huggingface/transformers/issues/8323/events | https://github.com/huggingface/transformers/issues/8323 | 736,911,935 | MDU6SXNzdWU3MzY5MTE5MzU= | 8,323 | AlbertTransformer head_mask not subscriptable error when not passed | {
"login": "baeseongsu",
"id": 32122993,
"node_id": "MDQ6VXNlcjMyMTIyOTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/32122993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baeseongsu",
"html_url": "https://github.com/baeseongsu",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@LysandreJik Could I put this issue on PR?",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggi... | 1,604 | 1,620 | 1,620 | 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.4.0
- Platform: Linux version 4.4.0-193-generic / ubuntu
- Python version: 3.6.5
- PyTorch version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8323/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/8323/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8322 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8322/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8322/comments | https://api.github.com/repos/huggingface/transformers/issues/8322/events | https://github.com/huggingface/transformers/issues/8322 | 736,911,799 | MDU6SXNzdWU3MzY5MTE3OTk= | 8,322 | Keyword arguments {'add_prefix_space': False} not recognized. | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"Hi @rabeehkarimimahabadi. Could you please respect the issue template when opening issues? It is necessary for us to help you, otherwise we'll have to ask again and again for you to provide more information.\r\n\r\nPlease complete the issue template with the information related to your environment, to the command ... | 1,604 | 1,604 | 1,604 | NONE | null | Hi
I am getting this message when running finetune_trainer.py on TPUs any idea how to remove it? thanks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8322/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/8322/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.