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/5120 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5120/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5120/comments | https://api.github.com/repos/huggingface/transformers/issues/5120/events | https://github.com/huggingface/transformers/issues/5120 | 641,487,035 | MDU6SXNzdWU2NDE0ODcwMzU= | 5,120 | AutoTokenizer.from_pretrained('facebook/mbart-large-en-ro') fails | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | It is not in TOKENIZER_MAPPING because it has same config as Bart.
Need to make separate MBartConfig.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5120/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/5120/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5119 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5119/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5119/comments | https://api.github.com/repos/huggingface/transformers/issues/5119/events | https://github.com/huggingface/transformers/pull/5119 | 641,478,472 | MDExOlB1bGxSZXF1ZXN0NDM2NzA0MTYx | 5,119 | [cleanup] remove redundant code in SummarizationDataset | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5119?src=pr&el=h1) Report\n> Merging [#5119](https://codecov.io/gh/huggingface/transformers/pull/5119?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/355954ffca798bb81d9db8886e30ce10f11e8a40&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5119/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5119/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5119",
"html_url": "https://github.com/huggingface/transformers/pull/5119",
"diff_url": "https://github.com/huggingface/transformers/pull/5119.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5119.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5118 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5118/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5118/comments | https://api.github.com/repos/huggingface/transformers/issues/5118/events | https://github.com/huggingface/transformers/issues/5118 | 641,444,893 | MDU6SXNzdWU2NDE0NDQ4OTM= | 5,118 | UnboundLocalError: local variable 'next_tokens' referenced before assignment when using Generate() | {
"login": "chrisdoyleIE",
"id": 44365591,
"node_id": "MDQ6VXNlcjQ0MzY1NTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/44365591?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chrisdoyleIE",
"html_url": "https://github.com/chrisdoyleIE",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"@patrickvonplaten, do you want to take a look?",
"Hey @chrisdoyleIE ,\r\n\r\nUsing your code example above (I corrected some typos and missing imports), I am not able to reproduce the error. If a longer input is need to produce this error, please provide all necessary code to reproduce this error. Ideally, I sho... | 1,592 | 1,618 | 1,593 | NONE | null | # 🐛 Bug
I have pre-trained GPT2 on a summarisation dataset such that summarisation is a language modelling task i.e. input = concat( padded_to_max_len(body , "TL;DR:" , summary)).
For some reason, this error occurs when I try to generate via beam search using GPT2's with language modelling head. Here is my code:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5118/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5118/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5117 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5117/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5117/comments | https://api.github.com/repos/huggingface/transformers/issues/5117/events | https://github.com/huggingface/transformers/issues/5117 | 641,377,781 | MDU6SXNzdWU2NDEzNzc3ODE= | 5,117 | An Implementation of ERNIE For Language Understanding (including Pre-training models and Fine-tuning tools) | {
"login": "manhlab",
"id": 47383746,
"node_id": "MDQ6VXNlcjQ3MzgzNzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/47383746?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manhlab",
"html_url": "https://github.com/manhlab",
"followers_url": "https://api.github.com/users/manhla... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
... | closed | false | null | [] | [
"Can we update to add this into transformers",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,592 | 1,597 | 1,597 | NONE | null | # 🌟 New model addition
ERNIE 2.0 is a continual pre-training framework for language understanding in which pre-training tasks can be incrementally built and learned through multi-task learning. ERNIE 2.0 builds a strong basic for nearly every NLP tasks: Text Classification, Ranking, NER, machine reading comprehension... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5117/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5117/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5116 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5116/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5116/comments | https://api.github.com/repos/huggingface/transformers/issues/5116/events | https://github.com/huggingface/transformers/pull/5116 | 641,367,749 | MDExOlB1bGxSZXF1ZXN0NDM2NjA4NTEw | 5,116 | support local_files_only option for tf models | {
"login": "ogarin",
"id": 24646300,
"node_id": "MDQ6VXNlcjI0NjQ2MzAw",
"avatar_url": "https://avatars.githubusercontent.com/u/24646300?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ogarin",
"html_url": "https://github.com/ogarin",
"followers_url": "https://api.github.com/users/ogarin/fo... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5116?src=pr&el=h1) Report\n> Merging [#5116](https://codecov.io/gh/huggingface/transformers/pull/5116?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/355954ffca798bb81d9db8886e30ce10f11e8a40&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5116/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5116/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5116",
"html_url": "https://github.com/huggingface/transformers/pull/5116",
"diff_url": "https://github.com/huggingface/transformers/pull/5116.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5116.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5115 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5115/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5115/comments | https://api.github.com/repos/huggingface/transformers/issues/5115/events | https://github.com/huggingface/transformers/pull/5115 | 641,361,386 | MDExOlB1bGxSZXF1ZXN0NDM2NjAyODg1 | 5,115 | [cleanup] generate_beam_search comments | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 2139563322,
"node_id": "MDU6TGFiZWwyMTM5NTYzMzIy",
"url": "https://api.github.com/repos/huggingface/transformers/labels/cleanup",
"name": "cleanup",
"color": "e7fc49",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5115?src=pr&el=h1) Report\n> Merging [#5115](https://codecov.io/gh/huggingface/transformers/pull/5115?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/355954ffca798bb81d9db8886e30ce10f11e8a40&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | This PR does two small things:
1) try to make `generate_beam_search`'s inline comments work with the code, and fix some typos.
2) make the `cur_len` argument to `BeamHypothesis.is_done` mandatory, since it is always specified. This simplifies the logic a tiny bit.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5115/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5115/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5115",
"html_url": "https://github.com/huggingface/transformers/pull/5115",
"diff_url": "https://github.com/huggingface/transformers/pull/5115.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5115.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5114 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5114/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5114/comments | https://api.github.com/repos/huggingface/transformers/issues/5114/events | https://github.com/huggingface/transformers/issues/5114 | 641,306,991 | MDU6SXNzdWU2NDEzMDY5OTE= | 5,114 | data_collator.py does not allow NoneType labels for test set predictions on Glue | {
"login": "rsanjaykamath",
"id": 18527321,
"node_id": "MDQ6VXNlcjE4NTI3MzIx",
"avatar_url": "https://avatars.githubusercontent.com/u/18527321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rsanjaykamath",
"html_url": "https://github.com/rsanjaykamath",
"followers_url": "https://api.githu... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [] | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): Distilbert
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [x] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The tasks I am working on ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5114/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5114/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5113 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5113/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5113/comments | https://api.github.com/repos/huggingface/transformers/issues/5113/events | https://github.com/huggingface/transformers/issues/5113 | 641,303,164 | MDU6SXNzdWU2NDEzMDMxNjQ= | 5,113 | GPU out of memory with Reformer enwik8 model | {
"login": "erickrf",
"id": 294483,
"node_id": "MDQ6VXNlcjI5NDQ4Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/294483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erickrf",
"html_url": "https://github.com/erickrf",
"followers_url": "https://api.github.com/users/erickrf/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Did you try to train with half precision using the apex/amp package?",
"No, I didn't. Anyway, this was only evaluating the pretrained model.",
"I now have installed nvidia apex and tried training a new model with fp16. It ran out of memory after around 10% of the evaluation loop. I didn't expect it, since the ... | 1,592 | 1,599 | 1,598 | CONTRIBUTOR | null | # ❓ Questions & Help
I'm trying to run the pretrained model `google/reformer-enwik8` but I'm getting CUDA out of memory errors unless I limit the sequences to one-fourth of the model capacity (~16k instead of the 65k).
This happens with a Titan Xp with 12GB RAM; I expected all the tricks of the Reformer to make t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5113/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5113/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5112 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5112/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5112/comments | https://api.github.com/repos/huggingface/transformers/issues/5112/events | https://github.com/huggingface/transformers/issues/5112 | 641,293,709 | MDU6SXNzdWU2NDEyOTM3MDk= | 5,112 | Strange exception | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"The notebook is not using the collation function from `transformers` but the `T2TDataCollator` it defines. Apart from stopping subclassing `DataCollator` (as it's not a class anymore on master) this shouldn't be a problem.",
"Hi, @antoniomastro1996 , if you are using transformers from master branch then there ar... | 1,592 | 1,598 | 1,598 | NONE | null | # ❓ Questions & Help
Hi everybody,
I'm keeping experiment with the following colab:
https://colab.research.google.com/github/patil-suraj/exploring-T5/blob/master/T5_on_TPU.ipynb#scrollTo=X9_Go99fvW-z
however I got a new error after the fine-tuning starts:
Exception in thread Thread-20:
Traceback (most r... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5112/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5112/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5111 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5111/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5111/comments | https://api.github.com/repos/huggingface/transformers/issues/5111/events | https://github.com/huggingface/transformers/issues/5111 | 641,287,244 | MDU6SXNzdWU2NDEyODcyNDQ= | 5,111 | [Marian] Run predictions on GPU? RuntimeError: Expected object of device type cuda but got device type cpu for argument #3 'index' in call to _th_index_select` | {
"login": "mykhailoslukvin",
"id": 66723753,
"node_id": "MDQ6VXNlcjY2NzIzNzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/66723753?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mykhailoslukvin",
"html_url": "https://github.com/mykhailoslukvin",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Is your `batch` on the correct device too?",
"Thank you, I moved `batch` to the GPU and it works.\r\n`batch = tokenizer.prepare_translation_batch(sentences).to('cuda')`",
"More generally: `batch.to(model.device)`."
] | 1,592 | 1,617 | 1,592 | NONE | null | Is it possible to run the Marian NMT model predictions on GPU, should not it be faster? Once I try to move the model to GPU I get the error described below. Is there any quick fix to the code to achieve this?
```
torch.__version__
Out[15]: '1.5.0'
```
The code to reproduce:
```
from transformers import Maria... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5111/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/5111/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5110 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5110/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5110/comments | https://api.github.com/repos/huggingface/transformers/issues/5110/events | https://github.com/huggingface/transformers/pull/5110 | 641,278,345 | MDExOlB1bGxSZXF1ZXN0NDM2NTMyMzI4 | 5,110 | XLMForMultipleChoice | {
"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": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5110?src=pr&el=h1) Report\n> Merging [#5110](https://codecov.io/gh/huggingface/transformers/pull/5110?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/355954ffca798bb81d9db8886e30ce10f11e8a40&el=desc) will **increase... | 1,592 | 1,598 | 1,598 | MEMBER | null | This PR adds `XLMForMultipleChoice`. One of the missing models in this [project](https://github.com/huggingface/transformers/projects/17)
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5110/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5110/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5110",
"html_url": "https://github.com/huggingface/transformers/pull/5110",
"diff_url": "https://github.com/huggingface/transformers/pull/5110.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5110.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5109 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5109/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5109/comments | https://api.github.com/repos/huggingface/transformers/issues/5109/events | https://github.com/huggingface/transformers/issues/5109 | 641,266,116 | MDU6SXNzdWU2NDEyNjYxMTY= | 5,109 | Flaky tests sometimes caused by S3 failures | {
"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": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.gith... | [
"I can't replicate (I understand that's the point :)) \r\n\r\nThe traceback from your link is:\r\n\r\n```python\r\nOSError: Can't load weights for 'sshleifer/tiny-distilroberta-base'. Make sure that:\r\nE \r\nE - 'sshleifer/tiny-distilroberta-base' is a correct model identifier listed on... | 1,592 | 1,599 | 1,599 | MEMBER | null | # 🐛 Bug
## Information
The test: `tests/test_pipelines.py::MonoColumnInputTestCase::test_torch_fill_mask` is flaky on circle ci: https://app.circleci.com/pipelines/github/huggingface/transformers/7734/workflows/7c51cfcf-5425-4172-aa15-ed677e37f7fc/jobs/49891/steps
## To reproduce
Not sure. It pops up from ti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5109/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/5109/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5108 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5108/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5108/comments | https://api.github.com/repos/huggingface/transformers/issues/5108/events | https://github.com/huggingface/transformers/pull/5108 | 641,255,717 | MDExOlB1bGxSZXF1ZXN0NDM2NTEzMzY3 | 5,108 | Create README.md | {
"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": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5108?src=pr&el=h1) Report\n> Merging [#5108](https://codecov.io/gh/huggingface/transformers/pull/5108?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/355954ffca798bb81d9db8886e30ce10f11e8a40&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5108/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5108/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5108",
"html_url": "https://github.com/huggingface/transformers/pull/5108",
"diff_url": "https://github.com/huggingface/transformers/pull/5108.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5108.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5107 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5107/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5107/comments | https://api.github.com/repos/huggingface/transformers/issues/5107/events | https://github.com/huggingface/transformers/pull/5107 | 641,217,204 | MDExOlB1bGxSZXF1ZXN0NDM2NDgxMjc4 | 5,107 | Create README.md | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"> @julien-c check out that dataset meta tag is right\r\n\r\nIt seems everythigs is right"
] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | @julien-c check out that dataset meta tag is right | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5107/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/5107/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5107",
"html_url": "https://github.com/huggingface/transformers/pull/5107",
"diff_url": "https://github.com/huggingface/transformers/pull/5107.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5107.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5106 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5106/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5106/comments | https://api.github.com/repos/huggingface/transformers/issues/5106/events | https://github.com/huggingface/transformers/issues/5106 | 641,211,104 | MDU6SXNzdWU2NDEyMTExMDQ= | 5,106 | How can I initialize RobertaForSequenceClassification empty? | {
"login": "raj5287",
"id": 11444890,
"node_id": "MDQ6VXNlcjExNDQ0ODkw",
"avatar_url": "https://avatars.githubusercontent.com/u/11444890?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raj5287",
"html_url": "https://github.com/raj5287",
"followers_url": "https://api.github.com/users/raj528... | [] | closed | false | null | [] | [
"Hi! If you want to initialize a new `RobertaForSequenceClassification` model you can do so as such:\r\n\r\n```py\r\nfrom transformers import RobertaForSequenceClassification, RobertaConfig\r\n\r\nconfig = RobertaConfig(\r\n # put the args you need, like the vocab size\r\n vocab_size=100\r\n)\r\n\r\nmodel = R... | 1,592 | 1,599 | 1,592 | NONE | null | I am having my own custom dataset which is completely different from the one with roberta. Now using ByteLevelBPETokenizer, I am creating vocab.json and merges.txt . I am using these two to files to initialize RobertaTokenizerFast for encoding my corpus. Now I am training a RobertaForSequenceClassification for a binary... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5106/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5106/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5105 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5105/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5105/comments | https://api.github.com/repos/huggingface/transformers/issues/5105/events | https://github.com/huggingface/transformers/issues/5105 | 641,195,120 | MDU6SXNzdWU2NDExOTUxMjA= | 5,105 | Is there a helper script to randomly mask spans of text for T5 pretraining? | {
"login": "abhisheknovoic",
"id": 62595485,
"node_id": "MDQ6VXNlcjYyNTk1NDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/62595485?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhisheknovoic",
"html_url": "https://github.com/abhisheknovoic",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Not yet -> on the roadmap :-) ",
"any updates here?"
] | 1,592 | 1,671 | 1,592 | NONE | null | Hello team,
If I have an input text like
```The cute dog walks in the park```
Is there a library within HuggingFace that can output the following for me by masking random spans of text by (optional) taking an input masking probability?
```
masked input: The <extra_id_1> walks in <extra_id_2> park
target... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5105/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5105/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5104 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5104/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5104/comments | https://api.github.com/repos/huggingface/transformers/issues/5104/events | https://github.com/huggingface/transformers/issues/5104 | 641,162,417 | MDU6SXNzdWU2NDExNjI0MTc= | 5,104 | Trainer evaluation doesn't return eval loss for question-answering. | {
"login": "avacaondata",
"id": 35173563,
"node_id": "MDQ6VXNlcjM1MTczNTYz",
"avatar_url": "https://avatars.githubusercontent.com/u/35173563?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avacaondata",
"html_url": "https://github.com/avacaondata",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I solved it editing trainer.py, in this line https://github.com/huggingface/transformers/blob/master/src/transformers/trainer.py#L765 . I added start_positions and end_positions to that \"possible labels names\" list, and it worked. Review the bug, please.",
"Thanks @alexvaca0 !\r\n\r\ncc @julien-c , @sgugger ",... | 1,592 | 1,627 | 1,598 | NONE | null | As mentioned in this issue:
"""
Just a note that I tried `python run_squad_trainer.py --model_name_or_path bert-base-uncased --model_type bert --data_dir squad --output_dir /tmp/debug_squad/ --overwrite_output_dir --do_train --do_eval --evaluate_during_training --logging_steps 100`.
For some reason I don't get any... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5104/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5104/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5103 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5103/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5103/comments | https://api.github.com/repos/huggingface/transformers/issues/5103/events | https://github.com/huggingface/transformers/pull/5103 | 641,130,420 | MDExOlB1bGxSZXF1ZXN0NDM2NDA4Nzk4 | 5,103 | Tokenizers API developments | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5103?src=pr&el=h1) Report\n> Merging [#5103](https://codecov.io/gh/huggingface/transformers/pull/5103?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/417e492f1e832c0b93512600d3385aa4c8a887c9&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | MEMBER | null | Some developments on the tokenizer's API to make it more flexible and easy to use for dynamic/uniform size batching.
- add `return_lengths` methods to both slow and fast tokenizer to have a column with input lengths (useful to sort them afterward)
- make `tokenizer.pad()` accept a list of dicts so it can be used as... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5103/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5103/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5103",
"html_url": "https://github.com/huggingface/transformers/pull/5103",
"diff_url": "https://github.com/huggingface/transformers/pull/5103.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5103.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5102 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5102/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5102/comments | https://api.github.com/repos/huggingface/transformers/issues/5102/events | https://github.com/huggingface/transformers/issues/5102 | 641,070,807 | MDU6SXNzdWU2NDEwNzA4MDc= | 5,102 | Loading Fine Tuned BERT Sequence Model after Training | {
"login": "tsivaguru",
"id": 43160782,
"node_id": "MDQ6VXNlcjQzMTYwNzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/43160782?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tsivaguru",
"html_url": "https://github.com/tsivaguru",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,592 | 1,598 | 1,598 | NONE | null | # 🐛 Bug
Loading Fine Tuned BERT Sequence Model after Training
## Information
Hi All,
iam facing following issue while loading pretrained BERT Sequence model with my own data
RuntimeError: Error(s) in loading state_dict for DataParallel:
Missing key(s) in state_dict: "module.out.weight", "module.out.bias".... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5102/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5102/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5101 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5101/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5101/comments | https://api.github.com/repos/huggingface/transformers/issues/5101/events | https://github.com/huggingface/transformers/issues/5101 | 641,060,842 | MDU6SXNzdWU2NDEwNjA4NDI= | 5,101 | OpenAIGPTDoubleHeadsModel Don't have the "labels" attributes as it is described in the documentation | {
"login": "ghsama",
"id": 20842504,
"node_id": "MDQ6VXNlcjIwODQyNTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/20842504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghsama",
"html_url": "https://github.com/ghsama",
"followers_url": "https://api.github.com/users/ghsama/fo... | [] | closed | false | null | [] | [
"Hi @ghsama `lm_labels` is changed to `labels` after 2.11.0. So if you are using version <=2.11.0 use `lm_labels` and if you're using master branch then use `labels`",
"Yes ! i just figure it out . Thank you @patil-suraj :D "
] | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using OpenAIGPTDoubleHeadsModel:
Language I am using the model on English:
The problem arises when using:
* The official example scripts:
I'm using transformer version : '2.11.0'
In the documentation i found that i can pass a "labels" attribute to the OpenAIGPTDouble... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5101/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5101/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5100 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5100/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5100/comments | https://api.github.com/repos/huggingface/transformers/issues/5100/events | https://github.com/huggingface/transformers/issues/5100 | 641,017,173 | MDU6SXNzdWU2NDEwMTcxNzM= | 5,100 | Update Conda Release | {
"login": "lukasfolle",
"id": 26490449,
"node_id": "MDQ6VXNlcjI2NDkwNDQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/26490449?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lukasfolle",
"html_url": "https://github.com/lukasfolle",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This might provide more information: https://github.com/conda-forge/transformers-feedstock/issues/3\r\n\r\nIn short, the conda-forge update is blocked by `sentencepiece` not being available through conda.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be clos... | 1,592 | 1,610 | 1,610 | NONE | null | When trying to get started with transformers using some examples from the model cards, the installation with conda results in an outdated version (2.1.1).
As a result, the example cannot run. However, when using pip to install transformers the newest version (2.11) is correctly used.
I would suggest updating the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5100/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5100/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5099 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5099/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5099/comments | https://api.github.com/repos/huggingface/transformers/issues/5099/events | https://github.com/huggingface/transformers/pull/5099 | 640,913,885 | MDExOlB1bGxSZXF1ZXN0NDM2MjMzNTYy | 5,099 | Fix TF WarmUp class | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5099?src=pr&el=h1) Report\n> Merging [#5099](https://codecov.io/gh/huggingface/transformers/pull/5099?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/efeb75b8054cc299698cf8bc09f395ada2660745&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | This commit fixes the TF WarmUp learning rate scheduler.
The LR shape was wrong due to warmup steps. See linked issue for more details.
Fix #5098 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5099/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5099/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5099",
"html_url": "https://github.com/huggingface/transformers/pull/5099",
"diff_url": "https://github.com/huggingface/transformers/pull/5099.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5099.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5098 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5098/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5098/comments | https://api.github.com/repos/huggingface/transformers/issues/5098/events | https://github.com/huggingface/transformers/issues/5098 | 640,910,892 | MDU6SXNzdWU2NDA5MTA4OTI= | 5,098 | 🐛 [TF] `create_optimizer` wrong superposition of learning rate schedules | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [] | closed | false | null | [] | [] | 1,592 | 1,593 | 1,593 | CONTRIBUTOR | null | # 🐛 Bug
When using `create_optimizer`, 2 learning rate schedulers are placed on top of each other (WarmUp and keras Polynomial Decay) :
https://github.com/huggingface/transformers/blob/efeb75b8054cc299698cf8bc09f395ada2660745/src/transformers/optimization_tf.py#L70-L80
But the step in Warmup scheduler is not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5098/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5098/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5097 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5097/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5097/comments | https://api.github.com/repos/huggingface/transformers/issues/5097/events | https://github.com/huggingface/transformers/issues/5097 | 640,908,566 | MDU6SXNzdWU2NDA5MDg1NjY= | 5,097 | Training the BERTSUM model | {
"login": "tahmedge",
"id": 15964236,
"node_id": "MDQ6VXNlcjE1OTY0MjM2",
"avatar_url": "https://avatars.githubusercontent.com/u/15964236?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tahmedge",
"html_url": "https://github.com/tahmedge",
"followers_url": "https://api.github.com/users/tah... | [] | closed | false | null | [] | [
"Hi, as seen with @sshleifer, you can train for summarization using the [summarization script](https://github.com/huggingface/transformers/tree/master/examples/summarization). The models supported right now are all BART variants and t5-small. More to come!"
] | 1,592 | 1,593 | 1,593 | NONE | null | Hi, I find that the script can only predict the summaries using the BERTSUM model. Is it possible to train the BERTSUM model using this script? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5097/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5097/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5096 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5096/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5096/comments | https://api.github.com/repos/huggingface/transformers/issues/5096/events | https://github.com/huggingface/transformers/issues/5096 | 640,903,149 | MDU6SXNzdWU2NDA5MDMxNDk= | 5,096 | Can I training a bart model from scratch by transformers? | {
"login": "ScottishFold007",
"id": 36957508,
"node_id": "MDQ6VXNlcjM2OTU3NTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/36957508?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ScottishFold007",
"html_url": "https://github.com/ScottishFold007",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Yes",
"> Yes\r\n\r\nThat' s awesome!Can you give a code to show? I'm grateful!",
"So from the paper: https://arxiv.org/pdf/1910.13461.pdf, you can see that Bart is trained on denoising input sequences in almost any possible way. \r\n\r\nOne way could be for `BartForConditionalGeneration`:\r\n\r\n```python \r\n... | 1,592 | 1,676 | 1,592 | CONTRIBUTOR | null | Can I training a bart model from scratch by transformers? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5096/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5096/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5095 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5095/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5095/comments | https://api.github.com/repos/huggingface/transformers/issues/5095/events | https://github.com/huggingface/transformers/issues/5095 | 640,768,610 | MDU6SXNzdWU2NDA3Njg2MTA= | 5,095 | Addition of VisualBERT | {
"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": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
... | closed | false | null | [] | [
"This is very interesting!",
"This has been proposed before as a separate issue but no action was taken. Hence, I thought I'll start implementing some of the multi-modal models one by one.",
"Please let @liunian-harold-li and me know if you need any help. We can also provide the pre-trained models. ",
"This i... | 1,592 | 1,614 | 1,599 | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
The VisualBERT model is used for multi-modal processing when the modes of images and text are present. It takes in object detection features from images, and combines them with textual embeddings from the pre-trained BERT models, pre-trained the whole thing on COCO image c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5095/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/5095/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5094 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5094/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5094/comments | https://api.github.com/repos/huggingface/transformers/issues/5094/events | https://github.com/huggingface/transformers/issues/5094 | 640,740,906 | MDU6SXNzdWU2NDA3NDA5MDY= | 5,094 | Different output from model on CPU and GPU | {
"login": "jxmorris12",
"id": 13238952,
"node_id": "MDQ6VXNlcjEzMjM4OTUy",
"avatar_url": "https://avatars.githubusercontent.com/u/13238952?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jxmorris12",
"html_url": "https://github.com/jxmorris12",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi! I don't think it's possible to have two different hardware perform *exactly* the same. A 1e-7 precision is already very high. Out of curiosity, why do you need such a high precision?\r\n\r\nNevertheless, this is more of a pytorch-specific question rather than transformers-related. I'll close the issue here but... | 1,592 | 1,593 | 1,593 | NONE | null | # 🐛 Bug
I trained models using the `run_glue.py` script and uploaded them to the model hub. I've realized that their output slightly differs between when I do inference on the CPU and the GPU.
Absolute errors are small – on the order of `1e-7` – but that turns out to be too much for my use case.
## Informatio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5094/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/5094/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5093 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5093/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5093/comments | https://api.github.com/repos/huggingface/transformers/issues/5093/events | https://github.com/huggingface/transformers/pull/5093 | 640,724,143 | MDExOlB1bGxSZXF1ZXN0NDM2MDgxMTk1 | 5,093 | [style] add pandas to setup.cfg | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5093?src=pr&el=h1) Report\n> Merging [#5093](https://codecov.io/gh/huggingface/transformers/pull/5093?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/90c833870c78bb3d5d807a9a3e6a40d24bf2302b&el=desc) will **not chan... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Need to add pandas to setup.cfg. Otherwise, for people that have pandas installed locally isort tries to change `eli5_utils.py` everytime.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5093/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5093/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5093",
"html_url": "https://github.com/huggingface/transformers/pull/5093",
"diff_url": "https://github.com/huggingface/transformers/pull/5093.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5093.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5092 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5092/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5092/comments | https://api.github.com/repos/huggingface/transformers/issues/5092/events | https://github.com/huggingface/transformers/pull/5092 | 640,717,563 | MDExOlB1bGxSZXF1ZXN0NDM2MDc1Njc5 | 5,092 | [MarianTokenizer] Switch to sacremoses for punc normalization | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5092?src=pr&el=h1) Report\n> Merging [#5092](https://codecov.io/gh/huggingface/transformers/pull/5092?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/20fa82898495f516b221115fc3ef9ec8ebf50b1e&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Attempt at fixing #4491 using @jpcorb20 's solution | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5092/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5092/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5092",
"html_url": "https://github.com/huggingface/transformers/pull/5092",
"diff_url": "https://github.com/huggingface/transformers/pull/5092.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5092.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5091 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5091/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5091/comments | https://api.github.com/repos/huggingface/transformers/issues/5091/events | https://github.com/huggingface/transformers/issues/5091 | 640,712,494 | MDU6SXNzdWU2NDA3MTI0OTQ= | 5,091 | encode_plus wrongly tokenizing a symbol | {
"login": "IbtihalFerwana",
"id": 41843953,
"node_id": "MDQ6VXNlcjQxODQzOTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/41843953?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/IbtihalFerwana",
"html_url": "https://github.com/IbtihalFerwana",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"What tokenizer are you using? Is it one already trained? If so, which? If not, on what did you train your tokenizer? What is your code? What is your output?\r\n\r\nIf possible, please fill the template. It's much easier to help you if you provide all the information we need.",
"1. Trained using a pretrained biob... | 1,592 | 1,600 | 1,600 | NONE | null | When I used a the bio dataset (linnaeus-IOB) to train bert on, the dataset includes the symbol (>=) [greater than or equal], the tokenizer is separating them into two tokens
**Expected output is either**:
`>`
`##=`
**or**
`>= `
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5091/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5091/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5090 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5090/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5090/comments | https://api.github.com/repos/huggingface/transformers/issues/5090/events | https://github.com/huggingface/transformers/pull/5090 | 640,708,393 | MDExOlB1bGxSZXF1ZXN0NDM2MDY4MTQw | 5,090 | minor spelling correction in script execution command - movement pruning | {
"login": "pranavpawar3",
"id": 39311422,
"node_id": "MDQ6VXNlcjM5MzExNDIy",
"avatar_url": "https://avatars.githubusercontent.com/u/39311422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pranavpawar3",
"html_url": "https://github.com/pranavpawar3",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | actual script name - counts_parameters.py | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5090/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5090/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5090",
"html_url": "https://github.com/huggingface/transformers/pull/5090",
"diff_url": "https://github.com/huggingface/transformers/pull/5090.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5090.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5089 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5089/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5089/comments | https://api.github.com/repos/huggingface/transformers/issues/5089/events | https://github.com/huggingface/transformers/issues/5089 | 640,703,022 | MDU6SXNzdWU2NDA3MDMwMjI= | 5,089 | Is there a helper script to preprocess data for T5 for masked language modeling? | {
"login": "abhisheksgumadi",
"id": 1021734,
"node_id": "MDQ6VXNlcjEwMjE3MzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1021734?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhisheksgumadi",
"html_url": "https://github.com/abhisheksgumadi",
"followers_url": "https://api.g... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Not yet sadly - it's on my ToDo list. Hope to be able to work on it soon",
"I am working on a script for T5 based upon the current run_language_modeling.py, maybe I can share that once I am done and someone can confirm if it works as expected?",
"This issue has been automatically marked as stale because it has... | 1,592 | 1,601 | 1,598 | NONE | null | Hi Team
Thanks for the wonderful HuggingFace library !
I am now working with T5 on my own dataset. I want to know if there is any helper script that can automatically take text and mask a random set of tokens and also generate the expected output sequence for the pretraining unsupervised language modeling tas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5089/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5089/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5088 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5088/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5088/comments | https://api.github.com/repos/huggingface/transformers/issues/5088/events | https://github.com/huggingface/transformers/issues/5088 | 640,677,523 | MDU6SXNzdWU2NDA2Nzc1MjM= | 5,088 | Image GPT | {
"login": "minimaxir",
"id": 2179708,
"node_id": "MDQ6VXNlcjIxNzk3MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2179708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/minimaxir",
"html_url": "https://github.com/minimaxir",
"followers_url": "https://api.github.com/users/mi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
... | closed | false | null | [] | [
"I'd like a google colab of it ",
"Hey @minimaxir! Here's a [colab](https://colab.research.google.com/github/apeguero1/image-gpt/blob/master/Transformers_Image_GPT.ipynb) which loads the weights into a subclass of `GPT2LMHeadModel` and demonstrates unconditional image generation and conditional image completion. ... | 1,592 | 1,604 | 1,604 | NONE | null | # 🌟 New model addition
## Model description
OpenAI just announced Image GPT: https://openai.com/blog/image-gpt/
Although image rendering would be out of scope for Transformers, the RGB generation would still be in scope and it would be best to port the weights to a `GPT2LMModel`.
However, it's not immediat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5088/reactions",
"total_count": 34,
"+1": 21,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 6,
"rocket": 0,
"eyes": 7
} | https://api.github.com/repos/huggingface/transformers/issues/5088/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5087 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5087/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5087/comments | https://api.github.com/repos/huggingface/transformers/issues/5087/events | https://github.com/huggingface/transformers/issues/5087 | 640,651,743 | MDU6SXNzdWU2NDA2NTE3NDM= | 5,087 | Why does the T5Tokenizer prepend and '_' to every token? | {
"login": "abhisheknovoic",
"id": 62595485,
"node_id": "MDQ6VXNlcjYyNTk1NDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/62595485?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhisheknovoic",
"html_url": "https://github.com/abhisheknovoic",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Hi, the T5 tokenizer is a SentencePiece tokenizer, and that's the way SentencePiece works. This underscore means that it's the start of a word. When it's not the start of a word, it's not prepended by anything.\r\n\r\nI think you're thinking of the # symbol because you're used to the BertTokenizer (wordpiece). Sen... | 1,592 | 1,592 | 1,592 | NONE | null | I am using the T5Tokenizer as follows:
```
In [119]: tokenizer = T5Tokenizer.from_pretrained('t5-small')
In [120]: input_ids = tokenizer.encode_plus('I love my dog', return_tensors='pt')
In [121]: [tokenizer.convert_ids_to_tokens([ele]) for ele in input_ids['input_ids'][0]]
Out[121]: [['▁I'], ['▁love'], ['▁m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5087/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/5087/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5086 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5086/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5086/comments | https://api.github.com/repos/huggingface/transformers/issues/5086/events | https://github.com/huggingface/transformers/pull/5086 | 640,638,197 | MDExOlB1bGxSZXF1ZXN0NDM2MDEwMzkw | 5,086 | SummarizationPipeline: init required task name | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5086?src=pr&el=h1) Report\n> Merging [#5086](https://codecov.io/gh/huggingface/transformers/pull/5086?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/70bc3ead4f0b08e8cadd1805ada2a22f0c302399&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | MEMBER | null | Otherwise, can't do:
```python
tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-cnn")
model = AutoModelWithLMHead.from_pretrained("facebook/bart-large-cnn")
p = SummarizationPipeline(model=model, tokenizer=tokenizer)
p("Long boring text to summarize, etc. etc.")
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5086/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5086/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5086",
"html_url": "https://github.com/huggingface/transformers/pull/5086",
"diff_url": "https://github.com/huggingface/transformers/pull/5086.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5086.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5085 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5085/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5085/comments | https://api.github.com/repos/huggingface/transformers/issues/5085/events | https://github.com/huggingface/transformers/pull/5085 | 640,543,849 | MDExOlB1bGxSZXF1ZXN0NDM1OTM1MjM4 | 5,085 | Add missing arg in 02-transformers notebook | {
"login": "pri-ax",
"id": 54854789,
"node_id": "MDQ6VXNlcjU0ODU0Nzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/54854789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pri-ax",
"html_url": "https://github.com/pri-ax",
"followers_url": "https://api.github.com/users/pri-ax/fo... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5085?src=pr&el=h1) Report\n> Merging [#5085](https://codecov.io/gh/huggingface/transformers/pull/5085?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7291ea0bff57a017e71b1ea8ec01ff19da298bf0&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Add missing `from_tf=True` arg when creating the model `AutoModel.from_pretrained()` to avoid an OSError from loading a PyTorch model from a TF 2.0 checkpoint.
Also fixed two small typos in markdown text. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5085/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5085/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5085",
"html_url": "https://github.com/huggingface/transformers/pull/5085",
"diff_url": "https://github.com/huggingface/transformers/pull/5085.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5085.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5084 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5084/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5084/comments | https://api.github.com/repos/huggingface/transformers/issues/5084/events | https://github.com/huggingface/transformers/pull/5084 | 640,510,103 | MDExOlB1bGxSZXF1ZXN0NDM1OTA3NDg0 | 5,084 | Update installation page and add contributing to the doc | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5084?src=pr&el=h1) Report\n> Merging [#5084](https://codecov.io/gh/huggingface/transformers/pull/5084?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7291ea0bff57a017e71b1ea8ec01ff19da298bf0&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | This PR simplifies the installation page, adds the mention of TF/PT installation with one command only (for CPU) and adds a test that the installation was successful.
The tests mention is moved to CONTRIBUTING. The mention of the tokenization process for OpenAI GPT is moved to that model doc page.
It also adds th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5084/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5084/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5084",
"html_url": "https://github.com/huggingface/transformers/pull/5084",
"diff_url": "https://github.com/huggingface/transformers/pull/5084.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5084.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5083 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5083/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5083/comments | https://api.github.com/repos/huggingface/transformers/issues/5083/events | https://github.com/huggingface/transformers/pull/5083 | 640,473,621 | MDExOlB1bGxSZXF1ZXN0NDM1ODc3NDgy | 5,083 | updated hans eval instructions | {
"login": "prajjwal1",
"id": 24690051,
"node_id": "MDQ6VXNlcjI0NjkwMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prajjwal1",
"html_url": "https://github.com/prajjwal1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5083?src=pr&el=h1) Report\n> Merging [#5083](https://codecov.io/gh/huggingface/transformers/pull/5083?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7291ea0bff57a017e71b1ea8ec01ff19da298bf0&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | I've updated the info regarding how hans evaluation can be carried out.
I've also renamed `run_hans.py` to `test_hans.py` to restore the previous file convention and also indicate that HANS only supports evaluation. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5083/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5083/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5083",
"html_url": "https://github.com/huggingface/transformers/pull/5083",
"diff_url": "https://github.com/huggingface/transformers/pull/5083.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5083.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5082 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5082/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5082/comments | https://api.github.com/repos/huggingface/transformers/issues/5082/events | https://github.com/huggingface/transformers/pull/5082 | 640,471,377 | MDExOlB1bGxSZXF1ZXN0NDM1ODc1NTk5 | 5,082 | Add header and fix command | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5082?src=pr&el=h1) Report\n> Merging [#5082](https://codecov.io/gh/huggingface/transformers/pull/5082?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7291ea0bff57a017e71b1ea8ec01ff19da298bf0&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | This finishes to fix #4742 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5082/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5082/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5082",
"html_url": "https://github.com/huggingface/transformers/pull/5082",
"diff_url": "https://github.com/huggingface/transformers/pull/5082.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5082.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5081 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5081/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5081/comments | https://api.github.com/repos/huggingface/transformers/issues/5081/events | https://github.com/huggingface/transformers/issues/5081 | 640,419,497 | MDU6SXNzdWU2NDA0MTk0OTc= | 5,081 | 01_how-to-train.ipynb broken | {
"login": "orestisfl",
"id": 5778622,
"node_id": "MDQ6VXNlcjU3Nzg2MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5778622?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orestisfl",
"html_url": "https://github.com/orestisfl",
"followers_url": "https://api.github.com/users/or... | [] | closed | false | null | [] | [
"@orestisfl thanks for raising this, I also was scratching my head as the same tokenizer.save(\"EsperBERTo\") worked for me a few days ago and not anymore. I could save the tokenizer using tokenizer.save(\"EsperBERTo/vocab.txt\"), but then I can't load it. If I try to load I get:\r\n```\r\nTypeError: sep_token not... | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## To reproduce
Steps to reproduce the behavior:
1. Go to https://github.com/huggingface/transformers/tree/master/examples
2. Click the colab for `language-modeling`: https://colab.research.google.com/github/huggingface/blog/blob/master/notebooks/01_how_to_train.ipynb
3. Run notebook
<!-- If you ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5081/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/5081/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5080 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5080/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5080/comments | https://api.github.com/repos/huggingface/transformers/issues/5080/events | https://github.com/huggingface/transformers/pull/5080 | 640,367,093 | MDExOlB1bGxSZXF1ZXN0NDM1Nzg4ODIz | 5,080 | [docs] fix T5 training doc | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Great thanks @patil-suraj ",
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5080?src=pr&el=h1) Report\n> Merging [#5080](https://codecov.io/gh/huggingface/transformers/pull/5080?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/ebab096e864a619717a497089d864d10e... | 1,592 | 1,592 | 1,592 | MEMBER | null | This PR fixes T5 training doc. In a recent commit `lm_labels` is changed to `labels`. Made the doc changes accordingly. Regarding issue #5079
@patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5080/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/5080/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5080",
"html_url": "https://github.com/huggingface/transformers/pull/5080",
"diff_url": "https://github.com/huggingface/transformers/pull/5080.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5080.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5079 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5079/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5079/comments | https://api.github.com/repos/huggingface/transformers/issues/5079/events | https://github.com/huggingface/transformers/issues/5079 | 640,337,532 | MDU6SXNzdWU2NDAzMzc1MzI= | 5,079 | How do I pre-train the T5 model in HuggingFace library using my own text corpus? | {
"login": "abhisheknovoic",
"id": 62595485,
"node_id": "MDQ6VXNlcjYyNTk1NDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/62595485?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhisheknovoic",
"html_url": "https://github.com/abhisheknovoic",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi, @abhisheknovoic this might help you https://huggingface.co/transformers/model_doc/t5.html#training\r\ncheck the Unsupervised denoising training section",
"@patil-suraj , do you mean this class? - T5ForConditionalGeneration \r\n\r\nAlso, at the top of the page, there is the following code:\r\n\r\n```input_ids... | 1,592 | 1,678 | 1,599 | NONE | null | Hello,
I understand how the T5 architecture works and I have my own large corpus where I decide to mask a sequence of tokens and replace them with sentinel tokens.
I also understand about the tokenizers in HuggingFace, specially the T5 tokenizer.
Can someone point me to a document or refer me to the class th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5079/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/5079/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5078 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5078/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5078/comments | https://api.github.com/repos/huggingface/transformers/issues/5078/events | https://github.com/huggingface/transformers/pull/5078 | 640,315,320 | MDExOlB1bGxSZXF1ZXN0NDM1NzQ1MTQy | 5,078 | Add BERT Loses Patience (Patience-based Early Exit) | {
"login": "JetRunner",
"id": 22514219,
"node_id": "MDQ6VXNlcjIyNTE0MjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JetRunner",
"html_url": "https://github.com/JetRunner",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1834052574,
"node_id": "MDU6TGFiZWwxODM0MDUyNTc0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Ex:%20Sequence%20Classification",
"name": "Ex: Sequence Classification",
"color": "46FFCF",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5078?src=pr&el=h1) Report\n> Merging [#5078](https://codecov.io/gh/huggingface/transformers/pull/5078?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e4aaa4580515446cd5a2972ab42fec0b95819c84&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | Add BERT Loses Patience (Patience-based Early Exit) based on the paper https://arxiv.org/abs/2006.04152 and the official implementation https://github.com/JetRunner/PABEE
It's impossible to make PABEE's ALBERT and BERT compatible with the standard API (e.g., `run_glue.py` so I keep the modeling files in a separate d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5078/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5078/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5078",
"html_url": "https://github.com/huggingface/transformers/pull/5078",
"diff_url": "https://github.com/huggingface/transformers/pull/5078.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5078.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5077 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5077/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5077/comments | https://api.github.com/repos/huggingface/transformers/issues/5077/events | https://github.com/huggingface/transformers/issues/5077 | 640,296,368 | MDU6SXNzdWU2NDAyOTYzNjg= | 5,077 | Several problems with named entites predicted with the ner pipeline | {
"login": "Nighthyst",
"id": 38282930,
"node_id": "MDQ6VXNlcjM4MjgyOTMw",
"avatar_url": "https://avatars.githubusercontent.com/u/38282930?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nighthyst",
"html_url": "https://github.com/Nighthyst",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@Nighthyst thanks for summarizing these issues as I also ran into them.\r\nI was digging on this last weekend and I think maybe this could help:\r\n\r\nhttps://github.com/huggingface/tokenizers/pull/200\r\n\r\n\r\n>> Provide some more mappings on the Encoding in order to easily identify words after tokenization.\r... | 1,592 | 1,602 | 1,602 | NONE | null | # 🐛 Bug
## Information
Hello,
I am using the `bert-base-cased` model to predict named entities for a bunch of sentences (around 29 900). I am facing 3 main issues :
1. Residual '##' in grouped entities' word field (So they are not well grouped)
2. [UNK] (or [CLS]) tokens inside word fields
3. Missing syll... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5077/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/5077/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5076 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5076/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5076/comments | https://api.github.com/repos/huggingface/transformers/issues/5076/events | https://github.com/huggingface/transformers/issues/5076 | 640,239,297 | MDU6SXNzdWU2NDAyMzkyOTc= | 5,076 | Colab session crashes on transformers | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"The same thing for me. Colab (using TPU) crashes when importing transformers package.\r\n\r\n\r\n where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5076/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/5076/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5075 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5075/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5075/comments | https://api.github.com/repos/huggingface/transformers/issues/5075/events | https://github.com/huggingface/transformers/issues/5075 | 640,229,333 | MDU6SXNzdWU2NDAyMjkzMzM= | 5,075 | Converting to ONNX doesn't apply to all models | {
"login": "alvations",
"id": 1050316,
"node_id": "MDQ6VXNlcjEwNTAzMTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1050316?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alvations",
"html_url": "https://github.com/alvations",
"followers_url": "https://api.github.com/users/al... | [] | closed | false | null | [] | [
"Here is a related PyTorch issue: https://github.com/pytorch/pytorch/issues/32968.\r\n\r\nHere is a list of pretraineds model that can be exported to ONNX:\r\nbert-base-cased, distilbert-base-uncased, roberta-base, gpt2, distilgpt2, openai-gpt, albert-base-v2, xlnet-base-cased\r\n\r\nSo far, the following models ha... | 1,592 | 1,691 | 1,599 | NONE | null | Is it possible to list or highlight which models are ONNX convertible?
On a fresh python environment:
```
python -m pip install -U transformers
python -m pip install mosestokenizer
```
The transformer version on the machine is `2.11.0`
When trying to convert the https://huggingface.co/transformers/mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5075/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/5075/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5074/comments | https://api.github.com/repos/huggingface/transformers/issues/5074/events | https://github.com/huggingface/transformers/issues/5074 | 640,220,185 | MDU6SXNzdWU2NDAyMjAxODU= | 5,074 | how to get complete URLs to weights in 2.11.0 | {
"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 | [] | [
"They are the same as Roberta's \r\n\r\n```python\r\nvocab_url = \"https://s3.amazonaws.com/models.huggingface.co/bert/roberta-large-vocab.json\"\r\nmerges_url = \"https://s3.amazonaws.com/models.huggingface.co/bert/roberta-large-merges.txt\"\r\n```\r\n\r\nIs your question more general than just `bart-large`? (Feel... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | # ❓ Questions & Help
Since it is related to the newest release, I would like to raise the question here. As our servers in the company are not able to access the HF url, we have to download the models locally and upload to the servers. Now seems I couldn't find the links to download `pytorch_model.bin`, `config.json... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5074/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5074/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5073/comments | https://api.github.com/repos/huggingface/transformers/issues/5073/events | https://github.com/huggingface/transformers/pull/5073 | 640,181,307 | MDExOlB1bGxSZXF1ZXN0NDM1NjM1MDI4 | 5,073 | fix typo | {
"login": "timsuchanek",
"id": 1094804,
"node_id": "MDQ6VXNlcjEwOTQ4MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/1094804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timsuchanek",
"html_url": "https://github.com/timsuchanek",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5073?src=pr&el=h1) Report\n> Merging [#5073](https://codecov.io/gh/huggingface/transformers/pull/5073?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/e4aaa4580515446cd5a2972ab42fec0b95819c84&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5073/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5073/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5073",
"html_url": "https://github.com/huggingface/transformers/pull/5073",
"diff_url": "https://github.com/huggingface/transformers/pull/5073.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5073.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5072/comments | https://api.github.com/repos/huggingface/transformers/issues/5072/events | https://github.com/huggingface/transformers/issues/5072 | 640,071,313 | MDU6SXNzdWU2NDAwNzEzMTM= | 5,072 | 🐛 [TFTrainer] Wrong number of optimization steps | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"You are right, the number of optimization steps is already fixed in an another PR (#5051). And indeed the batch size for TPUs has to take into account the gradient accumulation, but I put this for later because we don't have yet a proper way to differenciate a run on TPU/CPU/GPU. Also the `unbatch` then `batch` is... | 1,592 | 1,598 | 1,598 | CONTRIBUTOR | null | # 🐛 Bug
It seems TFTrainer compute the wrong number of optimization steps :
https://github.com/huggingface/transformers/blob/e4aaa4580515446cd5a2972ab42fec0b95819c84/src/transformers/trainer_tf.py#L79
**It does not take into account the gradient accumulation**.
---
I believe this line should be changed ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5072/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5071/comments | https://api.github.com/repos/huggingface/transformers/issues/5071/events | https://github.com/huggingface/transformers/issues/5071 | 640,056,524 | MDU6SXNzdWU2NDAwNTY1MjQ= | 5,071 | glue.py Data Processor Index Error for Large Data | {
"login": "dr-aheydari",
"id": 36649087,
"node_id": "MDQ6VXNlcjM2NjQ5MDg3",
"avatar_url": "https://avatars.githubusercontent.com/u/36649087?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dr-aheydari",
"html_url": "https://github.com/dr-aheydari",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hi Ali!\r\nBased on your error info, it seems that a line in your `train.tsv` does not follow the MRPC format. Or more specifically, that line may contain an empty field. Could you add a try-except to catch and print that line? It'll look like:\r\n\r\n```python\r\ntry:\r\n text_a = line[3]\r\nexcept:\r\n pri... | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
I am using `bert-base-uncase` and `roberta-base` for sentence pair classification, following the same exact example concept and data processing as MRPC. I have a large collection of private data that is in the _exact same format of MRPC_, and I am using `run_glue.py`as a base code for runn... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5071/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5071/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5070/comments | https://api.github.com/repos/huggingface/transformers/issues/5070/events | https://github.com/huggingface/transformers/issues/5070 | 639,973,345 | MDU6SXNzdWU2Mzk5NzMzNDU= | 5,070 | Errors while running pytest | {
"login": "archanray",
"id": 22999839,
"node_id": "MDQ6VXNlcjIyOTk5ODM5",
"avatar_url": "https://avatars.githubusercontent.com/u/22999839?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/archanray",
"html_url": "https://github.com/archanray",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi, could you provide the versions of your software, like asked in the issue template?\r\n\r\nNamely tansformer version, python version, pytorch version, tensorflow version ...",
"updated",
"I still don't know what's your transformer version, which is arguably the most important version of the list :sweat_smil... | 1,592 | 1,599 | 1,599 | NONE | null | # ❓ Questions & Help
Hi!
I followed the installation procedures from source for a conda environment.
`make test-examples` returns with the following error:
```
FAILED examples/token-classification/test_ner_examples.py::ExamplesTests::test_run_ner - AssertionError: 2.1329751014709473 not less than 1.5
FAIL... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5070/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5070/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5069/comments | https://api.github.com/repos/huggingface/transformers/issues/5069/events | https://github.com/huggingface/transformers/pull/5069 | 639,960,176 | MDExOlB1bGxSZXF1ZXN0NDM1NDU2ODUw | 5,069 | Typo | {
"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... | [] | closed | false | null | [] | [] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5069/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5069",
"html_url": "https://github.com/huggingface/transformers/pull/5069",
"diff_url": "https://github.com/huggingface/transformers/pull/5069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5069.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5068/comments | https://api.github.com/repos/huggingface/transformers/issues/5068/events | https://github.com/huggingface/transformers/pull/5068 | 639,953,562 | MDExOlB1bGxSZXF1ZXN0NDM1NDUxMzYz | 5,068 | Fix all sphynx warnings | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5068?src=pr&el=h1) Report\n> Merging [#5068](https://codecov.io/gh/huggingface/transformers/pull/5068?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/439aa1d6e9c953069f75fc23c737221d0df2c977&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | This PR touches a lot of files but nothing that should break anything, it's just there to fix all sphynx warnings. Why? Well some of them are just there to annoy us and don't have any effect, but for roughly half of them, there is something wrong going on in the docs so it's best to fix them all, especially to make it ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5068/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5068",
"html_url": "https://github.com/huggingface/transformers/pull/5068",
"diff_url": "https://github.com/huggingface/transformers/pull/5068.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5068.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5067/comments | https://api.github.com/repos/huggingface/transformers/issues/5067/events | https://github.com/huggingface/transformers/issues/5067 | 639,921,212 | MDU6SXNzdWU2Mzk5MjEyMTI= | 5,067 | Modify BERT/BERT-descendants to be TorchScript-able (not just traceable) | {
"login": "sbrody18",
"id": 67021628,
"node_id": "MDQ6VXNlcjY3MDIxNjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/67021628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sbrody18",
"html_url": "https://github.com/sbrody18",
"followers_url": "https://api.github.com/users/sbr... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi! This is interesting. Could you resume what are the changes that would be needed in order to have our models scriptable?",
"Sure, mostly my changes fall into these categories:\r\n\r\n### 1. Class members can only be basic types, None, nn.Modules, or list or tuple thereof\r\n- Solution: don't save whole config... | 1,592 | 1,667 | 1,609 | NONE | null | # 🚀 Feature request
Modify BERT models (src/transformers/modeling_bert.py) to conform to TorchScript requirements, so they can be ``jit.script()``-ed, not just ``jit.trace()``-ed (as is [currently the only supported option](https://huggingface.co/transformers/torchscript.html))
*Note:* I have a working version i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5067/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/5067/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5066/comments | https://api.github.com/repos/huggingface/transformers/issues/5066/events | https://github.com/huggingface/transformers/issues/5066 | 639,915,872 | MDU6SXNzdWU2Mzk5MTU4NzI= | 5,066 | Tokenization+Transformers works with PyTorch but not TensorFlow on TPU | {
"login": "oja",
"id": 5075260,
"node_id": "MDQ6VXNlcjUwNzUyNjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/5075260?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oja",
"html_url": "https://github.com/oja",
"followers_url": "https://api.github.com/users/oja/followers",
"f... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 1834056635,
"node_id": "MDU6TGFiZWwxODM0MDU2NjM1",
... | closed | false | {
"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... | [
"This makes sense! Do you have some examples of some tokenization that can happen on TPUs with TensorFlow, so that we may consider what we have to do to enable this?",
"I am not totally sure, but one thing to look at would probably be TF's native `tf.keras.preprocessing.text.Tokenizer`, which (I think) works when... | 1,592 | 1,605 | 1,605 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...): RoBERTa
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5066/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/5066/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5065/comments | https://api.github.com/repos/huggingface/transformers/issues/5065/events | https://github.com/huggingface/transformers/pull/5065 | 639,879,912 | MDExOlB1bGxSZXF1ZXN0NDM1MzkwNTg3 | 5,065 | [WIP] TF Trainer with TPUs | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5065?src=pr&el=h1) Report\n> Merging [#5065](https://codecov.io/gh/huggingface/transformers/pull/5065?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/fc24a93e6493c2689e5585d12b7c43730ad9b3ea&el=desc) will **decrease... | 1,592 | 1,600 | 1,599 | CONTRIBUTOR | null | This PR is to make the TF trainer fully compliant with the TPUs.
Should fix #5042, #4996 and #4994. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5065/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5065",
"html_url": "https://github.com/huggingface/transformers/pull/5065",
"diff_url": "https://github.com/huggingface/transformers/pull/5065.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5065.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5064/comments | https://api.github.com/repos/huggingface/transformers/issues/5064/events | https://github.com/huggingface/transformers/pull/5064 | 639,836,531 | MDExOlB1bGxSZXF1ZXN0NDM1MzU1MjIy | 5,064 | Reorganize documentation | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5064?src=pr&el=h1) Report\n> Merging [#5064](https://codecov.io/gh/huggingface/transformers/pull/5064?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d5477baf7d87b9bdad386f2f317732b85277b06b&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | This PR does two things:
- reorganize the doc topics in five sections
- complete the model list in the index
Also I cut all lines at 119 chars (like the code) otherwise it's not readable in visual studio code (and I imagine other viewers), removed the stars from authors since it wasn't pointing to anything (can ad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5064/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5064",
"html_url": "https://github.com/huggingface/transformers/pull/5064",
"diff_url": "https://github.com/huggingface/transformers/pull/5064.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5064.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5063/comments | https://api.github.com/repos/huggingface/transformers/issues/5063/events | https://github.com/huggingface/transformers/issues/5063 | 639,812,340 | MDU6SXNzdWU2Mzk4MTIzNDA= | 5,063 | Non-deterministic training issue on GPU: TF-BERT | {
"login": "MFreidank",
"id": 6368040,
"node_id": "MDQ6VXNlcjYzNjgwNDA=",
"avatar_url": "https://avatars.githubusercontent.com/u/6368040?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MFreidank",
"html_url": "https://github.com/MFreidank",
"followers_url": "https://api.github.com/users/MF... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi! [This StackOverflow issue](https://datascience.stackexchange.com/questions/14812/making-keras-tensorflow-code-execution-deterministic-on-a-gpu) might be of interest to you.\r\n\r\nNamely:\r\n\r\n> In fact, the randomness(non-determinstic) is a behavior of GPU.\r\n> \r\n> The reason behind is that cuDNN(and oth... | 1,592 | 1,598 | 1,598 | NONE | null | # 🐛 Bug
## Information
Model I am using (Bert, XLNet ...):
TF-BERT
Language I am using the model on (English, Chinese ...):
English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5063/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5063/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5062/comments | https://api.github.com/repos/huggingface/transformers/issues/5062/events | https://github.com/huggingface/transformers/issues/5062 | 639,784,991 | MDU6SXNzdWU2Mzk3ODQ5OTE= | 5,062 | What do the following parameters mean during the initialization of T5 model? | {
"login": "abhisheknovoic",
"id": 62595485,
"node_id": "MDQ6VXNlcjYyNTk1NDg1",
"avatar_url": "https://avatars.githubusercontent.com/u/62595485?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abhisheknovoic",
"html_url": "https://github.com/abhisheknovoic",
"followers_url": "https://api.gi... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"I added a description of `d_kv`. `d_model` is as you say the size of the embedding. `d_kv` is the size of the key, query, value projections. \r\n\r\nIf you look at this blog post: http://jalammar.github.io/illustrated-transformer/\r\n\r\n`d_model` corresponds to the size of a vector `x_1` and `d_kv` of a vector `q... | 1,592 | 1,592 | 1,592 | NONE | null | Hello,
I am aware of the general Transformer model and I believe it is the same model used in T5 architecture.
I know we have the input vocab_size which is the total number of vocabulary size. Besides this, the important parameters would be the embedding size (the size of the embedding of each token), the numb... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5062/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5061/comments | https://api.github.com/repos/huggingface/transformers/issues/5061/events | https://github.com/huggingface/transformers/issues/5061 | 639,767,976 | MDU6SXNzdWU2Mzk3Njc5NzY= | 5,061 | More flexible wandb support for Trainer | {
"login": "Guitaricet",
"id": 2821124,
"node_id": "MDQ6VXNlcjI4MjExMjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2821124?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Guitaricet",
"html_url": "https://github.com/Guitaricet",
"followers_url": "https://api.github.com/users... | [
{
"id": 2155169140,
"node_id": "MDU6TGFiZWwyMTU1MTY5MTQw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/trainer",
"name": "trainer",
"color": "2ef289",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Yeah I agree with the motivations here. From my experience I like to initialize wandb as soon as the main script starts which has benefits like \r\n- Capturing all the console logs, so if something failed before the execution reached the trainer class one could debug the issue through Wandb. This is specially usef... | 1,592 | 1,593 | 1,593 | NONE | null | # 🚀 Feature request
**A.** Make it possible to initialize wandb outside Trainer class.
**B.** Add `use_wandb` argument to the Trainer arguments.
## Motivation
**A.** Currently, wandb inside Trainer configuration if very limited. There are only three environment variables `WANDB_WATCH`, `WANDB_PROJECT`, and `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5061/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5060/comments | https://api.github.com/repos/huggingface/transformers/issues/5060/events | https://github.com/huggingface/transformers/pull/5060 | 639,665,221 | MDExOlB1bGxSZXF1ZXN0NDM1MjEzOTE1 | 5,060 | Make default_data_collator more flexible and deprecate old behavior | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5060?src=pr&el=h1) Report\n> Merging [#5060](https://codecov.io/gh/huggingface/transformers/pull/5060?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d5477baf7d87b9bdad386f2f317732b85277b06b&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | This PR does two things:
- avoid breaking changes when people had a custom `DataCollator` with a `collate_batch` method (there is still the breaking change with `DataCollator` not being a class anymore)
- makes `default_data_collator` more flexible by handling dicts on top of `InputExamples` classes coming from our... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5060/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5060",
"html_url": "https://github.com/huggingface/transformers/pull/5060",
"diff_url": "https://github.com/huggingface/transformers/pull/5060.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5060.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5059/comments | https://api.github.com/repos/huggingface/transformers/issues/5059/events | https://github.com/huggingface/transformers/pull/5059 | 639,637,030 | MDExOlB1bGxSZXF1ZXN0NDM1MTkxMDEy | 5,059 | [cleanup] examples test_run_squad uses tiny model | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5059?src=pr&el=h1) Report\n> Merging [#5059](https://codecov.io/gh/huggingface/transformers/pull/5059?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/d5477baf7d87b9bdad386f2f317732b85277b06b&el=desc) will **not chan... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | This speeds up the examples tests from 120s to 70s.
Note that this probably understates the difference, since all the relevant models are cached on my local machine.
We can also improve `test_run_glue` in a future PR.
I made an issue discussing improvements this PR does not fix: #5059
### More detail:
Befor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5059/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5059",
"html_url": "https://github.com/huggingface/transformers/pull/5059",
"diff_url": "https://github.com/huggingface/transformers/pull/5059.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5059.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5058/comments | https://api.github.com/repos/huggingface/transformers/issues/5058/events | https://github.com/huggingface/transformers/issues/5058 | 639,636,718 | MDU6SXNzdWU2Mzk2MzY3MTg= | 5,058 | Error when loading Flaubert model | {
"login": "saharghannay",
"id": 41583809,
"node_id": "MDQ6VXNlcjQxNTgzODA5",
"avatar_url": "https://avatars.githubusercontent.com/u/41583809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saharghannay",
"html_url": "https://github.com/saharghannay",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi! Could you show what command you used to launch the script?",
"I was runing the token classification example : https://github.com/huggingface/transformers/blob/master/examples/token-classification/run.sh with flaubert-large-cased as model name. \r\n\r\nI tried to use the downloaded model from https://huggin... | 1,592 | 1,598 | 1,598 | NONE | null | # 🐛 Bug
## Information
I am trying to run the example run_ner.pl using the Flaubert model.
But I got this error:
Traceback (most recent call last):
File "/py37/lib/python3.7/site-packages/torch/serialization.py", line 191, in _check_seekable
f.seek(f.tell())
AttributeError: 'NoneType' object has no... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5058/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5057/comments | https://api.github.com/repos/huggingface/transformers/issues/5057/events | https://github.com/huggingface/transformers/issues/5057 | 639,635,502 | MDU6SXNzdWU2Mzk2MzU1MDI= | 5,057 | Examples tests improvements | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 1108649053,
"node_id": "MDU6TGFiZWwxMTA4NjQ5MDUz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Help%20wanted",
"name": "Help wanted",
"color": "008672",
"default": false,
"description": "Extra attention is needed, help appreciated"
},
{
"id": 1314... | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"Hi, @sshleifer I would like to work on this issue. Shall I take this up.\r\n\r\n",
"Yes, I would pick one item from the list to start with.\r\nMake sure you pull first, I just merged some improvements.",
"@sshleifer I will work on the first one.\r\n\r\nJust to be clear I will note down what I have understood a... | 1,592 | 1,601 | 1,601 | CONTRIBUTOR | null | There are a few things about the `examples/` tests that are suboptimal:
1. They never use cuda or fp16, even if they are available.
2. The `@slow` decorator used in the main tests is not importable, so there are no @slow tests.
3. `test_run_glue` uses distilbert-case-cased. It should use a smaller model, one of th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5057/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5057/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5056/comments | https://api.github.com/repos/huggingface/transformers/issues/5056/events | https://github.com/huggingface/transformers/pull/5056 | 639,605,373 | MDExOlB1bGxSZXF1ZXN0NDM1MTY0ODU1 | 5,056 | Add more tests on tokenizers serialization - fix bugs | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5056?src=pr&el=h1) Report\n> Merging [#5056](https://codecov.io/gh/huggingface/transformers/pull/5056?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/b28b53713161a6299c757c32f7179a2cb2d8cbd7&el=desc) will **increase... | 1,592 | 1,593 | 1,593 | MEMBER | null | Adds more tests on tokenizer serialization (test when adding tokens, special tokens, etc).
Tokenizer's serialization was not thoroughly tested and actually had quite some holes and bugs. Fix related issues. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5056/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5056",
"html_url": "https://github.com/huggingface/transformers/pull/5056",
"diff_url": "https://github.com/huggingface/transformers/pull/5056.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5056.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5055/comments | https://api.github.com/repos/huggingface/transformers/issues/5055/events | https://github.com/huggingface/transformers/issues/5055 | 639,600,385 | MDU6SXNzdWU2Mzk2MDAzODU= | 5,055 | How can I load the finetuned BART model to memory? | {
"login": "tomaszgarbus",
"id": 11790160,
"node_id": "MDQ6VXNlcjExNzkwMTYw",
"avatar_url": "https://avatars.githubusercontent.com/u/11790160?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomaszgarbus",
"html_url": "https://github.com/tomaszgarbus",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Duplicate of #4144 ",
"Thanks!"
] | 1,592 | 1,592 | 1,592 | NONE | null | I have finetuned a `facebook/bart-large` model following the example here: https://github.com/huggingface/transformers/blob/master/examples/summarization/finetune.py
As an output I got a `checkpointcheckpoint_ckpt_epoch_0.ckpt` file. How can I create a BartForConditionalGeneration instance with updated weights? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5055/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5055/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5054/comments | https://api.github.com/repos/huggingface/transformers/issues/5054/events | https://github.com/huggingface/transformers/pull/5054 | 639,594,388 | MDExOlB1bGxSZXF1ZXN0NDM1MTU2MDM2 | 5,054 | Add pad_to_multiple_of on tokenizers (reimport) | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [
{
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.gi... | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5054?src=pr&el=h1) Report\n> Merging [#5054](https://codecov.io/gh/huggingface/transformers/pull/5054?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/24f46ea3f3e5006ca38735306753a846a0823174&el=desc) will **increase... | 1,592 | 1,593 | 1,593 | MEMBER | null | Reimported from #4731.
Introduce `pad_to_multiple_of` on both slow and fast tokenizers. This parameter introduces the "bucketizaton behaviour" also refered as Shape Polymorphism.
This is especially usefull when targetting NN dedicated accelerators such as:
- NVidia Tensor Core (on >= Volta Architecture)
- XLA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5054/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5054",
"html_url": "https://github.com/huggingface/transformers/pull/5054",
"diff_url": "https://github.com/huggingface/transformers/pull/5054.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5054.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5053/comments | https://api.github.com/repos/huggingface/transformers/issues/5053/events | https://github.com/huggingface/transformers/issues/5053 | 639,570,483 | MDU6SXNzdWU2Mzk1NzA0ODM= | 5,053 | T5 model for classification doesn't work properly for large number of classes. | {
"login": "HiteshVamshi",
"id": 11312735,
"node_id": "MDQ6VXNlcjExMzEyNzM1",
"avatar_url": "https://avatars.githubusercontent.com/u/11312735?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HiteshVamshi",
"html_url": "https://github.com/HiteshVamshi",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hi, @HiteshVamshi , what you are trying is highly experimental, I haven't seen anyone using T5 for 100 class classification. So you'll probably need to experiment with it.\r\n\r\nI would like to know few more details\r\n1) What is the size of your dataset\r\n2) which version of t5 are you using (t5-small, t5-base,... | 1,592 | 1,678 | 1,598 | NONE | null | T5 model works properly for 50 class classification but when we try for 100 classes it outputs empty string ("") for a large number of test data. Is this model suitable for multi-class classification with a large number of classes? If yes, what do you think might be the problem with what I am doing. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5053/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5052/comments | https://api.github.com/repos/huggingface/transformers/issues/5052/events | https://github.com/huggingface/transformers/issues/5052 | 639,495,208 | MDU6SXNzdWU2Mzk0OTUyMDg= | 5,052 | How to cosume movement-pruning .h5 models in QnA pipeline | {
"login": "pranavpawar3",
"id": 39311422,
"node_id": "MDQ6VXNlcjM5MzExNDIy",
"avatar_url": "https://avatars.githubusercontent.com/u/39311422?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pranavpawar3",
"html_url": "https://github.com/pranavpawar3",
"followers_url": "https://api.github.c... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hello,\r\nI've only work with PyTorch for all the experiments for movement pruning (even though I've converted the checkpoints in the hub to their TF version).\r\nThe instructions in the notebook show you how you can load a optimized version of the checkpoint (pruning+quantization) which was saved with hdf5 with a... | 1,592 | 1,601 | 1,601 | CONTRIBUTOR | null | # ❓ Questions & Help
## Details
Hi, I am working on the movement pruning method for QnA models. I have performed all the [given steps](https://github.com/huggingface/transformers/tree/master/examples/movement-pruning) in order to generate the pruned model and then used [this notebook](https://github.com/huggingfa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5052/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5051/comments | https://api.github.com/repos/huggingface/transformers/issues/5051/events | https://github.com/huggingface/transformers/pull/5051 | 639,486,133 | MDExOlB1bGxSZXF1ZXN0NDM1MDY2MDQ1 | 5,051 | Fix LR decay in TF Trainer | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5051?src=pr&el=h1) Report\n> Merging [#5051](https://codecov.io/gh/huggingface/transformers/pull/5051?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/9022ef021a56db975d25c7108cbd19d0dd399174&el=desc) will **increase... | 1,592 | 1,593 | 1,593 | CONTRIBUTOR | null | This PR fixes mainly the issue #5045. It also provides a better alignment with the PT trainer with:
- a `set_seed()` function
- use the `logging_first_step` argument
- better logging message when training and load from checkpoint | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5051/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5051",
"html_url": "https://github.com/huggingface/transformers/pull/5051",
"diff_url": "https://github.com/huggingface/transformers/pull/5051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5051.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5050/comments | https://api.github.com/repos/huggingface/transformers/issues/5050/events | https://github.com/huggingface/transformers/issues/5050 | 639,471,859 | MDU6SXNzdWU2Mzk0NzE4NTk= | 5,050 | TypeError: function() argument 1 must be code, not str | {
"login": "manhlab",
"id": 47383746,
"node_id": "MDQ6VXNlcjQ3MzgzNzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/47383746?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manhlab",
"html_url": "https://github.com/manhlab",
"followers_url": "https://api.github.com/users/manhla... | [] | closed | false | null | [] | [
"I get this error when create datacollator class",
"Could you provide more information? It's a bit hard to help you here. What is the code you're using and what is the stacktrace?",
"thanks you! i have the same problem with this #5049 "
] | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
TypeError: function() argument 1 must be code, not str
## Information
@dataclass
class T2TDataCollator(DataCollator):
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5050/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5049/comments | https://api.github.com/repos/huggingface/transformers/issues/5049/events | https://github.com/huggingface/transformers/issues/5049 | 639,462,781 | MDU6SXNzdWU2Mzk0NjI3ODE= | 5,049 | DataCollator problem | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [
"i have the same. It is new bug. i run this week ago and worked",
"try this:\r\n```python\r\nclass T2TDataCollator:\r\n def __call__(self, batch):\r\n```\r\n",
"@abrozso Hi and thanks for the hint, however, it doesn't seem to fix the problem.\r\nI got the following error when the fine-tuning starts:\r\n\r\n0... | 1,592 | 1,610 | 1,592 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5049/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5048/comments | https://api.github.com/repos/huggingface/transformers/issues/5048/events | https://github.com/huggingface/transformers/issues/5048 | 639,390,375 | MDU6SXNzdWU2MzkzOTAzNzU= | 5,048 | After I resume learning, loss is greater than prev checkpoint | {
"login": "urekalion",
"id": 4244158,
"node_id": "MDQ6VXNlcjQyNDQxNTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4244158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/urekalion",
"html_url": "https://github.com/urekalion",
"followers_url": "https://api.github.com/users/ur... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi! What did you use to train your model? Was it the `run_language_modeling` script? Do you happen to have the command you used?",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,592 | 1,598 | 1,598 | NONE | null | # ❓ Questions & Help
## Details
I learned albert mlm model.
Often an error occurs (memory exception, ... )
so i resumed learning model from last checkpoint
but, training loss goes back to the beginning.
what do i need to check ?
thank,
\r\nbconfig.type_vocab_size = 16\r\nmodel = BertModel(bconfig)\r\nmodel.parameters\r\n# ...\r\n# (token_type_embeddings): Embe... | 1,592 | 1,604 | 1,604 | NONE | null | I have a dialogue task and I use token type to distinguish the diffenrent state of the different speeches, but all the pretrained models I can find are of type_vocab_size=2. To accomplish my goal, I have to rewrite many codes in a dirty way. So I want to ask is there an elegant way to restore the pretrained weights and... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5047/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5046/comments | https://api.github.com/repos/huggingface/transformers/issues/5046/events | https://github.com/huggingface/transformers/issues/5046 | 639,332,077 | MDU6SXNzdWU2MzkzMzIwNzc= | 5,046 | ref #4733 | {
"login": "etveritas",
"id": 27916175,
"node_id": "MDQ6VXNlcjI3OTE2MTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/27916175?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/etveritas",
"html_url": "https://github.com/etveritas",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"@patrickvonplaten hello, Is there a way to solve this problem",
"Closing since a duplicate of https://github.com/huggingface/transformers/issues/4733. "
] | 1,592 | 1,592 | 1,592 | NONE | null |
# 🐛 Bug
## Information
Model I am using TFBertEncoder:
Language I am using the model on English:
The problem arises when using:
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* [x] my own task or dataset: (give details below)
## To reproduce
Steps to repr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5046/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5045/comments | https://api.github.com/repos/huggingface/transformers/issues/5045/events | https://github.com/huggingface/transformers/issues/5045 | 639,310,313 | MDU6SXNzdWU2MzkzMTAzMTM= | 5,045 | TFTrainer does not consider number of epochs when calculating learning rate | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"This is fixed"
] | 1,592 | 1,594 | 1,594 | CONTRIBUTOR | null | # 🐛 Bug
`TFTrainer` does not consider number of epochs when calculating learning rate
## Information
When using `TFTrainer`, learning rate decreases to 0 at the end of the first epoch, even when we want to train on multiple epochs.
The problem arises when using:
* [X] the official example scripts: (give det... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5045/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5044/comments | https://api.github.com/repos/huggingface/transformers/issues/5044/events | https://github.com/huggingface/transformers/pull/5044 | 639,306,135 | MDExOlB1bGxSZXF1ZXN0NDM0OTIyNTE1 | 5,044 | refactor(wandb): consolidate import | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5044?src=pr&el=h1) Report\n> Merging [#5044](https://codecov.io/gh/huggingface/transformers/pull/5044?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/f9f8a5312e92541ff9a5f483fc4907ec87da876e&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | This PR consolidates the import logic of wandb as suggested [here](https://github.com/huggingface/transformers/pull/4946#discussion_r440070708) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5044/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5044",
"html_url": "https://github.com/huggingface/transformers/pull/5044",
"diff_url": "https://github.com/huggingface/transformers/pull/5044.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5044.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5043/comments | https://api.github.com/repos/huggingface/transformers/issues/5043/events | https://github.com/huggingface/transformers/pull/5043 | 639,276,106 | MDExOlB1bGxSZXF1ZXN0NDM0ODk4NDM2 | 5,043 | Fix marian tokenizer save pretrained | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5043?src=pr&el=h1) Report\n> Merging [#5043](https://codecov.io/gh/huggingface/transformers/pull/5043?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/36434220fc807c5015bc8f0f1e50ab21f7d34914&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5043/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5043",
"html_url": "https://github.com/huggingface/transformers/pull/5043",
"diff_url": "https://github.com/huggingface/transformers/pull/5043.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5043.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5042/comments | https://api.github.com/repos/huggingface/transformers/issues/5042/events | https://github.com/huggingface/transformers/issues/5042 | 639,270,838 | MDU6SXNzdWU2MzkyNzA4Mzg= | 5,042 | ❓ [TFTrainer] How to run on 8 TPU cores ? | {
"login": "astariul",
"id": 43774355,
"node_id": "MDQ6VXNlcjQzNzc0MzU1",
"avatar_url": "https://avatars.githubusercontent.com/u/43774355?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/astariul",
"html_url": "https://github.com/astariul",
"followers_url": "https://api.github.com/users/ast... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
}
] | closed | false | null | [] | [
"Hello !\r\n\r\nThis is because the `--tpu_num_cores` is not taken into account yet. If you want to use TPUs, just fill the TPU name with `--tpu_name` and it will detect automatically the number of cores. For now TPUs with TF Trainer is under development so some use cases might not work properly.",
"Thanks for th... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | # ❓ Questions & Help
I'm trying to run TFTrainer on 8 TPU cores, but I don't understand how to make it work.
I tried running my script with the flags `--tpu_num_cores 8 --per_device_train_batch_size 8`, expecting each core to handle a batch size of 1.
But when I print the shape of my inputs, I have `[8, x]` in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5042/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5041/comments | https://api.github.com/repos/huggingface/transformers/issues/5041/events | https://github.com/huggingface/transformers/issues/5041 | 639,256,274 | MDU6SXNzdWU2MzkyNTYyNzQ= | 5,041 | How can I use tokenizer.encode_plus to input and encode 2 sentences - (query,answer) pair for training a BERT binary classifier? | {
"login": "soumya-ranjan-sahoo",
"id": 36735094,
"node_id": "MDQ6VXNlcjM2NzM1MDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/36735094?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soumya-ranjan-sahoo",
"html_url": "https://github.com/soumya-ranjan-sahoo",
"followers_url": ... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Here my intention is to train a BERT binary classifier which classifies if an answer corresponding to a given query is correct. How do I proceed to encode the query, answer pair in the Input?",
"@soumya-ranjan-sahoo You could check the [token type ids](https://huggingface.co/transformers/glossary.html#token-type... | 1,592 | 1,598 | 1,598 | NONE | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5041/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5040/comments | https://api.github.com/repos/huggingface/transformers/issues/5040/events | https://github.com/huggingface/transformers/issues/5040 | 639,232,413 | MDU6SXNzdWU2MzkyMzI0MTM= | 5,040 | "AutoTokenizer.from_pretrained" does not work when loading a pretrained MarianTokenizer from a local directory | {
"login": "erikchwang",
"id": 16256959,
"node_id": "MDQ6VXNlcjE2MjU2OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/16256959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erikchwang",
"html_url": "https://github.com/erikchwang",
"followers_url": "https://api.github.com/use... | [
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | closed | false | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api... | [
"I noticed that after saving the pretrained MarianTokenizer to \"my_dir\", the \"source.spm\" file and \"target.spm\" file are actually named as:\r\n\r\n> 1bec78f268e25152d11e6efa41998f2ebebe3ce5452c952c90fc7264c8c45a5b.23f506277c63e64e484c4de9d754a6625e5ba734bb6153470be9b7ffdb7c4ac5\r\n\r\nand\r\n\r\n> 5f95a1efcd8... | 1,592 | 1,642 | 1,592 | NONE | null | # 🐛 Bug
## Information
I want to save MarianConfig, MarianTokenizer, and MarianMTModel to a local directory ("my_dir") and then load them:
> import transformers
>
> transformers.AutoConfig.from_pretrained("Helsinki-NLP/opus-mt-en-de").save_pretrained("my_dir")
> transformers.AutoTokenizer.from_pretrained... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5040/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5039/comments | https://api.github.com/repos/huggingface/transformers/issues/5039/events | https://github.com/huggingface/transformers/pull/5039 | 639,226,874 | MDExOlB1bGxSZXF1ZXN0NDM0ODU1MjI3 | 5,039 | Ability to pickle/unpickle BatchEncoding pickle (reimport) | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5039?src=pr&el=h1) Report\n> Merging [#5039](https://codecov.io/gh/huggingface/transformers/pull/5039?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/36434220fc807c5015bc8f0f1e50ab21f7d34914&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | MEMBER | null | Overrides the methods get_state() & set_state() to (respectively) export the content of the underlying data dictionnary and - if defined - the content of encodings.
Unittests added to covert the serialization & deserialization of all the exported properties.
Reimported from #4515 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5039/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5039",
"html_url": "https://github.com/huggingface/transformers/pull/5039",
"diff_url": "https://github.com/huggingface/transformers/pull/5039.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5039.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5038/comments | https://api.github.com/repos/huggingface/transformers/issues/5038/events | https://github.com/huggingface/transformers/issues/5038 | 639,221,809 | MDU6SXNzdWU2MzkyMjE4MDk= | 5,038 | Cannot save and load pretrained MarianTokenizer | {
"login": "erikchwang",
"id": 16256959,
"node_id": "MDQ6VXNlcjE2MjU2OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/16256959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erikchwang",
"html_url": "https://github.com/erikchwang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
" #4371 "
] | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
I want to save a pretrained MarianTokenizer to a local directory ("my_dir") and then load it:
> import transformers
> transformers.AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-de").save_pretrained("my_dir")
> tokenizer = transformers.AutoTokenizer.from_pretrained("my_dir")
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5038/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5037/comments | https://api.github.com/repos/huggingface/transformers/issues/5037/events | https://github.com/huggingface/transformers/issues/5037 | 639,221,099 | MDU6SXNzdWU2MzkyMjEwOTk= | 5,037 | The correct way to save and load pretrained MarianTokenizer? | {
"login": "erikchwang",
"id": 16256959,
"node_id": "MDQ6VXNlcjE2MjU2OTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/16256959?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erikchwang",
"html_url": "https://github.com/erikchwang",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
" #4371"
] | 1,592 | 1,592 | 1,592 | NONE | null | I want to save a pretrained MarianTokenizer to a local directory ("my_dir") and then load it:
> import transformers
> transformers.AutoTokenizer.from_pretrained("Helsinki-NLP/opus-mt-en-de").save_pretrained("my_dir")
> tokenizer = transformers.AutoTokenizer.from_pretrained("my_dir")
But the above code failed:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5037/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5036/comments | https://api.github.com/repos/huggingface/transformers/issues/5036/events | https://github.com/huggingface/transformers/pull/5036 | 639,218,116 | MDExOlB1bGxSZXF1ZXN0NDM0ODQ3Nzkw | 5,036 | Refactor Code samples; Test code samples | {
"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 | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5036?src=pr&el=h1) Report\n> Merging [#5036](https://codecov.io/gh/huggingface/transformers/pull/5036?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/24f46ea3f3e5006ca38735306753a846a0823174&el=desc) will **increase... | 1,592 | 1,593 | 1,593 | MEMBER | null | Refactoring the code samples in order to prevent copy/pasting the same code samples across classes while updating the model/tokenizer classes and checkpoint names.
- All models now have their docstrings updated.
- Doctest is used for testing
- Fixed a bunch of bugs in all docstrings as well as a few models. All n... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5036/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5036",
"html_url": "https://github.com/huggingface/transformers/pull/5036",
"diff_url": "https://github.com/huggingface/transformers/pull/5036.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5036.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5035/comments | https://api.github.com/repos/huggingface/transformers/issues/5035/events | https://github.com/huggingface/transformers/pull/5035 | 639,211,774 | MDExOlB1bGxSZXF1ZXN0NDM0ODQyMzQ5 | 5,035 | update for roberta and xlm | {
"login": "bsinghpratap",
"id": 7297516,
"node_id": "MDQ6VXNlcjcyOTc1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7297516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bsinghpratap",
"html_url": "https://github.com/bsinghpratap",
"followers_url": "https://api.github.com... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,592 | 1,598 | 1,598 | NONE | null | Two changes are done:
Update the inputs with langs during training and evaluation.
Update the token_type_ids for Roberta otherwise it throws an error while creating features. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5035/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5035",
"html_url": "https://github.com/huggingface/transformers/pull/5035",
"diff_url": "https://github.com/huggingface/transformers/pull/5035.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5035.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5034/comments | https://api.github.com/repos/huggingface/transformers/issues/5034/events | https://github.com/huggingface/transformers/pull/5034 | 639,203,069 | MDExOlB1bGxSZXF1ZXN0NDM0ODM0NTc2 | 5,034 | Training & fine-tuning quickstart | {
"login": "joeddav",
"id": 9353833,
"node_id": "MDQ6VXNlcjkzNTM4MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9353833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joeddav",
"html_url": "https://github.com/joeddav",
"followers_url": "https://api.github.com/users/joeddav/... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5034?src=pr&el=h1) Report\n> Merging [#5034](https://codecov.io/gh/huggingface/transformers/pull/5034?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/24f46ea3f3e5006ca38735306753a846a0823174&el=desc) will **increase... | 1,592 | 1,598 | 1,593 | CONTRIBUTOR | null | This PR adds a short guide to the docs demonstrating how to train & fine-tune models in native PyTorch, native TF2, and using Trainer.
My aim was not to show how to train on every type of task, but simply to communicate the key points along with a couple of very simple and easy-to-follow examples. More involved exam... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5034/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5034/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5034",
"html_url": "https://github.com/huggingface/transformers/pull/5034",
"diff_url": "https://github.com/huggingface/transformers/pull/5034.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5034.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5033/comments | https://api.github.com/repos/huggingface/transformers/issues/5033/events | https://github.com/huggingface/transformers/pull/5033 | 639,199,741 | MDExOlB1bGxSZXF1ZXN0NDM0ODMxNDk2 | 5,033 | update for roberta and xlm | {
"login": "bsinghpratap",
"id": 7297516,
"node_id": "MDQ6VXNlcjcyOTc1MTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7297516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bsinghpratap",
"html_url": "https://github.com/bsinghpratap",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"check_code_quality failed. Updating and sending a new request."
] | 1,592 | 1,592 | 1,592 | NONE | null | Two changes are done:
1. Update the inputs with langs during training and evaluation.
2. Update the token_type_ids for Roberta otherwise it throws an error while creating features. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5033/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5033",
"html_url": "https://github.com/huggingface/transformers/pull/5033",
"diff_url": "https://github.com/huggingface/transformers/pull/5033.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5033.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/5032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5032/comments | https://api.github.com/repos/huggingface/transformers/issues/5032/events | https://github.com/huggingface/transformers/pull/5032 | 639,189,675 | MDExOlB1bGxSZXF1ZXN0NDM0ODIyMjkx | 5,032 | Add DistilBertForMultipleChoice | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5032?src=pr&el=h1) Report\n> Merging [#5032](https://codecov.io/gh/huggingface/transformers/pull/5032?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bbad4c6989d489097f42bbe38001a3f8ca1c5c11&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | Another missing model | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5032/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5032",
"html_url": "https://github.com/huggingface/transformers/pull/5032",
"diff_url": "https://github.com/huggingface/transformers/pull/5032.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5032.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5031/comments | https://api.github.com/repos/huggingface/transformers/issues/5031/events | https://github.com/huggingface/transformers/pull/5031 | 639,147,997 | MDExOlB1bGxSZXF1ZXN0NDM0Nzg0NDgz | 5,031 | Some changes to simplify the generation function | {
"login": "yjernite",
"id": 10469459,
"node_id": "MDQ6VXNlcjEwNDY5NDU5",
"avatar_url": "https://avatars.githubusercontent.com/u/10469459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yjernite",
"html_url": "https://github.com/yjernite",
"followers_url": "https://api.github.com/users/yje... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5031?src=pr&el=h1) Report\n> Merging [#5031](https://codecov.io/gh/huggingface/transformers/pull/5031?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/7291ea0bff57a017e71b1ea8ec01ff19da298bf0&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | MEMBER | null | This PR proposes to simplify generation in `modeling_utils.py` in the following ways:
1. Removing some redundant code in `_generate_no_beam_search`: finished sequences are padded at generation time, and do not need to be padded again before returning
2. Initializes the cache in its permanent form directly for both ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5031/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5031",
"html_url": "https://github.com/huggingface/transformers/pull/5031",
"diff_url": "https://github.com/huggingface/transformers/pull/5031.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5031.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5030/comments | https://api.github.com/repos/huggingface/transformers/issues/5030/events | https://github.com/huggingface/transformers/pull/5030 | 639,130,669 | MDExOlB1bGxSZXF1ZXN0NDM0NzY5MzE0 | 5,030 | Update pipeline examples to doctest syntax | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5030?src=pr&el=h1) Report\n> Merging [#5030](https://codecov.io/gh/huggingface/transformers/pull/5030?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bbad4c6989d489097f42bbe38001a3f8ca1c5c11&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | Also fix the values to what's returned. This way we can run
```
python -m doctest README.md
```
to test this codes produces the exact same results. Not sure if we want to include this in our CI in some way.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5030/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5030",
"html_url": "https://github.com/huggingface/transformers/pull/5030",
"diff_url": "https://github.com/huggingface/transformers/pull/5030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5030.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5029/comments | https://api.github.com/repos/huggingface/transformers/issues/5029/events | https://github.com/huggingface/transformers/pull/5029 | 639,127,257 | MDExOlB1bGxSZXF1ZXN0NDM0NzY2MzQ1 | 5,029 | Add reference to NLP (package) dataset | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5029?src=pr&el=h1) Report\n> Merging [#5029](https://codecov.io/gh/huggingface/transformers/pull/5029?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bbad4c6989d489097f42bbe38001a3f8ca1c5c11&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5029/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5029",
"html_url": "https://github.com/huggingface/transformers/pull/5029",
"diff_url": "https://github.com/huggingface/transformers/pull/5029.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5029.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5028/comments | https://api.github.com/repos/huggingface/transformers/issues/5028/events | https://github.com/huggingface/transformers/pull/5028 | 639,124,288 | MDExOlB1bGxSZXF1ZXN0NDM0NzY0MDEx | 5,028 | Add reference to NLP dataset | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"I forgot to add the meta tag:\r\ndatasets:\r\n- squad_v2\r\n\r\nSorry",
"same here"
] | 1,592 | 1,592 | 1,592 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5028/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5028",
"html_url": "https://github.com/huggingface/transformers/pull/5028",
"diff_url": "https://github.com/huggingface/transformers/pull/5028.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5028.patch",
"merged_at": 1... | |
https://api.github.com/repos/huggingface/transformers/issues/5027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5027/comments | https://api.github.com/repos/huggingface/transformers/issues/5027/events | https://github.com/huggingface/transformers/pull/5027 | 639,116,493 | MDExOlB1bGxSZXF1ZXN0NDM0NzU3MTYz | 5,027 | Remove old doc page and add note about cache in installation | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5027?src=pr&el=h1) Report\n> Merging [#5027](https://codecov.io/gh/huggingface/transformers/pull/5027?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/bbad4c6989d489097f42bbe38001a3f8ca1c5c11&el=desc) will **increase... | 1,592 | 1,597 | 1,592 | COLLABORATOR | null | As discussed offline, removing the old page "Loading Google AI or OpenAI pre-trained weights or PyTorch dump" and move the not about cache in the installation folder (also, making that up to date ^^). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5027/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5027",
"html_url": "https://github.com/huggingface/transformers/pull/5027",
"diff_url": "https://github.com/huggingface/transformers/pull/5027.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5027.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5026/comments | https://api.github.com/repos/huggingface/transformers/issues/5026/events | https://github.com/huggingface/transformers/issues/5026 | 639,087,241 | MDU6SXNzdWU2MzkwODcyNDE= | 5,026 | Error while trying to retrieve BERT embeddings for a custom task | {
"login": "adithya8",
"id": 19238403,
"node_id": "MDQ6VXNlcjE5MjM4NDAz",
"avatar_url": "https://avatars.githubusercontent.com/u/19238403?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adithya8",
"html_url": "https://github.com/adithya8",
"followers_url": "https://api.github.com/users/adi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi! The error seems to come from your data processing. It's hard to help you without knowing what your inputs are, how `pad_sequence` works, and how you tokenize your inputs.\r\n\r\nIn recent transformers versions, the tokenizer can take care of truncating/padding and do so for input ids, attention masks and token... | 1,592 | 1,598 | 1,598 | NONE | null | # 🐛 Bug
## Information
I am using BERT [base-uncased].
Language I am using the model on (English, Chinese ...): English
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [x] my own modified scripts: (give details below)
The tasks I am working on is:
* [ ] an offici... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5026/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/5026/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5025/comments | https://api.github.com/repos/huggingface/transformers/issues/5025/events | https://github.com/huggingface/transformers/pull/5025 | 639,086,544 | MDExOlB1bGxSZXF1ZXN0NDM0NzMxMDc1 | 5,025 | Convert hans to Trainer | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5025?src=pr&el=h1) Report\n> Merging [#5025](https://codecov.io/gh/huggingface/transformers/pull/5025?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1bf4098e03afaed2c6e3671c69fd57e9ac304752&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | This follows up from #4854 (@julien-c I took all your comments into account) and will close #4742. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5025/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5025",
"html_url": "https://github.com/huggingface/transformers/pull/5025",
"diff_url": "https://github.com/huggingface/transformers/pull/5025.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5025.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5024/comments | https://api.github.com/repos/huggingface/transformers/issues/5024/events | https://github.com/huggingface/transformers/pull/5024 | 639,064,651 | MDExOlB1bGxSZXF1ZXN0NDM0NzEyNTE3 | 5,024 | [Bart] Question Answering Model is added to tests | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5024?src=pr&el=h1) Report\n> Merging [#5024](https://codecov.io/gh/huggingface/transformers/pull/5024?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1bf4098e03afaed2c6e3671c69fd57e9ac304752&el=desc) will **decrease... | 1,592 | 1,592 | 1,592 | MEMBER | null | As written in PR #4908, the Bart for QA was not added to the test suite. This PR fixes the output attentions test for encoder decoder QA models.
If we would have named tuples, such a test could be made much much cleaner. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5024",
"html_url": "https://github.com/huggingface/transformers/pull/5024",
"diff_url": "https://github.com/huggingface/transformers/pull/5024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5024.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/5023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5023/comments | https://api.github.com/repos/huggingface/transformers/issues/5023/events | https://github.com/huggingface/transformers/issues/5023 | 639,040,670 | MDU6SXNzdWU2MzkwNDA2NzA= | 5,023 | Multi class classification using Reformer Model | {
"login": "as-stevens",
"id": 61624036,
"node_id": "MDQ6VXNlcjYxNjI0MDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/61624036?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/as-stevens",
"html_url": "https://github.com/as-stevens",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"In the reformer projects there is only an card for QA task.\r\nNothing about reformerforsequenceclassification or other model heads.\r\n@patrickvonplaten has assigned the tasks to himself.\r\nAre there any more steps to do when I want to pretrain reformer on larger datasets using the notebook ?\r\nSpecifically we ... | 1,592 | 1,605 | 1,596 | CONTRIBUTOR | null | # ❓ Questions & Help
<!-- The GitHub issue tracker is primarly intended for bugs, feature requests,
new models and benchmarks, and migration questions. For all other questions,
we direct you to Stack Overflow (SO) where a whole community of PyTorch and
Tensorflow enthusiast can help you out. Make s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5023/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5022/comments | https://api.github.com/repos/huggingface/transformers/issues/5022/events | https://github.com/huggingface/transformers/issues/5022 | 639,008,090 | MDU6SXNzdWU2MzkwMDgwOTA= | 5,022 | Latest merge [Benchmark] Memory benchmark utils #4198 fails at Windows | {
"login": "songsuoyuan",
"id": 1378976,
"node_id": "MDQ6VXNlcjEzNzg5NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/1378976?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/songsuoyuan",
"html_url": "https://github.com/songsuoyuan",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"Thanks for noting that - you're 100% correct :-) "
] | 1,592 | 1,592 | 1,592 | NONE | null | # 🐛 Bug
## Information
Model I am using: Bert
## To reproduce
Steps to reproduce the behavior:
1. Windows
2. Install transformers from source
## Environment info
python = 3.7.6
pytorch = 1.5
cuda = 10.2
I think the problem happens because in code:
https://github.com/huggingface/transformers/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5022/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/5021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/5021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/5021/comments | https://api.github.com/repos/huggingface/transformers/issues/5021/events | https://github.com/huggingface/transformers/pull/5021 | 638,999,645 | MDExOlB1bGxSZXF1ZXN0NDM0NjU5OTg3 | 5,021 | Add position_ids in TFElectra models docstring | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"# [Codecov](https://codecov.io/gh/huggingface/transformers/pull/5021?src=pr&el=h1) Report\n> Merging [#5021](https://codecov.io/gh/huggingface/transformers/pull/5021?src=pr&el=desc) into [master](https://codecov.io/gh/huggingface/transformers/commit/1affde2f10c653e36601dd7a3e6a2525ae7ced57&el=desc) will **increase... | 1,592 | 1,592 | 1,592 | COLLABORATOR | null | Just a small thing, but it was forgotten when adding those I guess. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/5021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/5021/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/5021",
"html_url": "https://github.com/huggingface/transformers/pull/5021",
"diff_url": "https://github.com/huggingface/transformers/pull/5021.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/5021.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.