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/8725 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8725/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8725/comments | https://api.github.com/repos/huggingface/transformers/issues/8725/events | https://github.com/huggingface/transformers/issues/8725 | 748,654,701 | MDU6SXNzdWU3NDg2NTQ3MDE= | 8,725 | Longformer inference speed is slower than bert of the same length | {
"login": "chenlin038",
"id": 38657070,
"node_id": "MDQ6VXNlcjM4NjU3MDcw",
"avatar_url": "https://avatars.githubusercontent.com/u/38657070?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenlin038",
"html_url": "https://github.com/chenlin038",
"followers_url": "https://api.github.com/use... | [
{
"id": 1897896961,
"node_id": "MDU6TGFiZWwxODk3ODk2OTYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Migration",
"name": "Migration",
"color": "e99695",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hey @chenlin038,\r\n\r\nCan you copy paste the configs of `bert-base-1536` and `long-bert-1536` below? This way I can see exactly which configs you are using. Otherwise, I also can only refer to the answers in https://github.com/allenai/longformer/issues/106 .",
"> Hey @chenlin038,\r\n> \r\n> Can you copy paste ... | 1,606 | 1,637 | 1,619 | NONE | null | I used bert-base as the basic model and retrained my long-bert with a length of 1536. Then I compared the difference in inference speed of the original bert-base-1536. After a lot of testing, I found that long-bert-1536 and bert-base-1536 are basically the same in inference speed. I see a similar problem [https://githu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8725/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8725/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8724 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8724/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8724/comments | https://api.github.com/repos/huggingface/transformers/issues/8724/events | https://github.com/huggingface/transformers/issues/8724 | 748,622,478 | MDU6SXNzdWU3NDg2MjI0Nzg= | 8,724 | @ehsan-soe I fixed the problem by truncating incomplete batches. So if there are 2001 examples and my batch size = 2, then I truncate the last example and train on the first 2000. This has fixed it for me both with and without distributed. My load_and_cache function now looks like this | {
"login": "ChaooMa",
"id": 11719780,
"node_id": "MDQ6VXNlcjExNzE5Nzgw",
"avatar_url": "https://avatars.githubusercontent.com/u/11719780?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ChaooMa",
"html_url": "https://github.com/ChaooMa",
"followers_url": "https://api.github.com/users/ChaooM... | [
{
"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",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed... | 1,606 | 1,619 | 1,619 | NONE | null | @ehsan-soe I fixed the problem by truncating incomplete batches. So if there are 2001 examples and my batch size = 2, then I truncate the last example and train on the first 2000. This has fixed it for me both with and without distributed. My load_and_cache function now looks like this
```
def load_and_cache_examples... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8724/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8724/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8723 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8723/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8723/comments | https://api.github.com/repos/huggingface/transformers/issues/8723/events | https://github.com/huggingface/transformers/issues/8723 | 748,554,020 | MDU6SXNzdWU3NDg1NTQwMjA= | 8,723 | Model conversion from PyTorch to TF2 doesn't work properly for XLM-Roberta | {
"login": "QixinLi",
"id": 25460447,
"node_id": "MDQ6VXNlcjI1NDYwNDQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/25460447?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/QixinLi",
"html_url": "https://github.com/QixinLi",
"followers_url": "https://api.github.com/users/QixinL... | [] | closed | false | null | [] | [
"Hello! Could you provide the commands you used to launch the script, and where you obtained the file from? Thanks.",
"> Hello! Could you provide the commands you used to launch the script, and where you obtained the file from? Thanks.\r\n\r\nI found that I made a mistake when saving the pretrained model, after f... | 1,606 | 1,626 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.4.0
- Platform: MacOS
- Python version: 3.7
- PyTorch version (GPU?): 1.6.0
- Tensorflow version (GPU?): 2.3.1
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
@LysandreJik
## Errors
```
Loading PyTorch weights from pyto... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8723/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8723/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8722 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8722/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8722/comments | https://api.github.com/repos/huggingface/transformers/issues/8722/events | https://github.com/huggingface/transformers/issues/8722 | 748,515,884 | MDU6SXNzdWU3NDg1MTU4ODQ= | 8,722 | a bug in generation_beam_search.py | {
"login": "ZhaoQianfeng",
"id": 53401404,
"node_id": "MDQ6VXNlcjUzNDAxNDA0",
"avatar_url": "https://avatars.githubusercontent.com/u/53401404?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ZhaoQianfeng",
"html_url": "https://github.com/ZhaoQianfeng",
"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 @ZhaoQianfeng I think I know what you mean! So in short you are saying that `beam_hyp.add(...)` should be behaving differently depending on whether it finished with or without EOS token right? \r\n\r\nStill not sure whether this is a real problem though... -> Could you maybe open a PR that quickly shows the ch... | 1,606 | 1,619 | 1,619 | NONE | null | I wanted to implement my own beam_search function and read
> src/transformers/generation_beam_search.py
source code for help.In the process of reading the source code, I found an unreasonable place, maybe it could be seen as a bug.
Here is the problem:
In the process() function of generation_beam_search.py, li... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8722/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8722/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8721 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8721/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8721/comments | https://api.github.com/repos/huggingface/transformers/issues/8721/events | https://github.com/huggingface/transformers/issues/8721 | 748,368,794 | MDU6SXNzdWU3NDgzNjg3OTQ= | 8,721 | run_clm.py training script failing with CUDA out of memory error, using gpt2 and arguments from docs. | {
"login": "erik-dunteman",
"id": 44653944,
"node_id": "MDQ6VXNlcjQ0NjUzOTQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/44653944?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erik-dunteman",
"html_url": "https://github.com/erik-dunteman",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The comment you are mentioning was about the old `run_language_modeling` script, and probably with some more options for a K80 that what you are running the script with (we should probably remove it or update with a proper command that gives those results). This doesn't look like a memory leak problem, you just do... | 1,606 | 1,667 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101 (True)
- Tensorflow version (GPU?): 2.3.0 (True)
- Using GPU in script?: Yes, via official run_clm.py script
- Using distributed or paralle... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8721/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8721/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8720 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8720/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8720/comments | https://api.github.com/repos/huggingface/transformers/issues/8720/events | https://github.com/huggingface/transformers/issues/8720 | 748,368,255 | MDU6SXNzdWU3NDgzNjgyNTU= | 8,720 | Broken links in example for torch.load() after. converting tensorflow checkpoint to pytorch save model | {
"login": "apurvaasf",
"id": 24805644,
"node_id": "MDQ6VXNlcjI0ODA1NjQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/24805644?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/apurvaasf",
"html_url": "https://github.com/apurvaasf",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1897896961,
"node_id": "MDU6TGFiZWwxODk3ODk2OTYx",
... | closed | false | null | [] | [
"If I understand correctly, you're trying to load a pytorch model from a `pytorch_model.bin`? If so, have you taken a look at the [quickstart](https://huggingface.co/transformers/v2.4.0/quickstart.html#main-concepts)? The `from_pretrained` method is probably what you're looking for.",
"This issue has been automat... | 1,606 | 1,611 | 1,611 | NONE | null | The links for run_bert_extract_features.py, run_bert_classifier.py, and run_bert_squad.py are all broken [here](https://huggingface.co/transformers/v2.4.0/converting_tensorflow_models.html). Could someone point me to a notebook where I can find examples for loading from a PyTorch save file pytorch_model.bin?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8720/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8720/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8719 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8719/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8719/comments | https://api.github.com/repos/huggingface/transformers/issues/8719/events | https://github.com/huggingface/transformers/issues/8719 | 748,367,945 | MDU6SXNzdWU3NDgzNjc5NDU= | 8,719 | Unable to Tie Encoder Decoder Parameters When Using EncoderDecoderModel Constructor | {
"login": "ncoop57",
"id": 7613470,
"node_id": "MDQ6VXNlcjc2MTM0NzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ncoop57",
"html_url": "https://github.com/ncoop57",
"followers_url": "https://api.github.com/users/ncoop57/... | [] | closed | false | null | [] | [
"Oops realized it was because this weight tying doesn't work across different architectures."
] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Linux-5.4.0-53-generic-x86_64-with-glibc2.10
- Python version: 3.8.3
- PyTorch version (GPU?): 1.4.0 (True)
- Tensorflow version (GPU?): 2.3.0 (False)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
### Wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8719/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8719/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8718 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8718/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8718/comments | https://api.github.com/repos/huggingface/transformers/issues/8718/events | https://github.com/huggingface/transformers/issues/8718 | 748,358,821 | MDU6SXNzdWU3NDgzNTg4MjE= | 8,718 | Issues with finetune_trainer.py on multiple gpus | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi there. There is little anyone can do to help without knowing the actual command you are running.\r\n",
"Hi\nI am running\nhttps://github.com/huggingface/transformers/blob/master/examples/seq2seq/finetune_trainer.py\nonce\nwith multiple gpu machines once with 1 machine,\nI have adapted it for my usecase, this ... | 1,606 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version:3.5.1
- Platform: google cloud
- Python version: 3.7
- PyTorch version (GPU?): yes 1.6
- Tensorflow version (GPU?): -
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: -
### Who can help
Trainer: @sgugger
Text Generation: @p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8718/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8718/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8717 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8717/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8717/comments | https://api.github.com/repos/huggingface/transformers/issues/8717/events | https://github.com/huggingface/transformers/pull/8717 | 748,358,747 | MDExOlB1bGxSZXF1ZXN0NTI1MzYyNzY5 | 8,717 | Add T5 Encoder for Feature Extraction | {
"login": "agemagician",
"id": 6087313,
"node_id": "MDQ6VXNlcjYwODczMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agemagician",
"html_url": "https://github.com/agemagician",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"I like it! ",
"Great, I am glad that you did like it.\r\n\r\nThanks @patrickvonplaten and @jplu for your feedback.\r\n\r\n@patrickvonplaten :\r\nI have adjusted all your code review, and also add it to the T5 documentation.\r\nThe only missing part is the tests, it will be great if you could add it.\r\n\r\n@jplu... | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
While using T5 for feature extraction, I found out that T5 encoder provides better features than T5 decoder. Hence, it makes sense to have T5 encoder only, which should reduce the memory and inference time by half, if feature extraction is needed rather than conditional generation.
## Bef... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8717/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/8717/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8717",
"html_url": "https://github.com/huggingface/transformers/pull/8717",
"diff_url": "https://github.com/huggingface/transformers/pull/8717.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8717.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8716 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8716/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8716/comments | https://api.github.com/repos/huggingface/transformers/issues/8716/events | https://github.com/huggingface/transformers/pull/8716 | 748,345,316 | MDExOlB1bGxSZXF1ZXN0NTI1MzUzMDkz | 8,716 | [trainer] make generate work with multigpu | {
"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 | [] | [
"> Normally the model attribute of the Trainer is always a reference to the real model (without the module from DataParallel and the likes), so using self.model here should prevent this error.\r\n\r\nIt did - thank you!\r\n\r\nThis is a very ambiguous situation for a user who wants to use HF trainer in their code. ... | 1,606 | 1,632 | 1,606 | CONTRIBUTOR | null | This PR:
* fixes **torch.nn.modules.module.ModuleAttributeError: 'DataParallel' object has no attribute 'generate'** under DataParallel
* enables test_finetune_bert2bert under multigpu - the test now works with any number of GPUs.
Chances are that this would be the same problem with any other `model.foo` calls as... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8716/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8716/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8716",
"html_url": "https://github.com/huggingface/transformers/pull/8716",
"diff_url": "https://github.com/huggingface/transformers/pull/8716.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8716.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8715 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8715/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8715/comments | https://api.github.com/repos/huggingface/transformers/issues/8715/events | https://github.com/huggingface/transformers/issues/8715 | 748,324,565 | MDU6SXNzdWU3NDgzMjQ1NjU= | 8,715 | placing the run dir only in the output_dir | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [
{
"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",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed... | 1,606 | 1,619 | 1,619 | NONE | null | Hi
In training_args.py, there is a code which creates a run dir, then anyplace user runs the code there it would create a run dir, could you create it only in the output_dir? thanks
```
def default_logdir() -> str:
"""
Same default as PyTorch
"""
import socket
from datetime import datet... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8715/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8715/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8714 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8714/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8714/comments | https://api.github.com/repos/huggingface/transformers/issues/8714/events | https://github.com/huggingface/transformers/pull/8714 | 748,290,270 | MDExOlB1bGxSZXF1ZXN0NTI1MzE3OTIw | 8,714 | Add TFGPT2ForSequenceClassification based on DialogRPT | {
"login": "spatil6",
"id": 6419011,
"node_id": "MDQ6VXNlcjY0MTkwMTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/6419011?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spatil6",
"html_url": "https://github.com/spatil6",
"followers_url": "https://api.github.com/users/spatil6/... | [] | closed | false | null | [] | [
"Thanks for review @jplu . I'll update my code with review comments and new input processing.\r\n",
"> Thank you very much for this very nice addition!!\r\n> \r\n> I left few comments on it. Also can you run the following piece of code and tell me if it works properly:\r\n> \r\n> ```\r\n> import tensorflow as tf\... | 1,606 | 1,608 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
This PR implements TFGPT2ForSequenceClassification in order to support DialogRPT.
Strongly based on modifications made in #7501
Fixes #7622
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you rea... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8714/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8714/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8714",
"html_url": "https://github.com/huggingface/transformers/pull/8714",
"diff_url": "https://github.com/huggingface/transformers/pull/8714.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8714.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8713 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8713/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8713/comments | https://api.github.com/repos/huggingface/transformers/issues/8713/events | https://github.com/huggingface/transformers/issues/8713 | 748,289,205 | MDU6SXNzdWU3NDgyODkyMDU= | 8,713 | eval of seq2seq/finetune_trainer does not work on multiple gpus | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [] | closed | false | null | [] | [
"seems to be related to #8613 ",
"Fix https://github.com/huggingface/transformers/pull/8716\r\n"
] | 1,606 | 1,606 | 1,606 | NONE | null | Hi
I am using
transformers = 3.5.1
python = 3.7
8 gpu machine
I am getting this error when trying to run "finetune_trainer.py" with do_eval option on multiple gpus. thanks for your help
@patil-suraj @patrickvonplaten
```
11/22/2020 17:14:20 - INFO - __main__ - *** Evaluate ***
11/22/2020 17:14:20 - INF... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8713/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8713/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8712 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8712/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8712/comments | https://api.github.com/repos/huggingface/transformers/issues/8712/events | https://github.com/huggingface/transformers/issues/8712 | 748,284,296 | MDU6SXNzdWU3NDgyODQyOTY= | 8,712 | distributed_eval does not run | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [
{
"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 | [] | [
"with t5-base seems to run fine, so perhaps the specific model in the README is not available. Thank you. ",
"Hello! Indeed, it seems this model does not exist. Do you want to open a PR with a model that works? Thanks!",
"This issue has been automatically marked as stale because it has not had recent activity. ... | 1,606 | 1,619 | 1,619 | NONE | null | Hi
I am trying to run distributed_eval with latest version of huggingface codes installed from the webpage, (internship)
please find the command below and the errors, thank you for your help.
Info on versions/machine:
python = 3.7
8 gpus
transformers 4.0.0rc1 pypi_0 pypi
``... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8712/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8712/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8711 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8711/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8711/comments | https://api.github.com/repos/huggingface/transformers/issues/8711/events | https://github.com/huggingface/transformers/issues/8711 | 748,269,244 | MDU6SXNzdWU3NDgyNjkyNDQ= | 8,711 | Model predictions wrong | {
"login": "brunopistone",
"id": 10196125,
"node_id": "MDQ6VXNlcjEwMTk2MTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/10196125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brunopistone",
"html_url": "https://github.com/brunopistone",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"If you have an accuracy near 10% on a two-label sequence classification task - does that mean it gets 90% of the results wrong? If so, you might just have switched the labels.",
"Hi, no the problem is not related to what you said. I tried also to perform one hot encoding on the labels and change the loss functio... | 1,606 | 1,619 | 1,619 | 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.5.0
- Platform: Linux
- Python version: 3.7
- PyTorch version (GPU?):
- Tensorflow version (GPU?): 2... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8711/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8711/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8710 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8710/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8710/comments | https://api.github.com/repos/huggingface/transformers/issues/8710/events | https://github.com/huggingface/transformers/issues/8710 | 748,211,017 | MDU6SXNzdWU3NDgyMTEwMTc= | 8,710 | [BUG] Wrong Scores for many SQUAD models | {
"login": "elronbandel",
"id": 23455264,
"node_id": "MDQ6VXNlcjIzNDU1MjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/23455264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/elronbandel",
"html_url": "https://github.com/elronbandel",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed... | 1,606 | 1,619 | 1,619 | NONE | null | @julien-c
@VictorSanh
## Information
All models trained with run_squad.py have abstaining threshold of 0.0 and possibly wrong evaluation scores.
Those model have their wrong score in their model cards many people rely on.
For example: ahotrod/electra_large_discriminator_squad2_512
The results with curren... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8710/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8710/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8709 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8709/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8709/comments | https://api.github.com/repos/huggingface/transformers/issues/8709/events | https://github.com/huggingface/transformers/issues/8709 | 748,180,401 | MDU6SXNzdWU3NDgxODA0MDE= | 8,709 | Can't load weights for | {
"login": "saburbutt",
"id": 33926182,
"node_id": "MDQ6VXNlcjMzOTI2MTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/33926182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saburbutt",
"html_url": "https://github.com/saburbutt",
"followers_url": "https://api.github.com/users/... | [
{
"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 | [] | [] | 1,606 | 1,606 | 1,606 | NONE | null | # 🌟 New model addition
**Getting the following error after training a question answering problem using ALBERT.**
404 Client Error: Not Found for url: https://huggingface.co/saburbutt/albert_xxlarge_tweetqa_v2/resolve/main/tf_model.h5
---------------------------------------------------------------------------
R... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8709/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8709/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8708 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8708/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8708/comments | https://api.github.com/repos/huggingface/transformers/issues/8708/events | https://github.com/huggingface/transformers/pull/8708 | 748,133,828 | MDExOlB1bGxSZXF1ZXN0NTI1MjExNjk4 | 8,708 | Fix many typos | {
"login": "bryant1410",
"id": 3905501,
"node_id": "MDQ6VXNlcjM5MDU1MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3905501?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bryant1410",
"html_url": "https://github.com/bryant1410",
"followers_url": "https://api.github.com/users... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,606 | 1,606 | 1,606 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8708/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8708/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8708",
"html_url": "https://github.com/huggingface/transformers/pull/8708",
"diff_url": "https://github.com/huggingface/transformers/pull/8708.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8708.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/8707 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8707/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8707/comments | https://api.github.com/repos/huggingface/transformers/issues/8707/events | https://github.com/huggingface/transformers/issues/8707 | 748,117,841 | MDU6SXNzdWU3NDgxMTc4NDE= | 8,707 | Accuracy changes dramatically | {
"login": "burakisikli",
"id": 982014,
"node_id": "MDQ6VXNlcjk4MjAxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/982014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/burakisikli",
"html_url": "https://github.com/burakisikli",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nIt would be great if you could also include both training scripts, so that we may compare. There should be no difference bet... | 1,605 | 1,606 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101 (True)
- Tensorflow version (GPU?): 2.3.0 (True)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8707/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8707/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8706 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8706/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8706/comments | https://api.github.com/repos/huggingface/transformers/issues/8706/events | https://github.com/huggingface/transformers/issues/8706 | 748,110,831 | MDU6SXNzdWU3NDgxMTA4MzE= | 8,706 | T5v1.1 Addition of special tokens | {
"login": "FL33TW00D",
"id": 45471420,
"node_id": "MDQ6VXNlcjQ1NDcxNDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/45471420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FL33TW00D",
"html_url": "https://github.com/FL33TW00D",
"followers_url": "https://api.github.com/users/... | [] | 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... | [
"duplicate of https://github.com/huggingface/transformers/issues/8643. \r\n\r\nThis is indeed a big problem. I'll try to get to it this week!",
"Hey @FL33TW00D - actually I cannot reproduce your error....Can you try to update to the `tokenizers` version as well?",
"I can correctly shorten T5's embedding matrix.... | 1,605 | 1,608 | 1,606 | 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: 4.0.0 --rc1
- Platform: Colab
- Python version: 3.6.9
- PyTorch version (GPU?): TESLA V4
- Tensorflow ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8706/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/8706/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8705 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8705/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8705/comments | https://api.github.com/repos/huggingface/transformers/issues/8705/events | https://github.com/huggingface/transformers/issues/8705 | 748,100,879 | MDU6SXNzdWU3NDgxMDA4Nzk= | 8,705 | DPRReaderTokenizers returns, for multiple passages given, only the tokens & masks of one passage | {
"login": "omarsou",
"id": 49435231,
"node_id": "MDQ6VXNlcjQ5NDM1MjMx",
"avatar_url": "https://avatars.githubusercontent.com/u/49435231?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omarsou",
"html_url": "https://github.com/omarsou",
"followers_url": "https://api.github.com/users/omarso... | [] | closed | false | null | [] | [
"Hello, \r\nA little update, I think I fixed this issue. \r\nThe tokenizer returns a tensor of shape (n_passages, n_sequence_length) but only because I have duplicated the question like [questions] * n_passages. It was not clear on the documentation since I thought it was automatically done. "
] | 1,605 | 1,606 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: Colab Notebook
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
### Who can help
tokenizers: @mfuntowicz
-->
## Information
Model I am using... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8705/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8705/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8704 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8704/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8704/comments | https://api.github.com/repos/huggingface/transformers/issues/8704/events | https://github.com/huggingface/transformers/issues/8704 | 748,065,368 | MDU6SXNzdWU3NDgwNjUzNjg= | 8,704 | Generating from mT5 | {
"login": "tomhosking",
"id": 9419158,
"node_id": "MDQ6VXNlcjk0MTkxNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9419158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomhosking",
"html_url": "https://github.com/tomhosking",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"mT5 is not pretrained on downstream tasks like T5 was - see: https://huggingface.co/transformers/master/model_summary.html#mt5 \r\n\r\nSo it not surprising that mT5 won't work well out-of-the-box without fine-tuning.",
"Ah, I hadn't realised that. But in that case, wouldn't the expected output be a reconstructio... | 1,605 | 1,661 | 1,622 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: #9c0afdaf7b091c341072b432ad6ee17ba7a5016b
- Platform: Google colab
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0
No GPU
### Who can help
mT5: @patrickvonplaten
## Information
Generating from `mT5-small` gives (nearly) empty output:
```
f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8704/reactions",
"total_count": 9,
"+1": 9,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8704/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8703 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8703/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8703/comments | https://api.github.com/repos/huggingface/transformers/issues/8703/events | https://github.com/huggingface/transformers/issues/8703 | 748,026,472 | MDU6SXNzdWU3NDgwMjY0NzI= | 8,703 | providing the user with possibility to set the cache path | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [
{
"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 path is the default `cache_path` of the datasets library, not transformers. You can change it by setting an environment variable named `HF_HOME` to the path you want, the datasets will then be cached in this path suffixed with \"/datasets/\"",
"Hi\nthank you, the huggingface codes gebnerally also create an ... | 1,605 | 1,619 | 1,619 | NONE | null | Dear HuggingFace team,
In the codes of huggingface, most of the time there is some cache_path which is on the home directory,
/idiap/home/rkarimi/.cache/huggingface/datasets/downloads
could you provide me with a command to set a different cache_path? to me this is hard-coded in the codes or I am missing someth... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8703/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8703/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8702 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8702/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8702/comments | https://api.github.com/repos/huggingface/transformers/issues/8702/events | https://github.com/huggingface/transformers/issues/8702 | 748,011,457 | MDU6SXNzdWU3NDgwMTE0NTc= | 8,702 | Question about beam_sample: using two softmax? | {
"login": "binshengliu",
"id": 441707,
"node_id": "MDQ6VXNlcjQ0MTcwNw==",
"avatar_url": "https://avatars.githubusercontent.com/u/441707?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/binshengliu",
"html_url": "https://github.com/binshengliu",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"After submitting I realized `F.softmax(F.log_softmax())` is equivalent to `F.softmax()`. The different probability values I noticed comes from the normalization of multiple beams in one dimension (line 1169). That doesn't change the behaviour of the sampling."
] | 1,605 | 1,605 | 1,605 | 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.5.1
- Platform: Linux-4.15.0-122-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8702/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8702/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8701 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8701/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8701/comments | https://api.github.com/repos/huggingface/transformers/issues/8701/events | https://github.com/huggingface/transformers/issues/8701 | 747,958,265 | MDU6SXNzdWU3NDc5NTgyNjU= | 8,701 | TypeError: an integer is required (got type NoneType) | {
"login": "parthplc",
"id": 35425925,
"node_id": "MDQ6VXNlcjM1NDI1OTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/35425925?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/parthplc",
"html_url": "https://github.com/parthplc",
"followers_url": "https://api.github.com/users/par... | [] | closed | false | null | [] | [
"Hey @parthplc,\r\n\r\nCould you try to post a very short code snippet that can reproduce the error. It's too time-consuming to go through such a big notebook sadly",
"@parthplc Please post a solution if you close the issue. There is none in your colab as far as I can see (`model.resize_token_embeddings(len(token... | 1,605 | 1,611 | 1,606 | NONE | null | While using trainer class to finetune gpt-2 on Hindi dataset. It's outputting the following error
```
TypeError Traceback (most recent call last)
<ipython-input-44-3435b262f1ae> in <module>()
----> 1 trainer.train()
5 frames
/usr/local/lib/python3.6/dist-packages/transformers/dat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8701/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8701/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8700 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8700/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8700/comments | https://api.github.com/repos/huggingface/transformers/issues/8700/events | https://github.com/huggingface/transformers/issues/8700 | 747,925,386 | MDU6SXNzdWU3NDc5MjUzODY= | 8,700 | training text_classification with tpu using xla_spawn gives wrong result | {
"login": "kiyoungkim1",
"id": 37245002,
"node_id": "MDQ6VXNlcjM3MjQ1MDAy",
"avatar_url": "https://avatars.githubusercontent.com/u/37245002?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kiyoungkim1",
"html_url": "https://github.com/kiyoungkim1",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hello! I'm not sure I completely understand the issue. Are you saying you do not obtain the results you expected when using the 8 cores of the TPU, vs using a single TPU core?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occ... | 1,605 | 1,619 | 1,619 | CONTRIBUTOR | null | I tested text_classification code with tpu and gpu versions shown below.
tpu(colab with 8cores) and gpu(colab) versions take 2min and 17min, respectively, which is nice.
Training gpu version gives good behavior, where loss decreases continuously.
However, for tpu version, the dataset is almost divided into 8 segme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8700/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8700/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8699 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8699/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8699/comments | https://api.github.com/repos/huggingface/transformers/issues/8699/events | https://github.com/huggingface/transformers/issues/8699 | 747,914,350 | MDU6SXNzdWU3NDc5MTQzNTA= | 8,699 | Cannot load tokenizer in community T5 pretrained model | {
"login": "minhtam2048",
"id": 45004329,
"node_id": "MDQ6VXNlcjQ1MDA0MzI5",
"avatar_url": "https://avatars.githubusercontent.com/u/45004329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/minhtam2048",
"html_url": "https://github.com/minhtam2048",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Yes, that model from @sshleifer does not bundle its own tokenizer, as you can see in the list of files: https://huggingface.co/sshleifer/t5-base-cnn/tree/main\r\n\r\nWe'll add this info to the model card, but you can just use the one from t5: `T5Tokenizer.from_pretrained(\"t5-base\")`",
"@julien-c Thank you for ... | 1,605 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 3.5
- Platform: Window 10
- Python version: 3.7.9
- PyTorch version (GPU?): 1.7.0+cpu (False)
- Tensorflow version (GPU?): 2.3.1 (False)
- Using GPU in script?: False
- Using distributed or parallel set-up in script?: False
### Who can help
T5: @patrickvonplat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8699/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8699/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8698 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8698/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8698/comments | https://api.github.com/repos/huggingface/transformers/issues/8698/events | https://github.com/huggingface/transformers/issues/8698 | 747,898,509 | MDU6SXNzdWU3NDc4OTg1MDk= | 8,698 | CSV/JSON file format for examples/token-classification/run_ner.py | {
"login": "ganeshjawahar",
"id": 4785960,
"node_id": "MDQ6VXNlcjQ3ODU5NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4785960?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ganeshjawahar",
"html_url": "https://github.com/ganeshjawahar",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Hi @ganeshjawahar , please have a look at the `run_NER_old.py` script! It should handle custom files 🤗 ",
"Usage and more examples are documented here:\r\n\r\nhttps://github.com/huggingface/transformers/tree/master/examples/token-classification#old-version-of-the-script",
"Thanks for the quick response. I'm a... | 1,605 | 1,646 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Linux-3.10.0-1160.6.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core
- Python version: 3.6.8
- PyTorch version (GPU?): 1.6.0 (False)
- Tensorflow version (GPU?): 2.3.1 (False)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8698/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8698/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8697 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8697/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8697/comments | https://api.github.com/repos/huggingface/transformers/issues/8697/events | https://github.com/huggingface/transformers/pull/8697 | 747,835,040 | MDExOlB1bGxSZXF1ZXN0NTI0OTg2MjE4 | 8,697 | test | {
"login": "alexorona",
"id": 11825654,
"node_id": "MDQ6VXNlcjExODI1NjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11825654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexorona",
"html_url": "https://github.com/alexorona",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8697/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8697/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8697",
"html_url": "https://github.com/huggingface/transformers/pull/8697",
"diff_url": "https://github.com/huggingface/transformers/pull/8697.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8697.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/8696 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8696/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8696/comments | https://api.github.com/repos/huggingface/transformers/issues/8696/events | https://github.com/huggingface/transformers/pull/8696 | 747,812,174 | MDExOlB1bGxSZXF1ZXN0NTI0OTY3MTMx | 8,696 | gpt2 and t5 parallel modeling | {
"login": "alexorona",
"id": 11825654,
"node_id": "MDQ6VXNlcjExODI1NjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11825654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexorona",
"html_url": "https://github.com/alexorona",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2627272588,
"node_id": "MDU6TGFiZWwyNjI3MjcyNTg4",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Model%20Parallel",
"name": "Model Parallel",
"color": "8B66A5",
"default": false,
"description": "Model Parallelilsm Implementations"
}
] | closed | false | null | [] | [
"Would it be a good idea to support a less painful way of writing a device_map? This is because as the developer experiments with the mapping, the current method is very inefficient to modify the layer maps.\r\n\r\nPerhaps there could be more than one way to do it?\r\n\r\nInstead of:\r\n```\r\n devic... | 1,605 | 1,609 | 1,606 | CONTRIBUTOR | null | # Model Parallelism for T5 and GPT2
Adds two new methods to `GPT2LMHead` and the `GPT2Model` classes to enable you to generate and fine-tune models using model parallelism. This feature is most applicable for `gpt2-large` and `gpt2-xl`. Minor modifications are made to the `TrainingArguments` and `Trainer` classes to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8696/reactions",
"total_count": 10,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 9,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8696/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8696",
"html_url": "https://github.com/huggingface/transformers/pull/8696",
"diff_url": "https://github.com/huggingface/transformers/pull/8696.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8696.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8695 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8695/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8695/comments | https://api.github.com/repos/huggingface/transformers/issues/8695/events | https://github.com/huggingface/transformers/pull/8695 | 747,804,697 | MDExOlB1bGxSZXF1ZXN0NTI0OTYwNzAx | 8,695 | Update README.md to fix typo | {
"login": "siddiqaa",
"id": 15359637,
"node_id": "MDQ6VXNlcjE1MzU5NjM3",
"avatar_url": "https://avatars.githubusercontent.com/u/15359637?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/siddiqaa",
"html_url": "https://github.com/siddiqaa",
"followers_url": "https://api.github.com/users/sid... | [] | closed | false | null | [] | [
"@patil-suraj this pull request can be closed the typo has already been fixed. ",
"Thanks for letting me know."
] | 1,605 | 1,617 | 1,617 | NONE | null | Fix typo on line 45
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8695/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8695/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8695",
"html_url": "https://github.com/huggingface/transformers/pull/8695",
"diff_url": "https://github.com/huggingface/transformers/pull/8695.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8695.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8694 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8694/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8694/comments | https://api.github.com/repos/huggingface/transformers/issues/8694/events | https://github.com/huggingface/transformers/pull/8694 | 747,779,895 | MDExOlB1bGxSZXF1ZXN0NTI0OTM5NzQ0 | 8,694 | [Generate Test] fix flaky ci | {
"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,605 | 1,605 | 1,605 | 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/8694/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8694/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8694",
"html_url": "https://github.com/huggingface/transformers/pull/8694",
"diff_url": "https://github.com/huggingface/transformers/pull/8694.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8694.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8693 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8693/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8693/comments | https://api.github.com/repos/huggingface/transformers/issues/8693/events | https://github.com/huggingface/transformers/pull/8693 | 747,770,823 | MDExOlB1bGxSZXF1ZXN0NTI0OTMyMjIx | 8,693 | update tensorflow to functional version | {
"login": "bbatha",
"id": 301475,
"node_id": "MDQ6VXNlcjMwMTQ3NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/301475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bbatha",
"html_url": "https://github.com/bbatha",
"followers_url": "https://api.github.com/users/bbatha/follow... | [] | closed | false | null | [] | [
"This was solved by https://github.com/huggingface/transformers/pull/8616\r\n\r\nThank you for your contribution!"
] | 1,605 | 1,606 | 1,606 | NONE | null | ## What does this PR do?
Related to #7333 notebooks/02-transformers.ipynb has you install an unsupported version of tensorflow.
Fixes # N/A
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ x ] Did you read the [contributor guideli... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8693/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8693/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8693",
"html_url": "https://github.com/huggingface/transformers/pull/8693",
"diff_url": "https://github.com/huggingface/transformers/pull/8693.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8693.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8692 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8692/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8692/comments | https://api.github.com/repos/huggingface/transformers/issues/8692/events | https://github.com/huggingface/transformers/issues/8692 | 747,743,982 | MDU6SXNzdWU3NDc3NDM5ODI= | 8,692 | issues with seq length with inference code for classification | {
"login": "sashank06",
"id": 8636933,
"node_id": "MDQ6VXNlcjg2MzY5MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8636933?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sashank06",
"html_url": "https://github.com/sashank06",
"followers_url": "https://api.github.com/users/sa... | [] | closed | false | null | [] | [
"There is an issue here because your sequence is now to long for your model. The model only supports sequences of size 512 or less, but this code:\r\n\r\n```py\r\nsequence_0 = \"The company HuggingFace is based in New York City\" * 100\r\nsequence_1 = \"Apples are especially bad for your health\"\r\nsequence_2 = \"... | 1,605 | 1,606 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: Google Colab
- Python version: 3.7
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: No
### Who can help
@LysandreJik , @mfuntowicz , @VictorSanh
## In... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8692/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8692/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8691 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8691/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8691/comments | https://api.github.com/repos/huggingface/transformers/issues/8691/events | https://github.com/huggingface/transformers/issues/8691 | 747,717,774 | MDU6SXNzdWU3NDc3MTc3NzQ= | 8,691 | Pegasus example not working | {
"login": "greenstars",
"id": 23225390,
"node_id": "MDQ6VXNlcjIzMjI1Mzkw",
"avatar_url": "https://avatars.githubusercontent.com/u/23225390?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/greenstars",
"html_url": "https://github.com/greenstars",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@greenstars having the same issue - How did you resolve this?",
"> @greenstars having the same issue - How did you resolve this?\r\n\r\n@EliaKunz I changed \"!pip install git+https://github.com/huggingface/transformers.git\" to \"!pip install transformers\". ",
"Thx! Was on datalore with the latest transformer... | 1,605 | 1,673 | 1,605 | NONE | null | @patrickvonplaten
Hi,
I am trying to run on the pegasus example on Colab.
"!pip install git+https://github.com/huggingface/transformers.git
!pip install sentencepiece
from transformers import PegasusForConditionalGeneration, PegasusTokenizer
import torch
src_text = [
""" PG&E stated it scheduled th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8691/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8691/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8690 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8690/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8690/comments | https://api.github.com/repos/huggingface/transformers/issues/8690/events | https://github.com/huggingface/transformers/issues/8690 | 747,677,540 | MDU6SXNzdWU3NDc2Nzc1NDA= | 8,690 | connection issue | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [] | closed | false | null | [] | [
"Having a similar issue while running Multi class classification model",
"@patrickvonplaten @sumyuck @sgugger ",
"Hi\r\nI am constantly getting this erorr, looks like a bug to me since sometimes it appears sometimes not, could you please help me, this is expensive experiments I am trying on TPUs and I appreciat... | 1,605 | 1,669 | 1,619 | NONE | null | Hi
I am runnig seq2seq_trainer on TPUs I am always getting this connection issue could you please have a look
sicne this is on TPUs this is hard for me to debug
thanks
Best
Rabeeh
2389961.mean (11/20/2020 05:24:09 PM) (Detached)
local_files_only=local_files_only,
File "/anaconda3/en... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8690/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8690/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8689 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8689/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8689/comments | https://api.github.com/repos/huggingface/transformers/issues/8689/events | https://github.com/huggingface/transformers/issues/8689 | 747,560,301 | MDU6SXNzdWU3NDc1NjAzMDE= | 8,689 | [Question] Pegasus tokenizer | {
"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 | [] | [
"No problem at all!\r\n\r\n+ The inheritance is just for the purpose of not duplicating code.\r\n+ You can change to whatever unk you would like, i wasn't at all careful about this stuff since i didn't try to replicate/test pre-training, just fine-tuning and generation.\r\n+ Your changes sound like obvious low risk... | 1,605 | 1,606 | 1,606 | MEMBER | null | @sshleifer - sorry to ping you here on this. Would be amazing if you find some time to explain the Pegasus tokenizer a bit.
A couple of things I don't understand:
- In the official Pegasus Tokenizer and from reading the paper it seems that exactly 2 mask tokens are necessary.
See https://github.com/google-re... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8689/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8689/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8688 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8688/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8688/comments | https://api.github.com/repos/huggingface/transformers/issues/8688/events | https://github.com/huggingface/transformers/pull/8688 | 747,525,523 | MDExOlB1bGxSZXF1ZXN0NTI0NzM0ODY4 | 8,688 | Document adam betas TrainingArguments | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
#5592 introduced two new fields in `TrainingArguments` (`adam_beta1` and `adam_beta2`) without documenting them in the docstring. This PR fixes that. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8688/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8688/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8688",
"html_url": "https://github.com/huggingface/transformers/pull/8688",
"diff_url": "https://github.com/huggingface/transformers/pull/8688.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8688.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8687 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8687/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8687/comments | https://api.github.com/repos/huggingface/transformers/issues/8687/events | https://github.com/huggingface/transformers/pull/8687 | 747,478,824 | MDExOlB1bGxSZXF1ZXN0NTI0Njk1NTk3 | 8,687 | added bangla-bert-sentiment model card | {
"login": "sagorbrur",
"id": 10723655,
"node_id": "MDQ6VXNlcjEwNzIzNjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/10723655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sagorbrur",
"html_url": "https://github.com/sagorbrur",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | Hi,
I added model card for bangla-bert-sentiment model.
Please check and if possible merge.
thanks and regards | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8687/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8687/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8687",
"html_url": "https://github.com/huggingface/transformers/pull/8687",
"diff_url": "https://github.com/huggingface/transformers/pull/8687.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8687.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8686 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8686/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8686/comments | https://api.github.com/repos/huggingface/transformers/issues/8686/events | https://github.com/huggingface/transformers/pull/8686 | 747,468,446 | MDExOlB1bGxSZXF1ZXN0NTI0Njg2OTE3 | 8,686 | moved temperature warper before topP/topK warpers | {
"login": "theorm",
"id": 89853,
"node_id": "MDQ6VXNlcjg5ODUz",
"avatar_url": "https://avatars.githubusercontent.com/u/89853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/theorm",
"html_url": "https://github.com/theorm",
"followers_url": "https://api.github.com/users/theorm/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Moves the `temperature` warper in `generation_utils.py` before `top_p` and `top_k` warper so that temperature affects sampling. This is how it used to be [before refactoring](https://github.com/huggingface/transformers/blob/v3.4.0/src/transformers/generation_utils.py#L571-L575) in `v.3.5.x`.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8686/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8686/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8686",
"html_url": "https://github.com/huggingface/transformers/pull/8686",
"diff_url": "https://github.com/huggingface/transformers/pull/8686.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8686.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8685 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8685/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8685/comments | https://api.github.com/repos/huggingface/transformers/issues/8685/events | https://github.com/huggingface/transformers/issues/8685 | 747,459,567 | MDU6SXNzdWU3NDc0NTk1Njc= | 8,685 | Pegasus Xsum Returning Tokens Not In Source Text | {
"login": "1337-Pete",
"id": 43712596,
"node_id": "MDQ6VXNlcjQzNzEyNTk2",
"avatar_url": "https://avatars.githubusercontent.com/u/43712596?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1337-Pete",
"html_url": "https://github.com/1337-Pete",
"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 | [] | [
"Not an expert in summarization, but abstractive text summarization does not extract sequences/tokens from the initial text to produce a summary. That would be extractive text summarization. Abstractive text summarization instead can be done with rephrasing, as it seems to be the case here.\r\n\r\nOn a second note,... | 1,605 | 1,619 | 1,619 | NONE | null | I'm currently using `sshleifer/distill-pegasus-xsum-16-8` model to perform abstractive text summarization, I've found this particular model to be most useful for my desired application. However, when attempting to summarize on inputted source text, the output returns tokens returned are nowhere in the source text. I su... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8685/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8685/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8684 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8684/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8684/comments | https://api.github.com/repos/huggingface/transformers/issues/8684/events | https://github.com/huggingface/transformers/issues/8684 | 747,408,851 | MDU6SXNzdWU3NDc0MDg4NTE= | 8,684 | Bert variants pretrained on Wikipedia are easily downloaded. Are the optimizers from the pretraining also available? | {
"login": "pkadambi",
"id": 11398171,
"node_id": "MDQ6VXNlcjExMzk4MTcx",
"avatar_url": "https://avatars.githubusercontent.com/u/11398171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pkadambi",
"html_url": "https://github.com/pkadambi",
"followers_url": "https://api.github.com/users/pka... | [
{
"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",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed... | 1,605 | 1,619 | 1,619 | NONE | null | Is there a pretrained optimizer checkpoint available that can be loaded in the same way as a pretrained model?
I noticed that though the pretrained models are available trained on Wikipedia (ex can load a pretrained distillbert using: <br/>`model = DistilBertForSequenceClassification.from_pretrained('distilbert-base... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8684/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8684/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8683 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8683/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8683/comments | https://api.github.com/repos/huggingface/transformers/issues/8683/events | https://github.com/huggingface/transformers/issues/8683 | 747,327,400 | MDU6SXNzdWU3NDczMjc0MDA= | 8,683 | use the torchscript in a gpt model is slower than origin one. | {
"login": "lonelydancer",
"id": 548443,
"node_id": "MDQ6VXNlcjU0ODQ0Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/548443?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lonelydancer",
"html_url": "https://github.com/lonelydancer",
"followers_url": "https://api.github.com/u... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi! TorchScript requires tracing the model beforehand, which slows down the first forward pass through the model. Could you print the timing of the iterations following the initial one?",
"Hi, @LysandreJik \r\ndo you mean in the first iteration \"loaded_model(input_ids)\" will slow?\r\nI already traced model ... | 1,605 | 1,619 | 1,619 | 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.1.1
- Platform:Linux version 4.15.0-76-generic (buildd@lcy01-amd64-029) (gcc version 7.4.0 (Ubuntu 7.4.0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8683/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8683/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8682 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8682/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8682/comments | https://api.github.com/repos/huggingface/transformers/issues/8682/events | https://github.com/huggingface/transformers/pull/8682 | 747,298,062 | MDExOlB1bGxSZXF1ZXN0NTI0NTQ1MDIy | 8,682 | create README.md | {
"login": "bino282",
"id": 17800187,
"node_id": "MDQ6VXNlcjE3ODAwMTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/17800187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bino282",
"html_url": "https://github.com/bino282",
"followers_url": "https://api.github.com/users/bino28... | [
{
"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,605 | 1,606 | 1,606 | 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/8682/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8682/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8682",
"html_url": "https://github.com/huggingface/transformers/pull/8682",
"diff_url": "https://github.com/huggingface/transformers/pull/8682.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8682.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8681 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8681/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8681/comments | https://api.github.com/repos/huggingface/transformers/issues/8681/events | https://github.com/huggingface/transformers/pull/8681 | 747,297,357 | MDExOlB1bGxSZXF1ZXN0NTI0NTQ0NDM2 | 8,681 | Create README.txt | {
"login": "bino282",
"id": 17800187,
"node_id": "MDQ6VXNlcjE3ODAwMTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/17800187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bino282",
"html_url": "https://github.com/bino282",
"followers_url": "https://api.github.com/users/bino28... | [
{
"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 | [] | [
"Can you please add metadata as in https://huggingface.co/docs#what-metadata-can-i-add-to-my-model-card?\r\n\r\nThank you!",
"Closing this one as duplicate was already merged!\r\n\r\nFor context please also read https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/27... | 1,605 | 1,607 | 1,607 | 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/8681/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8681/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8681",
"html_url": "https://github.com/huggingface/transformers/pull/8681",
"diff_url": "https://github.com/huggingface/transformers/pull/8681.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8681.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8680 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8680/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8680/comments | https://api.github.com/repos/huggingface/transformers/issues/8680/events | https://github.com/huggingface/transformers/issues/8680 | 747,265,998 | MDU6SXNzdWU3NDcyNjU5OTg= | 8,680 | Result changes if we don't pass attension mask in TFDistilbert model on SQUADv1 dataset | {
"login": "bhadreshpsavani",
"id": 26653468,
"node_id": "MDQ6VXNlcjI2NjUzNDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhadreshpsavani",
"html_url": "https://github.com/bhadreshpsavani",
"followers_url": "https://api... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"`attention_mask` is an optional argument, but that doesn't mean that it should not be passed to the function. If `attention_mask` is `None` then it is initialized to attend all tokens (all 1's in the `attention_mask` tensor), which is incorrect if the input is a batch that includes padding tokens. => It's better t... | 1,605 | 1,619 | 1,619 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: latest
- Platform: Colab
- Python version:
- Tensorflow version (GPU?): 2.3.0
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
### Who can help
I used the below code for getting Model
```
from transformers import AutoTokenizer,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8680/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8680/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8679 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8679/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8679/comments | https://api.github.com/repos/huggingface/transformers/issues/8679/events | https://github.com/huggingface/transformers/pull/8679 | 747,195,294 | MDExOlB1bGxSZXF1ZXN0NTI0NDU3ODY0 | 8,679 | gpt2 and t5 model parallelism with tests | {
"login": "alexorona",
"id": 11825654,
"node_id": "MDQ6VXNlcjExODI1NjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11825654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexorona",
"html_url": "https://github.com/alexorona",
"followers_url": "https://api.github.com/users/... | [
{
"id": 2627272588,
"node_id": "MDU6TGFiZWwyNjI3MjcyNTg4",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Model%20Parallel",
"name": "Model Parallel",
"color": "8B66A5",
"default": false,
"description": "Model Parallelilsm Implementations"
}
] | closed | false | null | [] | [] | 1,605 | 1,609 | 1,605 | CONTRIBUTOR | null | # Model Parallelism for GPT2 and T5
Note: version compatible with v4
Adds two new methods to t5 and gpt2 models to enable you to generate and fine-tune models using model parallelism. This feature is most applicable for `gpt2-large` and `gpt2-xl`. Minor modifications are made to the `TrainingArguments` and `Trainer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8679/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/8679/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8679",
"html_url": "https://github.com/huggingface/transformers/pull/8679",
"diff_url": "https://github.com/huggingface/transformers/pull/8679.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8679.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8678 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8678/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8678/comments | https://api.github.com/repos/huggingface/transformers/issues/8678/events | https://github.com/huggingface/transformers/pull/8678 | 747,172,185 | MDExOlB1bGxSZXF1ZXN0NTI0NDM4MDg4 | 8,678 | Update the bibtex with EMNLP demo | {
"login": "JetRunner",
"id": 22514219,
"node_id": "MDQ6VXNlcjIyNTE0MjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JetRunner",
"html_url": "https://github.com/JetRunner",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8678/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8678/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8678",
"html_url": "https://github.com/huggingface/transformers/pull/8678",
"diff_url": "https://github.com/huggingface/transformers/pull/8678.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8678.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/8677 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8677/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8677/comments | https://api.github.com/repos/huggingface/transformers/issues/8677/events | https://github.com/huggingface/transformers/pull/8677 | 747,170,906 | MDExOlB1bGxSZXF1ZXN0NTI0NDM2OTg3 | 8,677 | Model parallel v4 | {
"login": "alexorona",
"id": 11825654,
"node_id": "MDQ6VXNlcjExODI1NjU0",
"avatar_url": "https://avatars.githubusercontent.com/u/11825654?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexorona",
"html_url": "https://github.com/alexorona",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # Model Parallelism for GPT2 and T5
Note: this is a clean pull request for [PR # 7772](https://github.com/huggingface/transformers/pull/7772) that uses code from transformers v4.0.0.
Adds two new methods to `GPT2LMHead` and the `GPT2Model` classes to enable you to generate and fine-tune models using model paralle... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8677/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8677/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8677",
"html_url": "https://github.com/huggingface/transformers/pull/8677",
"diff_url": "https://github.com/huggingface/transformers/pull/8677.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8677.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8676 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8676/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8676/comments | https://api.github.com/repos/huggingface/transformers/issues/8676/events | https://github.com/huggingface/transformers/pull/8676 | 747,099,832 | MDExOlB1bGxSZXF1ZXN0NTI0Mzc1NDMy | 8,676 | 2 typos in modeling_rag.py | {
"login": "ratthachat",
"id": 56621342,
"node_id": "MDQ6VXNlcjU2NjIxMzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/56621342?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ratthachat",
"html_url": "https://github.com/ratthachat",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi! Could you run `make style` on your branch so that the code quality check passes? Thanks!",
"Hi guys, I only have mobile phone until Dec. 1. I will do it as soon as I can access PC.",
"@lhoestq @LysandreJik done applying style. Sorry for late!"
] | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
Fix 2 typos in `modeling_rag.py`
`from_encoder_generator_configs` --> `from_question_encoder_generator_configs`
## Who can review?
@lhoestq
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8676/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8676/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8676",
"html_url": "https://github.com/huggingface/transformers/pull/8676",
"diff_url": "https://github.com/huggingface/transformers/pull/8676.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8676.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8675 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8675/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8675/comments | https://api.github.com/repos/huggingface/transformers/issues/8675/events | https://github.com/huggingface/transformers/pull/8675 | 747,086,386 | MDExOlB1bGxSZXF1ZXN0NTI0MzY1MTQy | 8,675 | [WIP] Rewrite ProphetNet to adapt converting ONNX friendly | {
"login": "jiafatom",
"id": 30608893,
"node_id": "MDQ6VXNlcjMwNjA4ODkz",
"avatar_url": "https://avatars.githubusercontent.com/u/30608893?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jiafatom",
"html_url": "https://github.com/jiafatom",
"followers_url": "https://api.github.com/users/jia... | [] | closed | false | null | [] | [
"@mfuntowicz - could you take a look maybe? :-) ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/... | 1,605 | 1,619 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
We want to convert ProphetNet (pytorch model) to ONNX, but it needs some source code change to adapt it. The current code cannot convert to ONNX because
(1) The current pytorch model generates very large TorchScript IR graph (38k for decoder). We rewrite the way it generates bias: ~~Let's use... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8675/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8675/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8675",
"html_url": "https://github.com/huggingface/transformers/pull/8675",
"diff_url": "https://github.com/huggingface/transformers/pull/8675.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8675.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8674 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8674/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8674/comments | https://api.github.com/repos/huggingface/transformers/issues/8674/events | https://github.com/huggingface/transformers/issues/8674 | 747,009,747 | MDU6SXNzdWU3NDcwMDk3NDc= | 8,674 | Issues Fine-tuning XLNET | {
"login": "AdaUchendu",
"id": 32556160,
"node_id": "MDQ6VXNlcjMyNTU2MTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/32556160?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdaUchendu",
"html_url": "https://github.com/AdaUchendu",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"It looks like your using causual language modeling (next word prediction) - _File \"run_clm.py\", line 300, in main_, but xlnet does not use that. It uses permutation language modeling.\r\n\r\nHave you tried with the [new scripts](https://github.com/huggingface/transformers/tree/master/examples/language-modeling#x... | 1,605 | 1,607 | 1,606 | 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.8.0
- Platform: Google colab
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101
- Tensorf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8674/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8674/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8673 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8673/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8673/comments | https://api.github.com/repos/huggingface/transformers/issues/8673/events | https://github.com/huggingface/transformers/pull/8673 | 746,971,330 | MDExOlB1bGxSZXF1ZXN0NTI0MjcxMDc5 | 8,673 | [model_cards] Add card for gpt2-rnm | {
"login": "e-tornike",
"id": 20404466,
"node_id": "MDQ6VXNlcjIwNDA0NDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/20404466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/e-tornike",
"html_url": "https://github.com/e-tornike",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
Adds a new model card for the `e-tony/gpt2-rnm` model.
## Before submitting
- [X] This PR fixes a typo or improves the docs.
## Who can review?
@julien-c
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8673/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8673/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8673",
"html_url": "https://github.com/huggingface/transformers/pull/8673",
"diff_url": "https://github.com/huggingface/transformers/pull/8673.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8673.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8672 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8672/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8672/comments | https://api.github.com/repos/huggingface/transformers/issues/8672/events | https://github.com/huggingface/transformers/pull/8672 | 746,924,877 | MDExOlB1bGxSZXF1ZXN0NTI0MjMyNDQx | 8,672 | Add sentencepiece to the CI and fix tests | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
When removing sentencepiece from the dependencies of Transformers, the CI started to skip all tests that required sentencepiece. As a result some failures due to new breaking changes (switch to fast tokenizer by default and the fact we removed `max_len`, deprecated argument of tokenizers) wer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8672/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8672/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8672",
"html_url": "https://github.com/huggingface/transformers/pull/8672",
"diff_url": "https://github.com/huggingface/transformers/pull/8672.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8672.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8671 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8671/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8671/comments | https://api.github.com/repos/huggingface/transformers/issues/8671/events | https://github.com/huggingface/transformers/issues/8671 | 746,898,197 | MDU6SXNzdWU3NDY4OTgxOTc= | 8,671 | Running Roberta on Race Multi choice dataset giving error | {
"login": "monk1337",
"id": 17107749,
"node_id": "MDQ6VXNlcjE3MTA3NzQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/17107749?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/monk1337",
"html_url": "https://github.com/monk1337",
"followers_url": "https://api.github.com/users/mon... | [
{
"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",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed... | 1,605 | 1,619 | 1,619 | NONE | null | I am trying to use the script provided for race dataset training using bert/roberta models. I am running the script and getting this error :
```
python3 run_multiple_choice.py --task_name race --model_name_or_path roberta-base--do_train --do_eval --data_dir $SWAG_DIR --learning_rate 5e-5 --num_train_epochs 3 --ma... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8671/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8671/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8670 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8670/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8670/comments | https://api.github.com/repos/huggingface/transformers/issues/8670/events | https://github.com/huggingface/transformers/issues/8670 | 746,896,999 | MDU6SXNzdWU3NDY4OTY5OTk= | 8,670 | Is Reformer supported under Encoder-Decoder framework? | {
"login": "spookypineapple",
"id": 48697483,
"node_id": "MDQ6VXNlcjQ4Njk3NDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/48697483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/spookypineapple",
"html_url": "https://github.com/spookypineapple",
"followers_url": "https://api... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"It's not yet supported sadly",
"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",
"This issue has been automatically marked as stale because it has not had recent activity. If you thin... | 1,605 | 1,619 | 1,619 | NONE | null | Hi,
Is it possible to use Reformer with the encoder-decoder framework (i.e Reformer2Reformer)? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8670/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8670/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8669 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8669/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8669/comments | https://api.github.com/repos/huggingface/transformers/issues/8669/events | https://github.com/huggingface/transformers/issues/8669 | 746,878,581 | MDU6SXNzdWU3NDY4Nzg1ODE= | 8,669 | Make signature of `compute_metrics` parameter in Trainer class more flexible | {
"login": "francisco-perez-sorrosal",
"id": 918006,
"node_id": "MDQ6VXNlcjkxODAwNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/918006?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/francisco-perez-sorrosal",
"html_url": "https://github.com/francisco-perez-sorrosal",
"follo... | [
{
"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 | [] | [
"> For some models, I had to either pass some extra arguments to perform the metrics calculation or to access remote services to retrieve some additional data.\r\n\r\nHow did you do that in the current `Trainer`? I'm not against making `compute_metrics` more flexible but I don't see how you can add more arguments t... | 1,605 | 1,663 | 1,619 | NONE | null | # 🚀 Feature request
Current typing signature for the `compute_metrics` parameter in the `Trainer` class is:
```python
class Trainer:
...
def __init__(
...
compute_metrics: Optional[Callable[[EvalPrediction], Dict]] = None,
...
```
As it is described now in with the Pytho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8669/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8669/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8668 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8668/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8668/comments | https://api.github.com/repos/huggingface/transformers/issues/8668/events | https://github.com/huggingface/transformers/pull/8668 | 746,870,260 | MDExOlB1bGxSZXF1ZXN0NTI0MTg3OTAy | 8,668 | Update bert-base-multilingual-cased-README.md | {
"login": "AsliRoy",
"id": 28287489,
"node_id": "MDQ6VXNlcjI4Mjg3NDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/28287489?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AsliRoy",
"html_url": "https://github.com/AsliRoy",
"followers_url": "https://api.github.com/users/AsliRo... | [
{
"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 | [] | [
"Good catch, thanks!"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | The heading was originally uncased, which did not reflect the contents of this README. Changed it to cased.
# 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8668/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8668/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8668",
"html_url": "https://github.com/huggingface/transformers/pull/8668",
"diff_url": "https://github.com/huggingface/transformers/pull/8668.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8668.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8667 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8667/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8667/comments | https://api.github.com/repos/huggingface/transformers/issues/8667/events | https://github.com/huggingface/transformers/pull/8667 | 746,856,577 | MDExOlB1bGxSZXF1ZXN0NTI0MTc2NTg2 | 8,667 | Alternative to globals() | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
This PR does two things:
- remove some tokenizer classes that were used in a dictionary before being erased which was super weird
- add a function that goes from tokenizer class name to tokenizer class to avoid using `globals` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8667/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8667/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8667",
"html_url": "https://github.com/huggingface/transformers/pull/8667",
"diff_url": "https://github.com/huggingface/transformers/pull/8667.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8667.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8666 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8666/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8666/comments | https://api.github.com/repos/huggingface/transformers/issues/8666/events | https://github.com/huggingface/transformers/pull/8666 | 746,756,863 | MDExOlB1bGxSZXF1ZXN0NTI0MDk1NDA2 | 8,666 | Fix a few last paths for the new repo org | {
"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,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
Fixes a few old paths in documentation or examples. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8666/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8666/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8666",
"html_url": "https://github.com/huggingface/transformers/pull/8666",
"diff_url": "https://github.com/huggingface/transformers/pull/8666.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8666.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8665 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8665/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8665/comments | https://api.github.com/repos/huggingface/transformers/issues/8665/events | https://github.com/huggingface/transformers/pull/8665 | 746,745,364 | MDExOlB1bGxSZXF1ZXN0NTI0MDg2NDIw | 8,665 | Use return_dict in RagModel forward pass | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [
"Closing since it was fixed in #8585"
] | 1,605 | 1,605 | 1,605 | MEMBER | null | There were changes in the output format of models bu it looks like the RagModel forward pass was not updated to use `return_dict` as noticed in #8653
I'm running the slow tests right now. If they pass I will update from draft pull request to open request | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8665/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8665/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8665",
"html_url": "https://github.com/huggingface/transformers/pull/8665",
"diff_url": "https://github.com/huggingface/transformers/pull/8665.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8665.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8664 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8664/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8664/comments | https://api.github.com/repos/huggingface/transformers/issues/8664/events | https://github.com/huggingface/transformers/pull/8664 | 746,735,168 | MDExOlB1bGxSZXF1ZXN0NTI0MDc3OTU5 | 8,664 | Fix run_ner 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 | [] | [] | 1,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
There have been a few breaking changes in the Datasets library that resulted in `run_ner` not working. This PR addresses that.
Fixes #8654 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8664/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8664/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8664",
"html_url": "https://github.com/huggingface/transformers/pull/8664",
"diff_url": "https://github.com/huggingface/transformers/pull/8664.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8664.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8663 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8663/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8663/comments | https://api.github.com/repos/huggingface/transformers/issues/8663/events | https://github.com/huggingface/transformers/pull/8663 | 746,722,722 | MDExOlB1bGxSZXF1ZXN0NTI0MDY3NTM1 | 8,663 | transformers-cli: LFS multipart uploads (> 5GB) | {
"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: nice job!",
"Hi, this command may need a args?\r\n```\r\ntransformers-cli lfs-enable-largefiles repo_path\r\n```\r\n",
"> Hi, this command may need a args?\r\n\r\nYes, correct\r\n",
"Thanks a lot for the PR, and thanks for letting me know.\r\n\r\nI will give my feedback after testing it with the 11B mo... | 1,605 | 1,607 | 1,607 | MEMBER | null | ### Implementation of a custom transfer agent for the transfer type "multipart" for git-lfs. This lets users upload large files >5GB 🔥.
Spec for LFS custom transfer agent is: https://github.com/git-lfs/git-lfs/blob/master/docs/custom-transfers.md
The PR introduces two commands to the CLI:
```
transformers-cli ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8663/reactions",
"total_count": 6,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8663/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8663",
"html_url": "https://github.com/huggingface/transformers/pull/8663",
"diff_url": "https://github.com/huggingface/transformers/pull/8663.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8663.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8662 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8662/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8662/comments | https://api.github.com/repos/huggingface/transformers/issues/8662/events | https://github.com/huggingface/transformers/issues/8662 | 746,695,429 | MDU6SXNzdWU3NDY2OTU0Mjk= | 8,662 | Can't upload the larger model file(9GB) | {
"login": "mymusise",
"id": 6883957,
"node_id": "MDQ6VXNlcjY4ODM5NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6883957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mymusise",
"html_url": "https://github.com/mymusise",
"followers_url": "https://api.github.com/users/mymus... | [] | closed | false | null | [] | [
"This is a known issue that's being tracked at #8663"
] | 1,605 | 1,607 | 1,607 | CONTRIBUTOR | null | Hey, guy, I got a problem when I upload my new model file, it raises an error.
```
/data2/CPM-TF/CPM-Third-Party on main ⌚ 23:30:47
$ git push
Username for 'https://huggingface.co': mymusises
Password for 'https://mymusise@h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8662/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8661 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8661/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8661/comments | https://api.github.com/repos/huggingface/transformers/issues/8661/events | https://github.com/huggingface/transformers/issues/8661 | 746,694,353 | MDU6SXNzdWU3NDY2OTQzNTM= | 8,661 | cannot load t5-base config | {
"login": "rabeehk",
"id": 6278280,
"node_id": "MDQ6VXNlcjYyNzgyODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6278280?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehk",
"html_url": "https://github.com/rabeehk",
"followers_url": "https://api.github.com/users/rabeehk/... | [] | closed | false | null | [] | [
"Hello, could you please fill the issue template when opening issues? Otherwise we cannot help you. Thanks.",
"## Environment info\r\n \r\n- `transformers` version: 3.5.1\r\n- Platform: cpu \r\n- Python version: 3.7\r\n- PyTorch version (GPU?): 1.0.4\r\n- Tensorflow version (GPU?): \r\n tensorflow-datasets ... | 1,605 | 1,605 | 1,605 | NONE | null | Hi
Here is my two lines to get t5-config:
```
from transformers import AutoConfig
config = AutoConfig.from_pretrained('t5-base')
```
Here are the errors, is there an issue with t5-base storage? I am really confused, thank you for your help on this.
thanks
```
file t5-base/config.json not found
Traceba... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8661/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8661/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8660 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8660/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8660/comments | https://api.github.com/repos/huggingface/transformers/issues/8660/events | https://github.com/huggingface/transformers/pull/8660 | 746,631,712 | MDExOlB1bGxSZXF1ZXN0NTIzOTkxOTMx | 8,660 | Fix bug in x-attentions output for roberta and harden test to catch it | {
"login": "ysgit",
"id": 898918,
"node_id": "MDQ6VXNlcjg5ODkxOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/898918?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ysgit",
"html_url": "https://github.com/ysgit",
"followers_url": "https://api.github.com/users/ysgit/followers"... | [] | closed | false | null | [] | [] | 1,605 | 1,606 | 1,606 | 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/8660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8660/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8660",
"html_url": "https://github.com/huggingface/transformers/pull/8660",
"diff_url": "https://github.com/huggingface/transformers/pull/8660.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8660.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8659 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8659/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8659/comments | https://api.github.com/repos/huggingface/transformers/issues/8659/events | https://github.com/huggingface/transformers/pull/8659 | 746,583,284 | MDExOlB1bGxSZXF1ZXN0NTIzOTUxODgz | 8,659 | Improve bert-japanese tokenizer handling | {
"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,605 | 1,606 | 1,606 | MEMBER | null | remove an inelegant string-testing hack in favor of the tooling we now have (support for `config.tokenizer_class`, and versioning of model files in the hub):
see commits enabling this on huggingface.co side:
- https://huggingface.co/yosuke/bert-base-japanese-char/commit/e8365f5c923b98b8cfbf258cfeb14ac536477a31
- h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8659/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8659/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8659",
"html_url": "https://github.com/huggingface/transformers/pull/8659",
"diff_url": "https://github.com/huggingface/transformers/pull/8659.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8659.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8658 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8658/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8658/comments | https://api.github.com/repos/huggingface/transformers/issues/8658/events | https://github.com/huggingface/transformers/pull/8658 | 746,570,117 | MDExOlB1bGxSZXF1ZXN0NTIzOTQwNDYy | 8,658 | ConvBERT | {
"login": "abhishekkrthakur",
"id": 1183441,
"node_id": "MDQ6VXNlcjExODM0NDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhishekkrthakur",
"html_url": "https://github.com/abhishekkrthakur",
"followers_url": "https://ap... | [] | closed | false | null | [] | [] | 1,605 | 1,651 | 1,613 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8658/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8658",
"html_url": "https://github.com/huggingface/transformers/pull/8658",
"diff_url": "https://github.com/huggingface/transformers/pull/8658.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8658.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/8657 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8657/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8657/comments | https://api.github.com/repos/huggingface/transformers/issues/8657/events | https://github.com/huggingface/transformers/pull/8657 | 746,552,353 | MDExOlB1bGxSZXF1ZXN0NTIzOTI1NjMw | 8,657 | Fix embeddings resizing in TF models | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"Thanks @sgugger for your useful comments. I was thinking the same about `get_output_embeddings` but I didn't want to change to much things in same time.\r\n\r\nI like very much the solution you proposed and I'm totally fine with it!",
"@sgugger I have reworked the resizing for the bias and applied it on BERT at ... | 1,605 | 1,607 | 1,607 | CONTRIBUTOR | null | # What does this PR do?
Currenlty when the embeddings are resized the biases are not resized in same time. In TF there is no explicit link between the decoder weights and biases in a dense layer contrarily than in PT. This PR fixes this issue by resizing in same time the biases, even thought I don't know if this is ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8657/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8657/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8657",
"html_url": "https://github.com/huggingface/transformers/pull/8657",
"diff_url": "https://github.com/huggingface/transformers/pull/8657.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8657.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8656 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8656/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8656/comments | https://api.github.com/repos/huggingface/transformers/issues/8656/events | https://github.com/huggingface/transformers/issues/8656 | 746,552,206 | MDU6SXNzdWU3NDY1NTIyMDY= | 8,656 | Return output probabilities with Generate function | {
"login": "tshrjn",
"id": 8372098,
"node_id": "MDQ6VXNlcjgzNzIwOTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8372098?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tshrjn",
"html_url": "https://github.com/tshrjn",
"followers_url": "https://api.github.com/users/tshrjn/foll... | [] | 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... | [
"Duplicate of https://github.com/huggingface/transformers/issues/7654 . But yes, it seems like many people are asking for this feature and it should be quite straight-forward to implement it... -> feel free to give a shot :-) ",
"Hi. When can we expect this to be released? 😊",
"Next week Tuesday or Wednesday :... | 1,605 | 1,621 | 1,621 | NONE | null | # 🚀 Feature request
Output the token probabilities along with the tokens when generating sequence.
## Motivation
For understanding model confidence, this is quite useful.
Also, for abstractive QA with long contexts, one needs to use doc-strides to take into account the contexts & then choose the best answer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8656/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8656/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8655 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8655/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8655/comments | https://api.github.com/repos/huggingface/transformers/issues/8655/events | https://github.com/huggingface/transformers/pull/8655 | 746,429,794 | MDExOlB1bGxSZXF1ZXN0NTIzODI1MTQ4 | 8,655 | [model card] : fix Geotrend/bert-base-15lang-cased | {
"login": "amineabdaoui",
"id": 17952908,
"node_id": "MDQ6VXNlcjE3OTUyOTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/17952908?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amineabdaoui",
"html_url": "https://github.com/amineabdaoui",
"followers_url": "https://api.github.c... | [
{
"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 | [] | [
"we use marked.js as a markdown parser so rendering should be pretty close to GitHub in general but there can always be some small inconsistencies"
] | 1,605 | 1,605 | 1,605 | NONE | null | @julien-c it's me again.
The table in [Geotrend/bert-base-15lang-cased](https://huggingface.co/Geotrend/bert-base-15lang-cased) is badly formatted even if it looks good on [Github](https://github.com/huggingface/transformers/blob/master/model_cards/Geotrend/bert-base-15lang-cased/README.md).
I guess I have to add... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8655/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8655",
"html_url": "https://github.com/huggingface/transformers/pull/8655",
"diff_url": "https://github.com/huggingface/transformers/pull/8655.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8655.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8654 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8654/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8654/comments | https://api.github.com/repos/huggingface/transformers/issues/8654/events | https://github.com/huggingface/transformers/issues/8654 | 746,426,531 | MDU6SXNzdWU3NDY0MjY1MzE= | 8,654 | Error in NER examples, run.sh | {
"login": "pradeepkr12",
"id": 1430530,
"node_id": "MDQ6VXNlcjE0MzA1MzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1430530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pradeepkr12",
"html_url": "https://github.com/pradeepkr12",
"followers_url": "https://api.github.com/us... | [] | closed | false | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [
{
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://a... | [
"Can confirm that this also appears on latest master (0a80959bddd5da08742d22dca07e0facf0b4cd11)",
"Related to: #8212",
"Yes. \r\nThanks, I managed to install py 3.8 in Colab and ran it successfully."
] | 1,605 | 1,605 | 1,605 | 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.5.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/8654/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/8654/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8653 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8653/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8653/comments | https://api.github.com/repos/huggingface/transformers/issues/8653/events | https://github.com/huggingface/transformers/pull/8653 | 746,410,150 | MDExOlB1bGxSZXF1ZXN0NTIzODA5NzAx | 8,653 | Fix missing return_dict in RAG example to use a custom knowledge source | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [] | closed | false | null | [] | [
"@lhoestq \r\n\r\nWhat the version of transformers you have used in this PR? ",
"Hi !\r\nThe one on the master branch",
"> Hi !\r\n> The one on the master branch\r\n\r\nSo you have installed from sources, right **(Version: 4.0.0.dev0)**? I tried to execute **use_own_knowledge_dataset.py** with your [previous PR... | 1,605 | 1,605 | 1,605 | MEMBER | null | We did some changes regarding the output of models but didn't change the return_dict parameter of this RAG example script.
It works as expected now | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8653/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8653/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8653",
"html_url": "https://github.com/huggingface/transformers/pull/8653",
"diff_url": "https://github.com/huggingface/transformers/pull/8653.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8653.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8652 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8652/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8652/comments | https://api.github.com/repos/huggingface/transformers/issues/8652/events | https://github.com/huggingface/transformers/issues/8652 | 746,398,603 | MDU6SXNzdWU3NDYzOTg2MDM= | 8,652 | WNLI benchmark results clarification | {
"login": "sumanthd17",
"id": 28291870,
"node_id": "MDQ6VXNlcjI4MjkxODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/28291870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sumanthd17",
"html_url": "https://github.com/sumanthd17",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Wondering the same! Is it a typo? Since they report the exact same number for tiny, mini, small & medium. However, one would not expect that to be higher than [bert-base-cased that recieved 45.07%](https://github.com/huggingface/transformers/tree/master/examples/text-classification#run-pytorch-version).",
"This ... | 1,605 | 1,619 | 1,619 | NONE | null | The BERT paper mentions that the accuracy for WNLI is 62.3% [BERT Repository](https://github.com/google-research/bert) but the model card on HuggingFace reports the WNLI accuracy as 45.07%. Is there any particular for the big gap between the 2 models? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8652/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/8652/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8651 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8651/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8651/comments | https://api.github.com/repos/huggingface/transformers/issues/8651/events | https://github.com/huggingface/transformers/issues/8651 | 746,394,975 | MDU6SXNzdWU3NDYzOTQ5NzU= | 8,651 | RAG: OSError: Can't load tokenizer for 'facebook/rag-sequence-nq/question_encoder_tokenizer' | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | null | [] | [
"Can you try installing transformers from master?",
"Thanks for working perfectly when loading from sources."
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Hi I am trying to run [use_own_knowledge_dataset.py] (https://github.com/huggingface/transformers/blob/master/examples/rag/use_own_knowledge_dataset.py)) with **Transformers Version: 3.5.1** ((from your latest [PR](https://github.com/huggingface/transformers/pull/8585)). But it gives the following error.
```
OS... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8651/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8650 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8650/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8650/comments | https://api.github.com/repos/huggingface/transformers/issues/8650/events | https://github.com/huggingface/transformers/issues/8650 | 746,335,984 | MDU6SXNzdWU3NDYzMzU5ODQ= | 8,650 | Why use 'BertLayerNorm' instead of torch.nn.LayerNorm ? | {
"login": "daydayfun",
"id": 39835967,
"node_id": "MDQ6VXNlcjM5ODM1OTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/39835967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daydayfun",
"html_url": "https://github.com/daydayfun",
"followers_url": "https://api.github.com/users/... | [
{
"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 | [] | [
"There once was a difference, but there is none anymore. I believe the `BertLayerNorm` was removed and is not available anymore in recent versions.",
"I have done some test, \r\nself.assertTensorsEqual(\r\nout_BertLayerNorm, out_mlu_nativeLayerNorm, 0, use_RAE=True)\r\nand the diff is 2.8356e-07"
] | 1,605 | 1,605 | 1,605 | NONE | null | # 🌟 New model addition
What's the difference between 'BertLayerNorm' and torch.nn.LayerNorm
## Model description
1.pytorch torch.nn.LayerNorm
https://pytorch.org/docs/stable/generated/torch.nn.LayerNorm.html?highlight=layernorm#torch.nn.LayerNorm
2.modeling.py
class BertLayerNorm(Module):
def __init... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8650/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8649 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8649/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8649/comments | https://api.github.com/repos/huggingface/transformers/issues/8649/events | https://github.com/huggingface/transformers/issues/8649 | 746,300,462 | MDU6SXNzdWU3NDYzMDA0NjI= | 8,649 | from_pretrained()'s load() blocks forever in subprocess | {
"login": "levon003",
"id": 33158587,
"node_id": "MDQ6VXNlcjMzMTU4NTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/33158587?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/levon003",
"html_url": "https://github.com/levon003",
"followers_url": "https://api.github.com/users/lev... | [] | closed | false | null | [] | [
"If you've identified the issue to be coming from `nn.Module._load_from_state_dict`, then I guess this is more of a PyTorch issue than a `transformers` one? Do you have an idea what might cause this hang with that method?",
"Well, I don't know enough about torch state_dict behavior to understand why `transformers... | 1,605 | 1,652 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.5.1
- Platform: Linux-5.4.58 x86_64-with-glibc2.10
- Python version: 3.8.3
- 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?: Yes
### Who can hel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8649/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8648 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8648/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8648/comments | https://api.github.com/repos/huggingface/transformers/issues/8648/events | https://github.com/huggingface/transformers/pull/8648 | 746,295,371 | MDExOlB1bGxSZXF1ZXN0NTIzNzE1NDU2 | 8,648 | Create README.md | {
"login": "bino282",
"id": 17800187,
"node_id": "MDQ6VXNlcjE3ODAwMTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/17800187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bino282",
"html_url": "https://github.com/bino282",
"followers_url": "https://api.github.com/users/bino28... | [
{
"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 | [] | [
"Closing this one as duplicate was already merged!\r\n\r\nFor context please also read https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755"
] | 1,605 | 1,607 | 1,607 | 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/8648/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8648/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8648",
"html_url": "https://github.com/huggingface/transformers/pull/8648",
"diff_url": "https://github.com/huggingface/transformers/pull/8648.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8648.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8647 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8647/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8647/comments | https://api.github.com/repos/huggingface/transformers/issues/8647/events | https://github.com/huggingface/transformers/issues/8647 | 746,218,743 | MDU6SXNzdWU3NDYyMTg3NDM= | 8,647 | How can get the input embeddings_output for BERT? | {
"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"... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,605 | 1,605 | 1,605 | NONE | null | How can get the input `embeddings_output ` for BERT? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8647/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8647/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8646 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8646/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8646/comments | https://api.github.com/repos/huggingface/transformers/issues/8646/events | https://github.com/huggingface/transformers/issues/8646 | 746,176,464 | MDU6SXNzdWU3NDYxNzY0NjQ= | 8,646 | CPM LM | {
"login": "AnShengqiang",
"id": 12854979,
"node_id": "MDQ6VXNlcjEyODU0OTc5",
"avatar_url": "https://avatars.githubusercontent.com/u/12854979?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AnShengqiang",
"html_url": "https://github.com/AnShengqiang",
"followers_url": "https://api.github.c... | [
{
"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 | [] | [
"@JetRunner might be interested in that!",
"Hi, I didn't notice this before I finished the translation to `Transformer` just now. May [this script](https://github.com/mymusise/CPM-TF2Transformer/blob/main/transfor_CMP.ipynb) help.\r\n\r\nBTW, I met some problems when uploading. #8662",
"> @JetRunner might be in... | 1,605 | 1,614 | 1,614 | NONE | null | # 🌟 New model addition (2.6B params)
## Model description
CPM(Chinese Pre-Trained Language Models), which has 2.6B parameters, can be used for zero shot、one shot、few shot learning.
Code and model is available.
## Open source status
* [✅] the model implementation is available: [CPM-Generate pytorch](http... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8646/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8646/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8645 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8645/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8645/comments | https://api.github.com/repos/huggingface/transformers/issues/8645/events | https://github.com/huggingface/transformers/pull/8645 | 746,170,769 | MDExOlB1bGxSZXF1ZXN0NTIzNjE0NzI5 | 8,645 | [core] implement support for run-time dependency version checking | {
"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 | [] | [
"@sgugger, wrt your comment in your [announcement](https://discuss.huggingface.co/t/transformers-v4-0-0-announcement/1990/1)\r\n> => Resulting breaking change: some people will have to install sentencepiece explicitly while they didn’t have to before with the command pip install transformers[sentencepiece].\r\n\r\n... | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | As discussed at https://github.com/huggingface/transformers/pull/8073#issuecomment-729181330 this PR:
* [x] adds mechanics for run-time dependency version checks (module with fixed and unversioned too)
* [x] adds thorough tests (this is where it's the easiest to see how things work)
* [x] creates one source for al... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8645/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8645",
"html_url": "https://github.com/huggingface/transformers/pull/8645",
"diff_url": "https://github.com/huggingface/transformers/pull/8645.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8645.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8644 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8644/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8644/comments | https://api.github.com/repos/huggingface/transformers/issues/8644/events | https://github.com/huggingface/transformers/pull/8644 | 746,156,845 | MDExOlB1bGxSZXF1ZXN0NTIzNjAzODg2 | 8,644 | Fix small typo | {
"login": "matthiaslmz",
"id": 19335932,
"node_id": "MDQ6VXNlcjE5MzM1OTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/19335932?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/matthiaslmz",
"html_url": "https://github.com/matthiaslmz",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"@patrickvonplaten pls review & approve a this small fix of a typo in the XLNet section. Thank you! "
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Fixed a small typo on the XLNet and permutation language modelling section
@patrickvonplaten
# 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 t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8644/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8644/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8644",
"html_url": "https://github.com/huggingface/transformers/pull/8644",
"diff_url": "https://github.com/huggingface/transformers/pull/8644.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8644.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8643 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8643/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8643/comments | https://api.github.com/repos/huggingface/transformers/issues/8643/events | https://github.com/huggingface/transformers/issues/8643 | 746,147,759 | MDU6SXNzdWU3NDYxNDc3NTk= | 8,643 | Model embedding size and tokenizer size mismatch; resizing embedding will cause CUDA assert error | {
"login": "huu4ontocord",
"id": 8900094,
"node_id": "MDQ6VXNlcjg5MDAwOTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8900094?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/huu4ontocord",
"html_url": "https://github.com/huu4ontocord",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hey @ontocord, I cannot reproduce your error on master...\r\n\r\n```python\r\nfrom transformers import AutoTokenizer, AutoModel\r\ntokenizer = AutoTokenizer.from_pretrained(\"t5-base\")\r\nprint (len(tokenizer))\r\nmodel = AutoModel.from_pretrained(\"t5-base\")\r\nprint (model.shared)\r\nmodel.resize_token_embeddi... | 1,605 | 1,608 | 1,608 | NONE | null | ## Environment info
Google colab
### Who can help
T5: @patrickvonplaten
## Information
I'm noticing something strange with T5. The model embedding size and the tokenizer size does not match.
When I try to resize the model to have a smaller embedding this crashes CUDA. This is probably two bugs - one f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8643/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8642 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8642/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8642/comments | https://api.github.com/repos/huggingface/transformers/issues/8642/events | https://github.com/huggingface/transformers/issues/8642 | 746,136,789 | MDU6SXNzdWU3NDYxMzY3ODk= | 8,642 | Setting Evaluation Strategy in the TrainingArgs does not print validation metrics | {
"login": "TarasPriadka",
"id": 14134797,
"node_id": "MDQ6VXNlcjE0MTM0Nzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/14134797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TarasPriadka",
"html_url": "https://github.com/TarasPriadka",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The steps you indicate to reproduce are incomplete, there is little we can do without knowing which script you're running and having access to the full code. For instance\r\n```\r\npython examples/text-classification/run_glue.py \\\r\n --model_name_or_path bert-base-cased \\\r\n --task_name mrpc \\\r\n --do_tra... | 1,605 | 1,605 | 1,605 | 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.5.1
- Platform: Linux-5.4.0-1029-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.6
- PyTorch ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8642/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8642/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8641 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8641/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8641/comments | https://api.github.com/repos/huggingface/transformers/issues/8641/events | https://github.com/huggingface/transformers/issues/8641 | 746,112,110 | MDU6SXNzdWU3NDYxMTIxMTA= | 8,641 | Bi-Directional Reformer text multi class classification | {
"login": "Zozos972",
"id": 53522341,
"node_id": "MDQ6VXNlcjUzNTIyMzQx",
"avatar_url": "https://avatars.githubusercontent.com/u/53522341?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zozos972",
"html_url": "https://github.com/Zozos972",
"followers_url": "https://api.github.com/users/Zoz... | [
{
"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 | [] | [
"Have you taken a look at the [RobertaForSequenceClassification](https://huggingface.co/transformers/model_doc/roberta.html#tfrobertaforsequenceclassification) documentation page?\r\n\r\nYou might also be interested in the [sequence classification task](https://huggingface.co/transformers/task_summary.html#sequence... | 1,605 | 1,619 | 1,619 | NONE | null | # 🚀 Feature request
I am fairly new to transformers, but good experience in ML. I have tried to start by building a RoBERTa multi class classification model but the doc and examples are not clear.
Can you point me to the set of literature that would get me going with RoBERTa?
Afterwards, I would love to suppo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8641/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8640 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8640/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8640/comments | https://api.github.com/repos/huggingface/transformers/issues/8640/events | https://github.com/huggingface/transformers/pull/8640 | 746,106,495 | MDExOlB1bGxSZXF1ZXN0NTIzNTYyNTE0 | 8,640 | Bump notebook from 6.1.4 to 6.1.5 in /examples/lxmert | {
"login": "dependabot[bot]",
"id": 49699333,
"node_id": "MDM6Qm90NDk2OTkzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dependabot%5Bbot%5D",
"html_url": "https://github.com/apps/dependabot",
"followers_url": "https://a... | [
{
"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,605 | 1,651 | 1,614 | CONTRIBUTOR | null | Bumps [notebook](https://github.com/jupyter/jupyterhub) from 6.1.4 to 6.1.5.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/jupyter/jupyterhub/commits">compare view</a></li>
</ul>
</details>
<br />
[.
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transfo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8639/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8639/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8639",
"html_url": "https://github.com/huggingface/transformers/pull/8639",
"diff_url": "https://github.com/huggingface/transformers/pull/8639.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8639.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8638 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8638/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8638/comments | https://api.github.com/repos/huggingface/transformers/issues/8638/events | https://github.com/huggingface/transformers/issues/8638 | 746,092,238 | MDU6SXNzdWU3NDYwOTIyMzg= | 8,638 | AttributeError: module 'typing' has no attribute '_ClassVar' | {
"login": "HatterTheMad",
"id": 41959296,
"node_id": "MDQ6VXNlcjQxOTU5Mjk2",
"avatar_url": "https://avatars.githubusercontent.com/u/41959296?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HatterTheMad",
"html_url": "https://github.com/HatterTheMad",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"This is weird! Looking at the stacktrace, I have a few questions:\r\n\r\n- Are you running a file in `access/main.py`?\r\n- If yes, is there a `dataclasses.py` file in that `access` folder?\r\n\r\nIt seems far-fetched but if that's the case, it might be possible that this file is interfering with the `dataclasses`... | 1,605 | 1,695 | 1,607 | 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.5.1
- Platform: Linux
- Python version: 3.8
- PyTorch version (GPU?): 1.7.0+cpu
- Using GPU in scrip... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8638/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8638/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8637 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8637/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8637/comments | https://api.github.com/repos/huggingface/transformers/issues/8637/events | https://github.com/huggingface/transformers/pull/8637 | 746,090,073 | MDExOlB1bGxSZXF1ZXN0NTIzNTQ3NDgz | 8,637 | Add FastFormers to the example directory | {
"login": "ykim362",
"id": 22177353,
"node_id": "MDQ6VXNlcjIyMTc3MzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/22177353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ykim362",
"html_url": "https://github.com/ykim362",
"followers_url": "https://api.github.com/users/ykim36... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"Thanks, @JetRunner ! I will clean up the code and fix the CI checks.",
"Thanks for the opinions, @LysandreJik!\r\n\r\n1. The onnx related files are necessary before it's merges into master branch of onnxruntime\r\n2. I agree with you regarding the binary files. I can put the binary files in a different place and... | 1,605 | 1,632 | 1,632 | NONE | null | # What does this PR do?
Add FastFormers into the example directory.
https://github.com/huggingface/transformers/issues/8083
https://arxiv.org/abs/2010.13382
https://github.com/microsoft/fastformers
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8637/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8637",
"html_url": "https://github.com/huggingface/transformers/pull/8637",
"diff_url": "https://github.com/huggingface/transformers/pull/8637.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8637.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8636 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8636/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8636/comments | https://api.github.com/repos/huggingface/transformers/issues/8636/events | https://github.com/huggingface/transformers/pull/8636 | 746,082,695 | MDExOlB1bGxSZXF1ZXN0NTIzNTQwNzI5 | 8,636 | Updated the Extractive Question Answering code snippets | {
"login": "cronoik",
"id": 18630848,
"node_id": "MDQ6VXNlcjE4NjMwODQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/18630848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cronoik",
"html_url": "https://github.com/cronoik",
"followers_url": "https://api.github.com/users/cronoi... | [] | closed | false | null | [] | [
"Thanks for flagging this! I think it would be better to show how to use the attributes, so something like:\r\n```\r\noutputs = model(**inputs)\r\nanswer_start_scores = outputs.start_logits\r\nanswer_end_scores = outputs.end_logits\r\n```",
"Yes, you are right. @sgugger "
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
The Extractive Question Answering code snippets do not work anymore since the models return task-specific output objects. This commit fixes the pytorch and tensorflow examples but adding `.values()` to the model call.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8636/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8636/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8636",
"html_url": "https://github.com/huggingface/transformers/pull/8636",
"diff_url": "https://github.com/huggingface/transformers/pull/8636.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8636.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8635 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8635/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8635/comments | https://api.github.com/repos/huggingface/transformers/issues/8635/events | https://github.com/huggingface/transformers/pull/8635 | 746,079,222 | MDExOlB1bGxSZXF1ZXN0NTIzNTM3NTUy | 8,635 | Small formatting fix | {
"login": "timpal0l",
"id": 6556710,
"node_id": "MDQ6VXNlcjY1NTY3MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6556710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timpal0l",
"html_url": "https://github.com/timpal0l",
"followers_url": "https://api.github.com/users/timpa... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8635/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8635",
"html_url": "https://github.com/huggingface/transformers/pull/8635",
"diff_url": "https://github.com/huggingface/transformers/pull/8635.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8635.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8634 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8634/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8634/comments | https://api.github.com/repos/huggingface/transformers/issues/8634/events | https://github.com/huggingface/transformers/pull/8634 | 746,054,962 | MDExOlB1bGxSZXF1ZXN0NTIzNTE1ODYx | 8,634 | Fix a bunch of slow tests | {
"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 | [] | [
"Good for me - thanks a lot for taking care of it! \r\n\r\nIt would probably all save us a lot of time to find once and for all a good solution for the `test_saved_model_with_attentions_output` and `test_saved_model_with_hidden_states_output` functions. I've spent way too much time trying to fix those for TFT5 as w... | 1,605 | 1,605 | 1,605 | MEMBER | null | This PR fixes a bunch of slow tests.
DPR had a few issues, which this PR fixes. There was an issue where the `DPRReader` object was not using `token_type_ids`, but for some unknown reason the interaction with the underlying `TFBertMainLayer` that requires those crashed when using the oh-so-terrifying `tf.saved_model... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8634/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8634",
"html_url": "https://github.com/huggingface/transformers/pull/8634",
"diff_url": "https://github.com/huggingface/transformers/pull/8634.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8634.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8633 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8633/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8633/comments | https://api.github.com/repos/huggingface/transformers/issues/8633/events | https://github.com/huggingface/transformers/pull/8633 | 745,989,522 | MDExOlB1bGxSZXF1ZXN0NTIzNDU5MTYz | 8,633 | Better filtering of the model outputs in Trainer | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,605 | 1,606 | 1,605 | COLLABORATOR | null | # What does this PR do?
As discovered since merging #8530, sometimes (e.g. when using nvidia apex with the O2 optimization) the new model outputs lose their type and become regular dictionaries. This means we can't index into them with integers and some rework in the internals of `Trainer` has become necessary.
T... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8633/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8633",
"html_url": "https://github.com/huggingface/transformers/pull/8633",
"diff_url": "https://github.com/huggingface/transformers/pull/8633.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8633.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8632 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8632/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8632/comments | https://api.github.com/repos/huggingface/transformers/issues/8632/events | https://github.com/huggingface/transformers/issues/8632 | 745,983,629 | MDU6SXNzdWU3NDU5ODM2Mjk= | 8,632 | [s2s] distillation.py fails with apex | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 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",
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributi... | 1,605 | 1,614 | 1,614 | CONTRIBUTOR | null | Splitting off from https://github.com/huggingface/transformers/pull/8631,
`finetune.py` works with apex, but `distillation.py` doesn't (no idea whether it ever did):
```
$ python distillation.py --teacher facebook/bart-large-xsum --data_dir xsum --tokenizer_name facebook/bart-large-xsum --student_decoder_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8632/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8631 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8631/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8631/comments | https://api.github.com/repos/huggingface/transformers/issues/8631/events | https://github.com/huggingface/transformers/pull/8631 | 745,982,093 | MDExOlB1bGxSZXF1ZXN0NTIzNDUzMDA0 | 8,631 | [s2s] distillation apex breaks return_dict obj | {
"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,605 | 1,605 | 1,605 | CONTRIBUTOR | null | This is a continuation of https://github.com/huggingface/transformers/pull/8612 for `distillation.py` - this PR is switching from `.property` to `["property"]`.
Unfortunately, the script itself doesn't seem to work under apex even after the fix - perhaps it never was.
But it's probably still OK to merge, since i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8631/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8631",
"html_url": "https://github.com/huggingface/transformers/pull/8631",
"diff_url": "https://github.com/huggingface/transformers/pull/8631.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8631.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8630 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8630/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8630/comments | https://api.github.com/repos/huggingface/transformers/issues/8630/events | https://github.com/huggingface/transformers/pull/8630 | 745,980,812 | MDExOlB1bGxSZXF1ZXN0NTIzNDUxOTY0 | 8,630 | Create README.md | {
"login": "moniquebm",
"id": 60358442,
"node_id": "MDQ6VXNlcjYwMzU4NDQy",
"avatar_url": "https://avatars.githubusercontent.com/u/60358442?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moniquebm",
"html_url": "https://github.com/moniquebm",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,605 | 1,606 | 1,606 | 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/8630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8630/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8630",
"html_url": "https://github.com/huggingface/transformers/pull/8630",
"diff_url": "https://github.com/huggingface/transformers/pull/8630.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8630.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8629 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8629/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8629/comments | https://api.github.com/repos/huggingface/transformers/issues/8629/events | https://github.com/huggingface/transformers/pull/8629 | 745,938,248 | MDExOlB1bGxSZXF1ZXN0NTIzNDE2MTcy | 8,629 | Fix mark-up (missing opening code-tag) | {
"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 this has already been fixed by https://github.com/huggingface/transformers/pull/8635, which was opened a bit after yours ... sorry about that! Next time don't hesitate to tag @sgugger directly when doing documentation changes so he's aware of such PRs!"
] | 1,605 | 1,605 | 1,605 | COLLABORATOR | null | Small mark up fix | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8629/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8629",
"html_url": "https://github.com/huggingface/transformers/pull/8629",
"diff_url": "https://github.com/huggingface/transformers/pull/8629.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8629.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8628 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8628/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8628/comments | https://api.github.com/repos/huggingface/transformers/issues/8628/events | https://github.com/huggingface/transformers/issues/8628 | 745,903,029 | MDU6SXNzdWU3NDU5MDMwMjk= | 8,628 | CUDA error when training roBERTa from scratch with data parallel. | {
"login": "balazik",
"id": 35840115,
"node_id": "MDQ6VXNlcjM1ODQwMTE1",
"avatar_url": "https://avatars.githubusercontent.com/u/35840115?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/balazik",
"html_url": "https://github.com/balazik",
"followers_url": "https://api.github.com/users/balazi... | [] | closed | false | null | [] | [
"The flag `whole_word_mask` cannot work wirth RoBERTa as it's only compatible with the BERT tokenizer and RoBERTa uses a different tokenizer. I'm surprised it was working on one GPU.\r\n\r\nIn any case, the `run_language_modeling.py` script is not maintained anymore, it has been replaced by new versions (`run_clm`,... | 1,605 | 1,606 | 1,606 | NONE | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Linux-5.4.0-52-generic-x86_64-Ubuntu 18.04.5 LTS
- Python version: 3.8.3
- PyTorch version (GPU?): 1.7.0+cu110
- Tensorflow version (GPU?): 2.3.1
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: Yes
### Who can help... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8628/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/8628/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8627 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8627/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8627/comments | https://api.github.com/repos/huggingface/transformers/issues/8627/events | https://github.com/huggingface/transformers/pull/8627 | 745,872,999 | MDExOlB1bGxSZXF1ZXN0NTIzMzYyMTQ0 | 8,627 | Diverse beam search | {
"login": "ayushtiku5",
"id": 40797286,
"node_id": "MDQ6VXNlcjQwNzk3Mjg2",
"avatar_url": "https://avatars.githubusercontent.com/u/40797286?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ayushtiku5",
"html_url": "https://github.com/ayushtiku5",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"@patrickvonplaten I am implementing diverse beam search. Please do suggest code design for this. 😃 ",
"> @patrickvonplaten I am implementing diverse beam search. Please do suggest code design for this.\r\n\r\nAwesome that you work on this!\r\n\r\nI think this looks like the right approach! However, I'd also rec... | 1,605 | 1,607 | 1,607 | 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/8627/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8627/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8627",
"html_url": "https://github.com/huggingface/transformers/pull/8627",
"diff_url": "https://github.com/huggingface/transformers/pull/8627.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8627.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8626 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8626/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8626/comments | https://api.github.com/repos/huggingface/transformers/issues/8626/events | https://github.com/huggingface/transformers/issues/8626 | 745,861,455 | MDU6SXNzdWU3NDU4NjE0NTU= | 8,626 | run_pl_glue.py (almost equivalent performance with non-english bert models) | {
"login": "timpal0l",
"id": 6556710,
"node_id": "MDQ6VXNlcjY1NTY3MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6556710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timpal0l",
"html_url": "https://github.com/timpal0l",
"followers_url": "https://api.github.com/users/timpa... | [
{
"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 | [] | [
"I can't say with certainty, but I actually think it's entirely feasible that this is legitimate result. Here's a [recent ACL paper](https://www.aclweb.org/anthology/2020.acl-main.421/) showing that a monolingual model can be fine-tuned on another language with competitive performance. The authors do learn a new em... | 1,605 | 1,614 | 1,614 | 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: `4.0.0.dev0`
- Platform: `Ubuntu 20.04.1 LTS`
- Python version: `3.8.5`
- PyTorch version (GPU?): `1.7.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8626/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.