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/12044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12044/comments | https://api.github.com/repos/huggingface/transformers/issues/12044/events | https://github.com/huggingface/transformers/issues/12044 | 912,886,984 | MDU6SXNzdWU5MTI4ODY5ODQ= | 12,044 | Electra model vocabulary | {
"login": "avinashsai",
"id": 22453634,
"node_id": "MDQ6VXNlcjIyNDUzNjM0",
"avatar_url": "https://avatars.githubusercontent.com/u/22453634?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avinashsai",
"html_url": "https://github.com/avinashsai",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,622 | 1,623 | 1,623 | NONE | null | 1. Electra model vocabulary doesn't show the vocabulary words unlike other models where vocabulary words can be clearly seen.
2. In this link (https://huggingface.co/google/electra-base-discriminator/resolve/main/vocab.txt) strangely all words are [unused0] barring [PAD], [CLS] and few other special tokens.
3. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12044/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12043/comments | https://api.github.com/repos/huggingface/transformers/issues/12043/events | https://github.com/huggingface/transformers/pull/12043 | 912,853,188 | MDExOlB1bGxSZXF1ZXN0NjYyOTcyNTc2 | 12,043 | [Draft] Wav2Vec2 - Save intermediate PR verifying that implementation matches fairseq ones | {
"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 | [] | [
"Delete after successful run of Wav2Vec2 PreTraining",
"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.... | 1,622 | 1,651 | 1,626 | 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/12043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12043/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12043",
"html_url": "https://github.com/huggingface/transformers/pull/12043",
"diff_url": "https://github.com/huggingface/transformers/pull/12043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12043.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12042/comments | https://api.github.com/repos/huggingface/transformers/issues/12042/events | https://github.com/huggingface/transformers/pull/12042 | 912,837,868 | MDExOlB1bGxSZXF1ZXN0NjYyOTYwMzA0 | 12,042 | Add optional grouped parsers description to HfArgumentParser | {
"login": "peteriz",
"id": 232524,
"node_id": "MDQ6VXNlcjIzMjUyNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/232524?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/peteriz",
"html_url": "https://github.com/peteriz",
"followers_url": "https://api.github.com/users/peteriz/fo... | [] | closed | false | null | [] | [
"Thanks!"
] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
This PR adds optional grouping to the argument parser of `HfArgumentParser` when multiple dataclasses are used (with different sub-grouped parameters, such as optimizer setup, model config, etc.) so that the displayed `-h` will print multiple grouped arguments in a more semantically organized... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12042/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12042",
"html_url": "https://github.com/huggingface/transformers/pull/12042",
"diff_url": "https://github.com/huggingface/transformers/pull/12042.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12042.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12041/comments | https://api.github.com/repos/huggingface/transformers/issues/12041/events | https://github.com/huggingface/transformers/issues/12041 | 912,716,099 | MDU6SXNzdWU5MTI3MTYwOTk= | 12,041 | Why my simple Bert model for text classification could not learn anything? | {
"login": "Hhhhhhhzf",
"id": 39818832,
"node_id": "MDQ6VXNlcjM5ODE4ODMy",
"avatar_url": "https://avatars.githubusercontent.com/u/39818832?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Hhhhhhhzf",
"html_url": "https://github.com/Hhhhhhhzf",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi there!\r\n\r\nPlease use the forum https://discuss.huggingface.co/ to ask such questions :) We use issues to report bugs and for feature requests.",
"> Hi there!\r\n> \r\n> Please use the forum https://discuss.huggingface.co/ to ask such questions :) We use issues to report bugs and for feature requests.\r\n... | 1,622 | 1,626 | 1,626 | NONE | null | Hello, I try `transformers.BertModel` to deal with a simple text classification, but the result makes me puzzled.
the code is simple,I implement the model with pytorch.
they are...
```
# a Dataset class for BertModel
class BertDataset(Dataset):
def __init__(self, train_file, tokenizer):
super(BertD... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12041/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12040/comments | https://api.github.com/repos/huggingface/transformers/issues/12040/events | https://github.com/huggingface/transformers/pull/12040 | 912,359,621 | MDExOlB1bGxSZXF1ZXN0NjYyNTI2MTgx | 12,040 | Add torch to requirements.txt in language-modeling | {
"login": "cdleong",
"id": 4109253,
"node_id": "MDQ6VXNlcjQxMDkyNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/4109253?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cdleong",
"html_url": "https://github.com/cdleong",
"followers_url": "https://api.github.com/users/cdleong/... | [] | closed | false | null | [] | [
"Thanks again!"
] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | it seems the requirements.txt was missing `torch`, which is seemingly required. Just adding it.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12040/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12040",
"html_url": "https://github.com/huggingface/transformers/pull/12040",
"diff_url": "https://github.com/huggingface/transformers/pull/12040.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12040.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12039/comments | https://api.github.com/repos/huggingface/transformers/issues/12039/events | https://github.com/huggingface/transformers/issues/12039 | 912,301,044 | MDU6SXNzdWU5MTIzMDEwNDQ= | 12,039 | pipelines should allow passing in tokenizer arguments | {
"login": "EtienneT",
"id": 265924,
"node_id": "MDQ6VXNlcjI2NTkyNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/265924?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/EtienneT",
"html_url": "https://github.com/EtienneT",
"followers_url": "https://api.github.com/users/Etienne... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nyou can pass a 2-tuple `(tokenizer_name, tokenizer_kwargs)` to achieve this. E.g.:\r\n```python\r\nfrom transformers import pipeline\r\nclassifier = pipeline('sentiment-analysis', tokenizer=(tokenizer_name, {\"padding\": True, \"truncation\": True, \"max_length\": 512}), device=0)\r\n```\r\n@patrickvonp... | 1,622 | 1,622 | 1,622 | NONE | null | # 🚀 Feature request
It should be possible to pass in additional arguments for the tokenizer in the pipeline constructor.
Something like this:
```
from transformers import pipeline
classifier = pipeline('sentiment-analysis', padding=True, truncation=True, max_length=512, device=0)
```
## Motivation
Fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12039/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12038/comments | https://api.github.com/repos/huggingface/transformers/issues/12038/events | https://github.com/huggingface/transformers/issues/12038 | 912,264,879 | MDU6SXNzdWU5MTIyNjQ4Nzk= | 12,038 | Support for pointer-generator architectures. | {
"login": "AmirAktify",
"id": 62885948,
"node_id": "MDQ6VXNlcjYyODg1OTQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/62885948?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AmirAktify",
"html_url": "https://github.com/AmirAktify",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,626 | 1,626 | NONE | null | # 🚀 Feature request
Is there interest in adding pointer generator architecture support to huggingface? These are currently supported in [fairseq](https://github.com/pytorch/fairseq/blob/master/examples/pointer_generator/README.md), and in general should not be terrible to add for most encoder-decoder seq2seq tasks ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12038/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/12038/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12037/comments | https://api.github.com/repos/huggingface/transformers/issues/12037/events | https://github.com/huggingface/transformers/issues/12037 | 912,253,837 | MDU6SXNzdWU5MTIyNTM4Mzc= | 12,037 | Using the latest DPR checkpoint available with HuggingFace DPR class | {
"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 | [] | [
"Hi ! Yes you should be fined. Under the hood it's actually the same tokenizer as `bert-base-uncased`.\r\n\r\nAlso it would be nice to add the new DPR checkpoints on the Hub as well.\r\n\r\nWhat changes did you have to do in the convert_dpr.py file ?",
"Perfect and thanks @lhoestq \r\n\r\n Actually, it was a very... | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | Hi,
There's a new DPR checkpoint available in [DPR Orignal repositary](https://github.com/facebookresearch/DPR#new-march-2021-retrieval-model), which shows nice improvements. I did convert the DPR checkpoint using the conver_dpr.py (did a minor modification) and it is working fine.
I have one question regarding ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12037/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12036/comments | https://api.github.com/repos/huggingface/transformers/issues/12036/events | https://github.com/huggingface/transformers/issues/12036 | 912,189,772 | MDU6SXNzdWU5MTIxODk3NzI= | 12,036 | I cannot import deepsepped | {
"login": "Arij-Aladel",
"id": 68355048,
"node_id": "MDQ6VXNlcjY4MzU1MDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/68355048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Arij-Aladel",
"html_url": "https://github.com/Arij-Aladel",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Sorry my bad I have not noticed that thee was changes on transformers and should upgrade the installation"
] | 1,622 | 1,622 | 1,622 | NONE | null | ```
from transformers.file_utils import CONFIG_NAME
from transformers.deepspeed import deepspeed_config, is_deepspeed_zero3_enabled
```
why I am getting this error ? even the file_utils and deepspeed are in the same directory I can import the first one but not the second which is not understandable for me
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12036/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12035/comments | https://api.github.com/repos/huggingface/transformers/issues/12035/events | https://github.com/huggingface/transformers/pull/12035 | 912,172,940 | MDExOlB1bGxSZXF1ZXN0NjYyMzU5OTQy | 12,035 | Fixed Typo in modeling_bart.py | {
"login": "ceevaaa",
"id": 36535845,
"node_id": "MDQ6VXNlcjM2NTM1ODQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/36535845?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ceevaaa",
"html_url": "https://github.com/ceevaaa",
"followers_url": "https://api.github.com/users/ceevaa... | [] | closed | false | null | [] | [
"Thanks a lot for fixing this!\r\n\r\nCould you run `make fix-copies` and then push again?"
] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Fixes #11895
Fixed Typo `(seq_len, batch, embed_dim)` to `(batch, seq_len, embed_dim)` in line
[373](https://github.com/huggingface/transformers/blob/996a315e76f6c972c854990e6114226a91bc0a90/src/transformers/models/bart/modeling_bart.py#L373) and [376](https://github.com/huggingface/tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12035/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12035",
"html_url": "https://github.com/huggingface/transformers/pull/12035",
"diff_url": "https://github.com/huggingface/transformers/pull/12035.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12035.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12034/comments | https://api.github.com/repos/huggingface/transformers/issues/12034/events | https://github.com/huggingface/transformers/issues/12034 | 912,078,584 | MDU6SXNzdWU5MTIwNzg1ODQ= | 12,034 | After loading fine-tuned model from local and use it for prediction, it continue training from scratch again! | {
"login": "Fushier",
"id": 48719664,
"node_id": "MDQ6VXNlcjQ4NzE5NjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/48719664?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fushier",
"html_url": "https://github.com/Fushier",
"followers_url": "https://api.github.com/users/Fushie... | [] | closed | false | null | [] | [
"No, this means you are loading a model that hasn't been fine-tuned. The model present in in your `./model` directory seems to have a pretraining head which is discarded, and a new token classification head is instantiated.",
"This issue has been automatically marked as stale because it has not had recent activit... | 1,622 | 1,626 | 1,626 | NONE | null | transformers: 4.6.1
torch: 1.3
gpu: k40m * 2
datasets: msra_ner
model: hfl/chinese-bert-wwm
I'm fine-tuning a model for token classification, and after training, I save the model:
`trainer.save_model('./model')
trainer.save_metrics('./model')`
Now I load the saved model :
`
tokenizer = AutoTokenizer.from... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12034/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12033/comments | https://api.github.com/repos/huggingface/transformers/issues/12033/events | https://github.com/huggingface/transformers/issues/12033 | 912,062,427 | MDU6SXNzdWU5MTIwNjI0Mjc= | 12,033 | A bug of modeling_wav2vec2.py:1033 line | {
"login": "zhangbo2008",
"id": 35842504,
"node_id": "MDQ6VXNlcjM1ODQyNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/35842504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangbo2008",
"html_url": "https://github.com/zhangbo2008",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Great catch @zhangbo2008!\r\n\r\nWould you like to open a PR to fix it?",
"ok \r\ni see you have fixed it in the latest version thanks for your works."
] | 1,622 | 1,624 | 1,624 | NONE | null | transformers/models/wav2vec2/modeling_wav2vec2.py
now is :
>>> import torch
>>> from transformers import Wav2Vec2Processor, Wav2Vec2ForCTC
>>> from datasets import load_dataset
>>> import soundfile as sf
>>> processor = Wav2Vec2Processor.from_pretrai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12033/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12032/comments | https://api.github.com/repos/huggingface/transformers/issues/12032/events | https://github.com/huggingface/transformers/issues/12032 | 912,042,919 | MDU6SXNzdWU5MTIwNDI5MTk= | 12,032 | Documents of `past_key_values` in input and output for `PegasusModel` are not aligned | {
"login": "ryangawei",
"id": 25638070,
"node_id": "MDQ6VXNlcjI1NjM4MDcw",
"avatar_url": "https://avatars.githubusercontent.com/u/25638070?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ryangawei",
"html_url": "https://github.com/ryangawei",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Hi @AlfredWGA , you are right ! The description of input `past_key_values` is old and should be updated. \r\nThe correct shape is as described by the output docstring. Thanks for reporting!"
] | 1,622 | 1,623 | 1,623 | 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.6.1
- Platform: Linux-4.15.0-144-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12032/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12031/comments | https://api.github.com/repos/huggingface/transformers/issues/12031/events | https://github.com/huggingface/transformers/pull/12031 | 912,035,007 | MDExOlB1bGxSZXF1ZXN0NjYyMjQwNDYz | 12,031 | Layoutlmv2 port with testing | {
"login": "raguiar2",
"id": 21694506,
"node_id": "MDQ6VXNlcjIxNjk0NTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/21694506?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raguiar2",
"html_url": "https://github.com/raguiar2",
"followers_url": "https://api.github.com/users/rag... | [] | closed | false | null | [] | [
"Looking good! Feel free to ping me when you want a review :)",
"@LysandreJik so, the logic in this PR is ready to be reviewed (mostly from https://github.com/microsoft/unilm with a few bug fixes). The one problem I'm having with this PR is that the detectron2 library requires torch to be **already installed** to... | 1,622 | 1,628 | 1,628 | NONE | null | # What does this PR do?
Trying to open up my own PR to figure out what's wrong with the install on https://github.com/huggingface/transformers/pull/11933, as it seems to be working locally but not on CircleCI
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, you... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12031/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12031",
"html_url": "https://github.com/huggingface/transformers/pull/12031",
"diff_url": "https://github.com/huggingface/transformers/pull/12031.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12031.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12030/comments | https://api.github.com/repos/huggingface/transformers/issues/12030/events | https://github.com/huggingface/transformers/issues/12030 | 911,726,385 | MDU6SXNzdWU5MTE3MjYzODU= | 12,030 | xla_spawn.py: Cannot load large (~1GB) optimizer.pt from checkpoint | {
"login": "BassaniRiccardo",
"id": 48254418,
"node_id": "MDQ6VXNlcjQ4MjU0NDE4",
"avatar_url": "https://avatars.githubusercontent.com/u/48254418?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BassaniRiccardo",
"html_url": "https://github.com/BassaniRiccardo",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"That is a weird error. I can't reproduce on my side, using an n2-standard-8 (8 vCPUs, 32 GB memory) with the TPUs.\r\nThere is no alternative to load the optimizer state in each process since each of the TPU cores will need it, and it needs to pass through the CPU sadly because PyTorch XLA does not handle loading ... | 1,622 | 1,626 | 1,626 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.7.0.dev0
- Platform: Linux-4.19.0-14-cloud-amd64-x86_64-with-debian-10.9
- Python version: 3.7.3
- PyTorch version (GPU?): 1.8.1+cu102 (False, using TPU)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: no, using TPU
- Using distributed or ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12030/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/12030/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12029/comments | https://api.github.com/repos/huggingface/transformers/issues/12029/events | https://github.com/huggingface/transformers/issues/12029 | 911,701,095 | MDU6SXNzdWU5MTE3MDEwOTU= | 12,029 | Seq2SeqTrainer: cannot set max length when we evaluate/(generate) during training | {
"login": "allanj",
"id": 3351187,
"node_id": "MDQ6VXNlcjMzNTExODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3351187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/allanj",
"html_url": "https://github.com/allanj",
"followers_url": "https://api.github.com/users/allanj/foll... | [] | closed | false | null | [] | [
"The Seq2SeqTrainer also accepts the `max_length` argument in its [evaluate method](https://github.com/huggingface/transformers/blob/1f335aef3bb5382b5cfd7adbe5861ed4979dd98d/src/transformers/trainer_seq2seq.py#L41).",
"Yeah. But the `Seq2SeqTrainer` extends `Trainer`, which implements the actual`train` function.\... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | ## Environment inf
- `transformers` version: 4.6.1
### Who can help
- trainer: @sgugger
## Information
Seq2SeqTrainer: cannot set max length when we evaluate/(generate) during training.
I know we can set the max length during the actual evaluation here: https://github.com/huggingface/transformers/blob/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12029/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12028/comments | https://api.github.com/repos/huggingface/transformers/issues/12028/events | https://github.com/huggingface/transformers/pull/12028 | 911,700,413 | MDExOlB1bGxSZXF1ZXN0NjYxOTM3NjM1 | 12,028 | New TF GLUE example | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,622 | 1,623 | 1,623 | MEMBER | null | This is the PR for the new-style TF GLUE example. I'd like to run a few more tests, especially on the weirder datasets like MNLI and STSB, before I merge it, but it's almost ready! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12028/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12028",
"html_url": "https://github.com/huggingface/transformers/pull/12028",
"diff_url": "https://github.com/huggingface/transformers/pull/12028.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12028.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12027/comments | https://api.github.com/repos/huggingface/transformers/issues/12027/events | https://github.com/huggingface/transformers/pull/12027 | 911,687,195 | MDExOlB1bGxSZXF1ZXN0NjYxOTI2NjM2 | 12,027 | Replace legacy tensor.Tensor with torch.tensor/torch.empty | {
"login": "mariosasko",
"id": 47462742,
"node_id": "MDQ6VXNlcjQ3NDYyNzQy",
"avatar_url": "https://avatars.githubusercontent.com/u/47462742?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mariosasko",
"html_url": "https://github.com/mariosasko",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | Motivated by [this issue](https://github.com/pytorch/pytorch/issues/53146) in the PyTorch repo. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12027/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12027",
"html_url": "https://github.com/huggingface/transformers/pull/12027",
"diff_url": "https://github.com/huggingface/transformers/pull/12027.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12027.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12026/comments | https://api.github.com/repos/huggingface/transformers/issues/12026/events | https://github.com/huggingface/transformers/pull/12026 | 911,484,385 | MDExOlB1bGxSZXF1ZXN0NjYxNzU0MDI5 | 12,026 | Fixes bug that appears when using QA bert and distilation. | {
"login": "madlag",
"id": 272253,
"node_id": "MDQ6VXNlcjI3MjI1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/272253?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/madlag",
"html_url": "https://github.com/madlag",
"followers_url": "https://api.github.com/users/madlag/follow... | [] | closed | false | null | [] | [
"It looks like I should also modify a bunch of other models (utils/check_copies.py fails) to match the same change I did in BERT, I will wait to hear from you what is the process to do so.\r\n",
"It should be ok now, only non related tests are failing in run_tests_torch.\r\n"
] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | This is a fix for
https://github.com/huggingface/transformers/issues/11626
and this is a somewhat related to:
https://github.com/huggingface/transformers/issues/11941
During backward pass Pytorch complains with:
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12026/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12026/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12026",
"html_url": "https://github.com/huggingface/transformers/pull/12026",
"diff_url": "https://github.com/huggingface/transformers/pull/12026.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12026.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12025/comments | https://api.github.com/repos/huggingface/transformers/issues/12025/events | https://github.com/huggingface/transformers/pull/12025 | 911,217,654 | MDExOlB1bGxSZXF1ZXN0NjYxNTI2NTMx | 12,025 | Extend pipelines for automodel tupels | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"FYI, there are 536 model_ids (out of all public ones) that have no `config.architectures`. \r\nThey can be accessed here: https://github.com/patrickvonplaten/files_to_link_to/blob/master/model_ids_no_config.txt",
"@sgugger I think it should be good to go, but the failing test is not from this PR can you confirm ... | 1,622 | 1,623 | 1,623 | 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/12025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12025/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12025",
"html_url": "https://github.com/huggingface/transformers/pull/12025",
"diff_url": "https://github.com/huggingface/transformers/pull/12025.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12025.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12024/comments | https://api.github.com/repos/huggingface/transformers/issues/12024/events | https://github.com/huggingface/transformers/pull/12024 | 911,216,752 | MDExOlB1bGxSZXF1ZXN0NjYxNTI1Nzc2 | 12,024 | Add CANINE | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi @NielsRogge , thanks for that PR! I'm currently trying to run the token classification example and here's some initial feedback:\r\n\r\n- AutoTokenizer is currently not working/finding the `CanineTokenizer`, so I had to manually specify it\r\n- It seems that the token classification example only works with Fast... | 1,622 | 1,625 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
It adds Google's new [CANINE](https://arxiv.org/abs/2103.06874) model. It's a tokenizer-free model, meaning you can throw away your `vocab.txt` file. The model trains at a character level, namely by turning each character into its unicode code point. In Python, this can be done using the buil... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12024/reactions",
"total_count": 5,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 5,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12024",
"html_url": "https://github.com/huggingface/transformers/pull/12024",
"diff_url": "https://github.com/huggingface/transformers/pull/12024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12024.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12023/comments | https://api.github.com/repos/huggingface/transformers/issues/12023/events | https://github.com/huggingface/transformers/pull/12023 | 911,189,150 | MDExOlB1bGxSZXF1ZXN0NjYxNTAxOTI2 | 12,023 | Flax CLM script | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"id": 1936351150,
"node_id": "MDU6TGFiZWwxOTM2MzUxMTUw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Examples",
"name": "Examples",
"color": "d4c5f9",
"default": false,
"description": "Which is related to examples in general"
},
{
"id": 2934977194,
... | closed | false | null | [] | [] | 1,622 | 1,623 | 1,623 | MEMBER | null | This PR adds causal language model training script for flax.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12023/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12023",
"html_url": "https://github.com/huggingface/transformers/pull/12023",
"diff_url": "https://github.com/huggingface/transformers/pull/12023.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12023.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12022/comments | https://api.github.com/repos/huggingface/transformers/issues/12022/events | https://github.com/huggingface/transformers/issues/12022 | 911,140,738 | MDU6SXNzdWU5MTExNDA3Mzg= | 12,022 | Getting IndexError: index out of range in self while finetuning GPTNeo on Text Classification | {
"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... | [] | closed | false | null | [] | [
"This is because you are using a pretrained model but add new tokens without changing the weights. There is thus a problem when you pass that new token as input ID, it doesn't have a matching embedding. You can resize the embedding matrix but you will then lose all the weights of that embedding matrix, so you won't... | 1,622 | 1,626 | 1,626 | CONTRIBUTOR | null | ## Environment info]
- `transformers` version: current master branch
- Platform: Colab
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.1+cu101
- Tensorflow version (GPU?): Not using
- Using GPU in script?: With GPU also has issue
- Using distributed or parallel set-up in script?: yes I am using trainer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12022/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12021/comments | https://api.github.com/repos/huggingface/transformers/issues/12021/events | https://github.com/huggingface/transformers/pull/12021 | 911,013,542 | MDExOlB1bGxSZXF1ZXN0NjYxMzQ5MTI4 | 12,021 | [Deepspeed] Assert on mismatches between ds and hf args | {
"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 | [] | [
"@stas00 - this looks great. Thanks for the added bonus of showing the conflicting names, values, and sources!",
"I'm glad to hear you found it useful, @rfernand2. \r\n\r\nThis is all new and experimental so if you find other suggestions for improvements please don't hesitate to file an issue. Thank you!"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | This is another iteration to make things less prone to errors when dealing with the complex space of partially overlapping DS and HF Trainer configs.
- validate params and assert on mismatch - revamps how the config massage is done
- add a test
- add docs
- this new code uncovered a config mismatch in the deepspe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12021/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12021",
"html_url": "https://github.com/huggingface/transformers/pull/12021",
"diff_url": "https://github.com/huggingface/transformers/pull/12021.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12021.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12020/comments | https://api.github.com/repos/huggingface/transformers/issues/12020/events | https://github.com/huggingface/transformers/issues/12020 | 910,991,849 | MDU6SXNzdWU5MTA5OTE4NDk= | 12,020 | Remove "Setting `pad_token_id` to `eos_token_id`:50256 for open-end generation." | {
"login": "yananchen1989",
"id": 26405281,
"node_id": "MDQ6VXNlcjI2NDA1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yananchen1989",
"html_url": "https://github.com/yananchen1989",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"+1, it seems like this method gets triggered on each call to open-ended generation, which pollutes logs quite a bit :/ Is there a way to have it run just once on `pipeline` creation?",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be a... | 1,622 | 1,693 | 1,631 | NONE | null | When using GPT2 for generation, there is always info:
> Setting `pad_token_id` to `eos_token_id`:50256 for open-end generation
I find this message hides in https://github.com/huggingface/transformers/blob/master/src/transformers/generation_utils.py
It seems redundancy. Can it be removed for simplicity ?
@patr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12020/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12020/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12019/comments | https://api.github.com/repos/huggingface/transformers/issues/12019/events | https://github.com/huggingface/transformers/issues/12019 | 910,979,172 | MDU6SXNzdWU5MTA5NzkxNzI= | 12,019 | Allow registerable Components | {
"login": "david-waterworth",
"id": 5028974,
"node_id": "MDQ6VXNlcjUwMjg5NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5028974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/david-waterworth",
"html_url": "https://github.com/david-waterworth",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"Similar question to https://github.com/huggingface/transformers/issues/10256, and it is indeed a nice proposal!",
"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... | 1,622 | 1,626 | 1,626 | NONE | null | # 🚀 Feature request
Currently, the Auto* classes use hardcoded mappings from model_name to class. This means they cannot be used to extend transformers with custom implementations, which in turn makes it difficult to perform experiments for example using alternate tokenisation particularly integration with other fr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12019/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/12019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12018/comments | https://api.github.com/repos/huggingface/transformers/issues/12018/events | https://github.com/huggingface/transformers/pull/12018 | 910,952,052 | MDExOlB1bGxSZXF1ZXN0NjYxMjk2ODgy | 12,018 | [TrainerArguments] format and sort __repr__, add __str__ | {
"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,622 | 1,622 | 1,622 | CONTRIBUTOR | null | This PR:
- makes the `TrainerArguments` log dump more readable - by sorting and formatting the output
- `__repr__` wasn't actually used in examples, but `__str__` was needed - so fixing that buglet
New dump looks like:
```
06/03/2021 17:05:12 - INFO - __main__ - Training/evaluation parameters Seq2SeqTraining... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12018/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12018",
"html_url": "https://github.com/huggingface/transformers/pull/12018",
"diff_url": "https://github.com/huggingface/transformers/pull/12018.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12018.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12017/comments | https://api.github.com/repos/huggingface/transformers/issues/12017/events | https://github.com/huggingface/transformers/pull/12017 | 910,784,207 | MDExOlB1bGxSZXF1ZXN0NjYxMTU1MjEx | 12,017 | Fix deberta 2 Tokenizer Integration Test | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | fixes #12016 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12017/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12017",
"html_url": "https://github.com/huggingface/transformers/pull/12017",
"diff_url": "https://github.com/huggingface/transformers/pull/12017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12017.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12016/comments | https://api.github.com/repos/huggingface/transformers/issues/12016/events | https://github.com/huggingface/transformers/issues/12016 | 910,775,693 | MDU6SXNzdWU5MTA3NzU2OTM= | 12,016 | FAILED tests/test_tokenization_deberta_v2.py::DebertaV2TokenizationTest::test_tokenizer_integration | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"> I will provide a PR\r\n\r\nsee #12017 "
] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | This integration (`@slow`) test fails:
see https://github.com/huggingface/transformers/runs/2723622794?check_suite_focus=true#step:7:2663
I will provide a PR | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12016/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12015/comments | https://api.github.com/repos/huggingface/transformers/issues/12015/events | https://github.com/huggingface/transformers/pull/12015 | 910,687,800 | MDExOlB1bGxSZXF1ZXN0NjYxMDczNTMz | 12,015 | Fix problem_type to match with the applied loss function for distillbert sequence classification | {
"login": "sidhantls",
"id": 19412334,
"node_id": "MDQ6VXNlcjE5NDEyMzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/19412334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sidhantls",
"html_url": "https://github.com/sidhantls",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @abhi1thakur @sgugger ",
"No, this is incorrect. What `single_label_classification` means each sample can only have one label (but there could be multiple classes) so the loss to use is cross entropy. `multi_label_classification` means each sample can have zero or several labels, so in this case we use bce (b... | 1,622 | 1,623 | 1,623 | NONE | null | # What does this PR do?
The problem_type in config is not correct with the loss function applied. Can be seen [here](https://github.com/huggingface/transformers/blob/242ec31aa59b358e631d981b545fd08330584ea8/src/transformers/models/distilbert/modeling_distilbert.py#L649).
This PR fixes this so that the applied loss... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12015/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12015",
"html_url": "https://github.com/huggingface/transformers/pull/12015",
"diff_url": "https://github.com/huggingface/transformers/pull/12015.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12015.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12014/comments | https://api.github.com/repos/huggingface/transformers/issues/12014/events | https://github.com/huggingface/transformers/issues/12014 | 910,682,834 | MDU6SXNzdWU5MTA2ODI4MzQ= | 12,014 | MIssmatch between problem_type and loss functions in DistillBert for sequence classification | {
"login": "sidhantls",
"id": 19412334,
"node_id": "MDQ6VXNlcjE5NDEyMzM0",
"avatar_url": "https://avatars.githubusercontent.com/u/19412334?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sidhantls",
"html_url": "https://github.com/sidhantls",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"cc @abhi1thakur "
] | 1,622 | 1,623 | 1,623 | NONE | null | ## Environment info
- Platform: Windows
- Python version: 3.8
- PyTorch version (GPU?): 1.8
### Who can help
@LysandreJik
Models:
Distillbert for sequence classification
## Information
The problem_type in config is not correct with the loss function applied. Can be seen [here](https://github.com/hugging... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12014/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12014/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12013/comments | https://api.github.com/repos/huggingface/transformers/issues/12013/events | https://github.com/huggingface/transformers/pull/12013 | 910,598,040 | MDExOlB1bGxSZXF1ZXN0NjYwOTk1NDM1 | 12,013 | [Flax] Refactor MLM | {
"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,622 | 1,622 | 1,622 | 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/12013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12013/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12013",
"html_url": "https://github.com/huggingface/transformers/pull/12013",
"diff_url": "https://github.com/huggingface/transformers/pull/12013.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12013.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12012/comments | https://api.github.com/repos/huggingface/transformers/issues/12012/events | https://github.com/huggingface/transformers/issues/12012 | 910,504,991 | MDU6SXNzdWU5MTA1MDQ5OTE= | 12,012 | RAG end to end with RAY throws pickling error | {
"login": "sb1992",
"id": 10261100,
"node_id": "MDQ6VXNlcjEwMjYxMTAw",
"avatar_url": "https://avatars.githubusercontent.com/u/10261100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sb1992",
"html_url": "https://github.com/sb1992",
"followers_url": "https://api.github.com/users/sb1992/fo... | [] | closed | false | null | [] | [
"Check this[ StackOverflow question](https://stackoverflow.com/questions/67798070/raytune-is-throwing-error-module-pickle-has-no-attribute-picklebuffer-whe). btw I use python 3.8 and it worked perfectly for me.",
"Yup i did but that is also just the question without any answer unfortunately.",
"Hi there, I exe... | 1,622 | 1,622 | 1,622 | NONE | null | **Environmnet info:**
Transformers:4.5.1
Paltform:Ubuntu
Python:3.7
Torch 1.6.0
Gpus = yes
Distributed: Ray (1.3.0)
**Information**
Am using RAG end2end-retriever from examples code
examples/research_projects/rag-end2end-retriever
For the time being just trying on dummy data and just trying the scrip... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12012/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12011/comments | https://api.github.com/repos/huggingface/transformers/issues/12011/events | https://github.com/huggingface/transformers/pull/12011 | 910,459,995 | MDExOlB1bGxSZXF1ZXN0NjYwODc2OTg5 | 12,011 | Add mlm pretraining xla torch readme | {
"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,622 | 1,623 | 1,623 | 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/12011/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12011/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12011",
"html_url": "https://github.com/huggingface/transformers/pull/12011",
"diff_url": "https://github.com/huggingface/transformers/pull/12011.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12011.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12010/comments | https://api.github.com/repos/huggingface/transformers/issues/12010/events | https://github.com/huggingface/transformers/issues/12010 | 910,455,398 | MDU6SXNzdWU5MTA0NTUzOTg= | 12,010 | Translation example generates the same input | {
"login": "puraminy",
"id": 5293185,
"node_id": "MDQ6VXNlcjUyOTMxODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5293185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/puraminy",
"html_url": "https://github.com/puraminy",
"followers_url": "https://api.github.com/users/puram... | [] | closed | false | null | [] | [
"Hey @puraminy,\r\n\r\nCould you provide a reproducible code snippet? Otherwise, it's very difficult to reproduce the error you got.",
"@patrickvonplaten \r\n\r\nHere is my code on github\r\n\r\nhttps://github.com/puraminy/mt5-comet\r\n\r\nyou should be able to run `run_trans` in the root folder. You can see my s... | 1,622 | 1,626 | 1,626 | NONE | null | I trained the [translation](https://github.com/huggingface/transformers/tree/master/examples/pytorch/translation ) example, using a custom json file with the format specefied in README.
It has a bug, I don't know where, but strangely it just generated the same input. For example if you set `--do_predict`, the `gene... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12010/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12010/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12009/comments | https://api.github.com/repos/huggingface/transformers/issues/12009/events | https://github.com/huggingface/transformers/issues/12009 | 910,397,477 | MDU6SXNzdWU5MTAzOTc0Nzc= | 12,009 | some issue in FlaxBertForMultipleChoice | {
"login": "thevasudevgupta",
"id": 53136577,
"node_id": "MDQ6VXNlcjUzMTM2NTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/53136577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thevasudevgupta",
"html_url": "https://github.com/thevasudevgupta",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Ah I see! \r\n\r\nSo multiple choice is actually the only class where the `input_ids` have to be of shape `(batch_size, num_choices, seq_length)` instead of `(batch_size, seq_length)` (see [docs](https://huggingface.co/transformers/model_doc/bert.html?highlight=flaxbert#flaxbertformultiplechoice) here).\r\n\r\nThi... | 1,622 | 1,622 | 1,622 | 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.7.0.dev0
- Platform: macOS-10.16-x86_64-i386-64bit
- Python version: 3.8.5
- PyTorch version (GPU?): 1.8.1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12009/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12009/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12008/comments | https://api.github.com/repos/huggingface/transformers/issues/12008/events | https://github.com/huggingface/transformers/issues/12008 | 910,322,349 | MDU6SXNzdWU5MTAzMjIzNDk= | 12,008 | Issue while using DPR with tensorflow and py torch | {
"login": "MaheshChandrra",
"id": 13826929,
"node_id": "MDQ6VXNlcjEzODI2OTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/13826929?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaheshChandrra",
"html_url": "https://github.com/MaheshChandrra",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hey @MaheshChandrra, \r\n\r\nIt seems like there is a type as it should be called `outputs.start_logits` instead of `outputs.stat_logits`. Would you like to open a PR to fix it? :-)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be ad... | 1,622 | 1,626 | 1,626 | 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.6.1
- Platform:Windows
- Python version:3.6
- PyTorch version (GPU?No):1.7.0
- Tensorflow version (GPU? N... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12008/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12008/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12007/comments | https://api.github.com/repos/huggingface/transformers/issues/12007/events | https://github.com/huggingface/transformers/pull/12007 | 910,310,883 | MDExOlB1bGxSZXF1ZXN0NjYwNzUyMjY3 | 12,007 | Fix megatron_gpt2 attention block's causal mask | {
"login": "novatig",
"id": 16716298,
"node_id": "MDQ6VXNlcjE2NzE2Mjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/16716298?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/novatig",
"html_url": "https://github.com/novatig",
"followers_url": "https://api.github.com/users/novati... | [] | closed | false | null | [] | [
"Hi, I am struggling with the same issue as I detailed in #12004\r\n\r\nDid you happen to confirm that once you make this change the two logits produced by Megatron GPT2 and transformers GPT2 are identical?\r\n\r\nFrom what I have experimented, making attention mask as lower triangular matrix did not produce the sa... | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Fixes the conversion between Megatron-LM's GPT2 parameters and transformer's GPT2.
In Megatron-LM the attention mask is implemented differently and is not part of the provided checkpoint.
This PR initializes the mask as in [GPT2](https://github.com/huggingface/transformers/blob/master/src/tra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12007/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12007/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12007",
"html_url": "https://github.com/huggingface/transformers/pull/12007",
"diff_url": "https://github.com/huggingface/transformers/pull/12007.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12007.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12006/comments | https://api.github.com/repos/huggingface/transformers/issues/12006/events | https://github.com/huggingface/transformers/issues/12006 | 910,306,518 | MDU6SXNzdWU5MTAzMDY1MTg= | 12,006 | Fluctuating embedding given by different random seed during inference | {
"login": "MatthewCYM",
"id": 40845677,
"node_id": "MDQ6VXNlcjQwODQ1Njc3",
"avatar_url": "https://avatars.githubusercontent.com/u/40845677?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MatthewCYM",
"html_url": "https://github.com/MatthewCYM",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,626 | 1,626 | 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.2.1
- Platform: Linux-5.4.0-65-generic-x86_64-with-glibc2.10
- Python version: 3.8.10
- PyTorch version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12006/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12006/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12005/comments | https://api.github.com/repos/huggingface/transformers/issues/12005/events | https://github.com/huggingface/transformers/issues/12005 | 910,303,381 | MDU6SXNzdWU5MTAzMDMzODE= | 12,005 | where is the code for DetrFeatureExtractor, DetrForObjectDetection | {
"login": "zhangbo2008",
"id": 35842504,
"node_id": "MDQ6VXNlcjM1ODQyNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/35842504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zhangbo2008",
"html_url": "https://github.com/zhangbo2008",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Haha it's not merged yet, thanks for your interest :) will be available soon",
"thanks dude",
"Resolved by #11653 . Code can be found [here](https://github.com/huggingface/transformers/blob/master/src/transformers/models/detr/modeling_detr.py)."
] | 1,622 | 1,623 | 1,623 | NONE | null | Hello my dear friend.
i am long for the model of https://huggingface.co/facebook/detr-resnet-50
i cannot find the code of it in transformers==4.7.0.dev0 and 4.6.1 pleae help me . appreciated.
## Environment info
<!-- You can run the command `transformers-cli env` and copy... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12005/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12005/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12004/comments | https://api.github.com/repos/huggingface/transformers/issues/12004/events | https://github.com/huggingface/transformers/issues/12004 | 910,271,155 | MDU6SXNzdWU5MTAyNzExNTU= | 12,004 | Megatron GPT2 not compatible with transformers | {
"login": "hwijeen",
"id": 29157715,
"node_id": "MDQ6VXNlcjI5MTU3NzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/29157715?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hwijeen",
"html_url": "https://github.com/hwijeen",
"followers_url": "https://api.github.com/users/hwijee... | [] | closed | false | null | [] | [
"This is the code to check if the two gpt2s produce the same logits. Hope this helps and I would be happy to provide further information if requested.\r\n* megatron-LM\r\n```python\r\nimport torch\r\nfrom megatron import get_args, get_tokenizer, initialize_megatron, mpu\r\nfrom megatron.model import GPTModel\r\nfro... | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | **TLDR:**
Current implementation detail of attention in GPT2 is different from Megatron-LM GPT2, raising compatibility issue. Since the required change is quite minimal, how about changing transformers's implementation to follow Megatron-LM's?
**Quite detailed exploration:**
I used the [script](https://github.co... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12004/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/12004/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12003/comments | https://api.github.com/repos/huggingface/transformers/issues/12003/events | https://github.com/huggingface/transformers/issues/12003 | 910,165,279 | MDU6SXNzdWU5MTAxNjUyNzk= | 12,003 | Fast Tokenization fail for the pretrained model | {
"login": "jasonwu0731",
"id": 14951842,
"node_id": "MDQ6VXNlcjE0OTUxODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/14951842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jasonwu0731",
"html_url": "https://github.com/jasonwu0731",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,626 | 1,626 | 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.5.1
- Platform: Linux-5.4.89+-x86_64-with-debian-bullseye-sid
- Python version: 3.6.9
- PyTorch version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12003/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12002/comments | https://api.github.com/repos/huggingface/transformers/issues/12002/events | https://github.com/huggingface/transformers/issues/12002 | 910,154,447 | MDU6SXNzdWU5MTAxNTQ0NDc= | 12,002 | ImportError: cannot import name 'MarianMTModel' | {
"login": "saivarshittha",
"id": 58642682,
"node_id": "MDQ6VXNlcjU4NjQyNjgy",
"avatar_url": "https://avatars.githubusercontent.com/u/58642682?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saivarshittha",
"html_url": "https://github.com/saivarshittha",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,626 | 1,626 | 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.5.1
- Platform:jupyter notebook
- Python version: 3.6.7
- PyTorch version (GPU?):1.0.1.post2
- Tensorflow... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12002/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12001/comments | https://api.github.com/repos/huggingface/transformers/issues/12001/events | https://github.com/huggingface/transformers/pull/12001 | 910,107,717 | MDExOlB1bGxSZXF1ZXN0NjYwNTc4MjMy | 12,001 | Update run_ner.py with id2label config | {
"login": "KoichiYasuoka",
"id": 15098598,
"node_id": "MDQ6VXNlcjE1MDk4NTk4",
"avatar_url": "https://avatars.githubusercontent.com/u/15098598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KoichiYasuoka",
"html_url": "https://github.com/KoichiYasuoka",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Sorry but I've rarely used `run_ner_no_trainer.py`. And, well, since `run_ner_no_trainer.py` does not change `config.json`, thus I want to keep this PR as is.",
"Will take care of it then, thanks!"
] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Enhancement for `run_ner.py` to produce more meaningful `id2label`.
## 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 guideline](https://github.com/huggingface/transformers/blob/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12001/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12001/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12001",
"html_url": "https://github.com/huggingface/transformers/pull/12001",
"diff_url": "https://github.com/huggingface/transformers/pull/12001.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12001.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12000/comments | https://api.github.com/repos/huggingface/transformers/issues/12000/events | https://github.com/huggingface/transformers/issues/12000 | 910,100,365 | MDU6SXNzdWU5MTAxMDAzNjU= | 12,000 | Exporting the operator repeat_interleave to ONNX opset version (<=12) is not supported! | {
"login": "JaheimLee",
"id": 18062264,
"node_id": "MDQ6VXNlcjE4MDYyMjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/18062264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JaheimLee",
"html_url": "https://github.com/JaheimLee",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I have a solution, but maybe it's not the best way.\r\n\r\nsin_pos = torch.zeros_like(sin).repeat(1, 1, 1, 2)\r\nsin_pos[..., ::2] = sin\r\nsin_pos[..., 1::2] = sin\r\ncos_pos = torch.zeros_like(cos).repeat(1, 1, 1, 2)\r\ncos_pos[..., ::2] = cos\r\ncos_pos[..., 1::2] = cos",
"It seems that you haven't change rof... | 1,622 | 1,624 | 1,624 | NONE | null | When I export Roformer model to onnxruntime, this error occurred! Is there any ops can replace 'torch.repeat_interleave'?
It's in [https://github.com/huggingface/transformers/blob/master/src/transformers/models/roformer/modeling_roformer.py](url), at line 330 and 332 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11999/comments | https://api.github.com/repos/huggingface/transformers/issues/11999/events | https://github.com/huggingface/transformers/issues/11999 | 910,073,204 | MDU6SXNzdWU5MTAwNzMyMDQ= | 11,999 | Unable to find examples on using DPR for transfer learning,request you to provide examples | {
"login": "MaheshChandrra",
"id": 13826929,
"node_id": "MDQ6VXNlcjEzODI2OTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/13826929?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaheshChandrra",
"html_url": "https://github.com/MaheshChandrra",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi ! There are a few examples in the `datasets` documentation. It shows how to add a FAISS index to a dataset to perform dense retrieval using DPR:\r\nhttps://huggingface.co/docs/datasets/faiss_and_ea.html#adding-a-faiss-index",
"Thanks for the link,I tried using elasticsearch from my notebook and getting the be... | 1,622 | 1,626 | 1,626 | NONE | null | Hi Team Hugging face
Can you please provide a Q and A example for retrieval of an answer for a given text using DPR,I've read the documentation but couldn't find it. Would be of great help.
Thanks
Mahesh Mareedu
@lhoestq | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11999/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11998/comments | https://api.github.com/repos/huggingface/transformers/issues/11998/events | https://github.com/huggingface/transformers/issues/11998 | 910,040,357 | MDU6SXNzdWU5MTAwNDAzNTc= | 11,998 | Add SENet Blocks in Encoding Layers | {
"login": "calusbr",
"id": 25322394,
"node_id": "MDQ6VXNlcjI1MzIyMzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/25322394?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/calusbr",
"html_url": "https://github.com/calusbr",
"followers_url": "https://api.github.com/users/calusb... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | open | false | null | [] | [
"Hey, I'd like to work on implementing this feature if it hasn't been done yet."
] | 1,622 | 1,630 | null | NONE | null | # 🚀 Feature Request
I read the article "[SesameBERT: Attention for Anywhere](https://arxiv.org/pdf/1910.03176.pdf)" and would like to add SENet blocks in the Huggingface implementation. The article's authors made an implementation with [Tensorflow](https://github.com/ICLR2020Sesame/SesameBert/blob/master/modeling.p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11998/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11997/comments | https://api.github.com/repos/huggingface/transformers/issues/11997/events | https://github.com/huggingface/transformers/pull/11997 | 909,760,681 | MDExOlB1bGxSZXF1ZXN0NjYwMjg2MTI0 | 11,997 | [deepspeed] add nvme test skip rule | {
"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": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | As discussed at https://github.com/microsoft/DeepSpeed/issues/1126 make it possible to skip the nvme test if user's system isn't compatible with libaio requirements.
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11997",
"html_url": "https://github.com/huggingface/transformers/pull/11997",
"diff_url": "https://github.com/huggingface/transformers/pull/11997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11997.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11996/comments | https://api.github.com/repos/huggingface/transformers/issues/11996/events | https://github.com/huggingface/transformers/issues/11996 | 909,627,786 | MDU6SXNzdWU5MDk2Mjc3ODY= | 11,996 | None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. | {
"login": "MK096",
"id": 20142735,
"node_id": "MDQ6VXNlcjIwMTQyNzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/20142735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MK096",
"html_url": "https://github.com/MK096",
"followers_url": "https://api.github.com/users/MK096/follow... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,626 | 1,626 | NONE | null | While generating exe using pyinstaller, i get following error. In python IDL it works finw
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
My TF and Pytorch versions are 2.5.0, 1.8.1+cpu respectively.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11996/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11995/comments | https://api.github.com/repos/huggingface/transformers/issues/11995/events | https://github.com/huggingface/transformers/issues/11995 | 909,627,039 | MDU6SXNzdWU5MDk2MjcwMzk= | 11,995 | tensorflow has no attribute swish | {
"login": "FrancoisMentec",
"id": 22057576,
"node_id": "MDQ6VXNlcjIyMDU3NTc2",
"avatar_url": "https://avatars.githubusercontent.com/u/22057576?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrancoisMentec",
"html_url": "https://github.com/FrancoisMentec",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"This is very strange - I can't reproduce it here, and Tensorflow >= 2.3 should have Swish as an activation. I'll try to figure that one out, but if you discover anything else about the problem, let me know!",
"Tensorflow version is wrong:\r\n```\r\nimport tensorflow as ts\r\n\r\nprint(ts.__version__)\r\n```\r\ng... | 1,622 | 1,622 | 1,622 | NONE | null | ## Environment info
- transformers version: 4.6.1
- Platform: Linux-5.4.0-1047-azure-x86_64-with-glibc2.10
- Python version: 3.8.1
- PyTorch version (GPU?): 1.8.1 (True)
- Tensorflow version (GPU?): 2.5.0 (False)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
```
azureuser@... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11995/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11994/comments | https://api.github.com/repos/huggingface/transformers/issues/11994/events | https://github.com/huggingface/transformers/pull/11994 | 909,599,614 | MDExOlB1bGxSZXF1ZXN0NjYwMTUwNDUz | 11,994 | CLIPFeatureExtractor should resize images with kept aspect ratio | {
"login": "TobiasNorlund",
"id": 2678217,
"node_id": "MDQ6VXNlcjI2NzgyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2678217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TobiasNorlund",
"html_url": "https://github.com/TobiasNorlund",
"followers_url": "https://api.github.... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Hi @TobiasNorlund , thanks a lot for spotting this.\r\n\r\nHowever, this change does not actually work as expected. I processed a few images using the origin CLIP transforms and `CLIPFeatureExtractor` and compared the output. Here's the script\r\n\r\n```python3\r\nfrom PIL import Image\r\nimport os\r\nimport skima... | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
Fixes #11992
## 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 guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11994/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11994/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11994",
"html_url": "https://github.com/huggingface/transformers/pull/11994",
"diff_url": "https://github.com/huggingface/transformers/pull/11994.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11994.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11993/comments | https://api.github.com/repos/huggingface/transformers/issues/11993/events | https://github.com/huggingface/transformers/issues/11993 | 909,591,812 | MDU6SXNzdWU5MDk1OTE4MTI= | 11,993 | XLNET on SQuAD2 evaluation error | {
"login": "yifding",
"id": 24882423,
"node_id": "MDQ6VXNlcjI0ODgyNDIz",
"avatar_url": "https://avatars.githubusercontent.com/u/24882423?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yifding",
"html_url": "https://github.com/yifding",
"followers_url": "https://api.github.com/users/yifdin... | [] | closed | false | null | [] | [
"It looks like you are using DataParallel for the evaluation, which does not always work if the number of samples is not a round multiple of the number of GPUs. You should use DistributedDataParallel (as recommended by the PyTorch team), just change your command to:\r\n```\r\npython -m torch.distributed.launch --np... | 1,622 | 1,623 | 1,623 | 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.7.0.dev0
- Platform: NAME="Red Hat Enterprise Linux Server" VERSION="7.9 (Maipo)"
- Python version: Python ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11993/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11993/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11992/comments | https://api.github.com/repos/huggingface/transformers/issues/11992/events | https://github.com/huggingface/transformers/issues/11992 | 909,572,948 | MDU6SXNzdWU5MDk1NzI5NDg= | 11,992 | CLIPFeatureExtractor should resize images with kept aspect ratio | {
"login": "TobiasNorlund",
"id": 2678217,
"node_id": "MDQ6VXNlcjI2NzgyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/2678217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TobiasNorlund",
"html_url": "https://github.com/TobiasNorlund",
"followers_url": "https://api.github.... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Specifically, I believe this is due to differing logic in the image resizing preprocessing step. The original CLIP implementation uses `torchvision.transforms.Resize` ([ref](https://github.com/openai/CLIP/blob/main/clip/clip.py#L60)) to resize the image given a single integer of the desired size. According to the ... | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: Linux-5.11.0-7614-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.8.1+cu102 (False)
- Tensorflow version (GPU?): 2.5.0 (False)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11992/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11992/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11991/comments | https://api.github.com/repos/huggingface/transformers/issues/11991/events | https://github.com/huggingface/transformers/issues/11991 | 909,553,081 | MDU6SXNzdWU5MDk1NTMwODE= | 11,991 | Trainer API | {
"login": "kruthikakr",
"id": 12526620,
"node_id": "MDQ6VXNlcjEyNTI2NjIw",
"avatar_url": "https://avatars.githubusercontent.com/u/12526620?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kruthikakr",
"html_url": "https://github.com/kruthikakr",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Maybe @borisdayma @sgugger have an idea",
"What is your environment?\r\nCan you try to call `wandb login` in the console before running your script? You typically only have to do it once.\r\nOtherwise you can always use you key and login within your script or use environment variables.",
"This issue has been a... | 1,622 | 1,626 | 1,626 | NONE | null | I am using Trainer API to pretrain BERT model
Start training...
Traceback (most recent call last):
File "/home/kruthika/PycharmProjects/huggingfaceBert/pretrain_transformers_pytorch.py", line 451, in <module>
trainer.train(model_path=model_path)
File "/home/kruthika/PycharmProjects/huggingfaceBert/venv/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11991/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11991/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11990/comments | https://api.github.com/repos/huggingface/transformers/issues/11990/events | https://github.com/huggingface/transformers/pull/11990 | 909,532,593 | MDExOlB1bGxSZXF1ZXN0NjYwMDkzNzg5 | 11,990 | Fix examples in VisualBERT docs | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,622 | 1,628 | 1,622 | CONTRIBUTOR | null | This PR fixes the examples in [VisualBERT docs](https://huggingface.co/transformers/master/model_doc/visual_bert.html).
The issue is described in this [comment](https://github.com/huggingface/transformers/pull/10534#issuecomment-853015418) by @NielsRogge.
Requesting review from @sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11990/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11990/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11990",
"html_url": "https://github.com/huggingface/transformers/pull/11990",
"diff_url": "https://github.com/huggingface/transformers/pull/11990.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11990.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11989/comments | https://api.github.com/repos/huggingface/transformers/issues/11989/events | https://github.com/huggingface/transformers/issues/11989 | 909,348,343 | MDU6SXNzdWU5MDkzNDgzNDM= | 11,989 | EOFError("No valid references for a sentence!") for run_translation example | {
"login": "puraminy",
"id": 5293185,
"node_id": "MDQ6VXNlcjUyOTMxODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5293185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/puraminy",
"html_url": "https://github.com/puraminy",
"followers_url": "https://api.github.com/users/puram... | [] | closed | false | null | [] | [
"Hi @puraminy \r\n\r\nCould you debug the `compute_metrics` function? Maybe print/log a few `decoded_labels` that are used as references. Bit hard to guess without running the script.",
"@patil-suraj \r\n\r\nI actually did, and the problem is that the predictions are in English than Persian (the target language)... | 1,622 | 1,626 | 1,626 | NONE | null | I tried to apply `run_translation` on a dataset I created. I tried to get sure there is no blank target.
example of test file:
`
{"data": [{"translation": {"en": "You're quite impatient with the rest of humanity, in fact.", "fa": "ﺩﺭ ﻭﺎﻘﻋ ﺩﺭ ﻢﻗﺎﺒﻟ ﺱﺎﯾﺭ ﺎﻨﺳﺎﻧ<200c>ﻫﺍ ﮎﺎﻣﻻ ﺐﯾ<200c>ﺣﻮﺼﻠﻫ ﻪﺴﺘﯾﺩ."}}, {"translation": {... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11989/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11989/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11988/comments | https://api.github.com/repos/huggingface/transformers/issues/11988/events | https://github.com/huggingface/transformers/issues/11988 | 909,254,444 | MDU6SXNzdWU5MDkyNTQ0NDQ= | 11,988 | Add loss reduction parameter in forward() method | {
"login": "marekrydlewski",
"id": 8159135,
"node_id": "MDQ6VXNlcjgxNTkxMzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8159135?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marekrydlewski",
"html_url": "https://github.com/marekrydlewski",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"This has been asked before, but I don't think this is on the roadmap. If you want to use a different loss reduction, you can easily overwrite the model and plug in your custom loss function. See also https://github.com/huggingface/transformers/issues/9625#issuecomment-762167788 and https://github.com/huggingface/t... | 1,622 | 1,626 | 1,626 | NONE | null | # Add loss reduction parameter in forward() method
Add possibility to choose reduction method in loss functions used in `forward` method in most of the models (like all BERT based, `BertForMaskedLM`, `BigBirdForMaskedLM` etc.). Currently, models use losses without the possibility to pass additional parameters.
Fr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11988/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11988/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11987/comments | https://api.github.com/repos/huggingface/transformers/issues/11987/events | https://github.com/huggingface/transformers/issues/11987 | 909,236,400 | MDU6SXNzdWU5MDkyMzY0MDA= | 11,987 | Movement Pruning does not achieve expected results | {
"login": "iamweiweishi",
"id": 23145532,
"node_id": "MDQ6VXNlcjIzMTQ1NTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/23145532?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamweiweishi",
"html_url": "https://github.com/iamweiweishi",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"that's very low of a score... i imagine it''s on squad.\r\ncould you give me more details about the command you are running?",
"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 tha... | 1,622 | 1,630 | 1,626 | NONE | null | Transformer version: master or 4.6.1
tensorflow-gpu == 2.3.1
pytorch == 1.7.1
flax == 0.3.4
I tried to reproduce the results based on the script given in examples/research_projects/movement-pruning.
The experimental results I got are not as good as the paper shows:
06/01/2021 22:55:40 - INFO - __main__ - *... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11987/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11987/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11986/comments | https://api.github.com/repos/huggingface/transformers/issues/11986/events | https://github.com/huggingface/transformers/pull/11986 | 909,183,100 | MDExOlB1bGxSZXF1ZXN0NjU5Nzk1MTk0 | 11,986 | [WIP] Add ViLBERT | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [
{
"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... | open | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,648 | null | CONTRIBUTOR | null | # What does this PR do?
This PR adds ViLBERT.
Papers: [Multitask ViLBERT](https://openaccess.thecvf.com/content_CVPR_2020/html/Lu_12-in-1_Multi-Task_Vision_and_Language_Representation_Learning_CVPR_2020_paper.html) , [VilBERT](https://arxiv.org/abs/1908.02265).
GitHub: https://github.com/facebookresearch/vilbert... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11986/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11986/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11986",
"html_url": "https://github.com/huggingface/transformers/pull/11986",
"diff_url": "https://github.com/huggingface/transformers/pull/11986.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11986.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11985/comments | https://api.github.com/repos/huggingface/transformers/issues/11985/events | https://github.com/huggingface/transformers/pull/11985 | 909,098,346 | MDExOlB1bGxSZXF1ZXN0NjU5NzIxNDM4 | 11,985 | Changed the hidden_size to d_model for XLNET docs | {
"login": "Muktan",
"id": 31338369,
"node_id": "MDQ6VXNlcjMxMzM4MzY5",
"avatar_url": "https://avatars.githubusercontent.com/u/31338369?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Muktan",
"html_url": "https://github.com/Muktan",
"followers_url": "https://api.github.com/users/Muktan/fo... | [] | closed | false | null | [] | [
"Many models use different names for this and `hidden_size` is a constant property that works for all of them, so we will keep the docstrings updated with this. It also simplifies copy-pasting the docstrings between models.",
"> Many models use different names for this and `hidden_size` is a constant property tha... | 1,622 | 1,626 | 1,626 | CONTRIBUTOR | null | # What does this PR do?
Changes the use of hidden_size to d_model as XLNET model (unlike BERT and other) uses `d_model` instead of `hidden_size`.
<!--
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, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11985/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11985/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11985",
"html_url": "https://github.com/huggingface/transformers/pull/11985",
"diff_url": "https://github.com/huggingface/transformers/pull/11985.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11985.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11984/comments | https://api.github.com/repos/huggingface/transformers/issues/11984/events | https://github.com/huggingface/transformers/pull/11984 | 909,066,440 | MDExOlB1bGxSZXF1ZXN0NjU5NjkyOTMx | 11,984 | [deepspeed] Move code and doc into standalone files | {
"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": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | Deepspeed integration is no longer bound to HF Trainer and its docs have grown too big to be a subsection of the Trainer docs. This PR:
- creates `transformers.deepspeed` and migrates all the code and references to it
- moves docs to `deepspeed.rst`
Note to @sgugger - I tried to make this easy to review by not mak... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11984/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11984/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11984",
"html_url": "https://github.com/huggingface/transformers/pull/11984",
"diff_url": "https://github.com/huggingface/transformers/pull/11984.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11984.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11983/comments | https://api.github.com/repos/huggingface/transformers/issues/11983/events | https://github.com/huggingface/transformers/pull/11983 | 909,058,706 | MDExOlB1bGxSZXF1ZXN0NjU5Njg1OTM1 | 11,983 | Bump urllib3 from 1.25.8 to 1.26.5 in /examples/research_projects/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": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.8 to 1.26.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/urllib3/urllib3/releases">urllib3's releases</a>.</em></p>
<blockquote>
<h2>1.26.5</h2>
<p>:warning: <strong>IMPORTANT: urllib3 v2.0 will drop support for... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11983/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11983/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11983",
"html_url": "https://github.com/huggingface/transformers/pull/11983",
"diff_url": "https://github.com/huggingface/transformers/pull/11983.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11983.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11982/comments | https://api.github.com/repos/huggingface/transformers/issues/11982/events | https://github.com/huggingface/transformers/issues/11982 | 909,015,604 | MDU6SXNzdWU5MDkwMTU2MDQ= | 11,982 | AttributeError: 'GPT2LMHeadModel' object has no attribute 'get_encoder' | {
"login": "goji-patai",
"id": 55723262,
"node_id": "MDQ6VXNlcjU1NzIzMjYy",
"avatar_url": "https://avatars.githubusercontent.com/u/55723262?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/goji-patai",
"html_url": "https://github.com/goji-patai",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi there,\r\nthis is because in the config the value `is_encoder_decoder` is actually a string `\"False\"` which evaluates to `True` in python, and hence `generate` treats this model as an encoder-decoder model. `is_encoder_decoder` should be set to boolean false.",
"Ahh! Thank you. "
] | 1,622 | 1,622 | 1,622 | NONE | null | Hi,
I am trying to generate text from a GPT2 model I have trained from scratch using custom english language data.
OS: Windows 10
transformers 3.5.0
Pytorch 1.4.0 (upgrading torch did not help)
Tensorflow 2.2.0
GPT2LMHeadModel was trained using run_language_modeling.py with the following config
{
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11982/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11981/comments | https://api.github.com/repos/huggingface/transformers/issues/11981/events | https://github.com/huggingface/transformers/pull/11981 | 908,859,122 | MDExOlB1bGxSZXF1ZXN0NjU5NTAxNjc3 | 11,981 | 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 | [] | [
"This PR is originally from https://github.com/huggingface/transformers/pull/8675\r\nSince ProphetNet gets refactored, now this PR is enough.\r\n@patrickvonplaten, you are previously ok with this change, could you please sign off? or perhaps @mfuntowicz ?\r\nThanks!",
"Could someone take a look? Thank you! @qiwei... | 1,622 | 1,624 | 1,624 | 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 torch.new generates constant dimension for Tensor in IR graph, which is not suitable if we want to do dynamic input axes for the converter. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11981/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11981",
"html_url": "https://github.com/huggingface/transformers/pull/11981",
"diff_url": "https://github.com/huggingface/transformers/pull/11981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11981.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11980/comments | https://api.github.com/repos/huggingface/transformers/issues/11980/events | https://github.com/huggingface/transformers/pull/11980 | 908,634,193 | MDExOlB1bGxSZXF1ZXN0NjU5Mjk3NDMy | 11,980 | [Trainer] add train loss and flops metrics reports | {
"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 | [] | [
"Hmm, it broke several trainer tests:\r\n```\r\nFAILED tests/test_trainer.py::TrainerIntegrationTest::test_can_resume_training\r\nFAILED tests/test_trainer.py::TrainerIntegrationTest::test_resume_training_with_frozen_params\r\nFAILED tests/test_trainer.py::TrainerIntegrationTest::test_resume_training_with_gradient_... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | The train wasn't reporting loss metrics (and flops it seems), this PR fixes that. Now we get:
```
***** train metrics *****
epoch = 1.0
total_flos = 405GF
train_loss = 2.9435
train_runtime = 0:00:01.75
train_samples ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11980/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11980",
"html_url": "https://github.com/huggingface/transformers/pull/11980",
"diff_url": "https://github.com/huggingface/transformers/pull/11980.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11980.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11979/comments | https://api.github.com/repos/huggingface/transformers/issues/11979/events | https://github.com/huggingface/transformers/pull/11979 | 908,583,640 | MDExOlB1bGxSZXF1ZXN0NjU5MjUzNzg3 | 11,979 | Typo in usage example, changed to device instead of torch_device | {
"login": "albertovilla",
"id": 1217687,
"node_id": "MDQ6VXNlcjEyMTc2ODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1217687?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albertovilla",
"html_url": "https://github.com/albertovilla",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,622 | 1,622 | 1,622 | 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/11979/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11979/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11979",
"html_url": "https://github.com/huggingface/transformers/pull/11979",
"diff_url": "https://github.com/huggingface/transformers/pull/11979.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11979.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11978/comments | https://api.github.com/repos/huggingface/transformers/issues/11978/events | https://github.com/huggingface/transformers/issues/11978 | 908,557,391 | MDU6SXNzdWU5MDg1NTczOTE= | 11,978 | No package metadata found for tqdm while generating exe | {
"login": "MK096",
"id": 20142735,
"node_id": "MDQ6VXNlcjIwMTQyNzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/20142735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MK096",
"html_url": "https://github.com/MK096",
"followers_url": "https://api.github.com/users/MK096/follow... | [] | closed | false | null | [] | [
"Hello, \r\nCan you please tell me how you managed to solve this issue ?"
] | 1,622 | 1,684 | 1,622 | NONE | null | Hi,
Whenever i try to make executable file i always get an error : No package metadata found for tqdm.
I've tried hidden-import tqdm but it didn't work. In python IDLE it works fine but while running exe it doesn't work.
I am using Win 10 (64-bit)
Code:
_import eel
import tqdm # ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11978/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11978/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11977/comments | https://api.github.com/repos/huggingface/transformers/issues/11977/events | https://github.com/huggingface/transformers/issues/11977 | 908,556,810 | MDU6SXNzdWU5MDg1NTY4MTA= | 11,977 | T5-Training Arguments | {
"login": "kevin3567",
"id": 31675719,
"node_id": "MDQ6VXNlcjMxNjc1NzE5",
"avatar_url": "https://avatars.githubusercontent.com/u/31675719?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kevin3567",
"html_url": "https://github.com/kevin3567",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The `decoder_input_ids` should not be equal to the `labels`, but instead equal to the labels shifted one position to the right.\r\n\r\nThis is because the decoder of T5 processes the text autoregressively (a fancy word to say, from left to right). So suppose you want the decoder of T5 to generate the sentence \"Be... | 1,622 | 1,626 | 1,626 | NONE | null | Hi,
I am currently training a T5 model. I have noticed that to compute the loss for the T5 model during training, I should not assign decoder_input argument, but only use the labels argument. Otherwise, the trained model will generate gibberish. So for example, this does not work:
> labels = decoder_i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11977/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11977/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11976/comments | https://api.github.com/repos/huggingface/transformers/issues/11976/events | https://github.com/huggingface/transformers/pull/11976 | 908,555,323 | MDExOlB1bGxSZXF1ZXN0NjU5MjI5ODE5 | 11,976 | Update return introduction of `forward` method | {
"login": "kouyk",
"id": 1729497,
"node_id": "MDQ6VXNlcjE3Mjk0OTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1729497?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kouyk",
"html_url": "https://github.com/kouyk",
"followers_url": "https://api.github.com/users/kouyk/follower... | [] | closed | false | null | [] | [
"Requesting review from @sgugger",
"Looks like you just need to run `make style` on your branch and we should be good to merge!",
"I have fixed the styling issues!",
"Thanks!"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | # What does this PR do?
Make it clear that the `forward` method now returns a dict instead of tuple.
PR #8530 switch the default value of `return_dict` in configurations to `True`. This caused some older code that relied on `return_dict` being set to `False` to break since assigned a dictionary to tuples can have u... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11976/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11976",
"html_url": "https://github.com/huggingface/transformers/pull/11976",
"diff_url": "https://github.com/huggingface/transformers/pull/11976.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11976.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11975/comments | https://api.github.com/repos/huggingface/transformers/issues/11975/events | https://github.com/huggingface/transformers/issues/11975 | 908,548,504 | MDU6SXNzdWU5MDg1NDg1MDQ= | 11,975 | It seems not able to add the args "repetition_penalty" when running the code run_summarization.py for prediction. | {
"login": "moooooser999",
"id": 64945774,
"node_id": "MDQ6VXNlcjY0OTQ1Nzc0",
"avatar_url": "https://avatars.githubusercontent.com/u/64945774?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moooooser999",
"html_url": "https://github.com/moooooser999",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Yes, that's right. The `run_summarization` script does not accept all `generate` arguments. Instead, those arguments should be set in the `config`. For your use-case, it should easy to modify the script to accept these args and then pass those to `config` so `generate` can directly access those.",
"This issue h... | 1,622 | 1,626 | 1,626 | NONE | null | I am using the summarization code provided in example/pytorch/summarization/run_summarization.py
However, I could not add the argument "repetition_penalty" when generating.
After tracing the source code of Seq2SeqTrainer(), I found that the function `predict()` does not take the argument as input.
It might be ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11975/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11974/comments | https://api.github.com/repos/huggingface/transformers/issues/11974/events | https://github.com/huggingface/transformers/pull/11974 | 908,329,850 | MDExOlB1bGxSZXF1ZXN0NjU5MDM2NDMw | 11,974 | Fix loss reporting with deepspeed | {
"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 | [] | [
"This is exactly what deepspeed already does. Please see:\r\n\r\nhttps://github.com/microsoft/DeepSpeed/blob/master/deepspeed/runtime/engine.py#L1142-L1143\r\n\r\nThe scaling function is:\r\n```\r\n def _scale_loss_by_gas(self, prescaled_loss):\r\n if isinstance(prescaled_loss, torch.Tensor):\r\n ... | 1,622 | 1,651 | 1,622 | COLLABORATOR | null | # What does this PR do?
In the deepspeed integration inside `Trainer`, the loss currently reported is the scaled loss, as in scaled by the loss scaling factor used during mixed precision training. This has nothing to do with the actual loss (the scaling factor is the highest possible value that does not make the gra... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11974/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11974",
"html_url": "https://github.com/huggingface/transformers/pull/11974",
"diff_url": "https://github.com/huggingface/transformers/pull/11974.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11974.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11973/comments | https://api.github.com/repos/huggingface/transformers/issues/11973/events | https://github.com/huggingface/transformers/pull/11973 | 908,266,650 | MDExOlB1bGxSZXF1ZXN0NjU4OTgzNDk0 | 11,973 | typo correction | {
"login": "JminJ",
"id": 51041861,
"node_id": "MDQ6VXNlcjUxMDQxODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/51041861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JminJ",
"html_url": "https://github.com/JminJ",
"followers_url": "https://api.github.com/users/JminJ/follow... | [] | closed | false | null | [] | [
"I modified wrong words in src/transforers/generation_utils.py (trhe -> the)"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | I modified wrong word in 772 line of src/transformers/generation_utils.py (trhe -> the) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11973/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11973",
"html_url": "https://github.com/huggingface/transformers/pull/11973",
"diff_url": "https://github.com/huggingface/transformers/pull/11973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11973.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11972/comments | https://api.github.com/repos/huggingface/transformers/issues/11972/events | https://github.com/huggingface/transformers/issues/11972 | 908,246,165 | MDU6SXNzdWU5MDgyNDYxNjU= | 11,972 | RuntimeError: Overflow when unpacking long during training the model | {
"login": "SAIVENKATARAJU",
"id": 46083296,
"node_id": "MDQ6VXNlcjQ2MDgzMjk2",
"avatar_url": "https://avatars.githubusercontent.com/u/46083296?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SAIVENKATARAJU",
"html_url": "https://github.com/SAIVENKATARAJU",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,640 | 1,628 | NONE | null | Hi I am training the model for custom dataset for QnA task. I have transformers version 4.0.0 and pytorch version 1.7.1. with the following code, I am getting the issue.
```
trainer = Trainer(
model=model, # the instantiated 🤗 Transformers model to be trained
args=training_args, ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11972/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11971/comments | https://api.github.com/repos/huggingface/transformers/issues/11971/events | https://github.com/huggingface/transformers/pull/11971 | 908,149,015 | MDExOlB1bGxSZXF1ZXN0NjU4ODg0MTkw | 11,971 | ByT5 model | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 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 | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"Thank you so much for adding this model.\r\n\r\nIs anyone else experiencing extremely slow training with it? I get 5 times longer training times on ByT5-large compared to mT5-large.\r\n\r\nIn the paper it's about 20% slower only.\r\n",
"Sometime I wonder how more stupid I can be.\r\nThanks for the help"
] | 1,622 | 1,622 | 1,622 | NONE | null | 
After pulling a model, tuning it and saving it, it shows this error while loading it back.
I pulled other files except `pytorch_model.bin` from the pretrained model in hugging face
\r\n\r\nAgree that we should be careful here. I'm scanning the hub now to check, but I'm pretty sure that 99% of models ha... | 1,622 | 1,622 | 1,622 | 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/11968/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/11968/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11968",
"html_url": "https://github.com/huggingface/transformers/pull/11968",
"diff_url": "https://github.com/huggingface/transformers/pull/11968.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11968.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11967/comments | https://api.github.com/repos/huggingface/transformers/issues/11967/events | https://github.com/huggingface/transformers/pull/11967 | 907,693,081 | MDExOlB1bGxSZXF1ZXN0NjU4NDk5NTY3 | 11,967 | Flax Big Bird | {
"login": "thevasudevgupta",
"id": 53136577,
"node_id": "MDQ6VXNlcjUzMTM2NTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/53136577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thevasudevgupta",
"html_url": "https://github.com/thevasudevgupta",
"followers_url": "https://api... | [
{
"id": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Wow awesome work! I think the important next step would be to make the test:\r\n\r\n```\r\ntests/test_modeling_flax_bigbird.py::FlaxBigBirdModelTest::test_jit_compilation\r\n```\r\n\r\nIf this test works, we can enable super fast training on TPU :-) ",
"This test is passing for all model classes except for `Flax... | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
--------------------------------------------------------------------
**🚨 Bug detection 🚨**
`BigBirdForMultipleChoice` was incorrect and is corrected in this PR. This is a breaking change for all BigBird models that have been trained on multiple choice (0 on the hub currently)
-----------... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11967/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11967/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11967",
"html_url": "https://github.com/huggingface/transformers/pull/11967",
"diff_url": "https://github.com/huggingface/transformers/pull/11967.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11967.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11966/comments | https://api.github.com/repos/huggingface/transformers/issues/11966/events | https://github.com/huggingface/transformers/pull/11966 | 907,662,148 | MDExOlB1bGxSZXF1ZXN0NjU4NDczNzI3 | 11,966 | [DeepSpeed] decouple `DeepSpeedConfigHF` from `Trainer` | {
"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 | [] | [
"Thank you for the great feedback and suggestions, Sylvain.\r\n\r\nOn to the next PR to move the code and docs.",
"@stas00 I have a question about this PR. My use case is HF trainer + DeepSpeed + hyperparameter search.\r\n\r\nIn **training_arg.py**: hf_deepspeed_config is first loaded from config file (e.g. zero3... | 1,622 | 1,649 | 1,622 | CONTRIBUTOR | null | As requested in https://github.com/huggingface/transformers/issues/11954 this PR
* uncouples `DeepSpeedConfigHF` from `Trainer` so one can activate `zero.Init()` in `modeling_utils.py` and several other places w/o needing to rely on the HF `Trainer`.
* adds a new `LoggingLevel` ctx manager to `testing_utils.py`
*... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11966/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11966/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11966",
"html_url": "https://github.com/huggingface/transformers/pull/11966",
"diff_url": "https://github.com/huggingface/transformers/pull/11966.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11966.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11965/comments | https://api.github.com/repos/huggingface/transformers/issues/11965/events | https://github.com/huggingface/transformers/issues/11965 | 907,654,746 | MDU6SXNzdWU5MDc2NTQ3NDY= | 11,965 | Reproducibility Questions | {
"login": "XuhuiZhou",
"id": 20436061,
"node_id": "MDQ6VXNlcjIwNDM2MDYx",
"avatar_url": "https://avatars.githubusercontent.com/u/20436061?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuhuiZhou",
"html_url": "https://github.com/XuhuiZhou",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"If you are using any of the example scripts, they set the seed before instantiating the model for full reproducibility. If not, you should do that in your script by using the `set_seed` function you can import from the library, or by using the `model_init` function to initialize your model (the `Trainer` will set ... | 1,622 | 1,625 | 1,625 | NONE | null | When initializing task-specific models from pre-trained language models, we see something like:
`Some weights of XLMRobertaForQuestionAnswering were not initialized from the model checkpoint at xlm-roberta-large and are ne
wly initialized: ['qa_outputs.weight', 'qa_outputs.bias']`
It seems that the initializatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11965/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11965/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11964/comments | https://api.github.com/repos/huggingface/transformers/issues/11964/events | https://github.com/huggingface/transformers/pull/11964 | 907,615,574 | MDExOlB1bGxSZXF1ZXN0NjU4NDM1NDMz | 11,964 | Fix weight decay masking in `run_flax_glue.py` | {
"login": "n2cholas",
"id": 12474257,
"node_id": "MDQ6VXNlcjEyNDc0MjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/12474257?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/n2cholas",
"html_url": "https://github.com/n2cholas",
"followers_url": "https://api.github.com/users/n2c... | [
{
"id": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"That's great - thanks a lot for the fix @n2cholas :-) I'll re-run the FlaxGlue suit today with your fix to check if results improve ",
"Thanks a lot for the fix @n2cholas - I reran the eval train+eval script & updated the results accordingly"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | # What does this PR do?
Fixes #11936
In addition to the changes discussed in the issue, I combined `traverse` and `decay_path` into one function `decay_mask_fn` to simplify the implementation.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11964/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11964/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11964",
"html_url": "https://github.com/huggingface/transformers/pull/11964",
"diff_url": "https://github.com/huggingface/transformers/pull/11964.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11964.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11963/comments | https://api.github.com/repos/huggingface/transformers/issues/11963/events | https://github.com/huggingface/transformers/issues/11963 | 907,610,545 | MDU6SXNzdWU5MDc2MTA1NDU= | 11,963 | How to achive character lvl tokenization? (cant convert from huggingface/tokenizers) | {
"login": "hadaev8",
"id": 20247085,
"node_id": "MDQ6VXNlcjIwMjQ3MDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/20247085?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hadaev8",
"html_url": "https://github.com/hadaev8",
"followers_url": "https://api.github.com/users/hadaev... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,622 | 1,627 | 1,625 | CONTRIBUTOR | null | Initially, I thought that huggingface/tokenizers is the same thing as tokenization in this repo.
I made it like this:
```
from tokenizers import Tokenizer, models, pre_tokenizers
from tokenizers.processors import TemplateProcessing
tokenizer = Tokenizer(models.WordLevel(unk_token='[UNK]'))
tokenizer.pre_tokeniz... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11963/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11963/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11962/comments | https://api.github.com/repos/huggingface/transformers/issues/11962/events | https://github.com/huggingface/transformers/pull/11962 | 907,534,836 | MDExOlB1bGxSZXF1ZXN0NjU4MzY4MDk1 | 11,962 | [RAG] Fix rag from pretrained question encoder generator behavior | {
"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,622 | 1,622 | 1,622 | 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/11962/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11962/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11962",
"html_url": "https://github.com/huggingface/transformers/pull/11962",
"diff_url": "https://github.com/huggingface/transformers/pull/11962.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11962.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11961/comments | https://api.github.com/repos/huggingface/transformers/issues/11961/events | https://github.com/huggingface/transformers/pull/11961 | 907,411,509 | MDExOlB1bGxSZXF1ZXN0NjU4MjYzNDg3 | 11,961 | Add MT5ForConditionalGeneration as supported arch. to summarization README | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"Thanks a lot for fixing this!\r\n\r\nCould you also update [translation readme](https://github.com/huggingface/transformers/blob/master/examples/pytorch/translation/README.md) ?",
"> Could you also update [translation readme](https://github.com/huggingface/transformers/blob/master/examples/pytorch/translation/RE... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | see #11960 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11961/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11961/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11961",
"html_url": "https://github.com/huggingface/transformers/pull/11961",
"diff_url": "https://github.com/huggingface/transformers/pull/11961.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11961.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11960/comments | https://api.github.com/repos/huggingface/transformers/issues/11960/events | https://github.com/huggingface/transformers/issues/11960 | 907,399,573 | MDU6SXNzdWU5MDczOTk1NzM= | 11,960 | Summarization also supports MT5ForConditionalGeneration | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"And @patil-suraj",
"Yes, you are right!\r\n\r\nWe could also add it in the[ translation readme](https://github.com/huggingface/transformers/blob/master/examples/pytorch/translation/README.md) as well.\r\n\r\nFeel free to open a PR :)",
"> Feel free to open a PR :)\r\n\r\nsee #11961\r\n\r\n",
"Fixed by #1196... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | The [README.md](https://github.com/huggingface/transformers/blob/master/examples/pytorch/summarization/README.md) of the summarization examples sais it supports `T5ForConditionalGeneration` IMO `MT5ForConditionalGeneration` should be added - right?
Tagging @sgugger and @sshleifer ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11960/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11959/comments | https://api.github.com/repos/huggingface/transformers/issues/11959/events | https://github.com/huggingface/transformers/issues/11959 | 907,269,735 | MDU6SXNzdWU5MDcyNjk3MzU= | 11,959 | Add new token to pretrained GPT2 tokenizer | {
"login": "sooftware",
"id": 42150335,
"node_id": "MDQ6VXNlcjQyMTUwMzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/42150335?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sooftware",
"html_url": "https://github.com/sooftware",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I will use \"EleutherAI/gpt-neo-1.3B\" tokenizer. Is there a ",
"This should help you out: https://huggingface.co/transformers/internal/tokenization_utils.html?highlight=add_tokens#transformers.tokenization_utils_base.SpecialTokensMixin.add_tokens",
"Thank you! @LysandreJik "
] | 1,622 | 1,622 | 1,622 | NONE | null | Hi! Thank you for awesome project!
I want to add several tokens to pre-trained GPT2 tokenizer.
Can I? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11959/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11958/comments | https://api.github.com/repos/huggingface/transformers/issues/11958/events | https://github.com/huggingface/transformers/issues/11958 | 907,258,642 | MDU6SXNzdWU5MDcyNTg2NDI= | 11,958 | Issue: IndexError: "Index out of range in self" when generating translations with MarianMTModel | {
"login": "DidiDerDenker",
"id": 31280364,
"node_id": "MDQ6VXNlcjMxMjgwMzY0",
"avatar_url": "https://avatars.githubusercontent.com/u/31280364?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DidiDerDenker",
"html_url": "https://github.com/DidiDerDenker",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi, this could be because some example might have seq length greater than `max_length` supported by the model. For marin max_length is 1024. You could pass `truncation=True` to `tokenizer` so it'll truncate the text if it's greater than model's max length.",
"Thanks for your quick reply. That has solved my probl... | 1,622 | 1,622 | 1,622 | NONE | null | ## Environment info
- transformers version: 4.5.1
- Python version: Python 3.7
- Using GPU in script? Yes
### Who can help
- marian: @patrickvonplaten, @patil-suraj
- text generation: @patrickvonplaten
## Information
I am currently trying to use MarianMTModel to translate text from English to German. Wh... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11958/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11957/comments | https://api.github.com/repos/huggingface/transformers/issues/11957/events | https://github.com/huggingface/transformers/issues/11957 | 907,247,106 | MDU6SXNzdWU5MDcyNDcxMDY= | 11,957 | Byt5 | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"hopefully getting closed by https://github.com/huggingface/transformers/pull/11971"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
Tokenizer free Version of mt5
<!-- Important information -->
## Open source status
* [X] the model implementation is available: (give details)
* https://github.com/google-research/byt5
* [X] the model weights are available: (give details)
* https://github.com/g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11957/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/11957/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11956/comments | https://api.github.com/repos/huggingface/transformers/issues/11956/events | https://github.com/huggingface/transformers/pull/11956 | 907,196,016 | MDExOlB1bGxSZXF1ZXN0NjU4MDc4OTc4 | 11,956 | Authorize args when instantiating an AutoModel | {
"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 | [] | [
"@LysandreJik thanks for this!\r\n\r\nYeah IMO it'd be great if the instantiation of `AutoModel`s from a configuration follows a similar signature as that of instantiation of regular model classes from a configuration, just from a consistency standpoint because `AutoModel`s are already effectively treated as models... | 1,622 | 1,622 | 1,622 | MEMBER | null | The current `_BaseAutoModelClass` class initialization does not accept any argument, and therefore fails with an arcane error when instantiating it incorrectly, as shown in https://github.com/huggingface/transformers/issues/11953 by @g-karthik:
```py
from transformers import AutoConfig, AutoModelForCausalLM
conf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11956/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/11956/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11956",
"html_url": "https://github.com/huggingface/transformers/pull/11956",
"diff_url": "https://github.com/huggingface/transformers/pull/11956.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11956.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11955/comments | https://api.github.com/repos/huggingface/transformers/issues/11955/events | https://github.com/huggingface/transformers/issues/11955 | 907,080,566 | MDU6SXNzdWU5MDcwODA1NjY= | 11,955 | Killed Message | {
"login": "adnan-fakahr-pk-90",
"id": 72121641,
"node_id": "MDQ6VXNlcjcyMTIxNjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/72121641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adnan-fakahr-pk-90",
"html_url": "https://github.com/adnan-fakahr-pk-90",
"followers_url": "ht... | [] | closed | false | null | [] | [
"The `EleutherAI/gpt-neo-2.7B` is a large model. Loading it in memory takes more than 10GB. \r\nDo you have the same results when trying to use the 1.3B or the 125M variants?",
"> The `EleutherAI/gpt-neo-2.7B` is a large model. Loading it in memory takes more than 10GB.\r\n> Do you have the same results when try... | 1,622 | 1,625 | 1,625 | NONE | null | Describe the bug
When I run this command
generator = pipeline('text-generation', model='EleutherAI/gpt-neo-2.7B')
or even download the model in a folder like this
generator = pipeline('text-generation', model=neo-models/')
It is not loading and produce the result as "Killed" text.
which usually means "out of me... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11955/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11955/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11954/comments | https://api.github.com/repos/huggingface/transformers/issues/11954/events | https://github.com/huggingface/transformers/issues/11954 | 907,023,267 | MDU6SXNzdWU5MDcwMjMyNjc= | 11,954 | Uncoupling ZeRO-3 weak ref bridge b/w Trainer and modeling_utils | {
"login": "g-karthik",
"id": 3851993,
"node_id": "MDQ6VXNlcjM4NTE5OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3851993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/g-karthik",
"html_url": "https://github.com/g-karthik",
"followers_url": "https://api.github.com/users/g-... | [] | closed | false | null | [] | [
"Good call, @g-karthik!\r\n\r\nPlease see the decoupled PR here: https://github.com/huggingface/transformers/pull/11966\r\n\r\nNow you can just do:\r\n```\r\nfrom transformers.integrations import HfDeepSpeedConfig\r\ndsc = HfDeepSpeedConfigHF(ds_config)\r\nmodel = AutoModel.from_pretrained(name)\r\n```\r\nand it'll... | 1,622 | 1,622 | 1,622 | NONE | null | https://github.com/huggingface/transformers/blob/fd6204b2a70d100800cb259a7fbddfc812631ed3/src/transformers/modeling_utils.py#L1168
So I briefly looked through the ZeRO-3 integration into the `Trainer` and this approach of creating a "bridge" between the `Trainer` and `modeling_utils` via a weak ref is neat.
Howev... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11954/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11953/comments | https://api.github.com/repos/huggingface/transformers/issues/11953/events | https://github.com/huggingface/transformers/issues/11953 | 906,927,554 | MDU6SXNzdWU5MDY5Mjc1NTQ= | 11,953 | AutoModel abstraction fails for pre-training initialization | {
"login": "g-karthik",
"id": 3851993,
"node_id": "MDQ6VXNlcjM4NTE5OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/3851993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/g-karthik",
"html_url": "https://github.com/g-karthik",
"followers_url": "https://api.github.com/users/g-... | [] | closed | false | null | [] | [
"Hello! We recommend you read the [docs regarding the `AutoModel`](https://huggingface.co/transformers/model_doc/auto.html#transformers.AutoModel.from_config). I have linked you the `from_config` method which should be used in this use case.",
"However, it is indeed unexpected for you to receive this error messag... | 1,622 | 1,622 | 1,622 | NONE | null | ## Environment info
- `transformers` version: 4.5.1
- Python version: 3.6
- PyTorch version: 1.4+
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
@patrickvonplaten, @LysandreJik
## Information
Model I am using: GPT-2
The problem arises when using... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11953/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11953/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11952/comments | https://api.github.com/repos/huggingface/transformers/issues/11952/events | https://github.com/huggingface/transformers/issues/11952 | 906,818,938 | MDU6SXNzdWU5MDY4MTg5Mzg= | 11,952 | TypeError: __init__() got an unexpected keyword argument 'force_bos_token_to_be_generated' | {
"login": "t4khosu",
"id": 28463194,
"node_id": "MDQ6VXNlcjI4NDYzMTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/28463194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/t4khosu",
"html_url": "https://github.com/t4khosu",
"followers_url": "https://api.github.com/users/t4khos... | [] | closed | false | null | [] | [
"Hi there,\r\n\r\n`force_bos_token_to_be_generated` is now depricated, instead you could use `forced_bos_token_id` argument, which should be set to the token id that needs to be forced as first token.",
"Thanks a lot for your fast reply!\r\n\r\nAs suggested, I used the BART tokenizer to find out the bos_token ID ... | 1,622 | 1,632 | 1,622 | NONE | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: Linux-3.10.0-1160.15.2.el7.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.8
- PyTorch version (GPU?): 1.7.1 (False)
- Tensorflow version (GPU?): 2.4.1 (False)
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11952/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11952/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11951/comments | https://api.github.com/repos/huggingface/transformers/issues/11951/events | https://github.com/huggingface/transformers/pull/11951 | 906,784,688 | MDExOlB1bGxSZXF1ZXN0NjU3NzI0MjUx | 11,951 | [Flax] Adding Visual-Transformer | {
"login": "jayendra13",
"id": 651057,
"node_id": "MDQ6VXNlcjY1MTA1Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/651057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jayendra13",
"html_url": "https://github.com/jayendra13",
"followers_url": "https://api.github.com/users/j... | [
{
"id": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Awesome! \r\nThe equivalence tests are still failing, from CI logs\r\n```\r\nFAILED tests/test_modeling_flax_vit.py::FlaxViTModelTest::test_equivalence_flax_to_pt\r\nFAILED tests/test_modeling_flax_vit.py::FlaxViTModelTest::test_equivalence_pt_to_flax\r\n```\r\n\r\nCould you fix these, otherwise lmk and I will tak... | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the `ViT` model in JAX/Flax
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11951/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11951",
"html_url": "https://github.com/huggingface/transformers/pull/11951",
"diff_url": "https://github.com/huggingface/transformers/pull/11951.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11951.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11950/comments | https://api.github.com/repos/huggingface/transformers/issues/11950/events | https://github.com/huggingface/transformers/issues/11950 | 906,780,710 | MDU6SXNzdWU5MDY3ODA3MTA= | 11,950 | ValueError: You have to specify either decoder_inputs or decoder_inputs_embeds | {
"login": "puraminy",
"id": 5293185,
"node_id": "MDQ6VXNlcjUyOTMxODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5293185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/puraminy",
"html_url": "https://github.com/puraminy",
"followers_url": "https://api.github.com/users/puram... | [] | closed | false | null | [] | [
"Hi there, \r\n\r\nthe [summarization](https://github.com/huggingface/transformers/tree/master/examples/pytorch/summarization) and [translation](https://github.com/huggingface/transformers/tree/master/examples/pytorch/translation) examples supports fine-tuning T5 and mT5 (and other seq2seq models in the lib). Pleas... | 1,622 | 1,625 | 1,625 | NONE | null | Why there is no training example for T5 or MT5???
Could you please give me a link to an example? I had a hard time to write a code with various errors:
This is my code:
```
import torch
from datasets import load_dataset
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
#from transformers import MT5M... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11950/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11950/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11949/comments | https://api.github.com/repos/huggingface/transformers/issues/11949/events | https://github.com/huggingface/transformers/issues/11949 | 906,760,401 | MDU6SXNzdWU5MDY3NjA0MDE= | 11,949 | report_to flag does not work with TFTrainer | {
"login": "tomy0000000",
"id": 23290356,
"node_id": "MDQ6VXNlcjIzMjkwMzU2",
"avatar_url": "https://avatars.githubusercontent.com/u/23290356?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomy0000000",
"html_url": "https://github.com/tomy0000000",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"No this is not implemented for the `TFTrainer`. More generally, we are moving away from `TFTrainer` to go to pure Keras for the training loop.",
"Well, does that means `trainer_tf.py` is getting a huge rewrite? If not, I'm willing to work on a PR solving this particular issue. Let me know if anyone have thoughts... | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.6.1
- Platform: Linux-4.15.0-142-generic-x86_64-with-glibc2.27
- Python version: 3.8.10
- PyTorch version (GPU?): 1.7.1+cu101 (True)
- Tensorflow version (GPU?): 2.5.0 (False)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: Yes
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11949/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11949/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11948/comments | https://api.github.com/repos/huggingface/transformers/issues/11948/events | https://github.com/huggingface/transformers/issues/11948 | 906,743,976 | MDU6SXNzdWU5MDY3NDM5NzY= | 11,948 | Flax port vision Transformer to flax | {
"login": "jayendra13",
"id": 651057,
"node_id": "MDQ6VXNlcjY1MTA1Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/651057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jayendra13",
"html_url": "https://github.com/jayendra13",
"followers_url": "https://api.github.com/users/j... | [
{
"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 | [] | [
"claiming this issue has started work, @patrickvonplaten @patil-suraj "
] | 1,622 | 1,623 | 1,623 | CONTRIBUTOR | null | Port the existing vision-transformer to flax. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11948/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11947/comments | https://api.github.com/repos/huggingface/transformers/issues/11947/events | https://github.com/huggingface/transformers/issues/11947 | 906,698,868 | MDU6SXNzdWU5MDY2OTg4Njg= | 11,947 | Encoding/decoding NLP model in tensorflow lite (fine-tuned GPT2) | {
"login": "Guillaume-slize",
"id": 14851317,
"node_id": "MDQ6VXNlcjE0ODUxMzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/14851317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Guillaume-slize",
"html_url": "https://github.com/Guillaume-slize",
"followers_url": "https://api... | [] | 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://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"Sure,\nThanks for your answer :)\n\nOn Mon, May 31, 2021 at 9:51 AM Lysandre Debut ***@***.***>\nwrote:\n\n> Hel... | 1,622 | 1,625 | 1,625 | NONE | null | We are in the process of building a small virtual assistant and would like it to be able to run a fine-tuned version of GPT-2 on a raspberry-pi with a coral accelerator.
So far, we managed to convert our model to a tflite and to get first results. We know how to convert from words to indices with the previous token... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11947/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11947/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11946 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11946/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11946/comments | https://api.github.com/repos/huggingface/transformers/issues/11946/events | https://github.com/huggingface/transformers/issues/11946 | 906,674,604 | MDU6SXNzdWU5MDY2NzQ2MDQ= | 11,946 | Loading mbart-large-50-one-to-many-mmt is very slow | {
"login": "MK096",
"id": 20142735,
"node_id": "MDQ6VXNlcjIwMTQyNzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/20142735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MK096",
"html_url": "https://github.com/MK096",
"followers_url": "https://api.github.com/users/MK096/follow... | [] | closed | false | null | [] | [
"Hi there, `mbart-50` is actlly a big model and takes a while to load. But 15-20 min seems a lot, it's could probably an issue with your system. You could try to load it using a colab and see how much time it takes.",
"This issue has been automatically marked as stale because it has not had recent activity. If yo... | 1,622 | 1,625 | 1,625 | NONE | null | Whenever i try to run :
model = MBartForConditionalGeneration.from_pretrained(" [local path]/mbart-large-50-one-to-many-mmt")
My computer ether freezes or it takes 15-20 minutes to load the model.
I am using it for translation
Code: https://huggingface.co/facebook/mbart-large-50-one-to-many-mmt
Any solution f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11946/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11946/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11945 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11945/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11945/comments | https://api.github.com/repos/huggingface/transformers/issues/11945/events | https://github.com/huggingface/transformers/pull/11945 | 906,672,684 | MDExOlB1bGxSZXF1ZXN0NjU3NjMwMTg2 | 11,945 | reinitialize wandb config for each hyperparameter search run | {
"login": "Mindful",
"id": 2897172,
"node_id": "MDQ6VXNlcjI4OTcxNzI=",
"avatar_url": "https://avatars.githubusercontent.com/u/2897172?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mindful",
"html_url": "https://github.com/Mindful",
"followers_url": "https://api.github.com/users/Mindful/... | [] | closed | false | null | [] | [
"I usually do the search directly with wandb sweeps so didn't notice this issue.\r\nLooks good on my side, thanks!"
] | 1,622 | 1,622 | 1,622 | CONTRIBUTOR | null | # What does this PR do?
Fixes #11944
This is the quick/easy fix I'm using to work around the issue locally by just rerunning the WandbCallback integration `setup()` method for each run. This works fine for me, but if for some reason it's not safe/desirable to rerun the `WandbCallback.setup()` please feel free to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11945/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11945/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11945",
"html_url": "https://github.com/huggingface/transformers/pull/11945",
"diff_url": "https://github.com/huggingface/transformers/pull/11945.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11945.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.