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/13046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13046/comments | https://api.github.com/repos/huggingface/transformers/issues/13046/events | https://github.com/huggingface/transformers/issues/13046 | 963,796,051 | MDU6SXNzdWU5NjM3OTYwNTE= | 13,046 | TFBertPreTrainingLoss has something wrong | {
"login": "ultimatedaotu",
"id": 58505034,
"node_id": "MDQ6VXNlcjU4NTA1MDM0",
"avatar_url": "https://avatars.githubusercontent.com/u/58505034?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ultimatedaotu",
"html_url": "https://github.com/ultimatedaotu",
"followers_url": "https://api.githu... | [] | closed | false | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [
{
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url"... | [
"Hi, thanks for the issue but I'll need a little more info to investigate! Do you encounter an error when you run the code, or do you believe the outputted loss is incorrect? If you encounter an error, can you paste it here? If the loss is incorrect, can you upload a sample batch of data (e.g. a pickled dict of Num... | 1,628 | 1,631 | 1,631 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:
- Python version: 3.8
- PyTorch version (GPU?):
- Tensorflow version (GPU?): 2.5
- Using GPU i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13046/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13045/comments | https://api.github.com/repos/huggingface/transformers/issues/13045/events | https://github.com/huggingface/transformers/pull/13045 | 963,510,502 | MDExOlB1bGxSZXF1ZXN0NzA2MTAzMjQ5 | 13,045 | Add FNet | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Not sure why this test fails:\r\n```python\r\n=========================== short test summary info ============================\r\nFAILED tests/extended/test_trainer_ext.py::TestTrainerExt::test_run_seq2seq_no_dist\r\n==== 1 failed, 7169 passed, 3466 skipped, 708 warnings in 832.52s (0:13:52) ====\r\n\r\n```",
"T... | 1,628 | 1,632 | 1,632 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the [FNet](https://arxiv.org/abs/2105.03824) model in PyTorch. I was working on it in another PR #12335 which got closed due to inactivity ;-;. This PR closes issue #12411.
## Checklist
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13045/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13045",
"html_url": "https://github.com/huggingface/transformers/pull/13045",
"diff_url": "https://github.com/huggingface/transformers/pull/13045.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13045.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13044/comments | https://api.github.com/repos/huggingface/transformers/issues/13044/events | https://github.com/huggingface/transformers/issues/13044 | 963,507,665 | MDU6SXNzdWU5NjM1MDc2NjU= | 13,044 | MLM example not able to run_mlm_flax.py | {
"login": "R4ZZ3",
"id": 25264037,
"node_id": "MDQ6VXNlcjI1MjY0MDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/25264037?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/R4ZZ3",
"html_url": "https://github.com/R4ZZ3",
"followers_url": "https://api.github.com/users/R4ZZ3/follow... | [] | closed | false | null | [] | [
"Hey @R4ZZ3,\r\n\r\nCan you run:\r\n\r\n```transformers-cli env```\r\n\r\nAnd post the output here?",
"Sure, I will run it late this evening and post output here (UTC +3)",
"Ok, found time in between the day @patrickvonplaten \r\n\r\n- `transformers` version: 4.3.3\r\n- Platform: Linux-5.4.0-1043-gcp-x86_64-wit... | 1,628 | 1,628 | 1,628 | NONE | null | I am going through this mlm exaxmple on Google TPU VM instance v3-8 https://github.com/huggingface/transformers/tree/master/examples/flax/language-modeling
I have defined MODEL_DIR with:
export MODEL_DIR="./norwegian-roberta-base"
I have defined symbolic link with:
ln -s home/Admin/Research/transformers/example... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13044/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13043/comments | https://api.github.com/repos/huggingface/transformers/issues/13043/events | https://github.com/huggingface/transformers/issues/13043 | 963,451,880 | MDU6SXNzdWU5NjM0NTE4ODA= | 13,043 | [DeepSpeed] DeepSpeed 0.4.4 does not run with Wav2Vec2 pretraining script | {
"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 | [] | [
"@patrickvonplaten,\r\n\r\nThis is definitely something for Deepspeed and not our integration since you have a segfault in building the kernels:\r\n\r\n```\r\n[1/3] /usr/bin/nvcc --generate-dependencies-with-compile --dependency-output custom_cuda_kernel.cuda.o.d -DTORCH_EXTENSION_NAME=cpu_adam -DTORCH_API_INCLUDE_... | 1,628 | 1,631 | 1,631 | MEMBER | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.10.0.dev0
- Platform: Linux-5.11.0-25-generic-x86_64-with-glibc2.33
- Python version: 3.9.1
- PyTorch vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13043/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13043/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13042/comments | https://api.github.com/repos/huggingface/transformers/issues/13042/events | https://github.com/huggingface/transformers/pull/13042 | 963,439,918 | MDExOlB1bGxSZXF1ZXN0NzA2MDQ5MTk0 | 13,042 | Squad bert | {
"login": "kamfonas",
"id": 13737870,
"node_id": "MDQ6VXNlcjEzNzM3ODcw",
"avatar_url": "https://avatars.githubusercontent.com/u/13737870?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kamfonas",
"html_url": "https://github.com/kamfonas",
"followers_url": "https://api.github.com/users/kam... | [] | closed | false | null | [] | [
"Please disregard. "
] | 1,628 | 1,628 | 1,628 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13042/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13042",
"html_url": "https://github.com/huggingface/transformers/pull/13042",
"diff_url": "https://github.com/huggingface/transformers/pull/13042.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13042.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13041/comments | https://api.github.com/repos/huggingface/transformers/issues/13041/events | https://github.com/huggingface/transformers/issues/13041 | 963,423,018 | MDU6SXNzdWU5NjM0MjMwMTg= | 13,041 | Script to convert the bart model from pytorch checkpoint to tensorflow checkpoint | {
"login": "mazicwong",
"id": 17029801,
"node_id": "MDQ6VXNlcjE3MDI5ODAx",
"avatar_url": "https://avatars.githubusercontent.com/u/17029801?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mazicwong",
"html_url": "https://github.com/mazicwong",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | # Feature request
Request for a script to convert the bart model from pytorch checkpoint to tensorflow checkpoint
# Solution
https://github.com/huggingface/transformers/blob/master/src/transformers/convert_pytorch_checkpoint_to_tf2.py | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13041/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13040/comments | https://api.github.com/repos/huggingface/transformers/issues/13040/events | https://github.com/huggingface/transformers/pull/13040 | 963,399,896 | MDExOlB1bGxSZXF1ZXN0NzA2MDE3OTc0 | 13,040 | Add try-except for torch_scatter | {
"login": "JetRunner",
"id": 22514219,
"node_id": "MDQ6VXNlcjIyNTE0MjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JetRunner",
"html_url": "https://github.com/JetRunner",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"I don't think this will work. It's a `RuntimeError` being raised by `torch_scatter`, not an `OSError`. See the specific code at [line 59 of `__init__.py`](https://github.com/rusty1s/pytorch_scatter/blob/2.0.8/torch_scatter/__init__.py#L59). Also, this replaces the existing informative error message from `torch_sca... | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | Add an error message for the CUDA version mismatch of `torch_scatter`.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13040/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13040",
"html_url": "https://github.com/huggingface/transformers/pull/13040",
"diff_url": "https://github.com/huggingface/transformers/pull/13040.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13040.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13039/comments | https://api.github.com/repos/huggingface/transformers/issues/13039/events | https://github.com/huggingface/transformers/pull/13039 | 963,379,401 | MDExOlB1bGxSZXF1ZXN0NzA2MDAyNDQw | 13,039 | Remove usage of local variables related with model parallel and move … | {
"login": "hyunwoongko",
"id": 38183241,
"node_id": "MDQ6VXNlcjM4MTgzMjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/38183241?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hyunwoongko",
"html_url": "https://github.com/hyunwoongko",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Most of these modifications are encoder-decoder models from Bart's code and encoder models that has token type id. As you said, it is difficult to work on all models at once, so I will exclude the case where the model needs to be modified. I also agree that modifying multiple models at the same time makes it diffi... | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | # What does this PR do?
This PR is related with [model parallel integration from Parallelformers](https://github.com/huggingface/transformers/issues/12772).
You can check detail of PR here: https://github.com/tunib-ai/parallelformers/issues/11#issuecomment-894719918
## Before submitting
- [ ] This PR fixes a ty... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13039/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13039",
"html_url": "https://github.com/huggingface/transformers/pull/13039",
"diff_url": "https://github.com/huggingface/transformers/pull/13039.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13039.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13038/comments | https://api.github.com/repos/huggingface/transformers/issues/13038/events | https://github.com/huggingface/transformers/issues/13038 | 963,361,685 | MDU6SXNzdWU5NjMzNjE2ODU= | 13,038 | Check in PreTrainedTokenizer can cause incorrect tokenization | {
"login": "codedecde",
"id": 10473264,
"node_id": "MDQ6VXNlcjEwNDczMjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/10473264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/codedecde",
"html_url": "https://github.com/codedecde",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"May be of interest to @SaulLu ",
"Thank you very much for the detailed issue @codedecde !\r\n\r\nThis check had been integrated to solve non-deterministic tokenization problems and I think this solution had been retained because we did not see a use case at the time to tokenize a sentence containing only spaces ... | 1,628 | 1,632 | 1,632 | NONE | null | ## Environment info
- `transformers` version: 4.5.1
- Platform: Linux-5.4.0-1047-azure-x86_64-with-glibc2.10
- Python version: 3.8.8
- PyTorch version (GPU?): 1.9.0a0+2ecb2c7 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: NA
- Using distributed or parallel set-up in script?: N... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13038/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/13038/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13037/comments | https://api.github.com/repos/huggingface/transformers/issues/13037/events | https://github.com/huggingface/transformers/issues/13037 | 963,328,784 | MDU6SXNzdWU5NjMzMjg3ODQ= | 13,037 | Spanish NER bad extraction | {
"login": "diego6662",
"id": 56988887,
"node_id": "MDQ6VXNlcjU2OTg4ODg3",
"avatar_url": "https://avatars.githubusercontent.com/u/56988887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/diego6662",
"html_url": "https://github.com/diego6662",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hello! Did you try with the `aggregation_strategy` parameter as mentioned in the [docs](https://huggingface.co/transformers/main_classes/pipelines.html#tokenclassificationpipeline)?",
"No, I used grouped_entities but I saw that it is deprecated, thanks, I will try it with the aggregation_strategy"
] | 1,628 | 1,628 | 1,628 | NONE | null | ## Environment info
- `transformers` version: 4.9.1
- Platform: linux-ubuntu 20.04.2 LTS x86_64
- Python version: 3.7.6
- PyTorch version (GPU?): No
- Tensorflow version (GPU?): No
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Details
I used this hugginface model for ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13037/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13036/comments | https://api.github.com/repos/huggingface/transformers/issues/13036/events | https://github.com/huggingface/transformers/issues/13036 | 963,308,782 | MDU6SXNzdWU5NjMzMDg3ODI= | 13,036 | Do the Trainer docs need an update? | {
"login": "UrosOgrizovic",
"id": 25843402,
"node_id": "MDQ6VXNlcjI1ODQzNDAy",
"avatar_url": "https://avatars.githubusercontent.com/u/25843402?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/UrosOgrizovic",
"html_url": "https://github.com/UrosOgrizovic",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"cc @sgugger ",
"Sure, would you mind making a PR with that?",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https... | 1,628 | 1,631 | 1,631 | NONE | null | On [this](https://huggingface.co/transformers/main_classes/trainer.html) documentation page regarding `Trainer`, `torch.utils.data.dataset.Dataset` is mentioned. However, I can only seem to find `torch.utils.data.Dataset` [here](https://pytorch.org/docs/stable/data.html#torch.utils.data.Dataset). Do the docs require an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13036/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13036/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13035/comments | https://api.github.com/repos/huggingface/transformers/issues/13035/events | https://github.com/huggingface/transformers/issues/13035 | 963,161,824 | MDU6SXNzdWU5NjMxNjE4MjQ= | 13,035 | Rotate checkpoint `shutil.rmtree(checkpoint)` fails | {
"login": "sbmaruf",
"id": 32699797,
"node_id": "MDQ6VXNlcjMyNjk5Nzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/32699797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sbmaruf",
"html_url": "https://github.com/sbmaruf",
"followers_url": "https://api.github.com/users/sbmaru... | [] | closed | false | null | [] | [
"This code is only called from the main process (controlled by [this test](https://github.com/huggingface/transformers/blob/24cbf6bc5a0b6a9bb5afdda6bb1a329ac980fa4b/src/transformers/trainer.py#L1593)) so it's a not a distributed barrier issue.\r\n\r\nUnless you are using AWS SageMaker with the model parallel extens... | 1,628 | 1,628 | 1,628 | NONE | null | I was training `google/mt5-xl` model with `deepspeed` by huggingface trainer. The training was done in an aws `p3dn.24xlarge` node with 8V100 GPUs.
Trainer fails when [_rotate_checkpoints](https://github.com/huggingface/transformers/blob/7fcee113c163a95d1b125ef35dc49a0a1aa13a50/src/transformers/trainer.py#L1982) is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13035/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13034/comments | https://api.github.com/repos/huggingface/transformers/issues/13034/events | https://github.com/huggingface/transformers/issues/13034 | 963,108,080 | MDU6SXNzdWU5NjMxMDgwODA= | 13,034 | transformers-cli depends on torchaudio optional deps | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"This looks like `torchaudio` is installed without `sndfile`, in which case there is little we can do on our side. If `torchaudio` is not installed, this code is not executed and the command runs normally, just tried in an environment with or without it.\r\n\r\nI would need more to reproduce the problem if I misdia... | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | Looks like we somewhere load some imports that shouldn't be imported when invoking `transformers-cli`
Traceback:
```
transformers-cli login
2021-08-06 01:24:22.009842: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13034/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13033/comments | https://api.github.com/repos/huggingface/transformers/issues/13033/events | https://github.com/huggingface/transformers/issues/13033 | 963,018,735 | MDU6SXNzdWU5NjMwMTg3MzU= | 13,033 | Getting near constant training loss, T5 not learning anything? | {
"login": "prikmm",
"id": 47216475,
"node_id": "MDQ6VXNlcjQ3MjE2NDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/47216475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prikmm",
"html_url": "https://github.com/prikmm",
"followers_url": "https://api.github.com/users/prikmm/fo... | [] | closed | false | null | [] | [
"In my case, TPU's BF16 datatype caused a fixed loss value. did you use BF16 for training?",
"> In my case, TPU's BF16 datatype caused a fixed loss value. did you use BF16 for training?\r\n\r\nHey @CryptoSalamander, thanks for your reply. I finally found out the issue. My LR was 0.0, I was under the impression th... | 1,628 | 1,628 | 1,628 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.9.0/4.9.1
- Platform: Colab/Kaggle
- Python version: 3.7.11
- PyTorch version (GPU?): TPU - 1.8.0a0+56b43f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13033/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13032/comments | https://api.github.com/repos/huggingface/transformers/issues/13032/events | https://github.com/huggingface/transformers/issues/13032 | 963,005,312 | MDU6SXNzdWU5NjMwMDUzMTI= | 13,032 | Masked word prediction in new language with mBERT/XLM | {
"login": "Remorax",
"id": 26062692,
"node_id": "MDQ6VXNlcjI2MDYyNjky",
"avatar_url": "https://avatars.githubusercontent.com/u/26062692?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Remorax",
"html_url": "https://github.com/Remorax",
"followers_url": "https://api.github.com/users/Remora... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!",
"Hello,\r\n\r\nApologies! I did try to create it on the forum, but unfortunately I don't see any option to \"Crea... | 1,628 | 1,635 | 1,635 | NONE | null | Hello,
Is there a way to easily predict a masked word in a new language (a language other than the source language) using multilingual models like BERT/XLM/XLM-R?
Ideally, if my masked sentence is:
`My [MASK] is Vivek`
Given a target language, say French, I would want the output for [MASK] to be:
`nom` (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13032/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13031/comments | https://api.github.com/repos/huggingface/transformers/issues/13031/events | https://github.com/huggingface/transformers/issues/13031 | 962,962,004 | MDU6SXNzdWU5NjI5NjIwMDQ= | 13,031 | How can I convert a `checkpoint.pth` (a model trained with pytorch-pretrained-bert) to huggingface model with `config.json` and `pytorch_model.bin` file? | {
"login": "AmitChaulwar",
"id": 69140048,
"node_id": "MDQ6VXNlcjY5MTQwMDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/69140048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AmitChaulwar",
"html_url": "https://github.com/AmitChaulwar",
"followers_url": "https://api.github.c... | [
{
"id": 1897896961,
"node_id": "MDU6TGFiZWwxODk3ODk2OTYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Migration",
"name": "Migration",
"color": "e99695",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hello! I believe that `pytorch_pretrained_BERT` followed the same approach of having a pytorch checkpoint and a configuration. Do you have no configuration accompanying your `checkpoint.pth`? What is contained in that file once you load it with `torch.load`?",
"This issue has been automatically marked as stale b... | 1,628 | 1,631 | 1,631 | NONE | null | # 📚 Migration
## Information
<!-- Important information -->
Model I am using (Bert, XLNet ...):
Language I am using the model on (English, Chinese ...):
The problem arises when using:
* [ ] the official example scripts: (give details below)
* [ ] my own modified scripts: (give details below)
The ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13031/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13030/comments | https://api.github.com/repos/huggingface/transformers/issues/13030/events | https://github.com/huggingface/transformers/pull/13030 | 962,849,689 | MDExOlB1bGxSZXF1ZXN0NzA1NTgwNDA0 | 13,030 | Tpu tie weights | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,628 | 1,628 | 1,628 | COLLABORATOR | null | # What does this PR do?
When the model is moved to an XLA device (like a TPU) its tied weights get disconnected. This PR fixes that.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13030/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13030/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13030",
"html_url": "https://github.com/huggingface/transformers/pull/13030",
"diff_url": "https://github.com/huggingface/transformers/pull/13030.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13030.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13029/comments | https://api.github.com/repos/huggingface/transformers/issues/13029/events | https://github.com/huggingface/transformers/issues/13029 | 962,760,241 | MDU6SXNzdWU5NjI3NjAyNDE= | 13,029 | supporting t5 for question answering | {
"login": "dorooddorood606",
"id": 79288051,
"node_id": "MDQ6VXNlcjc5Mjg4MDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/79288051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dorooddorood606",
"html_url": "https://github.com/dorooddorood606",
"followers_url": "https://api... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @dorooddorood606, \r\n\r\nSince T5 is essentially a text-to-text model, the question-answering task can simply be framed as a seq2seq task. \r\n\r\nI think we could add a `run_qa_seq2seq.py` to https://github.com/huggingface/transformers/tree/master/examples/pytorch/question-answering that is very similar to h... | 1,628 | 1,635 | 1,635 | NONE | null | # 🚀 Feature request
Hi, this would be great and appreciated to support t5 model for run_qa.py script, currently this does not support it.
## Motivation
T5 is the state of the art model, for which there are a lot of motivation for people in NLP community to use this model, specially it can handle multiple data... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13029/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13028/comments | https://api.github.com/repos/huggingface/transformers/issues/13028/events | https://github.com/huggingface/transformers/pull/13028 | 962,704,223 | MDExOlB1bGxSZXF1ZXN0NzA1NDU1Nzkx | 13,028 | Fix ONNX test: Put smaller ALBERT model | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,628 | 1,628 | 1,628 | MEMBER | null | cc @mfuntowicz | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13028/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13028",
"html_url": "https://github.com/huggingface/transformers/pull/13028",
"diff_url": "https://github.com/huggingface/transformers/pull/13028.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13028.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13027/comments | https://api.github.com/repos/huggingface/transformers/issues/13027/events | https://github.com/huggingface/transformers/issues/13027 | 962,702,888 | MDU6SXNzdWU5NjI3MDI4ODg= | 13,027 | Get multiple results from Hugging face pipeline library | {
"login": "BatMrE",
"id": 48859022,
"node_id": "MDQ6VXNlcjQ4ODU5MDIy",
"avatar_url": "https://avatars.githubusercontent.com/u/48859022?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BatMrE",
"html_url": "https://github.com/BatMrE",
"followers_url": "https://api.github.com/users/BatMrE/fo... | [] | closed | false | null | [] | [
"Hello! The `Text2TextGenerationPipeline` accepts any keyword arguments to be handled by the `generate` method that does the generation under the hood. You can check the input signature of that method here to see what arguments it accepts: [generate](https://huggingface.co/transformers/main_classes/model.html#trans... | 1,628 | 1,637 | 1,628 | NONE | null | I am using simple transformers library to get auto suggested text for my question based on a context .
It give me a single suggestion, is there any possible way to get multiple results for the same.
text2text_generator = pipeline("text2text-generation")
text2text_generator("question: What is ? context:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13027/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13026/comments | https://api.github.com/repos/huggingface/transformers/issues/13026/events | https://github.com/huggingface/transformers/pull/13026 | 962,573,692 | MDExOlB1bGxSZXF1ZXN0NzA1MzQyNjI5 | 13,026 | Update model configs - Allow setters for common properties | {
"login": "nreimers",
"id": 10706961,
"node_id": "MDQ6VXNlcjEwNzA2OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/10706961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nreimers",
"html_url": "https://github.com/nreimers",
"followers_url": "https://api.github.com/users/nre... | [] | closed | false | null | [] | [
"> The design looks good to me! I think we could have a few more common attributes, since we are in the process of adding them:\r\n> \r\n> * the vocab size (seems to be pretty consistent)\r\n> * the embedding size\r\n> * the inner size for the feed-forward layers\r\n> \r\n> Those on top of `max_position_embeddings`... | 1,628 | 1,630 | 1,630 | CONTRIBUTOR | null | # Update model configs - Allow setters for common properties
Not all models use the same naming for config values, e.g. `hidden_size` is called `n_embd` in GPT2Config. So far, getters had been implemented in the config classes to allow that a GPT2Config can be accessed via `config.hidden_size`.
But the setters wer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13026/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13026/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13026",
"html_url": "https://github.com/huggingface/transformers/pull/13026",
"diff_url": "https://github.com/huggingface/transformers/pull/13026.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13026.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13025/comments | https://api.github.com/repos/huggingface/transformers/issues/13025/events | https://github.com/huggingface/transformers/issues/13025 | 962,545,235 | MDU6SXNzdWU5NjI1NDUyMzU= | 13,025 | MT5-large model on hub has wrong config | {
"login": "devrimcavusoglu",
"id": 46989091,
"node_id": "MDQ6VXNlcjQ2OTg5MDkx",
"avatar_url": "https://avatars.githubusercontent.com/u/46989091?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/devrimcavusoglu",
"html_url": "https://github.com/devrimcavusoglu",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"great catch! Correcting it now",
"Reopening in 4.9.2 since it is difficult to read the model. The problem is either here:\r\nhttps://github.com/huggingface/transformers/blob/v4.9.2/src/transformers/models/auto/tokenization_auto.py#L329 in`TOKENIZER_MAPPING` or here https://github.com/huggingface/transformers/blo... | 1,628 | 1,629 | 1,629 | CONTRIBUTOR | null | MT5-large model [config](https://huggingface.co/google/mt5-large/blob/main/config.json) has wrong parameters `"architectures"` and `"tokenizer_class"` as
```json
{
"architectures": [
"T5ForConditionalGeneration"
],
"tokenizer_class": "T5Tokenizer"
}
```
, where it should be MT5 arch and tokenizer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13025/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13024/comments | https://api.github.com/repos/huggingface/transformers/issues/13024/events | https://github.com/huggingface/transformers/pull/13024 | 962,532,747 | MDExOlB1bGxSZXF1ZXN0NzA1MzA4MjIw | 13,024 | [Flax] Refactor gpt2 & bert example docs | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,628 | 1,628 | 1,628 | MEMBER | null | # What does this PR do?
This PR mainly refactors the docs of the official Flax MLM, CLM examples. The CLM training script is also slightly changed for consistency with the MLM script. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13024/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13024",
"html_url": "https://github.com/huggingface/transformers/pull/13024",
"diff_url": "https://github.com/huggingface/transformers/pull/13024.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13024.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13023/comments | https://api.github.com/repos/huggingface/transformers/issues/13023/events | https://github.com/huggingface/transformers/pull/13023 | 962,470,281 | MDExOlB1bGxSZXF1ZXN0NzA1MjU0ODUy | 13,023 | Disentangle auto modules from other modeling files | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,628 | 1,629 | 1,628 | COLLABORATOR | null | # What does this PR do?
This PR cleans up the auto modules to have them rely on string mappings and dynamically import the model when they are needed, instead of having a hard dependency on every modeling file.
There is no breaking changes are all the MAPPING classes are still present and will behave like regular... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13023/reactions",
"total_count": 4,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 4,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13023/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13023",
"html_url": "https://github.com/huggingface/transformers/pull/13023",
"diff_url": "https://github.com/huggingface/transformers/pull/13023.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13023.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13022/comments | https://api.github.com/repos/huggingface/transformers/issues/13022/events | https://github.com/huggingface/transformers/pull/13022 | 962,406,472 | MDExOlB1bGxSZXF1ZXN0NzA1MjAwMzE3 | 13,022 | GPT-J-6B | {
"login": "StellaAthena",
"id": 15899312,
"node_id": "MDQ6VXNlcjE1ODk5MzEy",
"avatar_url": "https://avatars.githubusercontent.com/u/15899312?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/StellaAthena",
"html_url": "https://github.com/StellaAthena",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"There are six failed tests.\r\n\r\nFour of them relate to Flax and TF models which I did not add. I may have left some boilerplate code indicating the existence of such models by accident.\r\n\r\nOne of them relates to docstring issues. I’ll double check the docstrings, but these issues have no impact on the funct... | 1,628 | 1,630 | 1,630 | CONTRIBUTOR | null | # What does this PR do?
Introduces the long awaited `GPT J` model class to HuggingFace! Concurrently with this PR being merged I will make a GPT J 6B checkpoint public on the EleutherAI HF page for people to use. The model has been evaluated as being within error tolerances of the GPT J 6B model we released in Jax t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13022/reactions",
"total_count": 33,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 26,
"rocket": 7,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13022/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13022",
"html_url": "https://github.com/huggingface/transformers/pull/13022",
"diff_url": "https://github.com/huggingface/transformers/pull/13022.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13022.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13021/comments | https://api.github.com/repos/huggingface/transformers/issues/13021/events | https://github.com/huggingface/transformers/issues/13021 | 962,342,508 | MDU6SXNzdWU5NjIzNDI1MDg= | 13,021 | TypeError: __init__() got an unexpected keyword argument 'save_strategy' | {
"login": "jmasom",
"id": 37025304,
"node_id": "MDQ6VXNlcjM3MDI1MzA0",
"avatar_url": "https://avatars.githubusercontent.com/u/37025304?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jmasom",
"html_url": "https://github.com/jmasom",
"followers_url": "https://api.github.com/users/jmasom/fo... | [] | closed | false | null | [] | [
"You probably did not properly install it. The environment above shows 4.2.2 and `save_strategy` was introduced later on.\r\nYou can check the version of Transformers executed by your script by adding\r\n```\r\nimport transformers\r\nprint(transformers.__version__)\r\n```\r\nat the top of it.",
"This issue has be... | 1,628 | 1,631 | 1,631 | NONE | null | ### Environment
- `transformers` version: 4.2.2
- Platform: Linux-4.15.0-151-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.4.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: Not explicitly (but probably)
- Using distributed or parallel set-up in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13021/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13020/comments | https://api.github.com/repos/huggingface/transformers/issues/13020/events | https://github.com/huggingface/transformers/issues/13020 | 962,264,967 | MDU6SXNzdWU5NjIyNjQ5Njc= | 13,020 | RobertaForMaskedLM loss calculated wrong(?) | {
"login": "leo-liuzy",
"id": 11146950,
"node_id": "MDQ6VXNlcjExMTQ2OTUw",
"avatar_url": "https://avatars.githubusercontent.com/u/11146950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leo-liuzy",
"html_url": "https://github.com/leo-liuzy",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The calculation is correct. However, it's the responsibility of the user to prepare the labels for the model, so you need to make sure you set the labels to -100 for positions where you don't want to incur a loss (as -100 is the `ignore_index` of PyTorch's `CrossEntropyLoss`).",
"Ah, that makes sense, thanks!. I... | 1,628 | 1,631 | 1,631 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.8.1 (or github main as of 2021.8.5)
- Platform: MacOS (or any)
- Python version: 3.9 (or any 3.x)
- PyTorc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13020/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13020/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13019/comments | https://api.github.com/repos/huggingface/transformers/issues/13019/events | https://github.com/huggingface/transformers/issues/13019 | 962,073,044 | MDU6SXNzdWU5NjIwNzMwNDQ= | 13,019 | GPU Out of Memory when repeatedly running large models (`hyperparameter_search`) | {
"login": "acocos",
"id": 1832548,
"node_id": "MDQ6VXNlcjE4MzI1NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1832548?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/acocos",
"html_url": "https://github.com/acocos",
"followers_url": "https://api.github.com/users/acocos/foll... | [] | closed | false | null | [] | [
"Thanks for the issue and the investigation. It looks like you have found the right fix, would you mind making a PR with it?",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that... | 1,628 | 1,690 | 1,631 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.9.1
- Platform: Linux-4.19.0-17-cloud-amd64-x86_64-with-debian-10.10
- Python version: 3.7.10
- PyTorch ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13019/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13018/comments | https://api.github.com/repos/huggingface/transformers/issues/13018/events | https://github.com/huggingface/transformers/issues/13018 | 961,916,468 | MDU6SXNzdWU5NjE5MTY0Njg= | 13,018 | Unable to resume training from checkpoint on TPU v3-8 | {
"login": "finiteautomata",
"id": 167943,
"node_id": "MDQ6VXNlcjE2Nzk0Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/167943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/finiteautomata",
"html_url": "https://github.com/finiteautomata",
"followers_url": "https://api.github... | [] | closed | false | null | [] | [
"It looks like you are not using the `run_mlm` script but a modified version of it, as there are parameters you are passing that are not in this script. Could you share your modified version?",
"Sure. This is the modified version => https://gist.github.com/finiteautomata/cb1fba94202c1535d2a516eef2215baf\r\n\r\nMa... | 1,628 | 1,628 | 1,628 | NONE | null | I'm facing a similar issue as #11326. When trying to resume training from checkpoint on TPUs, it crashes with error message `ValueError: loaded state dict contains a parameter group that doesn't match the size of optimizer's group`
## Environment info
- `transformers` version: 4.10.0.dev0
- Platform: Linux-4.19... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13018/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13017/comments | https://api.github.com/repos/huggingface/transformers/issues/13017/events | https://github.com/huggingface/transformers/pull/13017 | 961,907,960 | MDExOlB1bGxSZXF1ZXN0NzA0Nzc3NTEw | 13,017 | Fix VisualBert Embeddings | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Did you verify that it fixes the error mentioned in the issue?\r\n\r\ni.e. does the following work:\r\n\r\n```\r\nfrom transformers import BertTokenizer, VisualBertModel\r\ntokenizer = BertTokenizer.from_pretrained('bert-base-uncased')\r\nmodel = VisualBertModel.from_pretrained('uclanlp/visualbert-vqa-coco-pre')\r... | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | # What does this PR do?
This PR addresses the issue mentioned in #13001. The `self.input_embeds` has been replaced with `self.position_ids` as suggested by @NielsRogge. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13017/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13017",
"html_url": "https://github.com/huggingface/transformers/pull/13017",
"diff_url": "https://github.com/huggingface/transformers/pull/13017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13017.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13016/comments | https://api.github.com/repos/huggingface/transformers/issues/13016/events | https://github.com/huggingface/transformers/pull/13016 | 961,854,570 | MDExOlB1bGxSZXF1ZXN0NzA0NzMxMDEx | 13,016 | FX submodule naming fix | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,628 | 1,628 | 1,628 | MEMBER | null | This PR is related to HFTracer, the class responsible for allowing torch.fx symbolic tracing on transformers models.
It enhances the way dynamically inserted modules are named, making the name of the submodule inserted to the parent more explicit and close to what the submodule represents. It also solves issues rela... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13016/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13016",
"html_url": "https://github.com/huggingface/transformers/pull/13016",
"diff_url": "https://github.com/huggingface/transformers/pull/13016.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13016.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13015/comments | https://api.github.com/repos/huggingface/transformers/issues/13015/events | https://github.com/huggingface/transformers/pull/13015 | 961,845,851 | MDExOlB1bGxSZXF1ZXN0NzA0NzIzMzYw | 13,015 | Fix TYPE_CHECKING not imported | {
"login": "minwhoo",
"id": 11580164,
"node_id": "MDQ6VXNlcjExNTgwMTY0",
"avatar_url": "https://avatars.githubusercontent.com/u/11580164?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/minwhoo",
"html_url": "https://github.com/minwhoo",
"followers_url": "https://api.github.com/users/minwho... | [] | closed | false | null | [] | [
"Actually the whole init needs to be rewritten to be the same as other models, it was somehow missed when we converted all models. Would like to amend your PR in that direction?",
"Your rebase has introduced many file changes in the diff that make the PR unreadable. Once you're satisfied with your branch, could y... | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | # What does this PR do?
Fixes omitted import of TYPE_CHECKING in xlm_prophetnet model code's __init__.py.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13015/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13015",
"html_url": "https://github.com/huggingface/transformers/pull/13015",
"diff_url": "https://github.com/huggingface/transformers/pull/13015.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13015.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13014/comments | https://api.github.com/repos/huggingface/transformers/issues/13014/events | https://github.com/huggingface/transformers/pull/13014 | 961,778,102 | MDExOlB1bGxSZXF1ZXN0NzA0NjY1NjE1 | 13,014 | T5 with past ONNX export | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,628 | 1,628 | 1,628 | MEMBER | null | This PR enables the export of T5 with past keys and values to ONNX.
It also enhances the ONNX export when using past keys and values by making the inputs and outputs names for past_key_values more explicit and easy to understand. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13014/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13014",
"html_url": "https://github.com/huggingface/transformers/pull/13014",
"diff_url": "https://github.com/huggingface/transformers/pull/13014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13014.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13013/comments | https://api.github.com/repos/huggingface/transformers/issues/13013/events | https://github.com/huggingface/transformers/pull/13013 | 961,755,025 | MDExOlB1bGxSZXF1ZXN0NzA0NjQ1MzUx | 13,013 | Update generate method - Fix floor_divide warning | {
"login": "nreimers",
"id": 10706961,
"node_id": "MDQ6VXNlcjEwNzA2OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/10706961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nreimers",
"html_url": "https://github.com/nreimers",
"followers_url": "https://api.github.com/users/nre... | [] | closed | false | null | [] | [
"According to the document of [`torch.div`,](https://pytorch.org/docs/stable/generated/torch.div.html#torch.div) it is more suitable to change `next_indices = next_tokens // vocab_size` to `next_indices = torch.div(next_tokens, vocab_size, rounding_mode='floor')`.\r\n\r\n`\"floor\"` - rounds the results of the divi... | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | # What does this PR do?
Starting with PyTorch 1.9, a HF translation model (or any generation model) gives the following warning message:
```
/home/reimers/miniconda3/envs/easynmt/lib/python3.8/site-packages/torch/_tensor.py:575: UserWarning: floor_divide is deprecated, and will be removed in a future version of py... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13013/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13013",
"html_url": "https://github.com/huggingface/transformers/pull/13013",
"diff_url": "https://github.com/huggingface/transformers/pull/13013.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13013.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13012/comments | https://api.github.com/repos/huggingface/transformers/issues/13012/events | https://github.com/huggingface/transformers/pull/13012 | 961,693,007 | MDExOlB1bGxSZXF1ZXN0NzA0NTkxNzYy | 13,012 | [Flax T5] Speed up t5 training | {
"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 | [] | [
"The PR is tested here: https://huggingface.co/patrickvonplaten/t5-base-norwegian/tensorboard (check train loss graph which shows that time is reduced to < 5h now)"
] | 1,628 | 1,628 | 1,628 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13012",
"html_url": "https://github.com/huggingface/transformers/pull/13012",
"diff_url": "https://github.com/huggingface/transformers/pull/13012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13012.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13011/comments | https://api.github.com/repos/huggingface/transformers/issues/13011/events | https://github.com/huggingface/transformers/issues/13011 | 961,614,004 | MDU6SXNzdWU5NjE2MTQwMDQ= | 13,011 | The traced Encoder of LEDForConditionalGeneration does not allow dynamic batching | {
"login": "gauravpandeyamu",
"id": 8806278,
"node_id": "MDQ6VXNlcjg4MDYyNzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8806278?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gauravpandeyamu",
"html_url": "https://github.com/gauravpandeyamu",
"followers_url": "https://api.g... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @gauravpandeyamu, \r\n\r\nThis seems to be a rather edge-casy and difficult error to debug! I'm not sure if I manage to have the time to look into it. In a first step could you try to use current master instead of Transformers 4.3.2 to see if this changed anything in the error message?",
"@patrickvonplaten S... | 1,628 | 1,631 | 1,631 | NONE | null | We traced the encoder of LEDForConditionalGeneration using TorchScript and passed a different batch size to the traced encoder as follows.
```
import torch
from transformers import LEDForConditionalGeneration
class WrappedModel(torch.nn.Module):
def __init__(self):
super(WrappedModel, self).__ini... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13011/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13011/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13010/comments | https://api.github.com/repos/huggingface/transformers/issues/13010/events | https://github.com/huggingface/transformers/pull/13010 | 961,587,346 | MDExOlB1bGxSZXF1ZXN0NzA0NTAwNDY5 | 13,010 | GPT-J | {
"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 | [] | [] | 1,628 | 1,635 | 1,628 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13010/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13010/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13010",
"html_url": "https://github.com/huggingface/transformers/pull/13010",
"diff_url": "https://github.com/huggingface/transformers/pull/13010.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13010.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13009/comments | https://api.github.com/repos/huggingface/transformers/issues/13009/events | https://github.com/huggingface/transformers/issues/13009 | 961,530,739 | MDU6SXNzdWU5NjE1MzA3Mzk= | 13,009 | Problem saving tf wav2vec in savedmodel format | {
"login": "ahmedlone127",
"id": 66001253,
"node_id": "MDQ6VXNlcjY2MDAxMjUz",
"avatar_url": "https://avatars.githubusercontent.com/u/66001253?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahmedlone127",
"html_url": "https://github.com/ahmedlone127",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [
{
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url"... | [
"Hey @ahmed451 - could you please add a code snippet to reproduce the error instead of a screenshot? Thanks!",
"sure\r\n\r\n ```\r\nfrom transformers import TFWav2Vec2ForCTC\r\n\r\nmodel= TFWav2Vec2ForCTC.from_pretrained('patrickvonplaten/wav2vec2-base-timit-demo',from_pt = True)\r\n\r\nmodel.save_pretrained(\"/c... | 1,628 | 1,632 | 1,632 | NONE | null | 
this is my code | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13009/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13009/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13008/comments | https://api.github.com/repos/huggingface/transformers/issues/13008/events | https://github.com/huggingface/transformers/pull/13008 | 961,512,997 | MDExOlB1bGxSZXF1ZXN0NzA0NDM3Mjgw | 13,008 | [Flax Encoder Decoder] Make Flax GPT2 working with cross attention | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"This is a great PR @ydshieh! Thanks a lot for working on this! :-) The PR looks great - that's exactly how I would have implemented it as well.\r\n\r\nIt would be great if you could remove the encoder->decoder projection layer in a first PR to make it consistent with PyTocrh. Also we will probably have to add a `F... | 1,628 | 1,651 | 1,629 | COLLABORATOR | null | # What does this PR do?
The current Flax's GPT2 doesn't support cross attention, while PyTorch's GPT2 does. This PR add cross attention to Flax's GPT2, closely following the codes in PyTorch's GPT2 and Flax's Bart models.
However, I add one more thing, which is the projection from the encoder's last hidden state ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13008/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13008/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13008",
"html_url": "https://github.com/huggingface/transformers/pull/13008",
"diff_url": "https://github.com/huggingface/transformers/pull/13008.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13008.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13007/comments | https://api.github.com/repos/huggingface/transformers/issues/13007/events | https://github.com/huggingface/transformers/issues/13007 | 961,133,911 | MDU6SXNzdWU5NjExMzM5MTE= | 13,007 | Importing hides underlying error | {
"login": "aphedges",
"id": 14283972,
"node_id": "MDQ6VXNlcjE0MjgzOTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/14283972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aphedges",
"html_url": "https://github.com/aphedges",
"followers_url": "https://api.github.com/users/aph... | [] | closed | false | null | [] | [
"I cannot reproduce your exact issue, but installing a version of torch-scatter with an incompatible CUDA version will indeed kill the runtime with an `OSError`. We could catch that error when defining the `_scatter_available` variable, which currently only looks at the package installation.\r\n\r\nWDYT @sgugger @N... | 1,628 | 1,631 | 1,631 | CONTRIBUTOR | null | ## Environment info
(Couldn't run due to bug this issue is about but did my best to fill it in)
- `transformers` version: 4.9.1
- Platform: Linux-3.10.0-1160.31.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core
- Python version: 3.7.11
- PyTorch version (GPU?): 1.7.0+cu102 (True)
- Tensorflow version (GPU?): not ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13007/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13007/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13006/comments | https://api.github.com/repos/huggingface/transformers/issues/13006/events | https://github.com/huggingface/transformers/pull/13006 | 961,057,121 | MDExOlB1bGxSZXF1ZXN0NzA0MDIyNDQw | 13,006 | [Flax] Correct pt to flax conversion if from base to head | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,628 | 1,628 | 1,628 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13006/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13006/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13006",
"html_url": "https://github.com/huggingface/transformers/pull/13006",
"diff_url": "https://github.com/huggingface/transformers/pull/13006.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13006.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13005/comments | https://api.github.com/repos/huggingface/transformers/issues/13005/events | https://github.com/huggingface/transformers/issues/13005 | 961,054,314 | MDU6SXNzdWU5NjEwNTQzMTQ= | 13,005 | HyperParameter search in sagemaker | {
"login": "MarcM0",
"id": 30278842,
"node_id": "MDQ6VXNlcjMwMjc4ODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/30278842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarcM0",
"html_url": "https://github.com/MarcM0",
"followers_url": "https://api.github.com/users/MarcM0/fo... | [] | closed | false | null | [] | [
"Hey @MarcM0 this has been fixed in the later transformer versions.\r\n\r\nSince you can't upgrade the version, can you use this workaround instead: https://github.com/huggingface/transformers/issues/11249#issuecomment-860144744",
"now I get this error\r\n```\r\n\r\n\r\n1.4+, the Ray CLI, autoscaler, and dashboar... | 1,628 | 1,628 | 1,628 | NONE | null | - `transformers` version: 4.6.1 (higher is not supported on Sagemaker)
- Platform: Sagemaker
### Who can help
Models:
- gpt2: @patrickvonplaten, @LysandreJik
Library:
- ray/raytune: @richardliaw, @amogkam
## Information
Model I am using GPT2-Medium
The problem arises when using:
I was following th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13005/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13005/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13004/comments | https://api.github.com/repos/huggingface/transformers/issues/13004/events | https://github.com/huggingface/transformers/pull/13004 | 960,964,405 | MDExOlB1bGxSZXF1ZXN0NzAzOTM2ODg0 | 13,004 | Create perplexity.rst | {
"login": "sashavor",
"id": 14205986,
"node_id": "MDQ6VXNlcjE0MjA1OTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/14205986?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sashavor",
"html_url": "https://github.com/sashavor",
"followers_url": "https://api.github.com/users/sas... | [] | closed | false | null | [] | [] | 1,628 | 1,628 | 1,628 | NONE | null | Updating the import for load_dataset
# What does this PR do?
Fixes # (issue)
Fixes the old way of loading datasets
## Who can review?
@patrickvonplaten
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13004/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13004/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13004",
"html_url": "https://github.com/huggingface/transformers/pull/13004",
"diff_url": "https://github.com/huggingface/transformers/pull/13004.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13004.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13003/comments | https://api.github.com/repos/huggingface/transformers/issues/13003/events | https://github.com/huggingface/transformers/issues/13003 | 960,957,523 | MDU6SXNzdWU5NjA5NTc1MjM= | 13,003 | Not getting the same results with run_qa and run_qa_no_trainer scripts | {
"login": "eldarkurtic",
"id": 8884008,
"node_id": "MDQ6VXNlcjg4ODQwMDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8884008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eldarkurtic",
"html_url": "https://github.com/eldarkurtic",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"The two scripts are different, they do not have the same defaults for the `seed` and even then, they do not randomize the data the same way. It's impossible for the two of them to give you the same results. ",
"Do you have any suggestions on what to modify in the `run_qa_no_trainer.py` to get a bit better result... | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | ## Environment info
Just followed the default setup instructions in a new conda environment:
```shell
git clone https://github.com/huggingface/transformers
cd transformers
pip install .
pip install -r examples/pytorch/question_answering/requirements.txt
```
### Who can help
@sgugger @patil-suraj
## Infor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13003/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13002/comments | https://api.github.com/repos/huggingface/transformers/issues/13002/events | https://github.com/huggingface/transformers/pull/13002 | 960,811,197 | MDExOlB1bGxSZXF1ZXN0NzAzNzk2OTIz | 13,002 | TF CLM example fix typo | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Also oop, this looks like it was based on a slightly older branch - it won't cause any problems, but the \"Files changed\" tab lists some changes in other files that are already merged - the only one actually affected is `run_clm.py`",
"There might be more such remnants from the MLM script, see https://github.co... | 1,628 | 1,634 | 1,630 | MEMBER | null | Fixes a one-line typo in the TF CLM example - it was still using `MODEL_FOR_MASKED_LM_MAPPING` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13002/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/13002",
"html_url": "https://github.com/huggingface/transformers/pull/13002",
"diff_url": "https://github.com/huggingface/transformers/pull/13002.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/13002.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/13001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13001/comments | https://api.github.com/repos/huggingface/transformers/issues/13001/events | https://github.com/huggingface/transformers/issues/13001 | 960,500,354 | MDU6SXNzdWU5NjA1MDAzNTQ= | 13,001 | VisualBERT - ModuleAttributeError | {
"login": "RitaRamo",
"id": 12399556,
"node_id": "MDQ6VXNlcjEyMzk5NTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/12399556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RitaRamo",
"html_url": "https://github.com/RitaRamo",
"followers_url": "https://api.github.com/users/Rit... | [] | closed | false | null | [] | [
"There seem to be a bug in the `VisualBertEmbeddings` class indeed. Mind opening a PR? You can probably just replace `self.input_embeds.device` by `self.position_ids.device`.",
"Great, thank you for looking and suggesting the fix! I would not mind, but I will go on vacation very soon, so I won’t be able to follow... | 1,628 | 1,628 | 1,628 | NONE | null | ## Environment info
- `transformers` version: 4.9.1
- Platform: macOS-10.14.6-x86_64-i386-64bit
- Python version: 3.9.0
- PyTorch version (GPU?): 1.7.1 (False)
- Tensorflow version (GPU?): 2.5.0-rc1 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13001/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/13001/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/13000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/13000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/13000/comments | https://api.github.com/repos/huggingface/transformers/issues/13000/events | https://github.com/huggingface/transformers/issues/13000 | 960,338,951 | MDU6SXNzdWU5NjAzMzg5NTE= | 13,000 | Newly trained tokenizers not adding [CLS] and [SEP] tokens | {
"login": "fgaim",
"id": 4906991,
"node_id": "MDQ6VXNlcjQ5MDY5OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4906991?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fgaim",
"html_url": "https://github.com/fgaim",
"followers_url": "https://api.github.com/users/fgaim/follower... | [] | closed | false | null | [] | [
"Hello! Looking at your `train_tokenizer.py` file, I see no post-processor. Without a post-processor, the tokenizer is unaware of what tokens it should add after tokenizing.\r\n\r\nSee the quick tour of the tokenizers library here: https://huggingface.co/docs/tokenizers/python/latest/quicktour.html#post-processing"... | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.10.0.dev0 (installed from source)
- Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic (Google Colab)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/13000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/13000/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12999/comments | https://api.github.com/repos/huggingface/transformers/issues/12999/events | https://github.com/huggingface/transformers/pull/12999 | 960,328,559 | MDExOlB1bGxSZXF1ZXN0NzAzMzYxNDMw | 12,999 | pad_to_multiple_of added to DataCollatorForWholeWordMask | {
"login": "Aktsvigun",
"id": 36672861,
"node_id": "MDQ6VXNlcjM2NjcyODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/36672861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aktsvigun",
"html_url": "https://github.com/Aktsvigun",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Have checked it, works fine, both `batch_input` and `batch_mask` are padded to a multiple of `pad_to_multiple_of` value.",
"Ok, will do that some of these days!"
] | 1,628 | 1,628 | 1,628 | CONTRIBUTOR | null | There is a small bug in `DataCollatorForWholeWordMask`: it has an argument `pad_to_multiple_of`, however, when doing `_collate_batch` inside `__call__` method, this argument is not provided. This commit adds the usage of the argument. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12999/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12999",
"html_url": "https://github.com/huggingface/transformers/pull/12999",
"diff_url": "https://github.com/huggingface/transformers/pull/12999.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12999.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12998/comments | https://api.github.com/repos/huggingface/transformers/issues/12998/events | https://github.com/huggingface/transformers/issues/12998 | 960,263,857 | MDU6SXNzdWU5NjAyNjM4NTc= | 12,998 | DataCollatorForWholeWordMask does not return attention_mask | {
"login": "Aktsvigun",
"id": 36672861,
"node_id": "MDQ6VXNlcjM2NjcyODYx",
"avatar_url": "https://avatars.githubusercontent.com/u/36672861?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aktsvigun",
"html_url": "https://github.com/Aktsvigun",
"followers_url": "https://api.github.com/users/... | [] | 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... | [
"Not sure where you are seeing this. `DataCollatorWithPadding` can also pad attention masks, as it applies `tokenizer.pad()` on the inputs as can be seen [here](https://github.com/huggingface/transformers/blob/c7faf2ccc05a095870c3c905d232179fb323797d/src/transformers/data/data_collator.py#L118).",
"@NielsRogge am... | 1,628 | 1,640 | 1,628 | CONTRIBUTOR | null | Hi,
** DataCollatorForWholeWordMask** does not output `attention_mask`. According to the `__call__` method:
`return {"input_ids": inputs, "labels": labels}`.
Is there a peculiar motivation behind it or is a small bug? From where I see, when we do the pre-training, most instances will **not** be of the same leng... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12998/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12997/comments | https://api.github.com/repos/huggingface/transformers/issues/12997/events | https://github.com/huggingface/transformers/issues/12997 | 960,200,899 | MDU6SXNzdWU5NjAyMDA4OTk= | 12,997 | how to user class_weight in transformers.trainer | {
"login": "wangdong1992",
"id": 20061204,
"node_id": "MDQ6VXNlcjIwMDYxMjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/20061204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wangdong1992",
"html_url": "https://github.com/wangdong1992",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"For training related questions, refer to our [forum](https://discuss.huggingface.co). We like to keep Github issues for bugs/feature requests.\r\n\r\n[This post](https://discuss.huggingface.co/t/how-can-i-use-class-weights-when-training/1067) for example will probably answer your question.\r\n\r\nTherefore closing... | 1,628 | 1,628 | 1,628 | NONE | null | In tensorflow,I can use class_weight for unbalanced data. Now, I want to train the model through transformers.trainer,how to use class_weight in transformers.trainer, This is an introduction to it
1.https://huggingface.co/transformers/custom_datasets.html#fine-tuning-with-trainer
2.https://huggingface.co/transforme... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12997/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12996/comments | https://api.github.com/repos/huggingface/transformers/issues/12996/events | https://github.com/huggingface/transformers/issues/12996 | 959,845,453 | MDU6SXNzdWU5NTk4NDU0NTM= | 12,996 | Perceiver IO | {
"login": "schmidek",
"id": 442328,
"node_id": "MDQ6VXNlcjQ0MjMyOA==",
"avatar_url": "https://avatars.githubusercontent.com/u/442328?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/schmidek",
"html_url": "https://github.com/schmidek",
"followers_url": "https://api.github.com/users/schmide... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"I want to do it unless someone else did it by September 8th. ",
"@cronoik \r\nI've implemented perceiver io on pytorch: [link](https://github.com/esceptico/perceiver-io)\r\nNow we need to adapt it for Transformers :)\r\nBut I have not (yet) added positional Fourier encoding and multimodal decoder\r\n",
"Don't... | 1,628 | 1,638 | 1,638 | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
Perceiver is a general architecture that works on many kinds of data, including images, video, audio, 3D point clouds, language and symbolic inputs, multimodal combinations, etc. Perceivers can handle new types of data with only minimal modifications. Perceivers proces... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12996/reactions",
"total_count": 24,
"+1": 15,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 9,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12996/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12995/comments | https://api.github.com/repos/huggingface/transformers/issues/12995/events | https://github.com/huggingface/transformers/issues/12995 | 959,402,581 | MDU6SXNzdWU5NTk0MDI1ODE= | 12,995 | Option for `(Distributed)LengthGroupedSampler` to treat groups as a hard constraint | {
"login": "mbforbes",
"id": 1170062,
"node_id": "MDQ6VXNlcjExNzAwNjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1170062?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mbforbes",
"html_url": "https://github.com/mbforbes",
"followers_url": "https://api.github.com/users/mbfor... | [] | closed | false | null | [] | [
"This is definitely a hack and very narrow use case, so it's unlikely we will add this feature ;-).\r\nFor your purpose, I think you need to rewrite a new model head, starting from the code of `XxxForMultipleChoice`, where `Xxx` is the model you are using.",
"Oh interesting, I hadn't considered changing the model... | 1,628 | 1,632 | 1,632 | CONTRIBUTOR | null | # 🚀 Feature request
An option for `(Distributed)LengthGroupedSampler` to treat groups as a hard constraint. I.e., all batches returned will have exactly the same length. (Some straggler batches will then have a smaller batch size.)
## Motivation
I asked a [question](https://discuss.huggingface.co/t/multiple-c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12995/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12995/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12994/comments | https://api.github.com/repos/huggingface/transformers/issues/12994/events | https://github.com/huggingface/transformers/pull/12994 | 959,240,636 | MDExOlB1bGxSZXF1ZXN0NzAyMzg1OTI1 | 12,994 | Add BEiT | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I've uploaded all checkpoints to the hub: https://huggingface.co/models?search=microsoft/beit\r\n\r\nI've renamed the checkpoints which are fine-tuned on ImageNet-1k (after being intermediately fine-tuned on ImageNet-22k) to be just `microsoft/beit-base-patch16-224`, etc.\r\n\r\n@donglixp if you're interested, cou... | 1,628 | 1,634 | 1,628 | CONTRIBUTOR | null | # What does this PR do?
It adds [BEiT: BERT Pre-Training of Image Transformers](https://arxiv.org/abs/2106.08254) to the library. It's the first paper that enables self-supervised pre-trained Vision Transformers (ViTs) to outperform their supervised pre-training counterparts. As a picture says more than a thousand (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12994/reactions",
"total_count": 4,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 3,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12994/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12994",
"html_url": "https://github.com/huggingface/transformers/pull/12994",
"diff_url": "https://github.com/huggingface/transformers/pull/12994.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12994.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12993/comments | https://api.github.com/repos/huggingface/transformers/issues/12993/events | https://github.com/huggingface/transformers/issues/12993 | 959,210,890 | MDU6SXNzdWU5NTkyMTA4OTA= | 12,993 | Gloabl attention not recognised in longformer pretrained MLM model to get sentence vector? | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Hey @pratikchhapolika,\r\n\r\nInstead of setting values in attention_mask to 2 could you try using global_attention_mask instead? \r\n\r\nAlso see official docs here: \r\nhttps://huggingface.co/transformers/master/model_doc/longformer.html#transformers.LongformerModel.forward",
"> Hey @pratikchhapolika,\r\n> \r\... | 1,628 | 1,631 | 1,631 | NONE | null | ## Objective:
Fetching Sentence embeddings using **longformer** model sentence by sentence from `<s>` token. By assigning attention_mask[:, [0,-1]] = 2 that is `<s> and </s> token will have values 2`.
- `transformers` **version:3.0.2**
- Platform:
- Python version: **Python 3.6.12 :: Anaconda, Inc.**
- PyTorch ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12993/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12993/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12992/comments | https://api.github.com/repos/huggingface/transformers/issues/12992/events | https://github.com/huggingface/transformers/issues/12992 | 959,193,325 | MDU6SXNzdWU5NTkxOTMzMjU= | 12,992 | I met an error when I use EncoderDecoderModel. | {
"login": "Captainr22",
"id": 44116628,
"node_id": "MDQ6VXNlcjQ0MTE2NjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/44116628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Captainr22",
"html_url": "https://github.com/Captainr22",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"As you can see on the error, it has to do with the cross attention: the `encoder_hidden_states` (which are coming from BERT-large-uncased) have a dimensionality of 1024 (which I know by looking at the `hidden_size` attribute of the [config file](https://huggingface.co/bert-large-uncased/blob/main/config.json) of b... | 1,628 | 1,630 | 1,628 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.0
- Platform:
- Python version:
- PyTorch version (GPU?): 1.7.1 cuda 9.2
- Tensorflow version (GPU?):
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12992/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12992/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12991/comments | https://api.github.com/repos/huggingface/transformers/issues/12991/events | https://github.com/huggingface/transformers/issues/12991 | 959,152,985 | MDU6SXNzdWU5NTkxNTI5ODU= | 12,991 | How is Bert fine-tuned on STS-B task? | {
"login": "PosoSAgapo",
"id": 33200481,
"node_id": "MDQ6VXNlcjMzMjAwNDgx",
"avatar_url": "https://avatars.githubusercontent.com/u/33200481?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PosoSAgapo",
"html_url": "https://github.com/PosoSAgapo",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Please ask those questions on the [forums](https://discuss.huggingface.co/). We keep the issues for bugs and feature requests only.",
"> Please ask those questions on the [forums](https://discuss.huggingface.co/). We keep the issues for bugs and feature requests only.\r\n\r\nThank you for your reply, I will post... | 1,627 | 1,628 | 1,628 | NONE | null | Hi, I am new to NLP and trying to reproduce fine-tune results of Bert. However, the STST-B task troubles me, from what I understand, the STST-B task is a regression task, but Bert treats it as a classification task. I do not quite know the transformation between scores and label in detail, is anybody willing to give me... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12991/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12991/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12990/comments | https://api.github.com/repos/huggingface/transformers/issues/12990/events | https://github.com/huggingface/transformers/issues/12990 | 959,068,727 | MDU6SXNzdWU5NTkwNjg3Mjc= | 12,990 | kindly adding some documentations on t5-v1_1-base"" | {
"login": "dorooddorood606",
"id": 79288051,
"node_id": "MDQ6VXNlcjc5Mjg4MDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/79288051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dorooddorood606",
"html_url": "https://github.com/dorooddorood606",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"There is no model named `\"t5-v1_1-base\"` so I'm not sure what you mean.",
"Yes there is, `google/t5-v1_1-base`. Normally, t5_v1_1 and regular t5 aren't that different. From its [model card](https://huggingface.co/google/t5-v1_1-base):\r\n\r\n> Version 1.1\r\nT5 Version 1.1 includes the following improvements c... | 1,627 | 1,630 | 1,630 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12990/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12990/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12989/comments | https://api.github.com/repos/huggingface/transformers/issues/12989/events | https://github.com/huggingface/transformers/issues/12989 | 959,050,731 | MDU6SXNzdWU5NTkwNTA3MzE= | 12,989 | Training hangs at the very start while using deepspeed | {
"login": "hasansalimkanmaz",
"id": 49716619,
"node_id": "MDQ6VXNlcjQ5NzE2NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/49716619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hasansalimkanmaz",
"html_url": "https://github.com/hasansalimkanmaz",
"followers_url": "https://... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Somehow I don't think this has anything to do with how many epochs you're training, at least I have never had a problem training with just one epoch. The problem most likely is elsewhere.\r\n\r\nBut I can't help you until you give me a way to reproduce your setup.\r\n\r\nIdeally please use one of the existing exam... | 1,627 | 1,635 | 1,635 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.4.0
- base docker image: nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
- Python version: 3.8.8
- PyTorch versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12989/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/12989/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12988/comments | https://api.github.com/repos/huggingface/transformers/issues/12988/events | https://github.com/huggingface/transformers/pull/12988 | 959,044,857 | MDExOlB1bGxSZXF1ZXN0NzAyMjE4NzY0 | 12,988 | [Flax] Correctly Add MT5 | {
"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 | [] | [
"> Do we really need to add an extra class? Can't we just have the auto-mapping point to a FlaxT5Model?\r\n\r\nTechnically we don't need it, my main arguments are:\r\n\r\n- Consistency with PyTorch & TF (people thought MT5 can't be used with Flax because https://huggingface.co/transformers/model_doc/mt5.html doesn'... | 1,627 | 1,628 | 1,628 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12988/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12988/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12988",
"html_url": "https://github.com/huggingface/transformers/pull/12988",
"diff_url": "https://github.com/huggingface/transformers/pull/12988.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12988.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12987/comments | https://api.github.com/repos/huggingface/transformers/issues/12987/events | https://github.com/huggingface/transformers/pull/12987 | 959,020,832 | MDExOlB1bGxSZXF1ZXN0NzAyMTk4ODUw | 12,987 | [Flax] Align jax flax device name | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,627 | 1,628 | 1,628 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12987/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12987/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12987",
"html_url": "https://github.com/huggingface/transformers/pull/12987",
"diff_url": "https://github.com/huggingface/transformers/pull/12987.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12987.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12986/comments | https://api.github.com/repos/huggingface/transformers/issues/12986/events | https://github.com/huggingface/transformers/issues/12986 | 959,005,535 | MDU6SXNzdWU5NTkwMDU1MzU= | 12,986 | pylint error when using `transformers.AutoModelForSequenceClassification.from_pretrained(path)` | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"This may be linked to the missing `classmethod` decorators that were fixed in #12927, could you try on a source install?",
"> This may be linked to the missing `classmethod` decorators that were fixed in #12927, could you try on a source install?\r\n\r\nI made a source install and then I am getting no pylint err... | 1,627 | 1,628 | 1,628 | CONTRIBUTOR | null | I am using transformers 4.9.1 from PyPI.
When using pylint on `transformers.AutoModelForSequenceClassification.from_pretrained(path)` I am getting this error:
`my_scipt.py:277:11: E1120: No value for argument 'pretrained_model_name_or_path' in unbound method call (no-value-for-parameter)`
It I change it to
`trans... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12986/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12986/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12985/comments | https://api.github.com/repos/huggingface/transformers/issues/12985/events | https://github.com/huggingface/transformers/issues/12985 | 958,987,078 | MDU6SXNzdWU5NTg5ODcwNzg= | 12,985 | The transferred onnx model is much bigger than the origin pytorch model | {
"login": "leoozy",
"id": 26025961,
"node_id": "MDQ6VXNlcjI2MDI1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/26025961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leoozy",
"html_url": "https://github.com/leoozy",
"followers_url": "https://api.github.com/users/leoozy/fo... | [] | closed | false | null | [] | [
"Hi @leoozy, \r\n\r\nThanks for bringing this to our attention.\r\n\r\nI don't have all the details about the machinery ONNX/ORT are using to export the weights, but you're certainly right about some shared buffers being copied over at multiple places.\r\n\r\nMay be @tianleiwu from ORT would have some more insights... | 1,627 | 1,631 | 1,631 | NONE | null | python -m transformers.onnx --model=facebook/bart-large /home/sysadmin/downlaod/onnx_models/bart-large
Pytorch version: 1.9.0
transformers version: 4.9.1
platform: centos 7
python version: 3.7
The original bart model is aroud 2GB, But the transferred bart-large model is more than 3gb. This could because some s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12985/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12985/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12984/comments | https://api.github.com/repos/huggingface/transformers/issues/12984/events | https://github.com/huggingface/transformers/issues/12984 | 958,970,274 | MDU6SXNzdWU5NTg5NzAyNzQ= | 12,984 | convert_graph_to_onnx.convert broken for gpt-neo-x.xB since 4.5.0.dev0 | {
"login": "oborchers",
"id": 26734737,
"node_id": "MDQ6VXNlcjI2NzM0NzM3",
"avatar_url": "https://avatars.githubusercontent.com/u/26734737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oborchers",
"html_url": "https://github.com/oborchers",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi @oborchers, \r\n\r\nThanks for raising the issue.\r\n\r\nGPT-Neo is not supported by `convert_graph_to_onnx.py` and even if the model was potentially successfully exported in the past, I would not be surprised if some axis definition would be wrong.\r\n\r\nWith the new package `transformers.onnx` we are working... | 1,627 | 1,631 | 1,631 | NONE | null | ## Environment info
- `transformers` version: 4.9.1
- Platform: Linux-4.15.0-151-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.8.1+cu102 (True)
- Tensorflow version (GPU?): 2.4.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxL... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12984/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12984/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12983/comments | https://api.github.com/repos/huggingface/transformers/issues/12983/events | https://github.com/huggingface/transformers/issues/12983 | 958,929,872 | MDU6SXNzdWU5NTg5Mjk4NzI= | 12,983 | subclassing a torch.utils.data.Dataset object for a T5 model | {
"login": "TheLongSentance",
"id": 35327158,
"node_id": "MDQ6VXNlcjM1MzI3MTU4",
"avatar_url": "https://avatars.githubusercontent.com/u/35327158?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TheLongSentance",
"html_url": "https://github.com/TheLongSentance",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"This tutorial is out of date and will be rewritten soon. You should have a look at the [maintained examples](https://github.com/huggingface/transformers/tree/master/examples) or the [example notebooks](https://huggingface.co/transformers/notebooks.html) instead.",
"Thanks Sylvain, will do."
] | 1,627 | 1,628 | 1,628 | NONE | null | # 🚀 Feature request
In the example on the HuggingFace website "[Fine-tuning with custom datasets](https://huggingface.co/transformers/master/custom_datasets.html)" it says that for a custom dataset:
"_Now, let’s turn our labels and encodings into a Dataset object. In PyTorch, this is done by subclassing a torch.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12983/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12983/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12982/comments | https://api.github.com/repos/huggingface/transformers/issues/12982/events | https://github.com/huggingface/transformers/issues/12982 | 958,681,838 | MDU6SXNzdWU5NTg2ODE4Mzg= | 12,982 | Fine-Tune Wav2Vec2 for English ASR with 🤗 Transformers, loading fine-tune models from local isn't working | {
"login": "Azitt",
"id": 32965166,
"node_id": "MDQ6VXNlcjMyOTY1MTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/32965166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Azitt",
"html_url": "https://github.com/Azitt",
"followers_url": "https://api.github.com/users/Azitt/follow... | [] | closed | false | null | [] | [
"Are you sure you saved your tokenizer in that folder with `tokenizer.save_pretrained`? What files are in this folder?",
"No, I didn't. I'm following this notebook https://huggingface.co/blog/fine-tune-wav2vec2-english it doesn't say save tokenizer. I have these files in my folder. \r\n
## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transform... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12982/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12981/comments | https://api.github.com/repos/huggingface/transformers/issues/12981/events | https://github.com/huggingface/transformers/pull/12981 | 958,305,935 | MDExOlB1bGxSZXF1ZXN0NzAxNjA1NTM3 | 12,981 | fix `Trainer.train(resume_from_checkpoint=False)` is causing an exception | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"All Tests green and ready for review. 👍",
"Thanks again!"
] | 1,627 | 1,627 | 1,627 | CONTRIBUTOR | null | fix with regression test for #12970 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12981/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12981",
"html_url": "https://github.com/huggingface/transformers/pull/12981",
"diff_url": "https://github.com/huggingface/transformers/pull/12981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12981.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12980/comments | https://api.github.com/repos/huggingface/transformers/issues/12980/events | https://github.com/huggingface/transformers/issues/12980 | 958,238,592 | MDU6SXNzdWU5NTgyMzg1OTI= | 12,980 | tapas-base model is not predicting answers well. | {
"login": "SAIVENKATARAJU",
"id": 46083296,
"node_id": "MDQ6VXNlcjQ2MDgzMjk2",
"avatar_url": "https://avatars.githubusercontent.com/u/46083296?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SAIVENKATARAJU",
"html_url": "https://github.com/SAIVENKATARAJU",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"You are initializing `TapasForQuestionAnswering` with randomly initialized classification heads, hence the predictions will be random. The warning also prints this:\r\n\r\n```\r\nSome weights of TapasForQuestionAnswering were not initialized from the model checkpoint at google/tapas-base and are newly initialized:... | 1,627 | 1,693 | 1,631 | NONE | null | Hi,
I was trying to get the answers for my own table. however results are not even reaching expectations. Please find the below code and output. actually, I am extracting tables from PDF,so here instead of providing pdf's i am providing excel sheet for you to test.
```
import pandas as pd
from transformers import... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12980/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12979/comments | https://api.github.com/repos/huggingface/transformers/issues/12979/events | https://github.com/huggingface/transformers/issues/12979 | 958,206,160 | MDU6SXNzdWU5NTgyMDYxNjA= | 12,979 | Documentation: Dataset to Model interface examples | {
"login": "iandanforth-alation",
"id": 52720125,
"node_id": "MDQ6VXNlcjUyNzIwMTI1",
"avatar_url": "https://avatars.githubusercontent.com/u/52720125?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iandanforth-alation",
"html_url": "https://github.com/iandanforth-alation",
"followers_url": ... | [] | closed | false | null | [] | [
"The custom dataset doc page is outdated and will be rewritten soon, you should use the [examples scripts](https://github.com/huggingface/transformers/tree/master/examples) or [example notebooks](https://huggingface.co/transformers/notebooks.html) as a base to fine-tune models.",
"This issue has been automaticall... | 1,627 | 1,631 | 1,631 | NONE | null | # 🚀 Feature request
Add explicit examples to the custom dataset docs which use fully realized key-value pairs and link to the forward methods of the relevant models to emphasize the contract between Dataset `__getitem__()` output and model `forward()`.
## Motivation
This issue arises when you consider the i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12979/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/12979/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12978/comments | https://api.github.com/repos/huggingface/transformers/issues/12978/events | https://github.com/huggingface/transformers/issues/12978 | 958,057,603 | MDU6SXNzdWU5NTgwNTc2MDM= | 12,978 | Validation and Evaluation not cumputed in run_qa.py | {
"login": "mamoon115",
"id": 45480362,
"node_id": "MDQ6VXNlcjQ1NDgwMzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/45480362?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mamoon115",
"html_url": "https://github.com/mamoon115",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"What command did you use to run the script? Setting `--eval_strategy epoch` for instance will give you the evaluation every epoch.",
"@sgugger Yes. \r\nAt the time of evaluation [loss](https://github.com/huggingface/transformers/blob/75b8990d9068a2c6ef448c190f2595c17fbcb993/src/transformers/trainer.py#L2206) is ... | 1,627 | 1,631 | 1,631 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.10.0.dev0
- Platform: ubuntu
- Python version:3.8
Models:
- roberta
Library:
- trainer: @sgugger
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12978/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12978/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12977/comments | https://api.github.com/repos/huggingface/transformers/issues/12977/events | https://github.com/huggingface/transformers/issues/12977 | 957,933,675 | MDU6SXNzdWU5NTc5MzM2NzU= | 12,977 | Control sequence length for Token Classification with Trainer | {
"login": "DimaClaudiu",
"id": 21079953,
"node_id": "MDQ6VXNlcjIxMDc5OTUz",
"avatar_url": "https://avatars.githubusercontent.com/u/21079953?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DimaClaudiu",
"html_url": "https://github.com/DimaClaudiu",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"There is an option to set the `max_seq_length`, introduced in #12929",
"That is it! Thank you."
] | 1,627 | 1,627 | 1,627 | NONE | null | In the [new examples](https://github.com/huggingface/transformers/tree/master/examples/pytorch/token-classification) for running token classification training with pytorch and Trainer, there doesn't seem to be an option to control `max_seq_length`.
In the legacy version of the example, `DataTrainingArgs` has such an... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12977/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12977/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12976/comments | https://api.github.com/repos/huggingface/transformers/issues/12976/events | https://github.com/huggingface/transformers/pull/12976 | 957,814,343 | MDExOlB1bGxSZXF1ZXN0NzAxMTc5NjI0 | 12,976 | Fix template for inputs docstrings | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,627 | 1,627 | 1,627 | COLLABORATOR | null | # What does this PR do?
The templates for the PyTorch model has a mistake in the input dosctrings (parenthesis should be inside the docstring and not the format) and several models had the same mistake (I realized it while reviewing Splinter actually). This PR fixes all of those and cleans up a few problems I spotte... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12976/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12976/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12976",
"html_url": "https://github.com/huggingface/transformers/pull/12976",
"diff_url": "https://github.com/huggingface/transformers/pull/12976.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12976.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12975/comments | https://api.github.com/repos/huggingface/transformers/issues/12975/events | https://github.com/huggingface/transformers/pull/12975 | 957,778,491 | MDExOlB1bGxSZXF1ZXN0NzAxMTQ4NDU5 | 12,975 | Place BigBirdTokenizer in sentencepiece-only objects | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,627 | 1,627 | 1,627 | COLLABORATOR | null | # What does this PR do?
As was pointed out in #12946, it was impossible to import `BigBirdTokenizer` without sentencepiece installed, which shouldn't be the case. This PR fixes that.
Fixes #12946 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12975/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12975",
"html_url": "https://github.com/huggingface/transformers/pull/12975",
"diff_url": "https://github.com/huggingface/transformers/pull/12975.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12975.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12974 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12974/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12974/comments | https://api.github.com/repos/huggingface/transformers/issues/12974/events | https://github.com/huggingface/transformers/pull/12974 | 957,583,386 | MDExOlB1bGxSZXF1ZXN0NzAwOTgxOTkz | 12,974 | fix typo in example/text-classification README | {
"login": "fullyz",
"id": 50270612,
"node_id": "MDQ6VXNlcjUwMjcwNjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/50270612?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fullyz",
"html_url": "https://github.com/fullyz",
"followers_url": "https://api.github.com/users/fullyz/fo... | [] | closed | false | null | [] | [] | 1,627 | 1,627 | 1,627 | CONTRIBUTOR | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12974/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12974/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12974",
"html_url": "https://github.com/huggingface/transformers/pull/12974",
"diff_url": "https://github.com/huggingface/transformers/pull/12974.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12974.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12973 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12973/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12973/comments | https://api.github.com/repos/huggingface/transformers/issues/12973/events | https://github.com/huggingface/transformers/pull/12973 | 957,551,663 | MDExOlB1bGxSZXF1ZXN0NzAwOTU2NDgw | 12,973 | Add retrieval model config | {
"login": "amy-marmalade",
"id": 85194333,
"node_id": "MDQ6VXNlcjg1MTk0MzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/85194333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amy-marmalade",
"html_url": "https://github.com/amy-marmalade",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,627 | 1,627 | 1,627 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12973/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12973/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12973",
"html_url": "https://github.com/huggingface/transformers/pull/12973",
"diff_url": "https://github.com/huggingface/transformers/pull/12973.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12973.patch",
"merged_at... | |
https://api.github.com/repos/huggingface/transformers/issues/12972 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12972/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12972/comments | https://api.github.com/repos/huggingface/transformers/issues/12972/events | https://github.com/huggingface/transformers/pull/12972 | 957,473,813 | MDExOlB1bGxSZXF1ZXN0NzAwODkzOTY1 | 12,972 | Deberta tf | {
"login": "kamalkraj",
"id": 17096858,
"node_id": "MDQ6VXNlcjE3MDk2ODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/17096858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kamalkraj",
"html_url": "https://github.com/kamalkraj",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"As a result of #13023 , you will need to rebase your PR on master and solve the merge conflicts (basically, you will just need to re-add the models in the auto-mappings as strings). Let us know if you need any help with that.",
"Glad to see a tf version! Thank you!",
"@LysandreJik \r\nYes, I am interested in c... | 1,627 | 1,631 | 1,628 | CONTRIBUTOR | null | # What does this PR do?
TFDeBERTa implementation
@patrickvonplaten, @LysandreJik
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the ext... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12972/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12972/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12972",
"html_url": "https://github.com/huggingface/transformers/pull/12972",
"diff_url": "https://github.com/huggingface/transformers/pull/12972.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12972.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12971 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12971/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12971/comments | https://api.github.com/repos/huggingface/transformers/issues/12971/events | https://github.com/huggingface/transformers/issues/12971 | 957,443,611 | MDU6SXNzdWU5NTc0NDM2MTE= | 12,971 | [FLAX] Potential bug in CLM script when using text files | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | 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... | [
"If I understand correctly this also applies to PyTorch's `run_clm.py` script. I am happy to add the `keep_linebreaks` parameter to both `run_clm.py` and `run_flax_clm.py` if `load_dataset(\"text\")` is used. \r\n\r\n@sgugger @lhoestq - what do you think? It seems like multiple people had this problem.\r\n\r\nAlso ... | 1,627 | 1,630 | 1,630 | COLLABORATOR | null | Hi,
I've seen the following bug when using the CLM script with FLAX in combination with text files, pretty much the same as reported on StackOverflow:
https://stackoverflow.com/questions/65145526/why-new-lines-arent-generated-with-my-fine-tuned-distilgpt2-model
The underlying problem is, that newlines are remo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12971/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12971/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12970 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12970/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12970/comments | https://api.github.com/repos/huggingface/transformers/issues/12970/events | https://github.com/huggingface/transformers/issues/12970 | 957,303,934 | MDU6SXNzdWU5NTczMDM5MzQ= | 12,970 | `Trainer.train(resume_from_checkpoint=False)` is causing an exception | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"That seems like the right fix indeed. Please go ahead with a PR, thanks! :-)"
] | 1,627 | 1,627 | 1,627 | CONTRIBUTOR | null | Since `resume_from_checkpoint` can be `str` and `bool` it should be possible to pass `False` to it.
But when `resume_from_checkpoint` is `False` it causes an exception here:
https://github.com/huggingface/transformers/blob/3d4b3bc3fd77e0e48e2364464ea90379f13bcf37/src/transformers/trainer.py#L1049-L1050
```text
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12970/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12970/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12969 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12969/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12969/comments | https://api.github.com/repos/huggingface/transformers/issues/12969/events | https://github.com/huggingface/transformers/pull/12969 | 957,303,653 | MDExOlB1bGxSZXF1ZXN0NzAwNzU0ODk2 | 12,969 | Add tokenizer method to convert ids to tokens | {
"login": "markrogersjr",
"id": 1095809,
"node_id": "MDQ6VXNlcjEwOTU4MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1095809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/markrogersjr",
"html_url": "https://github.com/markrogersjr",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,627 | 1,627 | 1,627 | NONE | null | Adds basic functionality to convert model output to a human-interpretable format for applications such as grammar checking with the T5 CoLA task. @thomwolf
Fixes #12967 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12969/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12969/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12969",
"html_url": "https://github.com/huggingface/transformers/pull/12969",
"diff_url": "https://github.com/huggingface/transformers/pull/12969.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12969.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12968 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12968/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12968/comments | https://api.github.com/repos/huggingface/transformers/issues/12968/events | https://github.com/huggingface/transformers/issues/12968 | 957,300,926 | MDU6SXNzdWU5NTczMDA5MjY= | 12,968 | 403 error in colab to download tokenizer | {
"login": "moghadas76",
"id": 23231913,
"node_id": "MDQ6VXNlcjIzMjMxOTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/23231913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moghadas76",
"html_url": "https://github.com/moghadas76",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Please follow the issue template, there is nothing we can do to help otherwise."
] | 1,627 | 1,627 | 1,627 | NONE | null | ```
647 class HTTPDefaultErrorHandler(BaseHandler):
648 def http_error_default(self, req, fp, code, msg, hdrs):
--> 649 raise HTTPError(req.full_url, code, msg, hdrs, fp)
650
651 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 403: rate limit exceeded
``` | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12968/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12968/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12967 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12967/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12967/comments | https://api.github.com/repos/huggingface/transformers/issues/12967/events | https://github.com/huggingface/transformers/issues/12967 | 957,300,227 | MDU6SXNzdWU5NTczMDAyMjc= | 12,967 | Unable to convert output to interpretable format | {
"login": "markrogersjr",
"id": 1095809,
"node_id": "MDQ6VXNlcjEwOTU4MDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1095809?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/markrogersjr",
"html_url": "https://github.com/markrogersjr",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [] | 1,627 | 1,627 | 1,627 | NONE | null | # 🚀 Feature request
There is no way to convert model outputs to a human-interpretable format, such as a list of token strings. Without this feature, there is no practicality other than benchmarking model performance, which does not require such a feature.
## Motivation
I'm trying to use the T5 CoLA task to determ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12967/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12967/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12966 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12966/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12966/comments | https://api.github.com/repos/huggingface/transformers/issues/12966/events | https://github.com/huggingface/transformers/issues/12966 | 957,248,376 | MDU6SXNzdWU5NTcyNDgzNzY= | 12,966 | Workaround for training models with really big text files | {
"login": "finiteautomata",
"id": 167943,
"node_id": "MDQ6VXNlcjE2Nzk0Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/167943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/finiteautomata",
"html_url": "https://github.com/finiteautomata",
"followers_url": "https://api.github... | [] | closed | false | null | [] | [
"cc @sgugger @lhoestq",
"The cache issue should be mostly fixed, now that datasets stores the tokenized inputs with the right precision. If it's not, it should be discussed on the Datasets repo.\r\nThe second issue should also be discussed on the Datasets repo.\r\n\r\nAs mentioned on the main README, the examples... | 1,627 | 1,627 | 1,627 | NONE | null |
# 🚀 Feature request
Provide a workaround for `run_mlm.py` when working with big text files.
## Motivation
I'm trying to train a `RoBERTa` model with a lot of big text files (~ 50GB of text). When doing so, I'm facing two obstacles:
1. Tokenization beforehand creates a lot of cache storage (See #10204), ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12966/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12966/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12965 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12965/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12965/comments | https://api.github.com/repos/huggingface/transformers/issues/12965/events | https://github.com/huggingface/transformers/issues/12965 | 957,194,611 | MDU6SXNzdWU5NTcxOTQ2MTE= | 12,965 | Bugs when fine tuning the gpt2 | {
"login": "yananchen1989",
"id": 26405281,
"node_id": "MDQ6VXNlcjI2NDA1Mjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/26405281?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yananchen1989",
"html_url": "https://github.com/yananchen1989",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Pinging @sgugger",
"It's hard to investigate more without having the data. Adding padding when fine-tuning GPT-2 is a very bad idea when fine-tuning GPT-2, which does not have a padding token, and it shouldn't be necessary. Could you provide us with a reproducer that includes the data?",
"> It's hard to invest... | 1,627 | 1,630 | 1,630 | NONE | null | Transformers Version: 4.8.2
Torch Version: 1.8.0
I am using the official script to fine tune the gpt2 on the csv files.
the script:
https://github.com/huggingface/transformers/blob/master/examples/pytorch/language-modeling/run_clm_no_trainer.py
train and validation file makeup:
```
df_train_ft_aug.rename(c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12965/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12965/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12964 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12964/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12964/comments | https://api.github.com/repos/huggingface/transformers/issues/12964/events | https://github.com/huggingface/transformers/issues/12964 | 957,192,069 | MDU6SXNzdWU5NTcxOTIwNjk= | 12,964 | Using `model.sample()` and increasing the `max_length` leads to CUDA OOM crash | {
"login": "moinedgylabs",
"id": 36688714,
"node_id": "MDQ6VXNlcjM2Njg4NzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/36688714?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/moinedgylabs",
"html_url": "https://github.com/moinedgylabs",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Related to https://github.com/huggingface/transformers/issues/11320\r\n\r\nCc @patil-suraj ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [... | 1,627 | 1,631 | 1,631 | NONE | null | ## Environment info
- `transformers` version: 4.6.0.dev0
- Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.11
- PyTorch version (GPU?): 1.9.0+cu102 (True)
- Tensorflow version (GPU?): 2.5.0 (True)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12964/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12964/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12963 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12963/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12963/comments | https://api.github.com/repos/huggingface/transformers/issues/12963/events | https://github.com/huggingface/transformers/pull/12963 | 957,154,957 | MDExOlB1bGxSZXF1ZXN0NzAwNjQyMzc1 | 12,963 | Prevent `Trainer.evaluate()` crash when using only tensorboardX | {
"login": "aphedges",
"id": 14283972,
"node_id": "MDQ6VXNlcjE0MjgzOTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/14283972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aphedges",
"html_url": "https://github.com/aphedges",
"followers_url": "https://api.github.com/users/aph... | [] | closed | false | null | [] | [
"Thanks for the fix!"
] | 1,627 | 1,627 | 1,627 | CONTRIBUTOR | null | # What does this PR do?
Fixes #12962
I did not write any tests because it seems like the logging integration callbacks have absolutely no testing at all, and I'm not creating a whole set of tests for a one-line fix.
## Who can review?
trainer: @sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12963/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/12963/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12963",
"html_url": "https://github.com/huggingface/transformers/pull/12963",
"diff_url": "https://github.com/huggingface/transformers/pull/12963.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12963.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12962 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12962/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12962/comments | https://api.github.com/repos/huggingface/transformers/issues/12962/events | https://github.com/huggingface/transformers/issues/12962 | 957,154,887 | MDU6SXNzdWU5NTcxNTQ4ODc= | 12,962 | `Trainer.evaluate()` crashes when using only tensorboardX | {
"login": "aphedges",
"id": 14283972,
"node_id": "MDQ6VXNlcjE0MjgzOTcy",
"avatar_url": "https://avatars.githubusercontent.com/u/14283972?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aphedges",
"html_url": "https://github.com/aphedges",
"followers_url": "https://api.github.com/users/aph... | [] | closed | false | null | [] | [
"same problem",
"I simply update the transformers,then it works fine. It seems like the newest version has fixed this error of tensorboradX."
] | 1,627 | 1,635 | 1,627 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.9.1
- Platform: Linux-3.10.0-1160.31.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core
- Python version: 3.7.9
- PyTorch version (GPU?): 1.8.1+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12962/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12962/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12961 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12961/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12961/comments | https://api.github.com/repos/huggingface/transformers/issues/12961/events | https://github.com/huggingface/transformers/pull/12961 | 957,141,427 | MDExOlB1bGxSZXF1ZXN0NzAwNjMxOTE0 | 12,961 | Use min version for huggingface-hub dependency | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [] | closed | false | null | [] | [
"Yes the exact pin has been set on purpose because `huggingface_hub` is not stable enough right now, and there might breaking changes in the future that would break older versions of Transformers.\r\n\r\nWe can accept an upgrade on the Transformers side (bumping to 0.0.15) but we will only switch to a minimum versi... | 1,627 | 1,628 | 1,628 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12961/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12961/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12961",
"html_url": "https://github.com/huggingface/transformers/pull/12961",
"diff_url": "https://github.com/huggingface/transformers/pull/12961.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12961.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12960 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12960/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12960/comments | https://api.github.com/repos/huggingface/transformers/issues/12960/events | https://github.com/huggingface/transformers/pull/12960 | 957,039,368 | MDExOlB1bGxSZXF1ZXN0NzAwNTQ0MTEw | 12,960 | [Very WIP] Migrating ALL pipelines to new testing + fixes | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"I'm curious how long it takes to run the whole suite - would it be possible to add a commit that impacts all pipelines to see how long that takes?",
"@LysandreJik That's the one.\r\n",
"Or you mean hitting the `pipelines` files ?",
"Yes, I can push a commit that does that on your branch if you want!",
"G... | 1,627 | 1,631 | 1,631 | CONTRIBUTOR | null | # What does this PR do?
For now we just need to see the tests times to see how bad we are, and how much we need to improve.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12960/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12960/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12960",
"html_url": "https://github.com/huggingface/transformers/pull/12960",
"diff_url": "https://github.com/huggingface/transformers/pull/12960.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12960.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12959 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12959/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12959/comments | https://api.github.com/repos/huggingface/transformers/issues/12959/events | https://github.com/huggingface/transformers/issues/12959 | 957,002,687 | MDU6SXNzdWU5NTcwMDI2ODc= | 12,959 | huggingface-hub version conflict | {
"login": "CraigMiloRogers",
"id": 5853763,
"node_id": "MDQ6VXNlcjU4NTM3NjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5853763?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/CraigMiloRogers",
"html_url": "https://github.com/CraigMiloRogers",
"followers_url": "https://api.g... | [] | closed | false | null | [] | [
"This is discussed in #12961 ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transfo... | 1,627 | 1,631 | 1,631 | NONE | null | `transformers` requires `huggingface-hub==0.0.12` in `setup.py` in the `master` branch.
`huggingface-hub` has just released version `0.0.15`.
Other projects that use `huggingface-hub`, such as `https://github.com/UKPLab/sentence-transformers`, are happy with the latest version of `huggingface-hub`.
Depending... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12959/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12959/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12958 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12958/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12958/comments | https://api.github.com/repos/huggingface/transformers/issues/12958/events | https://github.com/huggingface/transformers/issues/12958 | 956,982,699 | MDU6SXNzdWU5NTY5ODI2OTk= | 12,958 | Weird behavior with mBART-50 and Spanish | {
"login": "ArbinTimilsina",
"id": 18752223,
"node_id": "MDQ6VXNlcjE4NzUyMjIz",
"avatar_url": "https://avatars.githubusercontent.com/u/18752223?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArbinTimilsina",
"html_url": "https://github.com/ArbinTimilsina",
"followers_url": "https://api.gi... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Pinging @patil-suraj too, and @mrm8488 might have played with that model in the past.",
"Any progress here? I've faced the exact same problem when attempting to translate from Spanish, although slightly different output:\r\n\r\n```\r\nThe Committee recommends that the State party take all necessary measures to e... | 1,627 | 1,641 | null | NONE | null | ## Environment info
- `transformers` version: 4.9.1
- Platform: Linux-5.4.0-1054-aws-x86_64-with-debian-buster-sid
- Python version: 3.7.10
- PyTorch version (GPU?): 1.9.0+cu102 (True)
## Who can help
@patrickvonplaten
## Information
I am seeing weird behavior with mBART-50 and Spanish. Please look at the c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12958/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12958/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12957 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12957/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12957/comments | https://api.github.com/repos/huggingface/transformers/issues/12957/events | https://github.com/huggingface/transformers/issues/12957 | 956,967,478 | MDU6SXNzdWU5NTY5Njc0Nzg= | 12,957 | 404 Error when loading pretrained model, after finetuning | {
"login": "nikky4D",
"id": 7451106,
"node_id": "MDQ6VXNlcjc0NTExMDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/7451106?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nikky4D",
"html_url": "https://github.com/nikky4D",
"followers_url": "https://api.github.com/users/nikky4D/... | [] | closed | false | null | [] | [
"How did you save your model? Was it with the `same_pretrained` method? The error says it can't locate the `config.json` associated to the model, so double check you have that file in the folder you are loading from.",
"Thank you for the pointer. I was able to solve it with a full path input, so I think I was not... | 1,627 | 1,627 | 1,627 | NONE | null | I'm trying to load up a finetuned T5 model I've saved but I keep getting a 404 error.
I have my model saved in the same directory as my jupyter notebook, at ```textgen_models/textgen_model_shuffle_e10/```
It contains a config.json, and a pytorch_model.bin
"""
```
model_path = Path("textgen_models/textgen_model_s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12957/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12957/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12956 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12956/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12956/comments | https://api.github.com/repos/huggingface/transformers/issues/12956/events | https://github.com/huggingface/transformers/issues/12956 | 956,944,871 | MDU6SXNzdWU5NTY5NDQ4NzE= | 12,956 | Wav2Vec2 WER remains 1.00 and return blank transcriptions. | {
"login": "theainerd",
"id": 15798640,
"node_id": "MDQ6VXNlcjE1Nzk4NjQw",
"avatar_url": "https://avatars.githubusercontent.com/u/15798640?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/theainerd",
"html_url": "https://github.com/theainerd",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"\r\n",
"I see you are using transformers==4.4.0\r\nthere seems to be some updates to [wav2vec2 model ](https://github.com/huggingface/transformers/tree/master/src/transform... | 1,627 | 1,631 | 1,631 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: transformers==4.4.0
- Platform:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12956/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12956/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12955 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12955/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12955/comments | https://api.github.com/repos/huggingface/transformers/issues/12955/events | https://github.com/huggingface/transformers/pull/12955 | 956,886,052 | MDExOlB1bGxSZXF1ZXN0NzAwNDE1MDE3 | 12,955 | Add splinter | {
"login": "oriram",
"id": 26966674,
"node_id": "MDQ6VXNlcjI2OTY2Njc0",
"avatar_url": "https://avatars.githubusercontent.com/u/26966674?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oriram",
"html_url": "https://github.com/oriram",
"followers_url": "https://api.github.com/users/oriram/fo... | [] | closed | false | null | [] | [
"Thanks a lot for the PR! Think we can merge this soon :-) Some points that I think will be important to adapt before merging are:\r\n\r\n- Simplify the logic of `splinter_qass` vs `new_splinter_qass`. IMO there should only be one `splinter_class` class attribute and if this has to be reinitialized or set to 0 we c... | 1,627 | 1,629 | 1,629 | CONTRIBUTOR | null | # What does this PR do?
[Splinter](https://arxiv.org/abs/2101.00438) implementation
@patil-suraj @LysandreJik @patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12955/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12955/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12955",
"html_url": "https://github.com/huggingface/transformers/pull/12955",
"diff_url": "https://github.com/huggingface/transformers/pull/12955.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12955.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12954 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12954/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12954/comments | https://api.github.com/repos/huggingface/transformers/issues/12954/events | https://github.com/huggingface/transformers/pull/12954 | 956,828,717 | MDExOlB1bGxSZXF1ZXN0NzAwMzY0MzQ1 | 12,954 | Fix typo in example of DPRReader | {
"login": "tadejsv",
"id": 11489772,
"node_id": "MDQ6VXNlcjExNDg5Nzcy",
"avatar_url": "https://avatars.githubusercontent.com/u/11489772?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tadejsv",
"html_url": "https://github.com/tadejsv",
"followers_url": "https://api.github.com/users/tadejs... | [] | closed | false | null | [] | [] | 1,627 | 1,627 | 1,627 | CONTRIBUTOR | null | # What does this PR do?
Fix typo in example of DPRReader
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12954/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12954/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12954",
"html_url": "https://github.com/huggingface/transformers/pull/12954",
"diff_url": "https://github.com/huggingface/transformers/pull/12954.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12954.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12953 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12953/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12953/comments | https://api.github.com/repos/huggingface/transformers/issues/12953/events | https://github.com/huggingface/transformers/pull/12953 | 956,739,763 | MDExOlB1bGxSZXF1ZXN0NzAwMjg4MDQw | 12,953 | Fix division by zero in NotebookProgressPar | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,627 | 1,627 | 1,627 | COLLABORATOR | null | # What does this PR do?
This PR fixes the bug reported in #12950. More precisely, the following snippet of code was failing with a division by zero error:
```py
from transformers.utils.notebook import NotebookProgressBar
pbar = NotebookProgressBar(total=1)
pbar.update(1)
pbar.update(1, force_update=True)
```... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12953/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12953/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12953",
"html_url": "https://github.com/huggingface/transformers/pull/12953",
"diff_url": "https://github.com/huggingface/transformers/pull/12953.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12953.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12952 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12952/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12952/comments | https://api.github.com/repos/huggingface/transformers/issues/12952/events | https://github.com/huggingface/transformers/pull/12952 | 956,672,894 | MDExOlB1bGxSZXF1ZXN0NzAwMjMwMjkw | 12,952 | Add multilingual documentation support | {
"login": "JetRunner",
"id": 22514219,
"node_id": "MDQ6VXNlcjIyNTE0MjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JetRunner",
"html_url": "https://github.com/JetRunner",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You will need to run `make style` on your branch to fix the quality check. I'm looking at the result [here](https://247866-155220641-gh.circle-artifacts.com/0/docs/_build/html/index.html) but don't see anything changed. Is it normal?",
"@sgugger Yes, it's normal. This is just a PR to support multilingual docs bu... | 1,627 | 1,627 | 1,627 | CONTRIBUTOR | null | This PR adds multilingual documentation support for incoming Chinese documentations. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12952/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12952/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12952",
"html_url": "https://github.com/huggingface/transformers/pull/12952",
"diff_url": "https://github.com/huggingface/transformers/pull/12952.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12952.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12951 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12951/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12951/comments | https://api.github.com/repos/huggingface/transformers/issues/12951/events | https://github.com/huggingface/transformers/pull/12951 | 956,651,174 | MDExOlB1bGxSZXF1ZXN0NzAwMjExNzk2 | 12,951 | Add substep end callback method | {
"login": "wulu473",
"id": 8149933,
"node_id": "MDQ6VXNlcjgxNDk5MzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8149933?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wulu473",
"html_url": "https://github.com/wulu473",
"followers_url": "https://api.github.com/users/wulu473/... | [] | closed | false | null | [] | [
"Thanks for your help. Yep, happy to add the callback as well. I'll tag you on a PR when I have something ready."
] | 1,627 | 1,627 | 1,627 | CONTRIBUTOR | null | As discussed in #12920 with @sgugger, a callback method after a gradient accumulation step is needed for some training techniques such as differentially private training with Opacus (see [Opacus - Docs: virtual_step](https://opacus.ai/api/privacy_engine.html?highlight=virtual_step#opacus.privacy_engine.PrivacyEngine.vi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12951/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12951/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12951",
"html_url": "https://github.com/huggingface/transformers/pull/12951",
"diff_url": "https://github.com/huggingface/transformers/pull/12951.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12951.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/12950 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12950/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12950/comments | https://api.github.com/repos/huggingface/transformers/issues/12950/events | https://github.com/huggingface/transformers/issues/12950 | 956,567,415 | MDU6SXNzdWU5NTY1Njc0MTU= | 12,950 | ZeroDivisionError in NotebookProgressBar.update with small dataset | {
"login": "Rik-de-Kort",
"id": 32839123,
"node_id": "MDQ6VXNlcjMyODM5MTIz",
"avatar_url": "https://avatars.githubusercontent.com/u/32839123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rik-de-Kort",
"html_url": "https://github.com/Rik-de-Kort",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thanks for reporting! I could reproduce and extracted a shorter reproducer (see the PR above). Fix is on its way :-)",
"Excellent! "
] | 1,627 | 1,627 | 1,627 | NONE | null | I don't know the specifics, but during training (details below) NotebookProgressBar's update function got called with `force_update` is true, while no progress had been made (i.e. `value == self.start_value`). This leads directly to a ZeroDivisionError on line 151 in src/transformers/util/notebook.py.
## Environment... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12950/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12950/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12949 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12949/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12949/comments | https://api.github.com/repos/huggingface/transformers/issues/12949/events | https://github.com/huggingface/transformers/issues/12949 | 956,562,551 | MDU6SXNzdWU5NTY1NjI1NTE= | 12,949 | [end2end rag] Slow speed when extending the external KB | {
"login": "shunyuzh",
"id": 41095167,
"node_id": "MDQ6VXNlcjQxMDk1MTY3",
"avatar_url": "https://avatars.githubusercontent.com/u/41095167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shunyuzh",
"html_url": "https://github.com/shunyuzh",
"followers_url": "https://api.github.com/users/shu... | [] | closed | false | null | [] | [
"Hi, Thanks a lot for trying out our model and pointing out these valuable facts. I checked your problem and didn't see any problem with GPU selection, but yeah the time can increase, dramatically if we use a large dataset with the current index. So please go through my answer below. \r\n\r\nActually, it is not a b... | 1,627 | 1,630 | 1,630 | NONE | null | Hi folks,
@shamanez Sorry to disturb you for some problems. It mainly about process about re-encode and re-index, related to kb_encode_utils.py and finetune_rag.py.
First, When I extended your provided SQUAD-KB.csv to another five times larger file, the re-index process became too slow, sometimes even needing h... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12949/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12949/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12948 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12948/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12948/comments | https://api.github.com/repos/huggingface/transformers/issues/12948/events | https://github.com/huggingface/transformers/issues/12948 | 956,561,727 | MDU6SXNzdWU5NTY1NjE3Mjc= | 12,948 | BertForQuestionAnswering result not match when multiple run in same input | {
"login": "kjyeon1676",
"id": 19407432,
"node_id": "MDQ6VXNlcjE5NDA3NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/19407432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kjyeon1676",
"html_url": "https://github.com/kjyeon1676",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You are using the generic BERT checkpoint `bert-base-cased` for a question-answering task, which is why you get the warning telling you that some of the weights are randomly initialized (the weights of the question answering head). Since there is that part that is randomly initialized, you won't get the same resul... | 1,627 | 1,627 | 1,627 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.9.0.dev0
- Platform: Linux-4.15.0-126-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.4
- PyTo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12948/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12948/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/12947 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/12947/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/12947/comments | https://api.github.com/repos/huggingface/transformers/issues/12947/events | https://github.com/huggingface/transformers/pull/12947 | 956,555,963 | MDExOlB1bGxSZXF1ZXN0NzAwMTMxMzE1 | 12,947 | [FLAX] Minor fixes in LM example | {
"login": "stefan-it",
"id": 20651387,
"node_id": "MDQ6VXNlcjIwNjUxMzg3",
"avatar_url": "https://avatars.githubusercontent.com/u/20651387?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stefan-it",
"html_url": "https://github.com/stefan-it",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,627 | 1,627 | 1,627 | COLLABORATOR | null | Hi,
this PR introduces some fixes for getting the correct vocab size from the Tokenizers used in the FLAX example language modeling readme. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/12947/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/12947/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/12947",
"html_url": "https://github.com/huggingface/transformers/pull/12947",
"diff_url": "https://github.com/huggingface/transformers/pull/12947.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/12947.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.