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/7921
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7921/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7921/comments
https://api.github.com/repos/huggingface/transformers/issues/7921/events
https://github.com/huggingface/transformers/pull/7921
725,227,532
MDExOlB1bGxSZXF1ZXN0NTA2NDkzNzQx
7,921
[testing] experiment with a different way of skipping torch-only test modules
{ "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
[]
[ "Great! \r\n\r\nDo you want for us to make this a \"model\" file first, merge it, see how it feels and then replicate to the rest? Or should I just proceed with the rest?\r\n", "I think you ca just proceed.", "Bummer! If I make it into a function and thus remove `if ...` - isort and flake now complain:\r\n```\r...
1,603
1,603
1,603
CONTRIBUTOR
null
This is an experiment. I was getting irked by `require_pytorch` followed by yet another `if is_torch_available()` code in many test modules, specifically this part: ``` @require_torch class BARTModelTest(ModelTesterMixin, unittest.TestCase): all_model_classes = ( (BartModel, BartForConditionalGen...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7921/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/7921/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7921", "html_url": "https://github.com/huggingface/transformers/pull/7921", "diff_url": "https://github.com/huggingface/transformers/pull/7921.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7921.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7920
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7920/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7920/comments
https://api.github.com/repos/huggingface/transformers/issues/7920/events
https://github.com/huggingface/transformers/issues/7920
725,121,971
MDU6SXNzdWU3MjUxMjE5NzE=
7,920
what's the values of start_positon and end_position while the answer is impossible in run_squad.py
{ "login": "ppyu", "id": 32732750, "node_id": "MDQ6VXNlcjMyNzMyNzUw", "avatar_url": "https://avatars.githubusercontent.com/u/32732750?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ppyu", "html_url": "https://github.com/ppyu", "followers_url": "https://api.github.com/users/ppyu/followers"...
[ { "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,603
1,608
1,608
NONE
null
# ❓ Questions & Help ### Details I want to know what's the values of `start_positon` and `end_position` while the answer is **impossible** in `run_squad.py`. `start_positions = end_postions = -1` OR `start_positions = end_postions = 0`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7920/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7920/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7919
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7919/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7919/comments
https://api.github.com/repos/huggingface/transformers/issues/7919/events
https://github.com/huggingface/transformers/pull/7919
725,000,493
MDExOlB1bGxSZXF1ZXN0NTA2Mjk4OTkw
7,919
Expose the Flax code quality problems
{ "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,603
1,605
1,603
COLLABORATOR
null
# What does this PR do? This PR is just there to expose the problems related to the code quality with objects introduced in the flax PR. #7914 contains a fix to a few of them, maybe all.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7919/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7919/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7919", "html_url": "https://github.com/huggingface/transformers/pull/7919", "diff_url": "https://github.com/huggingface/transformers/pull/7919.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7919.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7918
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7918/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7918/comments
https://api.github.com/repos/huggingface/transformers/issues/7918/events
https://github.com/huggingface/transformers/pull/7918
724,997,892
MDExOlB1bGxSZXF1ZXN0NTA2Mjk2NzM4
7,918
Add Flax dummy objects
{ "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,603
1,603
1,603
COLLABORATOR
null
# What does this PR do? Following the first JAX models, this PR adds the dummy objects to make sure the library always has the same objects available. cc @mfuntowicz for information
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7918/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7918/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7918", "html_url": "https://github.com/huggingface/transformers/pull/7918", "diff_url": "https://github.com/huggingface/transformers/pull/7918.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7918.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7917
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7917/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7917/comments
https://api.github.com/repos/huggingface/transformers/issues/7917/events
https://github.com/huggingface/transformers/pull/7917
724,983,176
MDExOlB1bGxSZXF1ZXN0NTA2Mjg0MTgw
7,917
New run glue script
{ "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
[]
[ "Should we start thinking about automating the creation of the metadata block for the model's model card?\r\n\r\nhere for instance we'd already have this info:\r\n```\r\n---\r\ndatasets:\r\n- mrpc\r\nmetrics:\r\n- f1\r\nfinetuned_from: bert-base-cased\r\n---\r\n```", "We could think of something like that and add...
1,603
1,603
1,603
COLLABORATOR
null
# What does this PR do? This PR cleans up the `run_glue.py` script to use the Datasets library. Along the way it adds a few fixes in Trainer. The script supports all glue tasks as well as custom user tasks (passed along with a training and validation file in csv or json format). It has been tested on the following s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7917/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7917/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7917", "html_url": "https://github.com/huggingface/transformers/pull/7917", "diff_url": "https://github.com/huggingface/transformers/pull/7917.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7917.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7916
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7916/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7916/comments
https://api.github.com/repos/huggingface/transformers/issues/7916/events
https://github.com/huggingface/transformers/issues/7916
724,934,592
MDU6SXNzdWU3MjQ5MzQ1OTI=
7,916
TypeError: __init__() got an unexpected keyword argument 'vocab_file' in transformers/tokenization_gpt2.py", line 380
{ "login": "memray", "id": 4197249, "node_id": "MDQ6VXNlcjQxOTcyNDk=", "avatar_url": "https://avatars.githubusercontent.com/u/4197249?v=4", "gravatar_id": "", "url": "https://api.github.com/users/memray", "html_url": "https://github.com/memray", "followers_url": "https://api.github.com/users/memray/foll...
[]
closed
false
null
[]
[ "same issue", "Hello! I think this is due to a mismatch between your `transformers` and `tokenizers` versions. `transformers` version v3.3.1 expects `tokenizers == 0.8.1.rc2`.\r\n\r\nIf you want to use `tokenizers == 0.9.2` you should work on the current `master` branch or wait for version v3.4.0 which should be ...
1,603
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.3.1 - `tokenizers` version: 0.9.2 - Platform: Linux-3.10.0-1062.4.1.el7.x86_64-x86_64-with-redhat-7.7-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7916/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7916/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7915
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7915/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7915/comments
https://api.github.com/repos/huggingface/transformers/issues/7915/events
https://github.com/huggingface/transformers/pull/7915
724,924,442
MDExOlB1bGxSZXF1ZXN0NTA2MjM0NjUw
7,915
[EncoderDecoder] Fix Typo
{ "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,603
1,603
1,603
MEMBER
null
# What does this PR do? Remove dead code ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-re...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7915/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7915/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7915", "html_url": "https://github.com/huggingface/transformers/pull/7915", "diff_url": "https://github.com/huggingface/transformers/pull/7915.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7915.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7914
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7914/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7914/comments
https://api.github.com/repos/huggingface/transformers/issues/7914/events
https://github.com/huggingface/transformers/pull/7914
724,913,489
MDExOlB1bGxSZXF1ZXN0NTA2MjI1NTUy
7,914
[flax] fix repo_check
{ "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 don't understand why you have a problem. `make quality` runs fine for me on master (and the CI is also happy).\r\n\r\n**Edit:** Not saying that this is useless, I just want to understand why it fails for you and not for me :-)", "Something is wrong on your side and CI. \r\n\r\n`check_repo.py` actually did its ...
1,603
1,603
1,603
CONTRIBUTOR
null
Unless, this is actually a problem, this PR adds `modeling_flax_utils` to ignore list. otherwise currently it expects to have `tests/test_modeling_flax_utils.py` for this module. It also adds the 2 new tests that don't run common tests to `TEST_FILES_WITH_NO_COMMON_TESTS` For context please see: https://github.c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7914/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7914/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7914", "html_url": "https://github.com/huggingface/transformers/pull/7914", "diff_url": "https://github.com/huggingface/transformers/pull/7914.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7914.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7913
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7913/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7913/comments
https://api.github.com/repos/huggingface/transformers/issues/7913/events
https://github.com/huggingface/transformers/issues/7913
724,911,905
MDU6SXNzdWU3MjQ5MTE5MDU=
7,913
`add_prefix_space=True` option in the BPE tokenizer
{ "login": "h56cho", "id": 52889259, "node_id": "MDQ6VXNlcjUyODg5MjU5", "avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h56cho", "html_url": "https://github.com/h56cho", "followers_url": "https://api.github.com/users/h56cho/fo...
[ { "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,603
1,608
1,608
NONE
null
Hello, I understand that when I add the `add_prefix_space=True` option in the BPE tokenizer statement, the tokenizer will add a space in the beginning of every sequence. Is there some specific advantages of using the `add_prefix_space=True` option for BPE tokenizer (compared to when I don't use the option), given t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7913/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7913/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7912
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7912/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7912/comments
https://api.github.com/repos/huggingface/transformers/issues/7912/events
https://github.com/huggingface/transformers/issues/7912
724,880,522
MDU6SXNzdWU3MjQ4ODA1MjI=
7,912
run_tf_text_classification.py giving "ValueError: too many values to unpack"
{ "login": "Santosh-Gupta", "id": 5524261, "node_id": "MDQ6VXNlcjU1MjQyNjE=", "avatar_url": "https://avatars.githubusercontent.com/u/5524261?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Santosh-Gupta", "html_url": "https://github.com/Santosh-Gupta", "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
[]
[ "Hey, I am getting the same error. \r\n\r\nI am using a three column CSV file which looks like this,\r\n\r\ndata.csv\r\nlabel,sent1,sent2\r\n0,he,so\r\n1,yes,why\r\n\r\nAny help would be appreciated. ", "The error is caused by the following function\r\n`\r\ntransformed_ds[k] = ds[k].map(\r\n lambda...
1,603
1,614
1,614
CONTRIBUTOR
null
I am trying to run this script for token classification https://github.com/huggingface/transformers/blob/master/examples/text-classification/run_tf_text_classification.py Accoring to the instructions here https://github.com/huggingface/transformers/tree/master/examples/text-classification I formatted the d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7912/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7912/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7911
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7911/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7911/comments
https://api.github.com/repos/huggingface/transformers/issues/7911/events
https://github.com/huggingface/transformers/pull/7911
724,842,275
MDExOlB1bGxSZXF1ZXN0NTA2MTY1MTUw
7,911
[Docstring] fix t5 training docstring
{ "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,603
1,603
1,603
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/7911/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7911/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7911", "html_url": "https://github.com/huggingface/transformers/pull/7911", "diff_url": "https://github.com/huggingface/transformers/pull/7911.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7911.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7910
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7910/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7910/comments
https://api.github.com/repos/huggingface/transformers/issues/7910/events
https://github.com/huggingface/transformers/issues/7910
724,771,520
MDU6SXNzdWU3MjQ3NzE1MjA=
7,910
[T5] Ignore sentinel indices for unsupervised denoising / masking objective?
{ "login": "ahoho", "id": 13487685, "node_id": "MDQ6VXNlcjEzNDg3Njg1", "avatar_url": "https://avatars.githubusercontent.com/u/13487685?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ahoho", "html_url": "https://github.com/ahoho", "followers_url": "https://api.github.com/users/ahoho/follow...
[]
closed
false
null
[]
[ "Hey @ahoho - good question! \r\n\r\nI'm pretty confident that you should mask all sentinel tokens (with -100) and only compute the loss the \"real\" labels being \"cute dog\", \"the\" and \"</s>\". \r\n\r\nAlso they are definitely not automatically ignored as is done for the pad_token_id in `examples/seq2seq`\r\n...
1,603
1,643
1,603
NONE
null
The [docs](https://huggingface.co/transformers/model_doc/t5.html#training) state that the masked language modeling objective is simply ``` input_ids = tokenizer.encode('The <extra_id_0> walks in <extra_id_1> park', return_tensors='pt') labels = tokenizer.encode('<extra_id_0> cute dog <extra_id_1> the <extra_id_2> ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7910/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7910/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7909
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7909/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7909/comments
https://api.github.com/repos/huggingface/transformers/issues/7909/events
https://github.com/huggingface/transformers/issues/7909
724,749,987
MDU6SXNzdWU3MjQ3NDk5ODc=
7,909
pegasus/cnn_dm 12-2 distillation performing poorly
{ "login": "karthikgali", "id": 12197213, "node_id": "MDQ6VXNlcjEyMTk3MjEz", "avatar_url": "https://avatars.githubusercontent.com/u/12197213?v=4", "gravatar_id": "", "url": "https://api.github.com/users/karthikgali", "html_url": "https://github.com/karthikgali", "followers_url": "https://api.github.com/...
[ { "id": 2368374212, "node_id": "MDU6TGFiZWwyMzY4Mzc0MjEy", "url": "https://api.github.com/repos/huggingface/transformers/labels/pegasus", "name": "pegasus", "color": "1f76a8", "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...
[ "I would also try without `--fp16`", "Sure @sshleifer I will try without `--fp16` and update the results here. Thanks for looking into this.", "Hi @sshleifer \r\n\r\nI ran the below command for distillation (without --fp16 as you suggested):\r\n`python finetune.py --learning_rate=3e-5 --do_train --do_predict --...
1,603
1,603
1,603
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: Linux-5.4.0-1028-aws-x86_64-with-debian-buster-sid - Python version: 3.7.6 - PyTorch ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7909/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7909/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7908
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7908/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7908/comments
https://api.github.com/repos/huggingface/transformers/issues/7908/events
https://github.com/huggingface/transformers/issues/7908
724,725,973
MDU6SXNzdWU3MjQ3MjU5NzM=
7,908
[Model] M2M-100 Multilingual machine translation
{ "login": "flozi00", "id": 47894090, "node_id": "MDQ6VXNlcjQ3ODk0MDkw", "avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4", "gravatar_id": "", "url": "https://api.github.com/users/flozi00", "html_url": "https://github.com/flozi00", "followers_url": "https://api.github.com/users/flozi0...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
closed
false
null
[]
[ "This model is very big. Is there a good way to prune it?", "Moving to #8054 which is a duplicate (that I created)!", "> This model is very big. Is there a good way to prune it?\r\n\r\n@Bachstelze Did you find any ways to distill or prune such a large model?", "@robotsp \r\nThere is a smaller version: https:/...
1,603
1,676
1,604
CONTRIBUTOR
null
# 🌟 New model addition ## Model description Facebook AI is introducing, M2M-100 the first multilingual machine translation (MMT) model that translates between any pair of 100 languages without relying on English data. <!-- Important information --> ## Open source status * [x] the model implementation is...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7908/reactions", "total_count": 16, "+1": 16, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7908/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7907
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7907/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7907/comments
https://api.github.com/repos/huggingface/transformers/issues/7907/events
https://github.com/huggingface/transformers/issues/7907
724,706,830
MDU6SXNzdWU3MjQ3MDY4MzA=
7,907
Reproducing Bart Xsum from Bart Large
{ "login": "swethmandava", "id": 17828952, "node_id": "MDQ6VXNlcjE3ODI4OTUy", "avatar_url": "https://avatars.githubusercontent.com/u/17828952?v=4", "gravatar_id": "", "url": "https://api.github.com/users/swethmandava", "html_url": "https://github.com/swethmandava", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "I don't know the answer to this question. Your numbers are close enough that all I can suggest is to either try fairseq's [command](https://github.com/pytorch/fairseq/blob/master/examples/bart/README.summarization.md#4-fine-tuning-on-cnn-dm-summarization-task) or look at differences between our command and fairseq...
1,603
1,651
1,606
CONTRIBUTOR
null
Summarization: @sshleifer Bart: @sshleifer ## Information I'm trying to finetune bart large for Xsum and unable to reproduce the results from the paper. When I try eval with facebook/bart-large-xsum, I get R1=45.3595, RLSum=37.1717 so I assume my eval script is working ok. For finetuning bart large, I use t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7907/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7907/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7906
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7906/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7906/comments
https://api.github.com/repos/huggingface/transformers/issues/7906/events
https://github.com/huggingface/transformers/pull/7906
724,692,102
MDExOlB1bGxSZXF1ZXN0NTA2MDM5MDM3
7,906
labels and decoder_input_ids to Glossary
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
MEMBER
null
Completes the glossary with entries for `labels` and `decoder_input_ids`. Closes https://github.com/huggingface/transformers/issues/7865 Pinging @sshleifer and @patrickvonplaten for advice regarding the `decoder_input_ids`, @sgugger for docs.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7906/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7906/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7906", "html_url": "https://github.com/huggingface/transformers/pull/7906", "diff_url": "https://github.com/huggingface/transformers/pull/7906.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7906.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7905
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7905/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7905/comments
https://api.github.com/repos/huggingface/transformers/issues/7905/events
https://github.com/huggingface/transformers/issues/7905
724,678,014
MDU6SXNzdWU3MjQ2NzgwMTQ=
7,905
[RAG] How to extract generated strings from `RetrievAugLMMarginOutput`
{ "login": "lalitpagaria", "id": 19303690, "node_id": "MDQ6VXNlcjE5MzAzNjkw", "avatar_url": "https://avatars.githubusercontent.com/u/19303690?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lalitpagaria", "html_url": "https://github.com/lalitpagaria", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@patrickvonplaten can you please help", "Hey @lalitpagaria,\r\n\r\nUsing embedding, retrieval and generation separately for RagSequence is not yet available sadly.\r\nYou should take a look into the `generate()` function of `RagSequenceForGeneration` for more detail on how to run it separately yourself.", "Tha...
1,603
1,603
1,603
CONTRIBUTOR
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/7905/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7905/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7904
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7904/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7904/comments
https://api.github.com/repos/huggingface/transformers/issues/7904/events
https://github.com/huggingface/transformers/issues/7904
724,667,347
MDU6SXNzdWU3MjQ2NjczNDc=
7,904
T5 Docs training example has shifted labels
{ "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
[]
[ "Hey Sam, it looks like the labels in the example you quoted are not shifted - can you be more specific about you think the labels are shifted?", "yes, I think the `labels` should be unshifted here (i.e `labels` should be same as `input_ids`) since `shift_right` takes care of preparing shifted `decoder_input_ids`...
1,603
1,603
1,603
CONTRIBUTOR
null
https://github.com/huggingface/transformers/blob/master/docs/source/model_doc/t5.rst#L42 Here is that link quoted: #### Unsupervised denoising training In teacher-forcing style, the target sequence is then appended by the EOS token and corresponds to the `labels`. In this setup spans of the input sequence ar...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7904/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7904/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7903
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7903/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7903/comments
https://api.github.com/repos/huggingface/transformers/issues/7903/events
https://github.com/huggingface/transformers/pull/7903
724,625,838
MDExOlB1bGxSZXF1ZXN0NTA1OTgwNjE4
7,903
Modelling Encoder-Decoder | Error :- `decoder_config` used before intialisation
{ "login": "ayubSubhaniya", "id": 20911334, "node_id": "MDQ6VXNlcjIwOTExMzM0", "avatar_url": "https://avatars.githubusercontent.com/u/20911334?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ayubSubhaniya", "html_url": "https://github.com/ayubSubhaniya", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[ "@patrickvonplaten @sgugger, please review", "Great catch @ayubSubhaniya !" ]
1,603
1,603
1,603
CONTRIBUTOR
null
Getting error when sending `decoder_config` as a parameter while initializing an encoder-decoder model from pretrained. # What does this PR do? fixes "UnboundLocalError: local variable 'decoder_config' referenced before assignment" ## Who can review? @patrickvonplaten @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7903/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7903/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7903", "html_url": "https://github.com/huggingface/transformers/pull/7903", "diff_url": "https://github.com/huggingface/transformers/pull/7903.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7903.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7902
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7902/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7902/comments
https://api.github.com/repos/huggingface/transformers/issues/7902/events
https://github.com/huggingface/transformers/pull/7902
724,596,084
MDExOlB1bGxSZXF1ZXN0NTA1OTU1NjA1
7,902
change TokenClassificationTask class methods to static methods
{ "login": "donchev7", "id": 11960967, "node_id": "MDQ6VXNlcjExOTYwOTY3", "avatar_url": "https://avatars.githubusercontent.com/u/11960967?v=4", "gravatar_id": "", "url": "https://api.github.com/users/donchev7", "html_url": "https://github.com/donchev7", "followers_url": "https://api.github.com/users/don...
[]
closed
false
null
[]
[ "But why doesn't this PR trigger a CI test? @LysandreJik ", "I have no idea, this is the second time it happens. I sent an empty commit on your branch to trigger the build @donchev7.", "Pinging @stefan-it for review." ]
1,603
1,604
1,604
CONTRIBUTOR
null
Since we do not require self in the class methods of TokenClassificationTask we should probably switch to static methods. Also, since the class TokenClassificationTask does not contain a constructor it is currently unusable as is. By switching to static methods this fixes the issue of having to document the intent of t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7902/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7902/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7902", "html_url": "https://github.com/huggingface/transformers/pull/7902", "diff_url": "https://github.com/huggingface/transformers/pull/7902.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7902.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7901
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7901/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7901/comments
https://api.github.com/repos/huggingface/transformers/issues/7901/events
https://github.com/huggingface/transformers/issues/7901
724,539,472
MDU6SXNzdWU3MjQ1Mzk0NzI=
7,901
GPT2Tokenizer strips spaces surrounding special tokens
{ "login": "jantrienes", "id": 12009072, "node_id": "MDQ6VXNlcjEyMDA5MDcy", "avatar_url": "https://avatars.githubusercontent.com/u/12009072?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jantrienes", "html_url": "https://github.com/jantrienes", "followers_url": "https://api.github.com/use...
[]
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", "The issue is still present.", "This issue has been automatically marked as stale because it has not had recent activity. If you think...
1,603
1,654
1,621
NONE
null
## Environment info - `transformers` version: 3.3.1 - Platform: Darwin-19.6.0-x86_64-i386-64bit - Python version: 3.7.9 - 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 ### Who can he...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7901/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7901/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7900
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7900/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7900/comments
https://api.github.com/repos/huggingface/transformers/issues/7900/events
https://github.com/huggingface/transformers/issues/7900
724,473,717
MDU6SXNzdWU3MjQ0NzM3MTc=
7,900
example for passage re-ranking using bert-multilingual-passage-reranking-msmarco
{ "login": "vyaslkv", "id": 33617789, "node_id": "MDQ6VXNlcjMzNjE3Nzg5", "avatar_url": "https://avatars.githubusercontent.com/u/33617789?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vyaslkv", "html_url": "https://github.com/vyaslkv", "followers_url": "https://api.github.com/users/vyaslk...
[ { "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,603
1,608
1,608
NONE
null
can you give me a working example this `from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("amberoad/bert-multilingual-passage-reranking-msmarco") model = AutoModelForSequenceClassification.from_pretrained("amberoad/bert-multilingual-passage-rer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7900/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/7900/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7899
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7899/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7899/comments
https://api.github.com/repos/huggingface/transformers/issues/7899/events
https://github.com/huggingface/transformers/pull/7899
724,459,086
MDExOlB1bGxSZXF1ZXN0NTA1ODQxODAw
7,899
Create README.md
{ "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
[]
[]
1,603
1,603
1,603
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/7899/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7899/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7899", "html_url": "https://github.com/huggingface/transformers/pull/7899", "diff_url": "https://github.com/huggingface/transformers/pull/7899.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7899.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7898
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7898/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7898/comments
https://api.github.com/repos/huggingface/transformers/issues/7898/events
https://github.com/huggingface/transformers/issues/7898
724,428,508
MDU6SXNzdWU3MjQ0Mjg1MDg=
7,898
[EncoderDecoder] google/roberta2roberta_L-24_wikisplit
{ "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
{ "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...
[ "Confirmed by author that BOS and EOS have to be added -> fixed in https://github.com/huggingface/transformers/commit/0724c0f3a2d302246d0bd0b7d2f721fa902dee1b." ]
1,603
1,603
1,603
MEMBER
null
It seems like `google/roberta2roberta_L-24_wikisplit` should be pre-processed differently than originally thought: ```python from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("google/roberta2roberta_L-24_wikisplit") model = AutoModelForSeq2SeqLM.from_pretrai...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7898/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/7898/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7897
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7897/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7897/comments
https://api.github.com/repos/huggingface/transformers/issues/7897/events
https://github.com/huggingface/transformers/issues/7897
724,375,221
MDU6SXNzdWU3MjQzNzUyMjE=
7,897
GPT2Tokenizer.add_tokens() didnt change tokenizer.vocab_size
{ "login": "Makigumoe", "id": 29876156, "node_id": "MDQ6VXNlcjI5ODc2MTU2", "avatar_url": "https://avatars.githubusercontent.com/u/29876156?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Makigumoe", "html_url": "https://github.com/Makigumoe", "followers_url": "https://api.github.com/users/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,603
1,608
1,608
NONE
null
follow the instruction in add_tokens() code: special_tokens = ['<pad>', '<go_r>', '<unk>', '<go_b>', '<go_a>', '<go_u>', ] num_added_toks = tokenizer.add_tokens(special_tokens) print('We have added', num_added_toks, 'tokens') it can successfully encode and decode the newly added tokens, but the GPT2Tokenizer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7897/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7897/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7896
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7896/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7896/comments
https://api.github.com/repos/huggingface/transformers/issues/7896/events
https://github.com/huggingface/transformers/issues/7896
724,244,101
MDU6SXNzdWU3MjQyNDQxMDE=
7,896
Bert2bert EncoderDecoderModel from Huggingface is generating a zero tensor for any input
{ "login": "Aakash12980", "id": 33715594, "node_id": "MDQ6VXNlcjMzNzE1NTk0", "avatar_url": "https://avatars.githubusercontent.com/u/33715594?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Aakash12980", "html_url": "https://github.com/Aakash12980", "followers_url": "https://api.github.com/...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hey @Aakash12980,\r\n\r\nCould you please provide a complete code examples with which I can reproduce the results? Did you train the model yourself or did you use a pretrained model? (Which one in case you did?)", "> Hey @Aakash12980,\r\n> \r\n> Could you please provide a complete code examples with which I can ...
1,603
1,609
1,609
NONE
null
I am using Bert2Bert EncoderDecoderModel from Huggingface for sentence simplification. But my model is generating a zero tensor of the same length regardless of the input. Could someone help me what is wrong in my project. The GitHub link of my project is this https://github.com/Aakash12980/Sentence-Simplification-usin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7896/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7896/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7895
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7895/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7895/comments
https://api.github.com/repos/huggingface/transformers/issues/7895/events
https://github.com/huggingface/transformers/pull/7895
724,184,781
MDExOlB1bGxSZXF1ZXN0NTA1NjE2Nzc3
7,895
[testing] slow tests should be marked as slow
{ "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 common tests to be marked slow, the slowest iteration of that common test must be > 15s.\r\n\r\nThis one probably needs to be more specific, if for a normal test we decide a threshold of 5s, and you get a common test runs like: 14s, 13, 13, 12s - this is still too slow. perhaps an average of all commont test...
1,603
1,603
1,603
CONTRIBUTOR
null
As discussed in https://github.com/huggingface/transformers/issues/7885 this is an effort to make the test suite manageable execution time-wise, as the number of tests is growing and it takes much longer to complete the tests on CI. * [x] document and set a standard for when a test needs to be marked as `@slow` * [...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7895/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7895/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7895", "html_url": "https://github.com/huggingface/transformers/pull/7895", "diff_url": "https://github.com/huggingface/transformers/pull/7895.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7895.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7894
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7894/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7894/comments
https://api.github.com/repos/huggingface/transformers/issues/7894/events
https://github.com/huggingface/transformers/issues/7894
724,184,530
MDU6SXNzdWU3MjQxODQ1MzA=
7,894
AdamW
{ "login": "guoxuxu", "id": 29363464, "node_id": "MDQ6VXNlcjI5MzYzNDY0", "avatar_url": "https://avatars.githubusercontent.com/u/29363464?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guoxuxu", "html_url": "https://github.com/guoxuxu", "followers_url": "https://api.github.com/users/guoxux...
[]
closed
false
null
[]
[ "Hi, yes, this is a warning, nothing you should be afraid of." ]
1,603
1,603
1,603
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! --> Using AdamW of transformers 2.5.1 or 2.6.0, I got the following: /home/user/anaconda3/lib/python3.7/site-packages/transformers/optimi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7894/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7894/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7893
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7893/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7893/comments
https://api.github.com/repos/huggingface/transformers/issues/7893/events
https://github.com/huggingface/transformers/issues/7893
724,181,941
MDU6SXNzdWU3MjQxODE5NDE=
7,893
pip install transformers by default install 2.5.1
{ "login": "guoxuxu", "id": 29363464, "node_id": "MDQ6VXNlcjI5MzYzNDY0", "avatar_url": "https://avatars.githubusercontent.com/u/29363464?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guoxuxu", "html_url": "https://github.com/guoxuxu", "followers_url": "https://api.github.com/users/guoxux...
[ { "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
[]
[ "Running `pip install transformers` installs the latest version for me. Which pip version are you running on?\r\n\r\nYou can install both cpu or gpu for tensorflow, if you want to run on a cpu or a gpu.", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed ...
1,603
1,608
1,608
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! --> https://huggingface.co/transformers/installation.html Running '''pip install transformers''' by default installs 2.5.1 Could y...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7893/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7893/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7892
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7892/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7892/comments
https://api.github.com/repos/huggingface/transformers/issues/7892/events
https://github.com/huggingface/transformers/issues/7892
724,172,254
MDU6SXNzdWU3MjQxNzIyNTQ=
7,892
Issue with XLM-R for multiple-choice questions
{ "login": "danyaljj", "id": 2441454, "node_id": "MDQ6VXNlcjI0NDE0NTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/2441454?v=4", "gravatar_id": "", "url": "https://api.github.com/users/danyaljj", "html_url": "https://github.com/danyaljj", "followers_url": "https://api.github.com/users/danya...
[ { "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
[]
[ "Thanks for reporting, will investigate.", "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 @danyaljj and @LysandreJik I have the same issue. Are there any suggestions for runnin...
1,603
1,610
1,608
CONTRIBUTOR
null
Hi there, I am not able to reasonable numbers with XLM models ("xlm-roberta-base" "xlm-roberta-large") when I test them on [multiple choice questions](https://github.com/huggingface/transformers/tree/master/examples/multiple-choice). I suspect that it's related to issue #7774. ## Environment info <!-- You ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7892/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7892/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7891
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7891/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7891/comments
https://api.github.com/repos/huggingface/transformers/issues/7891/events
https://github.com/huggingface/transformers/pull/7891
724,132,905
MDExOlB1bGxSZXF1ZXN0NTA1NTcxNDE5
7,891
[RAG] Propagating of n_docs as parameter to all RagModel's related functions
{ "login": "lalitpagaria", "id": 19303690, "node_id": "MDQ6VXNlcjE5MzAzNjkw", "avatar_url": "https://avatars.githubusercontent.com/u/19303690?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lalitpagaria", "html_url": "https://github.com/lalitpagaria", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@lhoestq would be great if you can review as well", "@patrickvonplaten Thanks for the review.\r\n\r\nwhile working on this PR I found that in `RagTokenForGeneration` we are computing `batch_size` as follows -\r\n```\r\nbatch_size = context_input_ids.shape[0] // n_docs\r\n```\r\nSo still issue can come when `((co...
1,603
1,603
1,603
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 th...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7891/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7891/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7891", "html_url": "https://github.com/huggingface/transformers/pull/7891", "diff_url": "https://github.com/huggingface/transformers/pull/7891.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7891.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7890
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7890/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7890/comments
https://api.github.com/repos/huggingface/transformers/issues/7890/events
https://github.com/huggingface/transformers/pull/7890
724,097,360
MDExOlB1bGxSZXF1ZXN0NTA1NTQxNzYy
7,890
[wip] improved github actions workflow
{ "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
[]
[ "@sshleifer, I don't think I can do anything here w/o repo permissions. I have no access to the runners.\r\n\r\nhttps://github.com/stas00/transformers/actions/runs/319165633\r\n\r\n> No runner matching the specified labels was found: self-hosted, multi-gpu", "github is so borked! It now won't let me delete the ne...
1,603
1,603
1,603
CONTRIBUTOR
null
This is a WIP work on https://github.com/huggingface/transformers/issues/7887
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7890/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7890/timeline
null
true
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7890", "html_url": "https://github.com/huggingface/transformers/pull/7890", "diff_url": "https://github.com/huggingface/transformers/pull/7890.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7890.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7889
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7889/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7889/comments
https://api.github.com/repos/huggingface/transformers/issues/7889/events
https://github.com/huggingface/transformers/issues/7889
724,088,895
MDU6SXNzdWU3MjQwODg4OTU=
7,889
from_pretrained incompatible with the models being downloaded
{ "login": "sebastianbujwid", "id": 11908481, "node_id": "MDQ6VXNlcjExOTA4NDgx", "avatar_url": "https://avatars.githubusercontent.com/u/11908481?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sebastianbujwid", "html_url": "https://github.com/sebastianbujwid", "followers_url": "https://api...
[]
closed
false
null
[]
[ "I let @LysandreJik answer about the model but I have a tangential question I love to have some information about @sebastianbujwid (we may be able to help):\r\nWhy is it not possible for you to update transformers past the 2.3.0 version?", "Hello! Indeed, there has been an issue with the TF ALBERT model that has ...
1,603
1,615
1,603
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: 2.3.0 - Platform: Linux - Python version: 3.7.7 ### Who can help <!-- Your issue will be replied to ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7889/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7889/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7888
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7888/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7888/comments
https://api.github.com/repos/huggingface/transformers/issues/7888/events
https://github.com/huggingface/transformers/pull/7888
724,083,940
MDExOlB1bGxSZXF1ZXN0NTA1NTI5Njky
7,888
[tests] fix slow bart cnn test, faster marian tests
{ "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
[]
[ "Merging as this just fixes tests." ]
1,603
1,603
1,603
CONTRIBUTOR
null
+ bart slow cnn test needs to not consider special tokens + Marian integration tests run `setupClass`, which downloads a tokenizer, even if they are skipped. By moving that logic to skipped property, we can save 40s of useless tokenizer downloads. cc @stas00
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7888/reactions", "total_count": 2, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7888/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7888", "html_url": "https://github.com/huggingface/transformers/pull/7888", "diff_url": "https://github.com/huggingface/transformers/pull/7888.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7888.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7887
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7887/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7887/comments
https://api.github.com/repos/huggingface/transformers/issues/7887/events
https://github.com/huggingface/transformers/issues/7887
724,081,873
MDU6SXNzdWU3MjQwODE4NzM=
7,887
Github actions: more readable/informative output
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1108649053, "node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz", "url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted", "name": "Help wanted", "color": "008672", "default": false, "description": "Extra attention is needed, help appreciated" }, { "id": 1834...
closed
false
null
[]
[ "I will surely give it a try, @sshleifer ", "So the idea of running my own gh action didn't quite work https://github.com/huggingface/transformers/pull/7890 as I don't have the right permissions to do so.\r\n\r\nBut that doesn't mean this issue can't be worked on.\r\n\r\n# Making information easier/quicker to fin...
1,603
1,603
1,603
CONTRIBUTOR
null
### TLDR The goal of this Issue is to make the output of https://github.com/huggingface/transformers/runs/1269744369?check_suite_focus=true more readable, without changing the fact that the job failed. #### Current Workflow: I randomly remember to check github actions every 3 days, scroll a long way to see what ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7887/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7887/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7886
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7886/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7886/comments
https://api.github.com/repos/huggingface/transformers/issues/7886/events
https://github.com/huggingface/transformers/issues/7886
724,079,546
MDU6SXNzdWU3MjQwNzk1NDY=
7,886
Question answering example errors with BrokenPipeError: [Errno 32] Broken pipe
{ "login": "Code4SAFrankie", "id": 6196390, "node_id": "MDQ6VXNlcjYxOTYzOTA=", "avatar_url": "https://avatars.githubusercontent.com/u/6196390?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Code4SAFrankie", "html_url": "https://github.com/Code4SAFrankie", "followers_url": "https://api.gith...
[ { "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
[]
[ "Same problem", "This was patched on `master`, cannot reproduce anymore. Can you reproduce on `master`?", "> This was patched on `master`, cannot reproduce anymore. Can you reproduce on `master`?\r\n\r\nI installed the newest version (3.4.0) by pip, but this problem still arises.", "Facing the same issue with...
1,603
1,696
1,611
NONE
null
## Environment info - `transformers` version: 3.3.1 - Platform: Windows-10-10.0.18362-SP0 - Python version: 3.7.1 - PyTorch version (GPU?): 1.4.0+cpu (False) - Tensorflow version (GPU?): not installed (NA) - Using GPU in script?: no - Using distributed or parallel set-up in script?: No ### Who can help No opti...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7886/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/7886/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7885
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7885/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7885/comments
https://api.github.com/repos/huggingface/transformers/issues/7885/events
https://github.com/huggingface/transformers/issues/7885
724,074,961
MDU6SXNzdWU3MjQwNzQ5NjE=
7,885
[testing] the test suite is many times slower than 2 weeks ago
{ "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
[]
[ "Please note that this is runtime on my machine and not CIs - so make sure you're evaluating the report relative to itself and not CI. Once the PR is merged we will start getting CI reports.\r\n\r\nTotal run time 4248s.\r\n\r\nSo it looks like on the torch-side `test_tokenization_fast.py` accounts for the main culp...
1,603
1,603
1,603
CONTRIBUTOR
null
We are going to have a CI-side running reports when this is merged https://github.com/huggingface/transformers/pull/7884, but we can already start looking at what caused a 4-5 times slowdown in the test suite about 10 days ago. I'm not sure the exact moment, but I checked a few reports and it appears that the change ha...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7885/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7885/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7884
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7884/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7884/comments
https://api.github.com/repos/huggingface/transformers/issues/7884/events
https://github.com/huggingface/transformers/pull/7884
724,070,976
MDExOlB1bGxSZXF1ZXN0NTA1NTE5ODIx
7,884
[CIs] report slow tests add --durations=0 to some pytest jobs
{ "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,603
1,603
1,603
CONTRIBUTOR
null
It appears that over the last 10 days or so the CIs have gone 4-5 times slower. From 2-3 minutes to 10-11 minutes for `run_tests_torch`. This PR adds a report, generated by `pytest`, that lists the slowest tests so that we could quickly detect such regressions in our test suite's performance. As suggested by @ssh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7884/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7884/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7884", "html_url": "https://github.com/huggingface/transformers/pull/7884", "diff_url": "https://github.com/huggingface/transformers/pull/7884.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7884.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7883
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7883/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7883/comments
https://api.github.com/repos/huggingface/transformers/issues/7883/events
https://github.com/huggingface/transformers/pull/7883
723,997,273
MDExOlB1bGxSZXF1ZXN0NTA1NDY1MDY5
7,883
style: fix typo
{ "login": "rememberYou", "id": 6253527, "node_id": "MDQ6VXNlcjYyNTM1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/6253527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rememberYou", "html_url": "https://github.com/rememberYou", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests), Pull R...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7883/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7883/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7883", "html_url": "https://github.com/huggingface/transformers/pull/7883", "diff_url": "https://github.com/huggingface/transformers/pull/7883.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7883.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7882
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7882/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7882/comments
https://api.github.com/repos/huggingface/transformers/issues/7882/events
https://github.com/huggingface/transformers/pull/7882
723,996,658
MDExOlB1bGxSZXF1ZXN0NTA1NDY0NjEx
7,882
style: fix typo in the README
{ "login": "rememberYou", "id": 6253527, "node_id": "MDQ6VXNlcjYyNTM1Mjc=", "avatar_url": "https://avatars.githubusercontent.com/u/6253527?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rememberYou", "html_url": "https://github.com/rememberYou", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[]
1,603
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests), Pull R...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7882/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7882/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7882", "html_url": "https://github.com/huggingface/transformers/pull/7882", "diff_url": "https://github.com/huggingface/transformers/pull/7882.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7882.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7881
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7881/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7881/comments
https://api.github.com/repos/huggingface/transformers/issues/7881/events
https://github.com/huggingface/transformers/issues/7881
723,986,375
MDU6SXNzdWU3MjM5ODYzNzU=
7,881
Error(s) in loading state_dict for BertForTokenClassification
{ "login": "ShivanshuPurohit", "id": 42869065, "node_id": "MDQ6VXNlcjQyODY5MDY1", "avatar_url": "https://avatars.githubusercontent.com/u/42869065?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShivanshuPurohit", "html_url": "https://github.com/ShivanshuPurohit", "followers_url": "https://...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "Hello, I would say that there's a mismatch between the number of labels you've provided and the number of labels supported by your `model.pt`.\r\n\r\nHow did you obtain your `model.pt`?", "I downloaded it directly from the links provided for each bert models with `!wget`", "Which links? Why did you switch from...
1,603
1,693
1,609
NONE
null
### Who can help <!-- Your issue will be replied to more quickly if you can figure out the right person to tag with @ If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**. Please tag fewer than 3 people. albert, bert, GPT2, XLM: @LysandreJik tokenize...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7881/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7881/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7880
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7880/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7880/comments
https://api.github.com/repos/huggingface/transformers/issues/7880/events
https://github.com/huggingface/transformers/pull/7880
723,964,030
MDExOlB1bGxSZXF1ZXN0NTA1NDQwMzI1
7,880
Fix bug in _sorted_checkpoints
{ "login": "shaie", "id": 3469932, "node_id": "MDQ6VXNlcjM0Njk5MzI=", "avatar_url": "https://avatars.githubusercontent.com/u/3469932?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shaie", "html_url": "https://github.com/shaie", "followers_url": "https://api.github.com/users/shaie/follower...
[]
closed
false
null
[]
[ "Ooh, that's an ugly typo. Thanks for fixing! Will make sure to add a test of this soon so it doesn't break with me being stupid like that." ]
1,603
1,603
1,603
CONTRIBUTOR
null
I'm using transformers 3.3.1 and run a training script with `--save_total_limit 3`. I hit the exception below, and after debugging the code found that it wrongly tries to index into the `best_model_checkpoint`'s *str* rather than the `sorted_checkpoints` array. When running without the fix I got this exception: ``` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7880/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/7880/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7880", "html_url": "https://github.com/huggingface/transformers/pull/7880", "diff_url": "https://github.com/huggingface/transformers/pull/7880.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7880.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7879
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7879/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7879/comments
https://api.github.com/repos/huggingface/transformers/issues/7879/events
https://github.com/huggingface/transformers/issues/7879
723,957,279
MDU6SXNzdWU3MjM5NTcyNzk=
7,879
question about `add_special_tokens` and embedding layer
{ "login": "hyunwoongko", "id": 38183241, "node_id": "MDQ6VXNlcjM4MTgzMjQx", "avatar_url": "https://avatars.githubusercontent.com/u/38183241?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hyunwoongko", "html_url": "https://github.com/hyunwoongko", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "When you add special tokens to the tokenizer, you should resize the model embedding matrix so that it contains the extra embeddings.\r\n\r\nYou should then do an additional training/fine-tuning on data containing those special tokens so that the model may tune this new column in the embedding matrix.", "thanks !...
1,603
1,603
1,603
CONTRIBUTOR
null
# ❓ Questions & Help when I call add_special_tokens in the tokniezer, new token that is not in the existing vocab is added. At this time, the size is different from the existing embedding layer, what happens inside? 1. Abandon the existing embedding layer and train a new. 2. train only new tokens (expand existin...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7879/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7879/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7878
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7878/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7878/comments
https://api.github.com/repos/huggingface/transformers/issues/7878/events
https://github.com/huggingface/transformers/pull/7878
723,901,939
MDExOlB1bGxSZXF1ZXN0NTA1Mzg4MTc2
7,878
[multiple models] skip saving/loading deterministic state_dict keys
{ "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
[]
[ "OK, so how would you recommend we run a specific common test for a model whose test module isn't running common tests at all? \r\n\r\nPlease have a look at the approach I used for `mbart` https://github.com/huggingface/transformers/pull/7878/files#diff-f3b9af7b4721bdf972a72e35a35e8742ddc986f12218e728cd2b6ad30a156...
1,602
1,603
1,603
CONTRIBUTOR
null
Implementing https://github.com/huggingface/transformers/issues/7296 * [x] make testing save/load of `keys_to_never_save` a common test by moving it from `fsmt` modeling test * [x] implement skipping for all models with static positional embeddings: mbart, pegasus, marian (fsmt had this feature in first place) F...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7878/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7878/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7878", "html_url": "https://github.com/huggingface/transformers/pull/7878", "diff_url": "https://github.com/huggingface/transformers/pull/7878.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7878.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7877
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7877/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7877/comments
https://api.github.com/repos/huggingface/transformers/issues/7877/events
https://github.com/huggingface/transformers/pull/7877
723,898,246
MDExOlB1bGxSZXF1ZXN0NTA1Mzg1NDM3
7,877
[wip] [pegasus] encode s/\r?\n/<n>/g + 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
[]
[ "I have some concerns defaulting this logic to `True`, given that some `sshleifer/` models like `sshleifer/pegasus-cnn-ft-v2/`, `distill-pegasus-cnn-16-4/` were trained without newlines in the dataset. I'm sorry I forgot to mention these until now.\r\n\r\nI would merge this if the logic to do the regex were defaul...
1,602
1,603
1,603
CONTRIBUTOR
null
As discussed in https://github.com/huggingface/transformers/issues/7743 * [x] On encode: `s/\r?\n/<n>/g` + test * [ ] On decode: `s/<n>/\n/g` - not sure what to do since `run_eval.py` can't work with multiline outputs as it uses readline to get each record and inserting `\n` would break the records if they are now ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7877/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7877/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7877", "html_url": "https://github.com/huggingface/transformers/pull/7877", "diff_url": "https://github.com/huggingface/transformers/pull/7877.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7877.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7876
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7876/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7876/comments
https://api.github.com/repos/huggingface/transformers/issues/7876/events
https://github.com/huggingface/transformers/issues/7876
723,891,953
MDU6SXNzdWU3MjM4OTE5NTM=
7,876
xlm-mlm-17-1280 & xlm-mlm-100-1280 include languages?
{ "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...
[]
closed
false
null
[]
[ "Hi, you can find this data [here](https://github.com/facebookresearch/XLM#the-17-and-100-languages)." ]
1,602
1,603
1,603
CONTRIBUTOR
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/7876/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/7876/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7875
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7875/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7875/comments
https://api.github.com/repos/huggingface/transformers/issues/7875/events
https://github.com/huggingface/transformers/issues/7875
723,861,490
MDU6SXNzdWU3MjM4NjE0OTA=
7,875
How to do categorical sequence classification?
{ "login": "FerusAndBeyond", "id": 18237033, "node_id": "MDQ6VXNlcjE4MjM3MDMz", "avatar_url": "https://avatars.githubusercontent.com/u/18237033?v=4", "gravatar_id": "", "url": "https://api.github.com/users/FerusAndBeyond", "html_url": "https://github.com/FerusAndBeyond", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "Solved by adding `num_labels` to the constructor: `BertForSequenceClassification.from_pretrained(\"...\", num_labels=z)`. Then the onehot-encoding wasn't necessary either. Another error would probably make it easier to spot this though." ]
1,602
1,603
1,603
NONE
null
Whenever I have a sequence of max length y of batch size x: (x, y) and categorical (z) classification (x, z) I get the error that batch size isn't the same x vs x*z, how do I fix this?
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7875/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7875/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7874
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7874/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7874/comments
https://api.github.com/repos/huggingface/transformers/issues/7874/events
https://github.com/huggingface/transformers/issues/7874
723,852,173
MDU6SXNzdWU3MjM4NTIxNzM=
7,874
[Rag] extend_enc_output fails when number of retrieved documents not equal to RagConfig.n_docs
{ "login": "lalitpagaria", "id": 19303690, "node_id": "MDQ6VXNlcjE5MzAzNjkw", "avatar_url": "https://avatars.githubusercontent.com/u/19303690?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lalitpagaria", "html_url": "https://github.com/lalitpagaria", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "@lalitpagaria - good point! I think the cleanest solution here would actually be to add `n_docs` as a argument to all RagModel forward's function that defaults to `self.config.n_docs` (exactly as it is the case for `use_cache` or `output_attentions`) => it would be great if you could open a PR for this :-) ", "@...
1,602
1,603
1,603
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.3.1 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7874/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7874/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7873
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7873/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7873/comments
https://api.github.com/repos/huggingface/transformers/issues/7873/events
https://github.com/huggingface/transformers/issues/7873
723,836,451
MDU6SXNzdWU3MjM4MzY0NTE=
7,873
can't set evaluation_strategy to "epoch"
{ "login": "yuvalkirstain", "id": 57996478, "node_id": "MDQ6VXNlcjU3OTk2NDc4", "avatar_url": "https://avatars.githubusercontent.com/u/57996478?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yuvalkirstain", "html_url": "https://github.com/yuvalkirstain", "followers_url": "https://api.githu...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This has been done already, see [here](https://github.com/huggingface/transformers/blob/master/src/transformers/training_args.py#L335). But you need to install from source for that, since the change is recent,", "This issue has been automatically marked as stale because it has not had recent activity. It will be...
1,602
1,608
1,608
CONTRIBUTOR
null
## Environment info - `transformers` version: 3.3.1 ### Who can help @sgugger ## Information Seems like we can't use the evaluation_strategy=epoch option. The default value of evaluate_during_training is boolean (False). In transformers/training_args.py, __post_init__ function, there is a check - `if self.e...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7873/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7873/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7872
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7872/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7872/comments
https://api.github.com/repos/huggingface/transformers/issues/7872/events
https://github.com/huggingface/transformers/pull/7872
723,834,899
MDExOlB1bGxSZXF1ZXN0NTA1MzM3NDg4
7,872
Fix Rag example docstring
{ "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,602
1,602
1,602
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/7872/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7872/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7872", "html_url": "https://github.com/huggingface/transformers/pull/7872", "diff_url": "https://github.com/huggingface/transformers/pull/7872.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7872.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7871
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7871/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7871/comments
https://api.github.com/repos/huggingface/transformers/issues/7871/events
https://github.com/huggingface/transformers/issues/7871
723,826,629
MDU6SXNzdWU3MjM4MjY2Mjk=
7,871
RAG generate function uses input_ids even when context_input_ids are given.
{ "login": "LittlePea13", "id": 26126169, "node_id": "MDQ6VXNlcjI2MTI2MTY5", "avatar_url": "https://avatars.githubusercontent.com/u/26126169?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LittlePea13", "html_url": "https://github.com/LittlePea13", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Hey @LittlePea13 - yes you are very much correct here. This PR linked to the issue should fix it. Thanks a lot!" ]
1,602
1,602
1,602
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.0-51-generic-x86_64-with-debian-buster-sid - Python version: 3.6.8 - PyTorc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7871/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7871/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7870
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7870/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7870/comments
https://api.github.com/repos/huggingface/transformers/issues/7870/events
https://github.com/huggingface/transformers/pull/7870
723,788,919
MDExOlB1bGxSZXF1ZXN0NTA1MzAzOTM4
7,870
Add missing comma
{ "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
[]
[]
1,602
1,603
1,603
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/7870/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7870/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7870", "html_url": "https://github.com/huggingface/transformers/pull/7870", "diff_url": "https://github.com/huggingface/transformers/pull/7870.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7870.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7869
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7869/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7869/comments
https://api.github.com/repos/huggingface/transformers/issues/7869/events
https://github.com/huggingface/transformers/pull/7869
723,751,147
MDExOlB1bGxSZXF1ZXN0NTA1Mjc2NzUy
7,869
Raise error when using AMP on non-CUDA device
{ "login": "BramVanroy", "id": 2779410, "node_id": "MDQ6VXNlcjI3Nzk0MTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BramVanroy", "html_url": "https://github.com/BramVanroy", "followers_url": "https://api.github.com/users...
[]
closed
false
null
[]
[ "> I think the postinit is a great place for this sanity check, so the error comes fast to the user, and I don't think our current FP16 implementations (Apex and Amp) work with TPUs. I can check the latter on Monday and report back here.\r\n\r\nIf you'd rather be more forgiving, let me know. In that case we can do ...
1,602
1,603
1,603
COLLABORATOR
null
The trainer currently implements native AMP in such a way that a GradScaler is always used. AFAIK, and as supported by [this post](https://github.com/pytorch/pytorch/issues/36169#issuecomment-611261781) and [this report on the forums](https://discuss.huggingface.co/t/training-gpt2-on-cpus/1603), this will only work on ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7869/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7869/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7869", "html_url": "https://github.com/huggingface/transformers/pull/7869", "diff_url": "https://github.com/huggingface/transformers/pull/7869.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7869.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7868
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7868/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7868/comments
https://api.github.com/repos/huggingface/transformers/issues/7868/events
https://github.com/huggingface/transformers/pull/7868
723,742,957
MDExOlB1bGxSZXF1ZXN0NTA1MjcwOTc2
7,868
Julibert model card
{ "login": "jordimas", "id": 309265, "node_id": "MDQ6VXNlcjMwOTI2NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/309265?v=4", "gravatar_id": "", "url": "https://api.github.com/users/jordimas", "html_url": "https://github.com/jordimas", "followers_url": "https://api.github.com/users/jordima...
[ { "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,602
1,603
1,603
CONTRIBUTOR
null
Model card for Julibert Catalan model
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7868/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7868/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7868", "html_url": "https://github.com/huggingface/transformers/pull/7868", "diff_url": "https://github.com/huggingface/transformers/pull/7868.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7868.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7867
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7867/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7867/comments
https://api.github.com/repos/huggingface/transformers/issues/7867/events
https://github.com/huggingface/transformers/pull/7867
723,719,220
MDExOlB1bGxSZXF1ZXN0NTA1MjUzNzQ4
7,867
Add AI-SOCO models
{ "login": "AliOsm", "id": 7662492, "node_id": "MDQ6VXNlcjc2NjI0OTI=", "avatar_url": "https://avatars.githubusercontent.com/u/7662492?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AliOsm", "html_url": "https://github.com/AliOsm", "followers_url": "https://api.github.com/users/AliOsm/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,602
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Adding AI-SOCO language and classification models. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTIN...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7867/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7867/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7867", "html_url": "https://github.com/huggingface/transformers/pull/7867", "diff_url": "https://github.com/huggingface/transformers/pull/7867.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7867.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7866
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7866/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7866/comments
https://api.github.com/repos/huggingface/transformers/issues/7866/events
https://github.com/huggingface/transformers/issues/7866
723,712,682
MDU6SXNzdWU3MjM3MTI2ODI=
7,866
AttributeError: module 'tensorflow_core.keras.activations' has no attribute 'swish'
{ "login": "Mandule", "id": 44904099, "node_id": "MDQ6VXNlcjQ0OTA0MDk5", "avatar_url": "https://avatars.githubusercontent.com/u/44904099?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Mandule", "html_url": "https://github.com/Mandule", "followers_url": "https://api.github.com/users/Mandul...
[]
closed
false
null
[]
[ "> # ❓ Questions & Help\r\n> ## Details\r\n> tensorflow 2.0.0\r\n> after \"pip install transformers\", i import transformers, meet this error.\r\n> \r\n> **A link to original question on the forum/Stack Overflow**:\r\n\r\n兄弟,升级tf到2.3", "Hi, you should install TensorFlow 2.3 as mentioned by @wmathor " ]
1,602
1,603
1,603
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/7866/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7866/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7865
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7865/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7865/comments
https://api.github.com/repos/huggingface/transformers/issues/7865/events
https://github.com/huggingface/transformers/issues/7865
723,680,517
MDU6SXNzdWU3MjM2ODA1MTc=
7,865
labels and decoder_input_ids
{ "login": "AI678", "id": 63541083, "node_id": "MDQ6VXNlcjYzNTQxMDgz", "avatar_url": "https://avatars.githubusercontent.com/u/63541083?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AI678", "html_url": "https://github.com/AI678", "followers_url": "https://api.github.com/users/AI678/follow...
[]
closed
false
null
[]
[ "I also get confused by the notation and would appreciate some clarifications.\r\nThank you.", "@AI678 I think I got it. Do not take my words as absolute truth since I am new to the subject.\r\nIf you are talking about a full Transformer architecture (e.g. BART, T5, PEGASUS), the labels are the token ids to which...
1,602
1,603
1,603
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/7865/reactions", "total_count": 2, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 2 }
https://api.github.com/repos/huggingface/transformers/issues/7865/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7864
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7864/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7864/comments
https://api.github.com/repos/huggingface/transformers/issues/7864/events
https://github.com/huggingface/transformers/pull/7864
723,625,184
MDExOlB1bGxSZXF1ZXN0NTA1MTc4MDI2
7,864
Create model card for pre-trained NLI models.
{ "login": "easonnie", "id": 11016329, "node_id": "MDQ6VXNlcjExMDE2MzI5", "avatar_url": "https://avatars.githubusercontent.com/u/11016329?v=4", "gravatar_id": "", "url": "https://api.github.com/users/easonnie", "html_url": "https://github.com/easonnie", "followers_url": "https://api.github.com/users/eas...
[ { "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 @julien-c, thank you so much for the pointer. I have added the dataset identifier and license.", "Thanks! Your model is now linked from https://huggingface.co/datasets/anli (and the other datasets)" ]
1,602
1,603
1,603
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/7864/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7864/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7864", "html_url": "https://github.com/huggingface/transformers/pull/7864", "diff_url": "https://github.com/huggingface/transformers/pull/7864.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7864.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7863
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7863/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7863/comments
https://api.github.com/repos/huggingface/transformers/issues/7863/events
https://github.com/huggingface/transformers/pull/7863
723,620,987
MDExOlB1bGxSZXF1ZXN0NTA1MTc0ODgy
7,863
[testing] rename skip targets + docs
{ "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 resolved conflicts - it's good to go now." ]
1,602
1,603
1,603
CONTRIBUTOR
null
As discussed in https://github.com/huggingface/transformers/issues/6349 this PR brings consistency to skip decorators, so now we will have: * `require_torch` - this test will run only under torch * `require_torch_gpu` - as `require_torch` plus requires at least 1 GPU * `require_torch_multigpu` - as `require_torch`...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7863/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7863/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7863", "html_url": "https://github.com/huggingface/transformers/pull/7863", "diff_url": "https://github.com/huggingface/transformers/pull/7863.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7863.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7862
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7862/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7862/comments
https://api.github.com/repos/huggingface/transformers/issues/7862/events
https://github.com/huggingface/transformers/issues/7862
723,618,699
MDU6SXNzdWU3MjM2MTg2OTk=
7,862
unshared Albert
{ "login": "guowenying111", "id": 47688495, "node_id": "MDQ6VXNlcjQ3Njg4NDk1", "avatar_url": "https://avatars.githubusercontent.com/u/47688495?v=4", "gravatar_id": "", "url": "https://api.github.com/users/guowenying111", "html_url": "https://github.com/guowenying111", "followers_url": "https://api.githu...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Hello! The layers are shared in ALBERT because even though there are `config.num_hidden_layers=n`, there's usually `config.num_hidden_groups = 1`. Change that value to `n` to have `n` different layers.", "Thanks for your reply, I have another question about that\r\nHow can I load the AlbertModel parameter(in tra...
1,602
1,609
1,609
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/7862/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7862/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7861
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7861/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7861/comments
https://api.github.com/repos/huggingface/transformers/issues/7861/events
https://github.com/huggingface/transformers/pull/7861
723,616,634
MDExOlB1bGxSZXF1ZXN0NTA1MTcxNjkw
7,861
[testing] remove USE_CUDA
{ "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,602
1,603
1,603
CONTRIBUTOR
null
As discussed at https://github.com/huggingface/transformers/issues/6349 this PR removes `USE_CUDA`. I don't think I needed to add `CUDA_VISIBLE_DEVICES=""` to `.circleci` config files since those CIs have no gpus anyway. @LysandreJik, @sgugger, @sshleifer fixes: #6349
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7861/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7861/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7861", "html_url": "https://github.com/huggingface/transformers/pull/7861", "diff_url": "https://github.com/huggingface/transformers/pull/7861.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7861.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7860
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7860/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7860/comments
https://api.github.com/repos/huggingface/transformers/issues/7860/events
https://github.com/huggingface/transformers/pull/7860
723,611,715
MDExOlB1bGxSZXF1ZXN0NTA1MTY3OTYz
7,860
[fsmt test] basic config test with online model + super tiny model
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
null
[]
[ "Hi Stas, thanks, #7659 will fix this (we will now require at least one example checkpoint for each tokenizer and we test it automatically).", "@thomwolf, I'm not certain why you closed this. This is a tokenizer test that is needed - the issue caught in examples was just a flag that there was a missing test in th...
1,602
1,603
1,603
CONTRIBUTOR
null
This PR does: * [x] Seeing the issue of https://github.com/huggingface/transformers/pull/7659 I realized fsmt didn't have a basic non-slow test that loads the tokenizer via online model files. Luckily a totally unrelated examples test caught this issue in that PR, so adding a very simple quick test in the main test ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7860/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7860/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7860", "html_url": "https://github.com/huggingface/transformers/pull/7860", "diff_url": "https://github.com/huggingface/transformers/pull/7860.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7860.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7859
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7859/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7859/comments
https://api.github.com/repos/huggingface/transformers/issues/7859/events
https://github.com/huggingface/transformers/pull/7859
723,517,249
MDExOlB1bGxSZXF1ZXN0NTA1MDkwNzM4
7,859
[s2s testing] turn all to unittests, use auto-delete temp dirs
{ "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
[]
[ "@sshleifer, one thing I wasn't sure about - since now the temp dir creation/destruction is automated and it's easy to hardwire those by just passing the explicit path `self.get_auto_remove_tmp_dir(\"/tmp/favoritedir\")` when debugging - I removed the prefices that were used in `tempfile.mkdtemp`. Do you still want...
1,602
1,603
1,602
CONTRIBUTOR
null
Currently in `examples/seq2seq/test_seq2seq_examples.py` many tmp dirs remain uncleaned by the end of the test: This PR does: * Now that we have `parameterized`, convert all tests into unittests * Now that we have unittests, we can use auto-delete tmp dirs easily using `get_auto_remove_tmp_dir()` * convert 4 test...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7859/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7859/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7859", "html_url": "https://github.com/huggingface/transformers/pull/7859", "diff_url": "https://github.com/huggingface/transformers/pull/7859.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7859.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7858
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7858/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7858/comments
https://api.github.com/repos/huggingface/transformers/issues/7858/events
https://github.com/huggingface/transformers/pull/7858
723,510,842
MDExOlB1bGxSZXF1ZXN0NTA1MDg1NDk4
7,858
Trainer with Iterable Dataset
{ "login": "j-rossi-nl", "id": 48321582, "node_id": "MDQ6VXNlcjQ4MzIxNTgy", "avatar_url": "https://avatars.githubusercontent.com/u/48321582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/j-rossi-nl", "html_url": "https://github.com/j-rossi-nl", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Now investigating this FAILED test.\r\nSo far, it is PASSED on 3 different environments I have tried.\r\n`FAILED tests/test_tokenization_fast.py::SentencePieceFastTokenizerTest::test_add_special_tokens` from `run_tests_torch_and_tf`", "@sgugger \r\n\r\nCircleCI `run_tests_torch_and_tf` is FAILED, because \r\n```...
1,602
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Fixes #5990 Follows #5995 (closed because stale). Merges all commits from master. * accomodate iterable dataset without predefined length * set it as 1 use case: provide max_steps, and NO num_epochs * Is a merge of master and PR 5995 - [ ] This PR fixes a typo or improves the docs ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7858/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7858/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7858", "html_url": "https://github.com/huggingface/transformers/pull/7858", "diff_url": "https://github.com/huggingface/transformers/pull/7858.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7858.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7857
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7857/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7857/comments
https://api.github.com/repos/huggingface/transformers/issues/7857/events
https://github.com/huggingface/transformers/pull/7857
723,433,156
MDExOlB1bGxSZXF1ZXN0NTA1MDE5NTk0
7,857
Create README.md
{ "login": "hardyqr", "id": 18531146, "node_id": "MDQ6VXNlcjE4NTMxMTQ2", "avatar_url": "https://avatars.githubusercontent.com/u/18531146?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hardyqr", "html_url": "https://github.com/hardyqr", "followers_url": "https://api.github.com/users/hardyq...
[ { "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,602
1,603
1,603
CONTRIBUTOR
null
# What does this PR do? Creare model card for `cambridgeltl/BioRedditBERT-uncased`. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/maste...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7857/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7857/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7857", "html_url": "https://github.com/huggingface/transformers/pull/7857", "diff_url": "https://github.com/huggingface/transformers/pull/7857.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7857.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7856
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7856/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7856/comments
https://api.github.com/repos/huggingface/transformers/issues/7856/events
https://github.com/huggingface/transformers/pull/7856
723,413,761
MDExOlB1bGxSZXF1ZXN0NTA1MDAzODIz
7,856
Remove duplicated mish activation function
{ "login": "Razcle", "id": 10298740, "node_id": "MDQ6VXNlcjEwMjk4NzQw", "avatar_url": "https://avatars.githubusercontent.com/u/10298740?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Razcle", "html_url": "https://github.com/Razcle", "followers_url": "https://api.github.com/users/Razcle/fo...
[]
closed
false
null
[]
[]
1,602
1,602
1,602
CONTRIBUTOR
null
# What does this PR do? The mish activation function was repeated in the file. I removed the duplicate. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case). ## Who can review? Anyone in the community is free to review the PR once the tests...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7856/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7856/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7856", "html_url": "https://github.com/huggingface/transformers/pull/7856", "diff_url": "https://github.com/huggingface/transformers/pull/7856.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7856.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7855
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7855/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7855/comments
https://api.github.com/repos/huggingface/transformers/issues/7855/events
https://github.com/huggingface/transformers/pull/7855
723,397,109
MDExOlB1bGxSZXF1ZXN0NTA0OTg5Njgz
7,855
Model card for German BERT fine-tuned for LER/NER
{ "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
[]
[]
1,602
1,603
1,603
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/7855/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7855/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7855", "html_url": "https://github.com/huggingface/transformers/pull/7855", "diff_url": "https://github.com/huggingface/transformers/pull/7855.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7855.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7854
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7854/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7854/comments
https://api.github.com/repos/huggingface/transformers/issues/7854/events
https://github.com/huggingface/transformers/pull/7854
723,394,539
MDExOlB1bGxSZXF1ZXN0NTA0OTg3NjA2
7,854
Fixing issue #7810
{ "login": "lucadiliello", "id": 23355969, "node_id": "MDQ6VXNlcjIzMzU1OTY5", "avatar_url": "https://avatars.githubusercontent.com/u/23355969?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lucadiliello", "html_url": "https://github.com/lucadiliello", "followers_url": "https://api.github.c...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread." ]
1,602
1,614
1,614
NONE
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/7854/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7854/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7854", "html_url": "https://github.com/huggingface/transformers/pull/7854", "diff_url": "https://github.com/huggingface/transformers/pull/7854.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7854.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7853
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7853/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7853/comments
https://api.github.com/repos/huggingface/transformers/issues/7853/events
https://github.com/huggingface/transformers/issues/7853
723,293,229
MDU6SXNzdWU3MjMyOTMyMjk=
7,853
SequenceSummary class in modeling_utils.py
{ "login": "h56cho", "id": 52889259, "node_id": "MDQ6VXNlcjUyODg5MjU5", "avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h56cho", "html_url": "https://github.com/h56cho", "followers_url": "https://api.github.com/users/h56cho/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n" ]
1,602
1,608
1,608
NONE
null
Hello, I have a question about the documentation strings provided for the forward function of the SequenceSummary class from modeling_utils.py: https://github.com/huggingface/transformers/blob/dc552b9b7025ea9c38717f30ad3d69c2a972049d/src/transformers/modeling_utils.py#L1484 So when `cls_index` is not specified as ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7853/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7853/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7852
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7852/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7852/comments
https://api.github.com/repos/huggingface/transformers/issues/7852/events
https://github.com/huggingface/transformers/pull/7852
723,202,277
MDExOlB1bGxSZXF1ZXN0NTA0ODI4NTk3
7,852
Upgrade PyTorch Lightning to 1.0.2
{ "login": "SeanNaren", "id": 6707363, "node_id": "MDQ6VXNlcjY3MDczNjM=", "avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/SeanNaren", "html_url": "https://github.com/SeanNaren", "followers_url": "https://api.github.com/users/Se...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "@sshleifer @julien-c \r\nmind helping land this?\r\n\r\nthis upgrades HF to use lightning 1.0+ \r\n\r\nthe 1.0 version has the stable API along with major fixes (many of the open issues with lightning and HF are fixed here). \r\n\r\nFinally, a few notes about the changes with the earlier versions (earliest versio...
1,602
1,604
1,603
CONTRIBUTOR
null
Updates Pytorch Lightning to 1.0.2, and moves early stopping callback into the general callbacks due to deprecation.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7852/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7852/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7852", "html_url": "https://github.com/huggingface/transformers/pull/7852", "diff_url": "https://github.com/huggingface/transformers/pull/7852.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7852.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7851
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7851/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7851/comments
https://api.github.com/repos/huggingface/transformers/issues/7851/events
https://github.com/huggingface/transformers/pull/7851
723,198,276
MDExOlB1bGxSZXF1ZXN0NTA0ODI1Mzcx
7,851
Trainer accepts iterable datasets
{ "login": "j-rossi-nl", "id": 48321582, "node_id": "MDQ6VXNlcjQ4MzIxNTgy", "avatar_url": "https://avatars.githubusercontent.com/u/48321582?v=4", "gravatar_id": "", "url": "https://api.github.com/users/j-rossi-nl", "html_url": "https://github.com/j-rossi-nl", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi there, thanks for the PR! Unfortunately it's not based on current master, so we can't review properly as it suggests changes from code that does not exist anymore.", "Some merging work to be done." ]
1,602
1,602
1,602
CONTRIBUTOR
null
Fixes #5990 Follows PR #5995 (got closed for being stale...) ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case). - [X] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-cont...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7851/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7851/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7851", "html_url": "https://github.com/huggingface/transformers/pull/7851", "diff_url": "https://github.com/huggingface/transformers/pull/7851.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7851.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7850
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7850/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7850/comments
https://api.github.com/repos/huggingface/transformers/issues/7850/events
https://github.com/huggingface/transformers/issues/7850
723,168,609
MDU6SXNzdWU3MjMxNjg2MDk=
7,850
OperatorNotAllowedInGraphError in dbmdz/bert-base-italian-cased for Token Classification
{ "login": "fra-luc", "id": 44058367, "node_id": "MDQ6VXNlcjQ0MDU4MzY3", "avatar_url": "https://avatars.githubusercontent.com/u/44058367?v=4", "gravatar_id": "", "url": "https://api.github.com/users/fra-luc", "html_url": "https://github.com/fra-luc", "followers_url": "https://api.github.com/users/fra-lu...
[ { "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 might be of interest to @jplu ", "Hello! \n\nFor now you cannot use the `.fit()` method to train a TF model. This will be possible in a next release.\n\nIf you want to train a NER model please use the TF trainer.", "Thanks for your answer, I will try TF Trainer", "This issue has been automatically marke...
1,602
1,608
1,608
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.0-1028-aws-x86_64-with-debian-buster-sid - Python version: 3.7.7 - PyTorch ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7850/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/7850/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7849
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7849/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7849/comments
https://api.github.com/repos/huggingface/transformers/issues/7849/events
https://github.com/huggingface/transformers/issues/7849
723,104,327
MDU6SXNzdWU3MjMxMDQzMjc=
7,849
how to save and load fine-tuned model?
{ "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...
[]
closed
false
null
[]
[ "To save your model, first create a directory in which everything will be saved. In Python, you can do this as follows:\r\n```\r\nimport os\r\nos.makedirs(\"path/to/awesome-name-you-picked\")\r\n```\r\nNext, you can use the `model.save_pretrained(\"path/to/awesome-name-you-picked\")` method. This will save the mode...
1,602
1,689
1,603
CONTRIBUTOR
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/7849/reactions", "total_count": 3, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 1 }
https://api.github.com/repos/huggingface/transformers/issues/7849/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7848
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7848/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7848/comments
https://api.github.com/repos/huggingface/transformers/issues/7848/events
https://github.com/huggingface/transformers/issues/7848
723,027,901
MDU6SXNzdWU3MjMwMjc5MDE=
7,848
RuntimeError with DistributedDataParallel
{ "login": "ghpu", "id": 2990010, "node_id": "MDQ6VXNlcjI5OTAwMTA=", "avatar_url": "https://avatars.githubusercontent.com/u/2990010?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ghpu", "html_url": "https://github.com/ghpu", "followers_url": "https://api.github.com/users/ghpu/followers", ...
[]
closed
false
null
[]
[ "The `BertModel` runs absolutely fine in `DistributedDataParallel` (just retried) so the issue probably comes from the rest of your code and not the library. I can't see the code for the `LosslessTripletLoss`, maybe the issues comes from there.\r\n\r\nIn any case, to debug I would follow the instruction given in th...
1,602
1,686
1,611
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: Ubuntu 18.04 - Python version: 3.7.7.final.0 - PyTorch version (GPU?): 1.6.0 gpu - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7848/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7848/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7847
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7847/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7847/comments
https://api.github.com/repos/huggingface/transformers/issues/7847/events
https://github.com/huggingface/transformers/issues/7847
722,993,861
MDU6SXNzdWU3MjI5OTM4NjE=
7,847
Where do the models go in colab?
{ "login": "ShivanshuPurohit", "id": 42869065, "node_id": "MDQ6VXNlcjQyODY5MDY1", "avatar_url": "https://avatars.githubusercontent.com/u/42869065?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ShivanshuPurohit", "html_url": "https://github.com/ShivanshuPurohit", "followers_url": "https://...
[ { "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,602
1,608
1,608
NONE
null
## Who can help <!-- Your issue will be replied to more quickly if you can figure out the right person to tag with @ If you know how to use git blame, that is the easiest way, otherwise, here is a rough guide of **who to tag**. Please tag fewer than 3 people. albert, bert, GPT2, XLM: @LysandreJik tokenizer...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7847/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7847/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7846
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7846/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7846/comments
https://api.github.com/repos/huggingface/transformers/issues/7846/events
https://github.com/huggingface/transformers/issues/7846
722,963,649
MDU6SXNzdWU3MjI5NjM2NDk=
7,846
BartTokenizer prepare_seq2seq_batch() does not return decoder_input_ids, decoder_attention_mask as per document after passing tgt_texts
{ "login": "MojammelHossain", "id": 47693507, "node_id": "MDQ6VXNlcjQ3NjkzNTA3", "avatar_url": "https://avatars.githubusercontent.com/u/47693507?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MojammelHossain", "html_url": "https://github.com/MojammelHossain", "followers_url": "https://api...
[]
closed
false
null
[]
[ "I am facing the same issue and I noticed that the method indeed returns the `[\"input_ids\"]` of `tgt_texts` as labels. I think I could easily fix this to return both `input_ids` and `attention_mask` of `tgt_texts` (as `decoder_...`) but I noticed the same pattern in other seq2seq models, like T5. I am not sure w...
1,602
1,606
1,606
NONE
null
I am trying to train a seq2seq model using BartModel. As per BartTokenizer documentation if I pass tgt_texts then it should return decoder_attention_mask and decoder_input_ids please check the attachment for clarity. ![image](https://user-images.githubusercontent.com/47693507/96223213-5d10af00-0faf-11eb-9253-5985990f...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7846/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7846/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7845
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7845/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7845/comments
https://api.github.com/repos/huggingface/transformers/issues/7845/events
https://github.com/huggingface/transformers/pull/7845
722,914,249
MDExOlB1bGxSZXF1ZXN0NTA0NTk0MTA1
7,845
[seq2seq testing] improve readability
{ "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,602
1,602
1,602
CONTRIBUTOR
null
improve readability @sshleifer
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7845/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7845/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7845", "html_url": "https://github.com/huggingface/transformers/pull/7845", "diff_url": "https://github.com/huggingface/transformers/pull/7845.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7845.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7844
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7844/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7844/comments
https://api.github.com/repos/huggingface/transformers/issues/7844/events
https://github.com/huggingface/transformers/issues/7844
722,905,618
MDU6SXNzdWU3MjI5MDU2MTg=
7,844
[seq2seq distributed] child process stuck on error
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[]
closed
false
{ "login": "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...
[ "OK, this is the problem with PL if anything, as the command:\r\n```\r\nPYTHONPATH=\"src\" /home/stas/anaconda3/envs/main-38/bin/python /mnt/nvme1/code/huggingface/transformers-distr-train-test/examples/seq2seq/distillation.py --supervise_forward --normalize_hidden --label_smoothing=0.0 --eval_beams=1 --val_metric=...
1,602
1,603
1,603
CONTRIBUTOR
null
Filing an issue for myself to help move along https://github.com/huggingface/transformers/pull/7281 ``` pytest -sv examples/seq2seq/test_seq2seq_examples_multi_gpu.py ``` gets stuck if one of the child subprocesses throws an error. Remove `skip_output_dir_check=True,` to reproduce the problem. It could be r...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7844/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7844/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7843
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7843/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7843/comments
https://api.github.com/repos/huggingface/transformers/issues/7843/events
https://github.com/huggingface/transformers/pull/7843
722,880,286
MDExOlB1bGxSZXF1ZXN0NTA0NTY0MjE1
7,843
[seq2seq] get_git_info fails gracefully
{ "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 returning the same keys!" ]
1,602
1,602
1,602
CONTRIBUTOR
null
It looks like gitpython is broken when one tries to use it from `git checkout hash`, see: https://github.com/gitpython-developers/GitPython/issues/633 While debugging/bisecting we need to be able to step through different commits and for the code to still work. Currently if I do: ``` git checkout fb94b8f1e16eb...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7843/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7843/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7843", "html_url": "https://github.com/huggingface/transformers/pull/7843", "diff_url": "https://github.com/huggingface/transformers/pull/7843.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7843.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7842
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7842/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7842/comments
https://api.github.com/repos/huggingface/transformers/issues/7842/events
https://github.com/huggingface/transformers/pull/7842
722,832,568
MDExOlB1bGxSZXF1ZXN0NTA0NTE5NDkx
7,842
[testing] disable FutureWarning in examples 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
[]
[]
1,602
1,602
1,602
CONTRIBUTOR
null
same as tests/conftest.py, we can't resolve those warning, so turn the noise off. same as PR: https://github.com/huggingface/transformers/pull/7079
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7842/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7842/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7842", "html_url": "https://github.com/huggingface/transformers/pull/7842", "diff_url": "https://github.com/huggingface/transformers/pull/7842.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7842.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7841
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7841/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7841/comments
https://api.github.com/repos/huggingface/transformers/issues/7841/events
https://github.com/huggingface/transformers/pull/7841
722,740,894
MDExOlB1bGxSZXF1ZXN0NTA0NDQzNTM4
7,841
[DOC] Typo and fix the input of labels to `cross_entropy`
{ "login": "katarinaslama", "id": 5973939, "node_id": "MDQ6VXNlcjU5NzM5Mzk=", "avatar_url": "https://avatars.githubusercontent.com/u/5973939?v=4", "gravatar_id": "", "url": "https://api.github.com/users/katarinaslama", "html_url": "https://github.com/katarinaslama", "followers_url": "https://api.github....
[]
closed
false
null
[]
[]
1,602
1,602
1,602
CONTRIBUTOR
null
# What does this PR do? The current version caused some errors. The proposed changes fixed it for me. Hope this is helpful! - [ x] This PR fixes a typo or improves the docs (you can dimiss the other checks if that's the case). @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7841/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7841/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7841", "html_url": "https://github.com/huggingface/transformers/pull/7841", "diff_url": "https://github.com/huggingface/transformers/pull/7841.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7841.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7840
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7840/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7840/comments
https://api.github.com/repos/huggingface/transformers/issues/7840/events
https://github.com/huggingface/transformers/issues/7840
722,740,705
MDU6SXNzdWU3MjI3NDA3MDU=
7,840
Token Type IDs returned from the tokenizer for T5 don't work with special tokens
{ "login": "dirkgr", "id": 920638, "node_id": "MDQ6VXNlcjkyMDYzOA==", "avatar_url": "https://avatars.githubusercontent.com/u/920638?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dirkgr", "html_url": "https://github.com/dirkgr", "followers_url": "https://api.github.com/users/dirkgr/follow...
[]
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...
[ "The PR linked to this issue should fix it. However note that T5 does not use `token_type_ids`, so that we will simply return all 0." ]
1,602
1,605
1,605
CONTRIBUTOR
null
With `transformers-3.3.1`: ``` import transformers t = transformers.AutoTokenizer.from_pretrained('t5-small') t.encode_plus(["a"], ["b"], add_special_tokens=True, return_token_type_ids=True) ``` This results in ``` {'input_ids': [9, 1, 115, 1], 'token_type_ids': [0, 1], 'attention_mask': [1, 1, 1, 1]} ``` ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7840/reactions", "total_count": 4, "+1": 4, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7840/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7839
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7839/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7839/comments
https://api.github.com/repos/huggingface/transformers/issues/7839/events
https://github.com/huggingface/transformers/pull/7839
722,688,822
MDExOlB1bGxSZXF1ZXN0NTA0Mzk4MzM3
7,839
Small fixes to HP search
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[]
1,602
1,602
1,602
COLLABORATOR
null
# What does this PR do? HP search has two small bugs in `Trainer` right now: - it pops things form the metrics dict, which are then improperly logged - it doesn't pop out the `total_flos`, so the hp search tries to maximize the flos (which I guess is @TevenLeScao master plan to conquer the universe ;-) )
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7839/reactions", "total_count": 1, "+1": 0, "-1": 0, "laugh": 1, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7839/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7839", "html_url": "https://github.com/huggingface/transformers/pull/7839", "diff_url": "https://github.com/huggingface/transformers/pull/7839.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7839.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7838
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7838/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7838/comments
https://api.github.com/repos/huggingface/transformers/issues/7838/events
https://github.com/huggingface/transformers/issues/7838
722,660,122
MDU6SXNzdWU3MjI2NjAxMjI=
7,838
State of ONNX
{ "login": "ankane", "id": 220358, "node_id": "MDQ6VXNlcjIyMDM1OA==", "avatar_url": "https://avatars.githubusercontent.com/u/220358?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ankane", "html_url": "https://github.com/ankane", "followers_url": "https://api.github.com/users/ankane/follow...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://api.github.com/users...
[ { "login": "mfuntowicz", "id": 2241520, "node_id": "MDQ6VXNlcjIyNDE1MjA=", "avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mfuntowicz", "html_url": "https://github.com/mfuntowicz", "followers_url": "https://...
[ "Hey, I tried exporting T5 for summarization but get the below error:\r\n**You have to specify either decoder_input_ids or decoder_inputs_embeds**\r\n\r\nI get a similar error for translation pipeline as well. Any workarounds available for this?\r\n@patrickvonplaten @sshleifer ", "Hey @amanpreet692 - you need to ...
1,602
1,619
1,619
CONTRIBUTOR
null
Hi, love the work that's going on with ONNX. I wanted to share the current state of ONNX support in case others were wondering about it (sorry for another table). Pipeline | Supported --- | --- feature-extraction | ✓ sentiment-analysis | ✓ ner | ✓ question-answering | ✓ fill-mask | ✓ text-generation | ✓ tran...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7838/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/7838/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7837
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7837/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7837/comments
https://api.github.com/repos/huggingface/transformers/issues/7837/events
https://github.com/huggingface/transformers/pull/7837
722,634,080
MDExOlB1bGxSZXF1ZXN0NTA0MzUyODcx
7,837
[testing] fix/hide warnings
{ "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,602
1,602
1,602
CONTRIBUTOR
null
in `test_trainer_callback.py`: - fixes PytestCollectionWarning - pytest doesn't like non-unittest classes starting with `Test` - hides scatter_gather warnings - as it was suggested they are just so @sgugger Fixes: https://github.com/huggingface/transformers/issues/7832
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7837/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7837/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7837", "html_url": "https://github.com/huggingface/transformers/pull/7837", "diff_url": "https://github.com/huggingface/transformers/pull/7837.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7837.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7836
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7836/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7836/comments
https://api.github.com/repos/huggingface/transformers/issues/7836/events
https://github.com/huggingface/transformers/pull/7836
722,617,739
MDExOlB1bGxSZXF1ZXN0NTA0MzM4Mjk4
7,836
model card for arabic-ner model
{ "login": "hatmimoha", "id": 22476140, "node_id": "MDQ6VXNlcjIyNDc2MTQw", "avatar_url": "https://avatars.githubusercontent.com/u/22476140?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hatmimoha", "html_url": "https://github.com/hatmimoha", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Thanks for sharing!" ]
1,602
1,603
1,603
CONTRIBUTOR
null
README file for the Arabic NER model # 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 cont...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7836/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7836/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7836", "html_url": "https://github.com/huggingface/transformers/pull/7836", "diff_url": "https://github.com/huggingface/transformers/pull/7836.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7836.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7835
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7835/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7835/comments
https://api.github.com/repos/huggingface/transformers/issues/7835/events
https://github.com/huggingface/transformers/pull/7835
722,611,877
MDExOlB1bGxSZXF1ZXN0NTA0MzMyOTU1
7,835
[cleanup] assign todos, faster bart-cnn test
{ "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,602
1,602
1,602
CONTRIBUTOR
null
I went through each TODO(SS), and either did it, or made a self-assigned github issue with it. I also deleted some commented out code blocks.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7835/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7835/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7835", "html_url": "https://github.com/huggingface/transformers/pull/7835", "diff_url": "https://github.com/huggingface/transformers/pull/7835.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7835.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7834
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7834/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7834/comments
https://api.github.com/repos/huggingface/transformers/issues/7834/events
https://github.com/huggingface/transformers/pull/7834
722,601,454
MDExOlB1bGxSZXF1ZXN0NTA0MzIzNDE3
7,834
[utils/check_copies.py] fix DeprecationWarning
{ "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!" ]
1,602
1,603
1,602
CONTRIBUTOR
null
in `tests/test_utils_check_copies.py` I was getting intermittently: ``` utils/check_copies.py:52 /mnt/nvme1/code/transformers-comet/utils/check_copies.py:52: DeprecationWarning: invalid escape sequence \s while line_index < len(lines) and re.search(f"^{indent}(class|def)\s+{name}", lines[line_index]) is None:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7834/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7834/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7834", "html_url": "https://github.com/huggingface/transformers/pull/7834", "diff_url": "https://github.com/huggingface/transformers/pull/7834.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7834.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7833
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7833/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7833/comments
https://api.github.com/repos/huggingface/transformers/issues/7833/events
https://github.com/huggingface/transformers/issues/7833
722,600,366
MDU6SXNzdWU3MjI2MDAzNjY=
7,833
[s2s trainer] tests fail on multi-gpu machine
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[]
closed
false
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api...
[ "@stas00 would you be interested in taking a look at this, possibly reusing the fix in https://github.com/huggingface/transformers/pull/7281 ?\r\nIf that doesn't work we can hack it like `tests/test_trainer.py`:\r\n\r\nhttps://github.com/huggingface/transformers/blob/a1d1b332d07a40177ae1959609ab70dab34018b8/tests/t...
1,602
1,603
1,603
CONTRIBUTOR
null
#### Command ```bash RUN_SLOW=1 USE_CUDA=1 pytest examples/seq2seq/test_finetune_trainer.py ``` #### Traceback ```python =========================================================== test session starts =========================================================== platform linux -- Python 3.7.4, pytest-5.3.5, py...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7833/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7833/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7832
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7832/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7832/comments
https://api.github.com/repos/huggingface/transformers/issues/7832/events
https://github.com/huggingface/transformers/issues/7832
722,593,875
MDU6SXNzdWU3MjI1OTM4NzU=
7,832
[testing] test_trainer_callback.py cannot collect test class 'TestTrainerCallback'
{ "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
[]
[ "It's just pytest thinking that class is a test because it begins by Test. Will fix, but this is very low priority for me as it runs as intended since pytest does not collect it. No idea about the other warning, but again, not important since the goal of that test is not to test gathered tensors, just the event flo...
1,602
1,602
1,602
CONTRIBUTOR
null
something is wrong here: ``` $ pytest tests/test_trainer_callback.py tests/test_trainer_callback.py:24 /mnt/nvme1/code/transformers-comet/tests/test_trainer_callback.py:24: PytestCollectionWarning: cannot collect test class 'TestTrainerCallback' because it has a __init__ constructor (from: tests/test_trainer_ca...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7832/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7832/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7831
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7831/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7831/comments
https://api.github.com/repos/huggingface/transformers/issues/7831/events
https://github.com/huggingface/transformers/issues/7831
722,584,720
MDU6SXNzdWU3MjI1ODQ3MjA=
7,831
[RAG] RagSequenceForGeneration should not load "facebook/rag-token-nq" and RagTokenForGeneration also should not load "facebook/rag-sequence-nq"
{ "login": "lalitpagaria", "id": 19303690, "node_id": "MDQ6VXNlcjE5MzAzNjkw", "avatar_url": "https://avatars.githubusercontent.com/u/19303690?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lalitpagaria", "html_url": "https://github.com/lalitpagaria", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "The model weights are actually 1-1 compatible with each other, so I see no reason why we should throw an exception here.", "Hi Patrick, I also believe there are typos regarding the examples :\r\n\r\nOn \"sequence\" based : https://huggingface.co/facebook/rag-sequence-nq , the examples use \"token\" arguments e.g...
1,602
1,602
1,602
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.3.1 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7831/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7831/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7830
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7830/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7830/comments
https://api.github.com/repos/huggingface/transformers/issues/7830/events
https://github.com/huggingface/transformers/pull/7830
722,584,314
MDExOlB1bGxSZXF1ZXN0NTA0MzA4OTA3
7,830
fix wandb/comet problems
{ "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 this! W're working on a refactor on the comet_ml SDK to move some of the complications from here over to there.", "@dsblank, also while you're at it, would it be possible to mend these in both projects. Getting these w/ py38 in the test suite. Thank you!\r\n\r\n```\r\n/home/stas/anaconda3/envs/main-38...
1,602
1,602
1,602
CONTRIBUTOR
null
As discussed in https://github.com/huggingface/transformers/issues/7821 * handle the case where `comet_ml` is installed but not configured * fix error in wandb code: ``` > combined_dict = {**model.config.to_dict(), **combined_dict} E AttributeError: 'NoneType' object has no attribute ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7830/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7830/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7830", "html_url": "https://github.com/huggingface/transformers/pull/7830", "diff_url": "https://github.com/huggingface/transformers/pull/7830.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7830.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7829
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7829/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7829/comments
https://api.github.com/repos/huggingface/transformers/issues/7829/events
https://github.com/huggingface/transformers/issues/7829
722,581,213
MDU6SXNzdWU3MjI1ODEyMTM=
7,829
[RAG] RagSequenceForGeneration: Running "retriever separately example" giving error
{ "login": "lalitpagaria", "id": 19303690, "node_id": "MDQ6VXNlcjE5MzAzNjkw", "avatar_url": "https://avatars.githubusercontent.com/u/19303690?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lalitpagaria", "html_url": "https://github.com/lalitpagaria", "followers_url": "https://api.github.c...
[]
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 @lalitpagaria - spot on! Thanks a lot for your issue, you're 100% correct here. \r\n\r\nI actually noticed that the `RagSequence` generate function is a bit more complex so that we cannot do the decomposed (embed, retrieve, generate) example here...\r\n\r\nThe PR linked to the issue removes the use case from t...
1,602
1,602
1,602
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.3.1 - Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.6.9 - PyTorch ver...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7829/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7829/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7828
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7828/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7828/comments
https://api.github.com/repos/huggingface/transformers/issues/7828/events
https://github.com/huggingface/transformers/pull/7828
722,541,134
MDExOlB1bGxSZXF1ZXN0NTA0MjczOTkx
7,828
fix: ignore padding tokens in Bart loss
{ "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
{ "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...
[ "I don't seem to be able to add reviewers but I guess this would fall into the domain of @sshleifer. ", "Thx for the contribution!\r\n\r\nFYI we have a seq2seq finetuner with this bugfix.\r\nhttps://github.com/huggingface/transformers/blob/master/examples/seq2seq/seq2seq_trainer.py#L43\r\n\r\nI worked on this at ...
1,602
1,606
1,606
MEMBER
null
# What does this PR do? There is a discrepancy between the [fine-tuning script](https://github.com/huggingface/transformers/blob/e7aa64838cc604abf7a49e69ca0ffe7af683d8ca/examples/seq2seq/finetune.py#L153) and the [BartForConditionalGeneration](https://github.com/huggingface/transformers/blob/e7aa64838cc604abf7a49e69ca...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7828/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7828/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7828", "html_url": "https://github.com/huggingface/transformers/pull/7828", "diff_url": "https://github.com/huggingface/transformers/pull/7828.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7828.patch", "merged_at": n...
https://api.github.com/repos/huggingface/transformers/issues/7827
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7827/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7827/comments
https://api.github.com/repos/huggingface/transformers/issues/7827/events
https://github.com/huggingface/transformers/issues/7827
722,525,056
MDU6SXNzdWU3MjI1MjUwNTY=
7,827
Do I need to apply the softmax function to my logit before calculating the CrossEntropyLoss?
{ "login": "h56cho", "id": 52889259, "node_id": "MDQ6VXNlcjUyODg5MjU5", "avatar_url": "https://avatars.githubusercontent.com/u/52889259?v=4", "gravatar_id": "", "url": "https://api.github.com/users/h56cho", "html_url": "https://github.com/h56cho", "followers_url": "https://api.github.com/users/h56cho/fo...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
null
[]
[ "There is no need to add the nn.softmax function. Pls. refer to the [pytorch document](https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html?highlight=crossentropyloss#torch.nn.CrossEntropyLoss).", "This issue has been automatically marked as stale because it has not had recent activity. It wi...
1,602
1,608
1,608
NONE
null
Hello, I am trying to compute the CrossEntropyLoss directly by using this code: ``` loss_fct = CrossEntropyLoss() mc_loss = loss_fct(reshaped_logits, mc_labels) ``` If the reshaped_logits contain the logit values before softmax, should I apply `nn.softmax` function before I do `loss_fct(reshaped_logits, mc_labels)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7827/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7827/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7826
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7826/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7826/comments
https://api.github.com/repos/huggingface/transformers/issues/7826/events
https://github.com/huggingface/transformers/pull/7826
722,514,395
MDExOlB1bGxSZXF1ZXN0NTA0MjUyMjQ5
7,826
[Pipelines] Fix links to model lists
{ "login": "julien-c", "id": 326577, "node_id": "MDQ6VXNlcjMyNjU3Nw==", "avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4", "gravatar_id": "", "url": "https://api.github.com/users/julien-c", "html_url": "https://github.com/julien-c", "followers_url": "https://api.github.com/users/julien-...
[]
closed
false
null
[]
[]
1,602
1,602
1,602
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7826/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7826/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/7826", "html_url": "https://github.com/huggingface/transformers/pull/7826", "diff_url": "https://github.com/huggingface/transformers/pull/7826.diff", "patch_url": "https://github.com/huggingface/transformers/pull/7826.patch", "merged_at": 1...
https://api.github.com/repos/huggingface/transformers/issues/7825
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7825/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7825/comments
https://api.github.com/repos/huggingface/transformers/issues/7825/events
https://github.com/huggingface/transformers/issues/7825
722,509,170
MDU6SXNzdWU3MjI1MDkxNzA=
7,825
RFC: Move `_NoLayerEmbedTokens` to modeling_tf_utils.py
{ "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
[]
[ "`TFSharedEmbeddings` is in `modeling_tf_utils.py`\r\nThis seems similar.", "I'm fine with moving this into `modeling_tf_utils.py`" ]
1,602
1,603
1,603
CONTRIBUTOR
null
It has 0 computation and will be needed in many places. Here is the code: ```python class _NoLayerEmbedTokens: """ this class wraps a the TFSharedEmbeddingTokens layer into a python 'no-keras-layer' class to avoid problem with weight restoring. Also it makes sure that the layer is called from ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7825/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7825/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7824
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7824/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7824/comments
https://api.github.com/repos/huggingface/transformers/issues/7824/events
https://github.com/huggingface/transformers/issues/7824
722,496,085
MDU6SXNzdWU3MjI0OTYwODU=
7,824
Bart Caching: do we need encoder outputs after step 1?
{ "login": "sshleifer", "id": 6045025, "node_id": "MDQ6VXNlcjYwNDUwMjU=", "avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sshleifer", "html_url": "https://github.com/sshleifer", "followers_url": "https://api.github.com/users/ss...
[ { "id": 1314768611, "node_id": "MDU6TGFiZWwxMzE0NzY4NjEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix", "name": "wontfix", "color": "ffffff", "default": true, "description": null } ]
closed
false
{ "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...
[ "Very good point! But I'm actually not sure if the memory consumption of `num_layers * cached k, v states` already makes memory consumption of `encoder_outputs` negligible. Would be cool to try out.", "This issue has been automatically marked as stale because it has not had recent activity. It will be closed if n...
1,602
1,609
1,609
CONTRIBUTOR
null
since projected cross attention k,v are cached, this doesn't seem like it's actually needed. Maybe we could save some mem if we deleted them after we were done.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7824/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/7824/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7823
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7823/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7823/comments
https://api.github.com/repos/huggingface/transformers/issues/7823/events
https://github.com/huggingface/transformers/issues/7823
722,477,156
MDU6SXNzdWU3MjI0NzcxNTY=
7,823
Support for custom data_collator in Trainer.train() with datasets.Dataset
{ "login": "kaletap", "id": 25740957, "node_id": "MDQ6VXNlcjI1NzQwOTU3", "avatar_url": "https://avatars.githubusercontent.com/u/25740957?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kaletap", "html_url": "https://github.com/kaletap", "followers_url": "https://api.github.com/users/kaleta...
[]
closed
false
null
[]
[ "Just set `remove_unused_columns=False` in your `TrainingArguments` to disable that behavior.", "Great, I completely missed that! Thanks." ]
1,602
1,602
1,602
NONE
null
# 🚀 Feature request <!-- A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist. --> Currently (transformers==3.3.1) Trainer removes unknown columns (not present in forward method of a model) from datasets.Dataset object. It prevents using cust...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7823/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7823/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/7822
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/7822/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/7822/comments
https://api.github.com/repos/huggingface/transformers/issues/7822/events
https://github.com/huggingface/transformers/issues/7822
722,475,538
MDU6SXNzdWU3MjI0NzU1Mzg=
7,822
[testing] test_modeling_deberta.py is failing
{ "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
[]
[ "Good to know that this we need to update this code for version 1.8.0. Thanks!", "Ah, right, I didn't notice that it was nightly specific - if I'm not mistaken this is really for 1.7 I think - it's hard to tell though.", "Ah, possible! I will take a look :)", "Was fixed in https://github.com/huggingface/trans...
1,602
1,603
1,603
CONTRIBUTOR
null
``` USE_CUDA=1 pytest tests/test_modeling_deberta.py ``` ``` ====================================================================== test session starts ======================================================================= platform linux -- Python 3.8.5, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /mnt/nvme...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/7822/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/7822/timeline
completed
null
null