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/18074 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18074/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18074/comments | https://api.github.com/repos/huggingface/transformers/issues/18074/events | https://github.com/huggingface/transformers/issues/18074 | 1,298,782,464 | I_kwDOCUB6oc5NadkA | 18,074 | Cannot successfully convert convnext models to onnx using transformers.onnx | {
"login": "dingusagar",
"id": 12700858,
"node_id": "MDQ6VXNlcjEyNzAwODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/12700858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dingusagar",
"html_url": "https://github.com/dingusagar",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [
{
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.git... | [
"You need to provide the `--feature` argument",
"@NielsRogge is right, if you want to perform image classification you need to provide the `--feature image-classification` argument.\r\n\r\nBesides, it is also possible that the default absolute tolerance used for validating the model is not adapted to different si... | 1,657 | 1,657 | 1,657 | NONE | null | ### System Info
transformers==4.20.1
onnxruntime==1.11.1
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18074/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/18074/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18073 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18073/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18073/comments | https://api.github.com/repos/huggingface/transformers/issues/18073/events | https://github.com/huggingface/transformers/pull/18073 | 1,298,774,158 | PR_kwDOCUB6oc47GD2V | 18,073 | Update TF(Vision)EncoderDecoderModel PT/TF equivalence tests | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Would it be possible to move in the opposite direction, i.e. make the TFEncoderDecoder tests (or TFEncoderDecoderMixin itself) inherit from TFModelTesterMixin?\r\n\r\nI also asked myself, and think it would be nice. Having somethin... | 1,657 | 1,658 | 1,658 | COLLABORATOR | null | # What does this PR do?
Make PT/TF equivalence tests for TF(Vision)EncoderDecoderModel aligned with the ones defined in `test_modeling_tf_common.py`:
- test all hidden states, attention outputs
- (and a minor bonus: consistent test names) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18073/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/18073/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18073",
"html_url": "https://github.com/huggingface/transformers/pull/18073",
"diff_url": "https://github.com/huggingface/transformers/pull/18073.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18073.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18072 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18072/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18072/comments | https://api.github.com/repos/huggingface/transformers/issues/18072/events | https://github.com/huggingface/transformers/pull/18072 | 1,298,762,170 | PR_kwDOCUB6oc47GBOz | 18,072 | Enhance IPEX integration in Trainer | {
"login": "jianan-gu",
"id": 83276252,
"node_id": "MDQ6VXNlcjgzMjc2MjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/83276252?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jianan-gu",
"html_url": "https://github.com/jianan-gu",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"so you probably want to re-enable the tests then in this PR, right?\r\n\r\nas flagged here they were disabled as they were failing:\r\n\r\nhttps://github.com/huggingface/transformers/pull/17138#issuecomment-1171348748\r\n\r\nso in th... | 1,657 | 1,657 | 1,657 | 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/18072/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18072/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18072",
"html_url": "https://github.com/huggingface/transformers/pull/18072",
"diff_url": "https://github.com/huggingface/transformers/pull/18072.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18072.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18071 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18071/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18071/comments | https://api.github.com/repos/huggingface/transformers/issues/18071/events | https://github.com/huggingface/transformers/issues/18071 | 1,298,650,999 | I_kwDOCUB6oc5NZ9d3 | 18,071 | Composite models (encoder-decoder) behave differently across PyTorch and TensorFlow | {
"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/... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Seems related to the `@unpack_inputs` decorator - I remember it being much trickier on composite models when I first added it.\r\n\r\nWill be taking a look today 👍 "
] | 1,657 | 1,658 | 1,658 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: Windows-10-10.0.19044-SP0
- Python version: 3.9.5
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.10.1+cpu (False)
- Tensorflow version (GPU?): 2.7.0 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not inst... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18071/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/18071/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18070 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18070/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18070/comments | https://api.github.com/repos/huggingface/transformers/issues/18070/events | https://github.com/huggingface/transformers/issues/18070 | 1,298,636,617 | I_kwDOCUB6oc5NZ59J | 18,070 | Warnings for unexpected parameters when resuming training. | {
"login": "Nilabhra",
"id": 5437792,
"node_id": "MDQ6VXNlcjU0Mzc3OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/5437792?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nilabhra",
"html_url": "https://github.com/Nilabhra",
"followers_url": "https://api.github.com/users/Nilab... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,657 | 1,660 | 1,660 | NONE | null | ### Feature request
The `Trainer` class should report warning messages if the provided training arguments for the resumed run, don't match with the stored configuration in the given checkpoint.
### Motivation
I started an MLM training with 9 epochs and then tried to resume the training til 15 epochs. I didn't realis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18070/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/18070/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18069 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18069/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18069/comments | https://api.github.com/repos/huggingface/transformers/issues/18069/events | https://github.com/huggingface/transformers/pull/18069 | 1,298,597,535 | PR_kwDOCUB6oc47FdbZ | 18,069 | Fix RESOURCE_EXHAUSTED error when dealing with large datasets in Flax example scripts | {
"login": "duongna21",
"id": 38061659,
"node_id": "MDQ6VXNlcjM4MDYxNjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/38061659?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/duongna21",
"html_url": "https://github.com/duongna21",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@duongna21 Do you know the reason why we get `RESOURCE_EXHAUSTED` without the fix? Also, it would be nice to add a comment before the line to explain it a bit 🙏 \r\n\r\nAlso, does this issue occur only when we run on TPU? ~~I see th... | 1,657 | 1,658 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Fixes #15411. All Flax example scripts using `generate_batch_splits` raise RESOURCE_EXHAUSTED error when training with large datasets on TPU.
## Fix
Simply transfer the jnp array `samples_idx` back to the host before putting it in `np.split`.
## Who can review?
cc potential reviewer... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18069/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18069/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18069",
"html_url": "https://github.com/huggingface/transformers/pull/18069",
"diff_url": "https://github.com/huggingface/transformers/pull/18069.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18069.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18068 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18068/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18068/comments | https://api.github.com/repos/huggingface/transformers/issues/18068/events | https://github.com/huggingface/transformers/issues/18068 | 1,298,557,875 | I_kwDOCUB6oc5NZmuz | 18,068 | StoppingCriteria "scores" is always None | {
"login": "jbmaxwell",
"id": 15166432,
"node_id": "MDQ6VXNlcjE1MTY2NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/15166432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbmaxwell",
"html_url": "https://github.com/jbmaxwell",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @jbmaxwell, \r\n\r\nSadly we don't have the time to dive into problems related to customized code. For this could you maybe try to use the forum instead? \r\n\r\nhttps://discuss.huggingface.co/\r\n\r\nLooking at this line: https://github.com/huggingface/transformers/blob/ac98a88fbc6377f93e8b7fbd244b0c3331bb82a... | 1,657 | 1,697 | 1,657 | NONE | null | ### System Info
I've written a custom StoppingCriteria subclass and I'm trying to utilize the `scores` in my decision logic, but I'm finding that `scores` is always `None`. Is that intentional?
### Who can help?
@patrickvonplaten, @Narsil, @gante
### Information
- [ ] The official example scripts
- [X] My own modi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18068/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18068/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18067 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18067/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18067/comments | https://api.github.com/repos/huggingface/transformers/issues/18067/events | https://github.com/huggingface/transformers/pull/18067 | 1,298,178,800 | PR_kwDOCUB6oc47EA5t | 18,067 | [ create_a_model.mdx ] Finished | {
"login": "Fellip15",
"id": 81062614,
"node_id": "MDQ6VXNlcjgxMDYyNjE0",
"avatar_url": "https://avatars.githubusercontent.com/u/81062614?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Fellip15",
"html_url": "https://github.com/Fellip15",
"followers_url": "https://api.github.com/users/Fel... | [] | closed | false | null | [] | [
"cc @omarespejel "
] | 1,657 | 1,657 | 1,657 | 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/18067/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18067/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18067",
"html_url": "https://github.com/huggingface/transformers/pull/18067",
"diff_url": "https://github.com/huggingface/transformers/pull/18067.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18067.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18066 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18066/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18066/comments | https://api.github.com/repos/huggingface/transformers/issues/18066/events | https://github.com/huggingface/transformers/issues/18066 | 1,298,127,003 | I_kwDOCUB6oc5NX9ib | 18,066 | An example for finetuning FLAVA or any VLP multimodel using trainer (for example for classification) | {
"login": "Ngheissari",
"id": 83084391,
"node_id": "MDQ6VXNlcjgzMDg0Mzkx",
"avatar_url": "https://avatars.githubusercontent.com/u/83084391?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Ngheissari",
"html_url": "https://github.com/Ngheissari",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nNotebooks for FLAVA will soon be available in https://github.com/NielsRogge/Transformers-Tutorials.\r\n\r\nYou can find already some tutorials here: https://github.com/apsdehal/flava-tutorials.\r\n\r\ncc @apsdehal ",
"This issue has been automatically marked as stale because it has not had recent acti... | 1,657 | 1,661 | 1,660 | NONE | null | ### Feature request
There is no example of finetuning any VLP model using trainer. I would appreciate an example
### Motivation
The way to use trainers with any Vision and Language pretrained model is not clear.
### Your contribution
None. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18066/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18066/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18065 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18065/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18065/comments | https://api.github.com/repos/huggingface/transformers/issues/18065/events | https://github.com/huggingface/transformers/pull/18065 | 1,298,085,209 | PR_kwDOCUB6oc47Dr-1 | 18,065 | 2d embed | {
"login": "dwil2444",
"id": 26467159,
"node_id": "MDQ6VXNlcjI2NDY3MTU5",
"avatar_url": "https://avatars.githubusercontent.com/u/26467159?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dwil2444",
"html_url": "https://github.com/dwil2444",
"followers_url": "https://api.github.com/users/dwi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | 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/18065/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18065/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18065",
"html_url": "https://github.com/huggingface/transformers/pull/18065",
"diff_url": "https://github.com/huggingface/transformers/pull/18065.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18065.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18064 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18064/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18064/comments | https://api.github.com/repos/huggingface/transformers/issues/18064/events | https://github.com/huggingface/transformers/pull/18064 | 1,298,005,731 | PR_kwDOCUB6oc47DaRo | 18,064 | add dataset split and config to model-index in TrainingSummary.from_trainer | {
"login": "loicmagne",
"id": 53355258,
"node_id": "MDQ6VXNlcjUzMzU1MjU4",
"avatar_url": "https://avatars.githubusercontent.com/u/53355258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/loicmagne",
"html_url": "https://github.com/loicmagne",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for working on this @loicmagne 🔥 !\r\n\r\nFor the failing CI, I think you first need to run:\r\n\r\n```\r\nmake style && make quality\r\n```\r\n\r\nto format the code.\r\n\r\nFor the failing unit tests, it seems there's a pro... | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Add dataset split and config to model-index in TrainingSummary when generated with from_trainer on a HF Hub dataset
example: https://huggingface.co/loicmagne/pr_dataset_metadata/blob/main/README.md
## Who can review?
Anyone in the community is free to review the PR once the tests ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18064/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18064/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18064",
"html_url": "https://github.com/huggingface/transformers/pull/18064",
"diff_url": "https://github.com/huggingface/transformers/pull/18064.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18064.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18063 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18063/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18063/comments | https://api.github.com/repos/huggingface/transformers/issues/18063/events | https://github.com/huggingface/transformers/issues/18063 | 1,297,940,983 | I_kwDOCUB6oc5NXQH3 | 18,063 | Add TF implementation of LongT5 model | {
"login": "stancld",
"id": 46073029,
"node_id": "MDQ6VXNlcjQ2MDczMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stancld",
"html_url": "https://github.com/stancld",
"followers_url": "https://api.github.com/users/stancl... | [
{
"id": 1834054694,
"node_id": "MDU6TGFiZWwxODM0MDU0Njk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/TensorFlow",
"name": "TensorFlow",
"color": "FF6F00",
"default": false,
"description": "Anything TensorFlow"
},
{
"id": 1843244711,
"node_id": "MDU6... | open | false | null | [] | [
"Gonna start working on this today, sorry for delay :]"
] | 1,657 | 1,661 | null | CONTRIBUTOR | null | ### Feature request
Add TF implementation of LongT5 model
### Motivation
Add support for TF backend to allow using LongT5 with TF.
### Your contribution
I will add this :]
cc: @gante @patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18063/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18063/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18062 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18062/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18062/comments | https://api.github.com/repos/huggingface/transformers/issues/18062/events | https://github.com/huggingface/transformers/pull/18062 | 1,297,863,978 | PR_kwDOCUB6oc47C670 | 18,062 | Update localized READMES when template is filled. | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
When adding a new model, `make fix-copies` will automatically create a new entry for the model in the README if the user forgot, with some `<FILL XXX>` to fill. This is also added in the localized READMES.
Once this has been done, the localized READMES are not updated if the user has fille... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18062/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18062/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18062",
"html_url": "https://github.com/huggingface/transformers/pull/18062",
"diff_url": "https://github.com/huggingface/transformers/pull/18062.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18062.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18061 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18061/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18061/comments | https://api.github.com/repos/huggingface/transformers/issues/18061/events | https://github.com/huggingface/transformers/pull/18061 | 1,297,800,976 | PR_kwDOCUB6oc47CtDz | 18,061 | fix loading from pretrained for sharded model with `torch_dtype="auto" | {
"login": "NouamaneTazi",
"id": 29777165,
"node_id": "MDQ6VXNlcjI5Nzc3MTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/29777165?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NouamaneTazi",
"html_url": "https://github.com/NouamaneTazi",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @NouamaneTazi, do you have a code example that failed before and that doesn't fail anymore with your PR?",
"Yes @LysandreJik, the script I provided did fail for me when I tried it:\r\n```python\r\nmodel = AutoModelForCausalLM.f... | 1,657 | 1,658 | 1,658 | MEMBER | null | Fixes the following script which failed because `resolved_archive_file` is a list for sharded models and `load_state_dict`expects a path to a single file
```python
model = AutoModelForCausalLM.from_pretrained("bigscience/bloom", torch_dtype="auto")
```
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18061/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18061/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18061",
"html_url": "https://github.com/huggingface/transformers/pull/18061",
"diff_url": "https://github.com/huggingface/transformers/pull/18061.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18061.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18060 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18060/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18060/comments | https://api.github.com/repos/huggingface/transformers/issues/18060/events | https://github.com/huggingface/transformers/issues/18060 | 1,297,794,950 | I_kwDOCUB6oc5NWseG | 18,060 | LED Model returns AlgorithmError when using SageMaker SMP training #16890 | {
"login": "omid0001",
"id": 108279389,
"node_id": "U_kgDOBnQ2XQ",
"avatar_url": "https://avatars.githubusercontent.com/u/108279389?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omid0001",
"html_url": "https://github.com/omid0001",
"followers_url": "https://api.github.com/users/omid0001/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@omid0001 @kanwari3, \r\n\r\nWould it be possible for you to reproduce this issue (`not enough values to unpack`) without using SageMaker, i.e. just with a Python script?\r\n```bash\r\n[1,0]: bsz, seq_len = input_ids_shape[:2]\r\n[1,0]:ValueError: not enough values to unpack (expected 2, got 1)\r\n```\r\n\r\nIt wo... | 1,657 | 1,660 | 1,660 | NONE | null | ### System Info
cc @philschmid , cc @ydshieh , cc @sgugger
Hello,
This is a follow up on a related post with the below link) with the same title:
https://github.com/huggingface/transformers/issues/16890
We ade a bit of more progress but are still facing with some issues and are trying to fix them after tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18060/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18060/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18059 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18059/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18059/comments | https://api.github.com/repos/huggingface/transformers/issues/18059/events | https://github.com/huggingface/transformers/pull/18059 | 1,297,713,135 | PR_kwDOCUB6oc47CZnn | 18,059 | fixed other examples | {
"login": "Muhtasham",
"id": 20128202,
"node_id": "MDQ6VXNlcjIwMTI4MjAy",
"avatar_url": "https://avatars.githubusercontent.com/u/20128202?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Muhtasham",
"html_url": "https://github.com/Muhtasham",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18059/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18059/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18059",
"html_url": "https://github.com/huggingface/transformers/pull/18059",
"diff_url": "https://github.com/huggingface/transformers/pull/18059.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18059.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18058 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18058/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18058/comments | https://api.github.com/repos/huggingface/transformers/issues/18058/events | https://github.com/huggingface/transformers/issues/18058 | 1,297,607,202 | I_kwDOCUB6oc5NV-oi | 18,058 | [bloom] Add alibi cache for fixed inputs | {
"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 issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,657 | 1,660 | 1,660 | CONTRIBUTOR | null | ### Feature request
Add alibi cache for BLOOM
### Motivation
Many training scenarios involve fixed input length. In which case re-creating the deterministic alibi tensor that is the same on each forward is a waste. The other similar scenario is when one groups inputs into bins with padding to the fixed length ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18058/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18058/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18057 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18057/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18057/comments | https://api.github.com/repos/huggingface/transformers/issues/18057/events | https://github.com/huggingface/transformers/pull/18057 | 1,297,582,551 | PR_kwDOCUB6oc47B83_ | 18,057 | XGLM - Fix Softmax NaNs when using FP16 | {
"login": "gsarti",
"id": 16674069,
"node_id": "MDQ6VXNlcjE2Njc0MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16674069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gsarti",
"html_url": "https://github.com/gsarti",
"followers_url": "https://api.github.com/users/gsarti/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@patil-suraj I think only your check is missing!",
"Sorry for being so late here @gsarti! Merged master into it to ping circle ci here",
"Hey @gsarti - it seems like a test is failing now: \r\n```\r\ntests/models/xglm/test_modeli... | 1,657 | 1,664 | 1,664 | 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/18057/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18057/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18057",
"html_url": "https://github.com/huggingface/transformers/pull/18057",
"diff_url": "https://github.com/huggingface/transformers/pull/18057.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18057.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18056 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18056/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18056/comments | https://api.github.com/repos/huggingface/transformers/issues/18056/events | https://github.com/huggingface/transformers/pull/18056 | 1,297,529,999 | PR_kwDOCUB6oc47BxQq | 18,056 | Update state.best_metric after model evaluation; track metric for mod… | {
"login": "baskrahmer",
"id": 24520725,
"node_id": "MDQ6VXNlcjI0NTIwNzI1",
"avatar_url": "https://avatars.githubusercontent.com/u/24520725?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/baskrahmer",
"html_url": "https://github.com/baskrahmer",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"As suggested here: https://github.com/huggingface/transformers/issues/16620",
"TODO: appropriate tests",
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18056). All of your documentation changes will be reflected on that endpoint.",
"This issue has been automaticall... | 1,657 | 1,660 | 1,660 | NONE | null | …el checkpointing separately in new state.best_metric_checkpoint variable
# 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 ref... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18056/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18056/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18056",
"html_url": "https://github.com/huggingface/transformers/pull/18056",
"diff_url": "https://github.com/huggingface/transformers/pull/18056.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18056.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18055 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18055/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18055/comments | https://api.github.com/repos/huggingface/transformers/issues/18055/events | https://github.com/huggingface/transformers/issues/18055 | 1,297,518,800 | I_kwDOCUB6oc5NVpDQ | 18,055 | NLP HydraNet | {
"login": "sam-h-bean",
"id": 43734688,
"node_id": "MDQ6VXNlcjQzNzM0Njg4",
"avatar_url": "https://avatars.githubusercontent.com/u/43734688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam-h-bean",
"html_url": "https://github.com/sam-h-bean",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,657 | 1,660 | 1,660 | CONTRIBUTOR | null | ### Feature request
I think it would be awesome to be able to easily train a Tesla style HydraNet but using a transformer backbone. The model would take a model_id and a series of tasks. The dataset would need to supply labels for both the task heads and the loss would be controllable via coefficients in the configura... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18055/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18055/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18054 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18054/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18054/comments | https://api.github.com/repos/huggingface/transformers/issues/18054/events | https://github.com/huggingface/transformers/issues/18054 | 1,297,397,647 | I_kwDOCUB6oc5NVLeP | 18,054 | Include `timeout` attribute (related to DDP) to TrainingArguments | {
"login": "gugarosa",
"id": 4120639,
"node_id": "MDQ6VXNlcjQxMjA2Mzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4120639?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gugarosa",
"html_url": "https://github.com/gugarosa",
"followers_url": "https://api.github.com/users/gugar... | [] | closed | false | null | [] | [
"Hi @gugarosa \r\n\r\nI have started the work on it. Will create PR for the same by tomorrow.",
"That's amazing @dvlshah! Thank you so much for doing 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 t... | 1,657 | 1,660 | 1,660 | CONTRIBUTOR | null | ### Feature request
Would it be possible to include a `timeout` attribute to the `TrainingArguments` dataclass, such as it will be used as an argument of the `torch.distributed.init_process_group` calls?
Reference: https://pytorch.org/docs/stable/distributed.html#torch.distributed.init_process_group
### Motiva... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18054/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18054/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18053 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18053/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18053/comments | https://api.github.com/repos/huggingface/transformers/issues/18053/events | https://github.com/huggingface/transformers/pull/18053 | 1,297,376,143 | PR_kwDOCUB6oc47BO9h | 18,053 | [Generate Tests] Make sure no tokens are force-generated | {
"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 documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | 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/18053/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18053/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18053",
"html_url": "https://github.com/huggingface/transformers/pull/18053",
"diff_url": "https://github.com/huggingface/transformers/pull/18053.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18053.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18052 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18052/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18052/comments | https://api.github.com/repos/huggingface/transformers/issues/18052/events | https://github.com/huggingface/transformers/issues/18052 | 1,296,993,128 | I_kwDOCUB6oc5NToto | 18,052 | Configurations should support id2label as a list | {
"login": "sijunhe",
"id": 11987277,
"node_id": "MDQ6VXNlcjExOTg3Mjc3",
"avatar_url": "https://avatars.githubusercontent.com/u/11987277?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sijunhe",
"html_url": "https://github.com/sijunhe",
"followers_url": "https://api.github.com/users/sijunh... | [] | closed | false | null | [] | [
"I would personally advocate for a single way of doing things, rather than many different ways of doing the same thing. In this situation, while the dict is more complex, it is also more complete. ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still... | 1,657 | 1,660 | 1,660 | CONTRIBUTOR | null | ### Feature request
This is a rather minor/trivial feature request.
Currently `id2label` is of type `Dict[int, str]` in `PretrainedConfig`. Since this map is used to map class ids to labels, the keys is set to `range(0, num_labels)`. Essentially, a list would also work here. I can even argue that a list is better... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18052/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18052/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18051 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18051/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18051/comments | https://api.github.com/repos/huggingface/transformers/issues/18051/events | https://github.com/huggingface/transformers/pull/18051 | 1,296,803,870 | PR_kwDOCUB6oc46_R8S | 18,051 | Fix type issue in using bucketing with Trainer | {
"login": "seopbo",
"id": 19755607,
"node_id": "MDQ6VXNlcjE5NzU1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/19755607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seopbo",
"html_url": "https://github.com/seopbo",
"followers_url": "https://api.github.com/users/seopbo/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Oh and sorry I didn't catch it at the first review, but we can group the else if in an elif.\r\n\r\nI totally agree this. @sgugger ",
"Thanks a lot!"
] | 1,657 | 1,657 | 1,657 | 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/18051/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18051/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18051",
"html_url": "https://github.com/huggingface/transformers/pull/18051",
"diff_url": "https://github.com/huggingface/transformers/pull/18051.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18051.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18050 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18050/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18050/comments | https://api.github.com/repos/huggingface/transformers/issues/18050/events | https://github.com/huggingface/transformers/issues/18050 | 1,296,609,088 | I_kwDOCUB6oc5NSK9A | 18,050 | A basic NLP question regarding NER task | {
"login": "liususan091219",
"id": 5702457,
"node_id": "MDQ6VXNlcjU3MDI0NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5702457?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liususan091219",
"html_url": "https://github.com/liususan091219",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"hello @liususan091219 . \r\nI believe the logic you are looking for is the [tokenize_and_align_labels](https://github.com/huggingface/transformers/blob/main/examples/pytorch/token-classification/run_ner.py#L420) function. Looks like the logic is as following:\r\n\r\n- if `len(labels) > len(tokens)`, then the extra... | 1,657 | 1,660 | 1,660 | NONE | null | Hi @patrickvonplaten, I have one basic conceptual NLP question regarding the evaluation for NER.
According to [run_ner.py](https://github.com/huggingface/transformers/blob/main/examples/pytorch/token-classification/run_ner.py), the ground truth label is truncated to max_seq_length during prediction. However, this me... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18050/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18050/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18049 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18049/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18049/comments | https://api.github.com/repos/huggingface/transformers/issues/18049/events | https://github.com/huggingface/transformers/issues/18049 | 1,296,584,703 | I_kwDOCUB6oc5NSE__ | 18,049 | NaN in XGLM Softmax with FP16 | {
"login": "gsarti",
"id": 16674069,
"node_id": "MDQ6VXNlcjE2Njc0MDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/16674069?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gsarti",
"html_url": "https://github.com/gsarti",
"followers_url": "https://api.github.com/users/gsarti/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"cc @patil-suraj for XLGM",
"From `padding=left` in the code snippet, I would guess this is similar to issue #17433 and the fix in #17437 should fix it. @gsarti Would you like to try it and maybe also open a PR?\r\n\r\nP.S I actually thought yesterday if I should apply #17437 to all models, and tried a few models... | 1,657 | 1,664 | 1,664 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: Linux-5.3.0-1017-x86_64-with-glibc2.27
- Python version: 3.9.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0+cu102 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18049/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18049/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18048 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18048/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18048/comments | https://api.github.com/repos/huggingface/transformers/issues/18048/events | https://github.com/huggingface/transformers/pull/18048 | 1,296,539,371 | PR_kwDOCUB6oc46-aay | 18,048 | [WIP][Generate] Allow passing pos ids | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"Having started the PR, I noticed that it's actually much more work than I thought. We actually need to touch every generate model and also make the test more general.\r\n\r\n@gante I don't have a lot of bandwidth at the moment, but think I could finish the PR in ~1,2 weeks. In case you're interested in taking in ... | 1,657 | 1,702 | 1,702 | 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/18048/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18048/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18048",
"html_url": "https://github.com/huggingface/transformers/pull/18048",
"diff_url": "https://github.com/huggingface/transformers/pull/18048.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18048.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18047 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18047/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18047/comments | https://api.github.com/repos/huggingface/transformers/issues/18047/events | https://github.com/huggingface/transformers/issues/18047 | 1,296,191,999 | I_kwDOCUB6oc5NQlH_ | 18,047 | Different sentiment class probabilities for sequential processing vs batch processing | {
"login": "Kayne88",
"id": 92090894,
"node_id": "U_kgDOBX0yDg",
"avatar_url": "https://avatars.githubusercontent.com/u/92090894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Kayne88",
"html_url": "https://github.com/Kayne88",
"followers_url": "https://api.github.com/users/Kayne88/follow... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @Kayne88 -- could you please share a complete script for reproducibility? In your [original script](https://discuss.huggingface.co/t/different-sentiments-when-texts-processed-in-batches-vs-singles/19462) you were missing the definition of `tokenizer` and `model` :)",
"This issue has been automatically marked ... | 1,657 | 1,660 | 1,660 | NONE | null | ### System Info
platform: windows
python: 3.7
transformers: latest
Model: finetuned BERT (from cardiffnlp/twitter-roberta-base-sentiment)
I have posted the issue here [https://discuss.huggingface.co/t/different-sentiments-when-texts-processed-in-batches-vs-singles/19462](url), but didn't receive any answer. The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18047/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18047/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18046 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18046/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18046/comments | https://api.github.com/repos/huggingface/transformers/issues/18046/events | https://github.com/huggingface/transformers/pull/18046 | 1,296,167,046 | PR_kwDOCUB6oc469G5_ | 18,046 | Place inputs on device when include_inputs_for_metrics is True | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
As pointed out in #18038, the inputs accumulated in the Trainer when `include_inputs_for_metrics=True` are not on the proper device, which then fails in distributed setups. This PR fixes that.
Fixes #18038 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18046/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18046/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18046",
"html_url": "https://github.com/huggingface/transformers/pull/18046",
"diff_url": "https://github.com/huggingface/transformers/pull/18046.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18046.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18045 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18045/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18045/comments | https://api.github.com/repos/huggingface/transformers/issues/18045/events | https://github.com/huggingface/transformers/issues/18045 | 1,296,074,295 | I_kwDOCUB6oc5NQIY3 | 18,045 | Trainer.train always saving model every 500 steps, regardless of input training args [fixed, user error] | {
"login": "daniel-furman",
"id": 67394384,
"node_id": "MDQ6VXNlcjY3Mzk0Mzg0",
"avatar_url": "https://avatars.githubusercontent.com/u/67394384?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/daniel-furman",
"html_url": "https://github.com/daniel-furman",
"followers_url": "https://api.githu... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Nevermind, I was using the wrong training args - oops! All working now. ",
"Closing this issue then :-) "
] | 1,657 | 1,657 | 1,657 | NONE | null | ### System Info
Google Colab, GPU enabled
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own task or dataset (give details below)
### Reprodu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18045/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18045/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18044 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18044/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18044/comments | https://api.github.com/repos/huggingface/transformers/issues/18044/events | https://github.com/huggingface/transformers/pull/18044 | 1,295,875,389 | PR_kwDOCUB6oc468HpR | 18,044 | Protect `TFGenerationMixin.seed_generator` so it's not created at import | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | MEMBER | null | With thanks to @atakey for pointing this out and suggesting a solution, credit for this one should go to him!
Fixes #17804 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18044/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18044/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18044",
"html_url": "https://github.com/huggingface/transformers/pull/18044",
"diff_url": "https://github.com/huggingface/transformers/pull/18044.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18044.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18043 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18043/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18043/comments | https://api.github.com/repos/huggingface/transformers/issues/18043/events | https://github.com/huggingface/transformers/issues/18043 | 1,295,874,694 | I_kwDOCUB6oc5NPXqG | 18,043 | Add Support for "No Language Left Behind" (NLLB) | {
"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/... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | closed | false | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"For the tokenization part, SPM model is provided and can be downloaded from [here](https://tinyurl.com/flores200sacrebleuspm).\r\n\r\nIt is a \"real\" SPM model, that can e.g. be loaded like this:\r\n\r\n```python\r\nimport sentencepiece as spm\r\n\r\nmodel_file = \"flores200sacrebleuspm\"\r\nsp_model = spm.Senten... | 1,657 | 1,679 | 1,658 | COLLABORATOR | null | ### Model description
Hi,
Meta recently released another cool project called "No Language Left Behind" (NLLB):
> No Language Left Behind (NLLB) is a first-of-its-kind, AI breakthrough project that open-sources models capable of delivering high-quality translations directly between any pair of 200+ languages — ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18043/reactions",
"total_count": 24,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 23,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18043/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18042 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18042/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18042/comments | https://api.github.com/repos/huggingface/transformers/issues/18042/events | https://github.com/huggingface/transformers/issues/18042 | 1,295,544,640 | I_kwDOCUB6oc5NOHFA | 18,042 | checkpoints_to_be_deleted = checkpoints_sorted[:number_of_checkpoints_to_delete] TypeError: slice indices must be integers or None or have an __index__ method | {
"login": "plageon",
"id": 55200715,
"node_id": "MDQ6VXNlcjU1MjAwNzE1",
"avatar_url": "https://avatars.githubusercontent.com/u/55200715?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/plageon",
"html_url": "https://github.com/plageon",
"followers_url": "https://api.github.com/users/plageo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,657 | 1,662 | 1,662 | NONE | null | ### System Info
transformers.__version__==4.9.2
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own task or dataset (give details below)
#... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18042/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18042/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18041 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18041/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18041/comments | https://api.github.com/repos/huggingface/transformers/issues/18041/events | https://github.com/huggingface/transformers/issues/18041 | 1,295,237,342 | I_kwDOCUB6oc5NM8De | 18,041 | EfficientFormer | {
"login": "jhabr",
"id": 25850,
"node_id": "MDQ6VXNlcjI1ODUw",
"avatar_url": "https://avatars.githubusercontent.com/u/25850?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jhabr",
"html_url": "https://github.com/jhabr",
"followers_url": "https://api.github.com/users/jhabr/followers",
"f... | [
{
"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 | [] | [
"cc @hollance "
] | 1,657 | 1,674 | 1,674 | NONE | null | ### Model description
[EfficientFormer: Vision Transformers at MobileNet Speed](https://arxiv.org/abs/2206.01191)
Submitted on 2 Jun 2022, last revised 5 Jul 2022.
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful links for the implementat... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18041/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18041/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18040 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18040/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18040/comments | https://api.github.com/repos/huggingface/transformers/issues/18040/events | https://github.com/huggingface/transformers/issues/18040 | 1,295,201,852 | I_kwDOCUB6oc5NMzY8 | 18,040 | ValueError: You have to specify pixel_values in CLIP for ver >= 4.18.0 | {
"login": "naoto0804",
"id": 7067992,
"node_id": "MDQ6VXNlcjcwNjc5OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7067992?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/naoto0804",
"html_url": "https://github.com/naoto0804",
"followers_url": "https://api.github.com/users/na... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"cc @NielsRogge, or @amyeroberts @alaradirik if you have any pointers",
"Thanks for raising @naoto0804 ! \r\n\r\nDoing a bit of digging, this is because of the behaviour of the `unpack_inputs` decorator and the fact `TFCLIPModel` is being used. `unpack_inputs` tries to get the name of the `main_input_name` to the... | 1,657 | 1,657 | 1,657 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-4.19.0-21-cloud-amd64-x86_64-with-debian-10.12
- Python version: 3.7.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): not installed (NA)
- Tensorflow version (GPU?): 2.8.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18040/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18040/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18039 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18039/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18039/comments | https://api.github.com/repos/huggingface/transformers/issues/18039/events | https://github.com/huggingface/transformers/issues/18039 | 1,295,106,102 | I_kwDOCUB6oc5NMcA2 | 18,039 | [Wav2Vec2ForCTC] multi-GPU training's backward hangs | {
"login": "LEECHOONGHO",
"id": 44384060,
"node_id": "MDQ6VXNlcjQ0Mzg0MDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/44384060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LEECHOONGHO",
"html_url": "https://github.com/LEECHOONGHO",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I don't think we support training with `hydra` in transformers - could you maybe try to use our official examples for Wav2Vec2: https://github.com/huggingface/transformers/blob/main/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py instead.",
"Thank you for your reply.\r\nProblem was in wandb's ... | 1,657 | 1,657 | 1,657 | NONE | null | ### System Info
ubuntu@gpu-1:~$ transformers-cli env
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.16.2
- Platform: Linux-4.15.0-143-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GPU?): 1.11.0+cu102 (True)
- Tensorf... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18039/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18039/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18038 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18038/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18038/comments | https://api.github.com/repos/huggingface/transformers/issues/18038/events | https://github.com/huggingface/transformers/issues/18038 | 1,295,070,707 | I_kwDOCUB6oc5NMTXz | 18,038 | Error occur when using DDP and include_inputs_for_metrics | {
"login": "Vicky-Meng",
"id": 32586021,
"node_id": "MDQ6VXNlcjMyNTg2MDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/32586021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Vicky-Meng",
"html_url": "https://github.com/Vicky-Meng",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Thanks for flagging! This should be fixed by the PR mentioned above."
] | 1,657 | 1,657 | 1,657 | NONE | null | ### System Info
when in DDP settings, with `args.include_inputs_for_metrics = True`, an error will occur in evaluation step.
Seems that the `inputs_decode` haven't been placed to device before calling `_pad_across_processes`.
https://github.com/huggingface/transformers/blob/main/src/transformers/trainer.py#L2963... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18038/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18038/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18037 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18037/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18037/comments | https://api.github.com/repos/huggingface/transformers/issues/18037/events | https://github.com/huggingface/transformers/pull/18037 | 1,294,946,480 | PR_kwDOCUB6oc4647h- | 18,037 | Doc to dataset | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
This PR leverages the feature recently added to the doc-builder that allows links between Hugging Face libraries, to show an example with Datasets.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18037/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18037/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18037",
"html_url": "https://github.com/huggingface/transformers/pull/18037",
"diff_url": "https://github.com/huggingface/transformers/pull/18037.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18037.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18036 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18036/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18036/comments | https://api.github.com/repos/huggingface/transformers/issues/18036/events | https://github.com/huggingface/transformers/issues/18036 | 1,294,748,410 | I_kwDOCUB6oc5NLEr6 | 18,036 | Flax models should allow `inputs_embeds` | {
"login": "mattf1n",
"id": 13317807,
"node_id": "MDQ6VXNlcjEzMzE3ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/13317807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mattf1n",
"html_url": "https://github.com/mattf1n",
"followers_url": "https://api.github.com/users/mattf1... | [] | closed | false | null | [] | [
"WDYT @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 [contributing guidelines](https://github.com/huggingface/transformers/blo... | 1,657 | 1,670 | 1,670 | NONE | null | ### Feature request
Currently, non-Flax models allow `inputs_embeds` instead of `input_ids` (e.g., GPT2)
```python
def forward(
self,
input_ids: Optional[torch.LongTensor] = None,
...
inputs_embeds: Optional[torch.FloatTensor] = None,
...
) -> Union[Tuple, CausalLMOu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18036/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18036/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18035 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18035/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18035/comments | https://api.github.com/repos/huggingface/transformers/issues/18035/events | https://github.com/huggingface/transformers/issues/18035 | 1,294,629,143 | I_kwDOCUB6oc5NKnkX | 18,035 | Distributed training for streaming dataset | {
"login": "cyk1337",
"id": 13767887,
"node_id": "MDQ6VXNlcjEzNzY3ODg3",
"avatar_url": "https://avatars.githubusercontent.com/u/13767887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyk1337",
"html_url": "https://github.com/cyk1337",
"followers_url": "https://api.github.com/users/cyk133... | [] | closed | false | null | [] | [
"Hi @cyk1337 -- this seems like a question for the [datasets repo](https://github.com/huggingface/datasets) :)",
"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 d... | 1,657 | 1,660 | 1,660 | NONE | null | ### Feature request
Any documentations for the the `load_dataset(streaming=True)` for (multi-node multi-GPU) DDP training?
### Motivation
Given a bunch of data files, it is expected to split them onto different GPUs. Is there a guide or documentation?
### Your contribution
Does it requires manually split on data ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18035/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18035/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18034 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18034/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18034/comments | https://api.github.com/repos/huggingface/transformers/issues/18034/events | https://github.com/huggingface/transformers/pull/18034 | 1,294,614,972 | PR_kwDOCUB6oc4630on | 18,034 | Sort doc toc | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
This PR adds a script to automatically sort the model doc part of the documentation ToC, so we never need things like #18011 ever again.
The script runs in the traditional `make style/fixup/quality` setup meaning that:
- `make style` or `make fixup` fix the ToC by auto-sorting it and remo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18034/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18034/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18034",
"html_url": "https://github.com/huggingface/transformers/pull/18034",
"diff_url": "https://github.com/huggingface/transformers/pull/18034.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18034.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18033 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18033/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18033/comments | https://api.github.com/repos/huggingface/transformers/issues/18033/events | https://github.com/huggingface/transformers/issues/18033 | 1,294,610,017 | I_kwDOCUB6oc5NKi5h | 18,033 | Model LayoutLMv3 - error feature_extractor not find pytesseract | {
"login": "DimIsaev",
"id": 11172642,
"node_id": "MDQ6VXNlcjExMTcyNjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/11172642?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DimIsaev",
"html_url": "https://github.com/DimIsaev",
"followers_url": "https://api.github.com/users/Dim... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi,\r\n\r\nCan you verify that you can do `import pytesseract`? It may be that you need to restart the runtime in Colab.",
"> Hi,\r\n> \r\n> Can you verify that you can do `import pytesseract`? It may be that you need to restart the runtime in Colab.\r\n\r\nrestart solved the problem"
] | 1,657 | 1,657 | 1,657 | NONE | null | ### System Info
transformers 4.20.1
tesseract 5.1.0-32-gf36c0
pytesseract 0.3.9
### Who can help?
_No response_
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [x] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [ ] My own ta... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18033/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18033/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18032 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18032/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18032/comments | https://api.github.com/repos/huggingface/transformers/issues/18032/events | https://github.com/huggingface/transformers/pull/18032 | 1,294,516,549 | PR_kwDOCUB6oc463fc9 | 18,032 | improved torch version bf available checker | {
"login": "ggbetz",
"id": 3662782,
"node_id": "MDQ6VXNlcjM2NjI3ODI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3662782?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ggbetz",
"html_url": "https://github.com/ggbetz",
"followers_url": "https://api.github.com/users/ggbetz/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"In this situation, `1.10.0a0+0aef44c` points to a dev version of PyTorch 1.10, or a dev version of PyTorch 1.11? \r\n\r\nWe use `.devX` for transformers versions, but from what I'm seeing PyTorch seems to use `aX.<commit_sha>` for th... | 1,657 | 1,657 | 1,657 | NONE | null | I'm using torch version "1.10.0a0+0aef44c", the current `is_torch_bf16_cpu_available()` returns false.
```python
>>> version.parse("1.10.0a0+0aef44c") < version.parse("1.10")
>>> True
>>> version.parse("1.10.0a0+0aef44c") < version.parse("1.10.*")
>>> False
```
Add. check:
```
$ python -c "import torch; pr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18032/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18032/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18032",
"html_url": "https://github.com/huggingface/transformers/pull/18032",
"diff_url": "https://github.com/huggingface/transformers/pull/18032.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18032.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18031 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18031/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18031/comments | https://api.github.com/repos/huggingface/transformers/issues/18031/events | https://github.com/huggingface/transformers/issues/18031 | 1,294,489,407 | I_kwDOCUB6oc5NKFc_ | 18,031 | Cannot compile T5 for inferentia | {
"login": "ierezell",
"id": 30974685,
"node_id": "MDQ6VXNlcjMwOTc0Njg1",
"avatar_url": "https://avatars.githubusercontent.com/u/30974685?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ierezell",
"html_url": "https://github.com/ierezell",
"followers_url": "https://api.github.com/users/ier... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Gently pinging @philschmid here - do you have any ideas maybe?",
"@Ierezell could you please try to set up your environment as described [here](https://awsdocs-neuron.readthedocs-hosted.com/en/latest/neuron-intro/pytorch-setup/pytorch-install.html#id2). It feels like that you are missing packages to successfully... | 1,657 | 1,657 | 1,657 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.18.7-arch1-1-x86_64-with-glibc2.34
- Python version: 3.8.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18031/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18031/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18030 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18030/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18030/comments | https://api.github.com/repos/huggingface/transformers/issues/18030/events | https://github.com/huggingface/transformers/issues/18030 | 1,294,487,467 | I_kwDOCUB6oc5NKE-r | 18,030 | Pretraining BART language model | {
"login": "sajastu",
"id": 10419055,
"node_id": "MDQ6VXNlcjEwNDE5MDU1",
"avatar_url": "https://avatars.githubusercontent.com/u/10419055?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sajastu",
"html_url": "https://github.com/sajastu",
"followers_url": "https://api.github.com/users/sajast... | [] | closed | false | null | [] | [
"I don't think we have plans currently to add code for BART pretraining as it's quite a time-costly endeavor . Maybe we should revisit this decision though at some point for some models (BART, T5, Wav2Vec2) as the community is asking more and more. Wdyt @sgugger @LysandreJik ? ",
"It's not something anyone on the... | 1,657 | 1,678 | 1,661 | NONE | null | ### Feature request
Hi,
I'm looking into BART [docs](https://huggingface.co/docs/transformers/model_doc/bart). Seems that the provided examples are on fine-tuning BART on Seq2Seq summarization tasks. I'm wondering if there is any example on pertaining BART's "Language Model" itself, with the pre-training objectiv... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18030/reactions",
"total_count": 3,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/18030/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18029 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18029/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18029/comments | https://api.github.com/repos/huggingface/transformers/issues/18029/events | https://github.com/huggingface/transformers/pull/18029 | 1,294,395,413 | PR_kwDOCUB6oc463FlL | 18,029 | Fix T5/mT5 tests for TensorFlow | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh I ran them all locally and they passed!"
] | 1,657 | 1,657 | 1,657 | MEMBER | null | Some tests used `tf.reduce_sum()` on a per-token loss. Since we now return a scalar loss to enable XLA compilation and match PyTorch, the expected loss in these tests is wrong. If we change the tests to use `tf.reduce_mean()` and divide the expected value by the number of tokens, then the tests work with both the moder... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18029/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18029/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18029",
"html_url": "https://github.com/huggingface/transformers/pull/18029",
"diff_url": "https://github.com/huggingface/transformers/pull/18029.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18029.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18028 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18028/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18028/comments | https://api.github.com/repos/huggingface/transformers/issues/18028/events | https://github.com/huggingface/transformers/issues/18028 | 1,294,378,413 | I_kwDOCUB6oc5NJqWt | 18,028 | Evaluation results of `run_qa.py` are anormally low | {
"login": "fxmarty",
"id": 9808326,
"node_id": "MDQ6VXNlcjk4MDgzMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9808326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fxmarty",
"html_url": "https://github.com/fxmarty",
"followers_url": "https://api.github.com/users/fxmarty/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Removing the cached arrow processed dataset solved the issue."
] | 1,657 | 1,657 | 1,657 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: Linux-5.15.0-39-generic-x86_64-with-glibc2.35
- Python version: 3.9.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18028/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18028/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18027 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18027/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18027/comments | https://api.github.com/repos/huggingface/transformers/issues/18027/events | https://github.com/huggingface/transformers/pull/18027 | 1,294,330,546 | PR_kwDOCUB6oc4623pr | 18,027 | Fix tensor device mismatch in OPT model | {
"login": "mzmssg",
"id": 11887940,
"node_id": "MDQ6VXNlcjExODg3OTQw",
"avatar_url": "https://avatars.githubusercontent.com/u/11887940?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mzmssg",
"html_url": "https://github.com/mzmssg",
"followers_url": "https://api.github.com/users/mzmssg/fo... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Error msg before this PR:\r\n\r\n",
"Hi @mzmssg ! thanks for proposing this fix ;) !\r\nI am wondering why the gpu tests... | 1,657 | 1,657 | 1,657 | 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/18027/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18027/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18027",
"html_url": "https://github.com/huggingface/transformers/pull/18027",
"diff_url": "https://github.com/huggingface/transformers/pull/18027.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18027.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18026 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18026/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18026/comments | https://api.github.com/repos/huggingface/transformers/issues/18026/events | https://github.com/huggingface/transformers/pull/18026 | 1,294,280,238 | PR_kwDOCUB6oc462svp | 18,026 | Load sharded pt model to flax (from the hub ) | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"id": 1834056761,
"node_id": "MDU6TGFiZWwxODM0MDU2NzYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Core:%20Modeling",
"name": "Core: Modeling",
"color": "FF8446",
"default": false,
"description": "Internals of the library; Models."
},
{
"id": 29349771... | closed | false | {
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "https://api.github.c... | [
{
"login": "ArthurZucker",
"id": 48595927,
"node_id": "MDQ6VXNlcjQ4NTk1OTI3",
"avatar_url": "https://avatars.githubusercontent.com/u/48595927?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArthurZucker",
"html_url": "https://github.com/ArthurZucker",
"followers_url": "... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Follows #17537"
] | 1,657 | 1,659 | 1,659 | COLLABORATOR | null | # What does this PR do?
Implements the automatic conversion from `pt` to `flax` if the model is sharded but does not already have flax weights. This could be useful for automatic conversion
## Who can review?
A few tests still need to be implemented, for now works well with `hf-internal-testing/tiny-random-bert-sha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18026/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18026/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18026",
"html_url": "https://github.com/huggingface/transformers/pull/18026",
"diff_url": "https://github.com/huggingface/transformers/pull/18026.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18026.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18025 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18025/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18025/comments | https://api.github.com/repos/huggingface/transformers/issues/18025/events | https://github.com/huggingface/transformers/issues/18025 | 1,294,253,222 | I_kwDOCUB6oc5NJLym | 18,025 | `log_metrics` method of `Trainer` is using `print` instead of `logging` | {
"login": "ImpleLee",
"id": 80144331,
"node_id": "MDQ6VXNlcjgwMTQ0MzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/80144331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ImpleLee",
"html_url": "https://github.com/ImpleLee",
"followers_url": "https://api.github.com/users/Imp... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"In short, I want to redirect logging info (including metrics) with the `logging` library, but a bare `print` does not allow me to do that.",
"Why are you not using `save_metrics` then? All our examples use both the prints of `log_metrics` and `save_metrics` to have them accessible in a file.",
"After digging t... | 1,657 | 1,657 | 1,657 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.4.0-86-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.13
- Huggingface_hub version: 0.1.2
- PyTorch version (GPU?): 1.10.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18025/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18025/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18024 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18024/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18024/comments | https://api.github.com/repos/huggingface/transformers/issues/18024/events | https://github.com/huggingface/transformers/issues/18024 | 1,294,188,916 | I_kwDOCUB6oc5NI8F0 | 18,024 | trainer.push_to_hub() doesn't work | {
"login": "nawta",
"id": 39507181,
"node_id": "MDQ6VXNlcjM5NTA3MTgx",
"avatar_url": "https://avatars.githubusercontent.com/u/39507181?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nawta",
"html_url": "https://github.com/nawta",
"followers_url": "https://api.github.com/users/nawta/follow... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,657 | 1,668 | 1,660 | NONE | null | ### System Info
after I trained via Trainer.train(), I found I can't push my model to hub even though there is no conflict or so.
I could save my model to local by trainer.save_model("path/to/local/model").
### Who can help?
_No response_
### Information
- [ ] The official example scripts
- [ ] My own modified sc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18024/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18024/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18023 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18023/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18023/comments | https://api.github.com/repos/huggingface/transformers/issues/18023/events | https://github.com/huggingface/transformers/pull/18023 | 1,294,096,957 | PR_kwDOCUB6oc462FKe | 18,023 | Fix codeparrot deduplication - ignore whitespaces | {
"login": "loubnabnl",
"id": 44069155,
"node_id": "MDQ6VXNlcjQ0MDY5MTU1",
"avatar_url": "https://avatars.githubusercontent.com/u/44069155?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/loubnabnl",
"html_url": "https://github.com/loubnabnl",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,657 | 1,659 | 1,659 | CONTRIBUTOR | null | The current exact deduplication doesn't ignore whitespaces before computing the hash. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18023/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18023/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18023",
"html_url": "https://github.com/huggingface/transformers/pull/18023",
"diff_url": "https://github.com/huggingface/transformers/pull/18023.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18023.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18022 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18022/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18022/comments | https://api.github.com/repos/huggingface/transformers/issues/18022/events | https://github.com/huggingface/transformers/pull/18022 | 1,294,038,708 | PR_kwDOCUB6oc4614v2 | 18,022 | BLOOM Flax | {
"login": "younesbelkada",
"id": 49240599,
"node_id": "MDQ6VXNlcjQ5MjQwNTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/49240599?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/younesbelkada",
"html_url": "https://github.com/younesbelkada",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_18022). All of your documentation changes will be reflected on that endpoint.",
"Is this ready to merge @younesbelkada ? @sanchit-gandhi @patil-suraj could you take a final look?",
"Yeah ready to merge for me, for partiti... | 1,657 | 1,690 | 1,689 | CONTRIBUTOR | null | # What does this PR do?
An attempt of adding Flax implementation of BLOOM - original PR from @haileyschoelkopf #17761
## TODOs:
- [x] alibi shifting for batched generation
- [ ] change mask fill value cc @patil-suraj
- [x] optimize code (alibi creation + mask creation)
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18022/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18022/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18022",
"html_url": "https://github.com/huggingface/transformers/pull/18022",
"diff_url": "https://github.com/huggingface/transformers/pull/18022.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18022.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18021 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18021/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18021/comments | https://api.github.com/repos/huggingface/transformers/issues/18021/events | https://github.com/huggingface/transformers/issues/18021 | 1,293,929,776 | I_kwDOCUB6oc5NH80w | 18,021 | Trainer dataloader_drop_last=True looks can not work with distributed setting | {
"login": "yiwc",
"id": 44794635,
"node_id": "MDQ6VXNlcjQ0Nzk0NjM1",
"avatar_url": "https://avatars.githubusercontent.com/u/44794635?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yiwc",
"html_url": "https://github.com/yiwc",
"followers_url": "https://api.github.com/users/yiwc/followers"... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I have trouble understanding the bug you are reporting. If you set `dataloader_drop_last=True`, the dataloader you use for evaluation will have its last batch truncated and yes, you won't have the right number of examples.",
"This issue has been automatically marked as stale because it has not had recent activit... | 1,657 | 1,660 | 1,660 | NONE | null | ### System Info
dataloader_drop_last=True , works fine in the single GPU setting.
But fails while using distributed launch
`python -m torch.distributed.launch --nproc_per_node $NUM_GPU --master_port $PORT_ID train_model.py`
it fails when compute metrics, I checked the shape, it's not as expected.
Thank you... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18021/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18021/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18020 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18020/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18020/comments | https://api.github.com/repos/huggingface/transformers/issues/18020/events | https://github.com/huggingface/transformers/pull/18020 | 1,293,821,344 | PR_kwDOCUB6oc461LyH | 18,020 | [TensorFlow] Adding GroupViT | {
"login": "ariG23498",
"id": 36856589,
"node_id": "MDQ6VXNlcjM2ODU2NTg5",
"avatar_url": "https://avatars.githubusercontent.com/u/36856589?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ariG23498",
"html_url": "https://github.com/ariG23498",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Tagging @NielsRogge @Rocketknight1 @gante for the PR review!",
"@ariG23498 The parsing issue seen in the `check_repository_consistency` tests is arising because of `@keras_serializable` decorators being below `# Copied from` statem... | 1,657 | 1,664 | 1,664 | CONTRIBUTOR | null | # Adding TensorFlow version of GroupViT
This PR adds the TensorFlow version of [GroupViT](https://github.com/NVlabs/GroupViT).
## 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18020/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18020/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18020",
"html_url": "https://github.com/huggingface/transformers/pull/18020",
"diff_url": "https://github.com/huggingface/transformers/pull/18020.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18020.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18019 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18019/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18019/comments | https://api.github.com/repos/huggingface/transformers/issues/18019/events | https://github.com/huggingface/transformers/issues/18019 | 1,293,616,677 | I_kwDOCUB6oc5NGwYl | 18,019 | LongT5 Models Are Not Initialized With Pretrained Weights | {
"login": "reelmath",
"id": 108700518,
"node_id": "U_kgDOBnqjZg",
"avatar_url": "https://avatars.githubusercontent.com/u/108700518?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/reelmath",
"html_url": "https://github.com/reelmath",
"followers_url": "https://api.github.com/users/reelmath/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hey @reelmath, hmm - we've verified that `google/long-t5-tglobal-large` can be correctly fine-tuned - see: https://huggingface.co/Stancld/longt5-tglobal-large-16384-pubmed-3k_steps where @stancld fine-tuned the model on the PubMed summarization dataset. \r\n\r\nCould you maybe copy-paste the command that you used ... | 1,656 | 1,661 | 1,661 | NONE | null | ### System Info
`transformers` version: 4.20.1
- Platform: Linux-5.4.188+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.11.0+cu113 (True)
- Tensorflow version (GPU?): 2.8.2 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18019/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18019/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18018 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18018/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18018/comments | https://api.github.com/repos/huggingface/transformers/issues/18018/events | https://github.com/huggingface/transformers/pull/18018 | 1,293,513,599 | PR_kwDOCUB6oc460Pbw | 18,018 | Generate: deprecate generation relying on default `max_length` | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot for opening this very-much needed PR @gante! \r\n\r\nBefore moving forward, I'd like to discuss a bit if we should remove `max_length` in a v5 version or not because I'm a bit torn in-between, but don't really think we c... | 1,656 | 1,658 | 1,658 | MEMBER | null | # What does this PR do?
(EDITED)
This PR applies the outcome of two discussions:
1. [Favor the use of `max_new_tokens`, as opposed to `max_length`](https://github.com/huggingface/transformers/issues/17414#issuecomment-1148836312). This introduces the `max_new_tokens` to TF and FLAX.
2. [Update the docstring abo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18018/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18018/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18018",
"html_url": "https://github.com/huggingface/transformers/pull/18018",
"diff_url": "https://github.com/huggingface/transformers/pull/18018.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18018.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18017 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18017/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18017/comments | https://api.github.com/repos/huggingface/transformers/issues/18017/events | https://github.com/huggingface/transformers/pull/18017 | 1,293,444,707 | PR_kwDOCUB6oc460BqV | 18,017 | Fix ORTTrainer failure on gpt2 fp16 training | {
"login": "JingyaHuang",
"id": 44135271,
"node_id": "MDQ6VXNlcjQ0MTM1Mjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/44135271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JingyaHuang",
"html_url": "https://github.com/JingyaHuang",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hello @JingyaHuang By looking this 2 lines\r\n\r\nhttps://github.com/huggingface/transformers/blob/04ffba9a9a4d452b328eb7e57f7c87f2ed78bd10/src/transformers/models/decision_transformer/modeling_decision_transformer.py#L196-L197\r\n\r... | 1,656 | 1,658 | 1,658 | CONTRIBUTOR | null | # What does this PR do?
Fixes [#11279 of onnxruntime](https://github.com/microsoft/onnxruntime/issues/11279)
## Context
Optimum users reported that the mixed-precision training on gpt2 with `optimum.onnxruntime.ORTTrainer` is broken since transformers>4.16.0. After investigation, the break comes from the [remo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18017/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18017/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18017",
"html_url": "https://github.com/huggingface/transformers/pull/18017",
"diff_url": "https://github.com/huggingface/transformers/pull/18017.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18017.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18016 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18016/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18016/comments | https://api.github.com/repos/huggingface/transformers/issues/18016/events | https://github.com/huggingface/transformers/pull/18016 | 1,293,360,843 | PR_kwDOCUB6oc46zu-q | 18,016 | Update expected values in DecisionTransformerModelIntegrationTest | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,657 | 1,657 | COLLABORATOR | null | # What does this PR do?
As the checkpoint is updated a few days ago. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18016/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18016/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18016",
"html_url": "https://github.com/huggingface/transformers/pull/18016",
"diff_url": "https://github.com/huggingface/transformers/pull/18016.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18016.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18015 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18015/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18015/comments | https://api.github.com/repos/huggingface/transformers/issues/18015/events | https://github.com/huggingface/transformers/issues/18015 | 1,293,226,195 | I_kwDOCUB6oc5NFRDT | 18,015 | Constraint decoding using long constraints, model keeps resetting the constraint | {
"login": "gansem",
"id": 46566841,
"node_id": "MDQ6VXNlcjQ2NTY2ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/46566841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gansem",
"html_url": "https://github.com/gansem",
"followers_url": "https://api.github.com/users/gansem/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"@cwkeam - any ideas on this one by any chance?",
"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/h... | 1,656 | 1,702 | 1,662 | NONE | null | ### System Info
transformers: 4.21.0
torch: 1.11.0+cpu
python: 3.8.10
Linux-5.13.0-1033-gcp
### Who can help?
@patrickvonplaten,
@Narsil
@patil-suraj
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18015/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18015/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18014 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18014/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18014/comments | https://api.github.com/repos/huggingface/transformers/issues/18014/events | https://github.com/huggingface/transformers/pull/18014 | 1,293,197,201 | PR_kwDOCUB6oc46zLg1 | 18,014 | Fix loss computation in TFWav2Vec2ForCTC | {
"login": "Sreyan88",
"id": 36225987,
"node_id": "MDQ6VXNlcjM2MjI1OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/36225987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sreyan88",
"html_url": "https://github.com/Sreyan88",
"followers_url": "https://api.github.com/users/Sre... | [] | 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"... | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This looks good to me! We just made the same change to several other losses (reshaping the output from a scalar to a tensor with shape `(1,)`). \r\n\r\nMy only concern is that I have no idea how the lack of `@unpack_inputs` was misse... | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | What does this PR do?
`TFWav2Vec2ForCTC` implementation was incorrect. The CTC loss calculation wasn't proper. The root of the problem was that the CTC target labels weren't reaching the loss calculation and it was None. So adding `@unpack_inputs` now unpacks the input properly and loss calculation is properly done.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18014/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/18014/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18014",
"html_url": "https://github.com/huggingface/transformers/pull/18014",
"diff_url": "https://github.com/huggingface/transformers/pull/18014.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18014.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18013 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18013/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18013/comments | https://api.github.com/repos/huggingface/transformers/issues/18013/events | https://github.com/huggingface/transformers/pull/18013 | 1,293,178,405 | PR_kwDOCUB6oc46zHZe | 18,013 | Return scalar losses instead of per-sample means | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ydshieh will investigate RAG and make sure tests pass before merging!",
"@ydshieh I reverted the RAG loss function to the pre-XLA version, so hopefully those tests pass now. All other tests are passing! Do you think there's anythi... | 1,656 | 1,657 | 1,656 | MEMBER | null | This updates the TF XLA-compatible losses to return scalars instead of per-sample means. As @ydshieh pointed out, per-sample means give too much weight to samples with fewer masked positions. The new approach should match PyTorch losses exactly (up to floating-point error).
TODO:
- [x] Update expected sizes in test... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18013/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18013/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18013",
"html_url": "https://github.com/huggingface/transformers/pull/18013",
"diff_url": "https://github.com/huggingface/transformers/pull/18013.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18013.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18012 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18012/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18012/comments | https://api.github.com/repos/huggingface/transformers/issues/18012/events | https://github.com/huggingface/transformers/pull/18012 | 1,293,155,169 | PR_kwDOCUB6oc46zCUx | 18,012 | Fix torchscript tests for GPT-NeoX | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> LGTM!\r\n> \r\n> However, could we add the failing test for reference or do we need to add a new test here?\r\n\r\nI updated the PR description to include the current failing test. Regarding new tests, I don't think it's necessary,... | 1,656 | 1,662 | 1,657 | COLLABORATOR | null | # What does this PR do?
Fix torchscript tests for GPT-NeoX. The main issue comes from the fact that current `RotaryEmbedding` changes the model structure in `forward`.
This PR creates the necessary embeddings in `__init__`, which basically makes the cache (of embedding) mechanism useless. Furthermore, the attribu... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18012/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18012/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18012",
"html_url": "https://github.com/huggingface/transformers/pull/18012",
"diff_url": "https://github.com/huggingface/transformers/pull/18012.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18012.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18011 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18011/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18011/comments | https://api.github.com/repos/huggingface/transformers/issues/18011/events | https://github.com/huggingface/transformers/pull/18011 | 1,293,132,932 | PR_kwDOCUB6oc46y9eG | 18,011 | sort list of models in docs table-of-contents | {
"login": "hollance",
"id": 346853,
"node_id": "MDQ6VXNlcjM0Njg1Mw==",
"avatar_url": "https://avatars.githubusercontent.com/u/346853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hollance",
"html_url": "https://github.com/hollance",
"followers_url": "https://api.github.com/users/hollanc... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
The list of models in the table of contents for the Transformers documentation had some duplicate entries, and was not entirely sorted in alphabetical order. This PR fixes these issues.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your P... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18011/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18011/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18011",
"html_url": "https://github.com/huggingface/transformers/pull/18011",
"diff_url": "https://github.com/huggingface/transformers/pull/18011.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18011.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18010 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18010/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18010/comments | https://api.github.com/repos/huggingface/transformers/issues/18010/events | https://github.com/huggingface/transformers/pull/18010 | 1,293,121,539 | PR_kwDOCUB6oc46y7Bw | 18,010 | Adding a new `align_to_words` param to qa pipeline. | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"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 gu... | 1,656 | 1,660 | 1,660 | CONTRIBUTOR | null | # What does this PR do?
Adding a new `align_to_words` param to qa pipeline.
The problem lies that the "word" alignment really depends on the tokenizer
"pre_tokenizer" property, which might well not exist, especially on japanese
and other non space separated langages.
This new parameter allows to disable the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18010/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/18010/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18010",
"html_url": "https://github.com/huggingface/transformers/pull/18010",
"diff_url": "https://github.com/huggingface/transformers/pull/18010.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18010.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18009 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18009/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18009/comments | https://api.github.com/repos/huggingface/transformers/issues/18009/events | https://github.com/huggingface/transformers/issues/18009 | 1,292,938,199 | I_kwDOCUB6oc5NEKvX | 18,009 | Negative CTC loss while training TFWav2Vec2ForCTC model | {
"login": "Sreyan88",
"id": 36225987,
"node_id": "MDQ6VXNlcjM2MjI1OTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/36225987?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sreyan88",
"html_url": "https://github.com/Sreyan88",
"followers_url": "https://api.github.com/users/Sre... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @Sreyan88, this looks like a real bug and a good solution - would you be willing to file a PR with your changes, and we'll review it?",
"Hi @Rocketknight1 ,\r\n\r\nThe pull request is up! You can review it and assign reviewers too!",
"Hi @Rocketknight1 ,\r\n\r\nThough this works perfectly now, I notice that... | 1,656 | 1,657 | 1,656 | CONTRIBUTOR | null | ### System Info
`transformers` version: 4.21.0.dev0
- Platform: Linux-5.13.0-48-generic-x86_64-with-glibc2.31
- Python version: 3.7.13
- PyTorch version (GPU?): 1.11.0 (False)
- Tensorflow version (GPU?): 2.9.1 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib ve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18009/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/18009/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18008 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18008/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18008/comments | https://api.github.com/repos/huggingface/transformers/issues/18008/events | https://github.com/huggingface/transformers/pull/18008 | 1,292,892,550 | PR_kwDOCUB6oc46yJqy | 18,008 | Added Command for windows VENV activation in installation docs | {
"login": "darthvader2",
"id": 20208131,
"node_id": "MDQ6VXNlcjIwMjA4MTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/20208131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/darthvader2",
"html_url": "https://github.com/darthvader2",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you @sgugger and @LysandreJik ! I have made the changes as per your comments",
"Thanks a lot!"
] | 1,656 | 1,657 | 1,657 | CONTRIBUTOR | null |
- Added command for activating virtual environment on windows machine in Installation docs ( @sgugger ) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18008/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18008/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18008",
"html_url": "https://github.com/huggingface/transformers/pull/18008",
"diff_url": "https://github.com/huggingface/transformers/pull/18008.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18008.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18007 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18007/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18007/comments | https://api.github.com/repos/huggingface/transformers/issues/18007/events | https://github.com/huggingface/transformers/pull/18007 | 1,292,850,438 | PR_kwDOCUB6oc46yAx_ | 18,007 | fix inplace modification error by adding clone() | {
"login": "bzantium",
"id": 19511788,
"node_id": "MDQ6VXNlcjE5NTExNzg4",
"avatar_url": "https://avatars.githubusercontent.com/u/19511788?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bzantium",
"html_url": "https://github.com/bzantium",
"followers_url": "https://api.github.com/users/bza... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Do you have a reproducible code example that raises this error? cc @sgugger @patrickvonplaten ",
"@LysandreJik I found the problem is in DistributedDataParallel not transformers. I fixed the problem. Sorry to take your time!",
"p... | 1,656 | 1,695 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
When using `DistributedDataParallel`, `token_type_embedding` may occur RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation:
<img width="1791" alt="image" src="https://user-images.githubusercontent.com/19511788/177119562-1c341b15-da7b-4... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18007/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18007/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18007",
"html_url": "https://github.com/huggingface/transformers/pull/18007",
"diff_url": "https://github.com/huggingface/transformers/pull/18007.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18007.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18006 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18006/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18006/comments | https://api.github.com/repos/huggingface/transformers/issues/18006/events | https://github.com/huggingface/transformers/pull/18006 | 1,292,815,451 | PR_kwDOCUB6oc46x5fj | 18,006 | Add SegFormer ONNX support | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"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 gu... | 1,656 | 1,661 | 1,661 | CONTRIBUTOR | null | # What does this PR do?
This PR adds support for the first "semantic-segmentation" feature, SegFormer.
Related to #16308 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18006/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18006/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18006",
"html_url": "https://github.com/huggingface/transformers/pull/18006",
"diff_url": "https://github.com/huggingface/transformers/pull/18006.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18006.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18005 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18005/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18005/comments | https://api.github.com/repos/huggingface/transformers/issues/18005/events | https://github.com/huggingface/transformers/pull/18005 | 1,292,812,712 | PR_kwDOCUB6oc46x45y | 18,005 | Replace BloomTokenizer by BloomTokenizerFast in doc | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"CI passed, pinging @sgugger for final approval"
] | 1,656 | 1,656 | 1,656 | 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/18005/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/18005/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18005",
"html_url": "https://github.com/huggingface/transformers/pull/18005",
"diff_url": "https://github.com/huggingface/transformers/pull/18005.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18005.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18004 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18004/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18004/comments | https://api.github.com/repos/huggingface/transformers/issues/18004/events | https://github.com/huggingface/transformers/issues/18004 | 1,292,804,581 | I_kwDOCUB6oc5NDqHl | 18,004 | Add DFFT | {
"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... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | null | [] | [
"Hello, is this issue still open? I would like to contribute to it.",
"@NielsRogge Anyone working on this?\r\n\r\nThank you",
"Feel free to start working on this!",
"@NielsRogge if no one is working on this then I would like to start working on it",
"Cool, feel free to open a draft PR",
"Hi @NielsRogge, @... | 1,656 | 1,680 | null | CONTRIBUTOR | null | ### Model description
DFFT is a new fully Transformer-based object detector. The model doesn't require a decoder, unlike DETR.
### Open source status
- [X] The model implementation is available
- [X] The model weights are available
### Provide useful links for the implementation
Paper: https://arxiv.org/abs/2206.0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18004/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18004/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18003 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18003/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18003/comments | https://api.github.com/repos/huggingface/transformers/issues/18003/events | https://github.com/huggingface/transformers/issues/18003 | 1,292,750,367 | I_kwDOCUB6oc5NDc4f | 18,003 | Optional type of lengths causes slow speed in LengthGroupedSampler | {
"login": "seopbo",
"id": 19755607,
"node_id": "MDQ6VXNlcjE5NzU1NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/19755607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seopbo",
"html_url": "https://github.com/seopbo",
"followers_url": "https://api.github.com/users/seopbo/fo... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I don't understand why changing the type annotation would change anything. Those type annotations are completely ignored at execution, they are just here as documentation of the code. Python is not a typed language.\r\n\r\nThe problem is just that if a tensor is passed for the lengths, it should be converted back ... | 1,656 | 1,657 | 1,657 | CONTRIBUTOR | null | ### System Info
- `transformers` version: 4.20.1
- Platform: macOS-12.4-arm64-arm-64bit
- Python version: 3.8.13
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18003/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18003/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18002 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18002/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18002/comments | https://api.github.com/repos/huggingface/transformers/issues/18002/events | https://github.com/huggingface/transformers/pull/18002 | 1,292,371,426 | PR_kwDOCUB6oc46wcDA | 18,002 | Fix T5 incorrect weight decay in Trainer and official summarization example | {
"login": "ADAning",
"id": 37218117,
"node_id": "MDQ6VXNlcjM3MjE4MTE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37218117?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ADAning",
"html_url": "https://github.com/ADAning",
"followers_url": "https://api.github.com/users/ADAnin... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks a lot for iterating with us!"
] | 1,656 | 1,657 | 1,657 | CONTRIBUTOR | null |
# What does this PR do?
Official summrization examples use T5 as pretrained model, but the name of T5 layer norm is `layer_norm`, not `layerNorm`:
```
from transformers import T5Tokenizer, T5ForConditionalGeneration
model = T5ForConditionalGeneration.from_pretrained("t5-small")
for n, p in model.named_parame... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18002/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18002/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18002",
"html_url": "https://github.com/huggingface/transformers/pull/18002",
"diff_url": "https://github.com/huggingface/transformers/pull/18002.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18002.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/18001 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18001/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18001/comments | https://api.github.com/repos/huggingface/transformers/issues/18001/events | https://github.com/huggingface/transformers/issues/18001 | 1,292,360,065 | I_kwDOCUB6oc5NB9mB | 18,001 | Data collator not working with Masking language model of Bart type | {
"login": "ahadda5",
"id": 21275079,
"node_id": "MDQ6VXNlcjIxMjc1MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/21275079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ahadda5",
"html_url": "https://github.com/ahadda5",
"followers_url": "https://api.github.com/users/ahadda... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"So commenting the collator argument , otherwise CUDA faces lots of issues whether with the accelator or not. \r\n\r\n```\r\ntrainer = Trainer(\r\n model=model,\r\n args=training_args,\r\n train_dataset=downsampled_dataset[\"train\"],\r\n eval_dataset=downsampled_dataset[\"test\"],\r\n # data_collat... | 1,656 | 1,657 | 1,656 | NONE | null | ### System Info
**System Info**
- transformers version : 4.20.1
- Ubuntu : "20.04.3 LTS
- Python: 3.7
- PyTorch + GPU: torch:1.11+ cuda:11.4
### Who can help?
@patil-suraj @sgugger
### Information
- [X] The official example scripts
- [ ] My own modified scripts
### Tasks
- [X]... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/18001/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18001/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/18000 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/18000/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/18000/comments | https://api.github.com/repos/huggingface/transformers/issues/18000/events | https://github.com/huggingface/transformers/pull/18000 | 1,292,273,962 | PR_kwDOCUB6oc46wIiY | 18,000 | Fix typo in error message in generation_utils | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | 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/18000/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/18000/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/18000",
"html_url": "https://github.com/huggingface/transformers/pull/18000",
"diff_url": "https://github.com/huggingface/transformers/pull/18000.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/18000.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17999 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17999/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17999/comments | https://api.github.com/repos/huggingface/transformers/issues/17999/events | https://github.com/huggingface/transformers/issues/17999 | 1,292,198,129 | I_kwDOCUB6oc5NBWDx | 17,999 | can not covert LayoutLMv2ForRelationExtraction model to onnx | {
"login": "githublsk",
"id": 77612906,
"node_id": "MDQ6VXNlcjc3NjEyOTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/77612906?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/githublsk",
"html_url": "https://github.com/githublsk",
"followers_url": "https://api.github.com/users/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,656 | 1,660 | 1,660 | NONE | null | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17999/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17999/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17998 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17998/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17998/comments | https://api.github.com/repos/huggingface/transformers/issues/17998/events | https://github.com/huggingface/transformers/issues/17998 | 1,292,096,312 | I_kwDOCUB6oc5NA9M4 | 17,998 | input_inds greater than the vocab_size in Question answering example | {
"login": "yiliu30",
"id": 106061964,
"node_id": "U_kgDOBlJgjA",
"avatar_url": "https://avatars.githubusercontent.com/u/106061964?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yiliu30",
"html_url": "https://github.com/yiliu30",
"followers_url": "https://api.github.com/users/yiliu30/foll... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"The max of `input_ids` is 30511.",
"This is a TensorFlow example, so you tagged the wrong persons :-) cc @Rocketknight1 @gante ",
"Hi @yiliu30 I have just tried your command with the latest version of `transformers` installed from `main` and TensorFlow 2.9.1 and could not reproduce the issue. Can you install t... | 1,656 | 1,657 | 1,657 | NONE | null | ### System Info
- `transformers` version: 4.21.0.dev0
- Platform: Linux-3.10.0-693.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.12.0+cu102 (False)
- Tensorflow version (GPU?): 2.9.1 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (N... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17998/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17998/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17997 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17997/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17997/comments | https://api.github.com/repos/huggingface/transformers/issues/17997/events | https://github.com/huggingface/transformers/pull/17997 | 1,292,076,342 | PR_kwDOCUB6oc46vio5 | 17,997 | Added Doctest for Deberta Pytorch | {
"login": "Tegzes",
"id": 48134725,
"node_id": "MDQ6VXNlcjQ4MTM0NzI1",
"avatar_url": "https://avatars.githubusercontent.com/u/48134725?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tegzes",
"html_url": "https://github.com/Tegzes",
"followers_url": "https://api.github.com/users/Tegzes/fo... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17997). All of your documentation changes will be reflected on that endpoint.",
"The doctest pass locally. I will look the changes in this PR :-) ",
"Hi @Tegzes, Thank you for this PR!\r\n\r\n- For `DebertaForMaskedLM`, i... | 1,656 | 1,660 | 1,660 | CONTRIBUTOR | null | # What does this PR do?
Adds Doctest for DeBerta [Pytorch version]
Issue: #16292
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CON... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17997/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17997/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17997",
"html_url": "https://github.com/huggingface/transformers/pull/17997",
"diff_url": "https://github.com/huggingface/transformers/pull/17997.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17997.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17996 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17996/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17996/comments | https://api.github.com/repos/huggingface/transformers/issues/17996/events | https://github.com/huggingface/transformers/issues/17996 | 1,292,021,061 | I_kwDOCUB6oc5NAq1F | 17,996 | Result of T5 tokenizer doesn't match | {
"login": "JueXiuHuang",
"id": 32955131,
"node_id": "MDQ6VXNlcjMyOTU1MTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/32955131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JueXiuHuang",
"html_url": "https://github.com/JueXiuHuang",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I think your issue was already resolved here:\r\nhttps://github.com/huggingface/transformers/issues/8217\r\n\r\nIn short:\r\n\r\n`is_split_into_words=True`\r\n\r\nassumes that the input is a list of words, not tokens.\r\nWhen you input `tokenize_result` to tokenizer with `is_split_into_words=True`, the tokenizer a... | 1,656 | 1,657 | 1,657 | NONE | null | ### System Info
transformers: 4.16.2
python: 3.7.11
pytorch: 1.10.0
### Who can help?
@patrickvonplaten
### Information
- [ ] The official example scripts
- [X] My own modified scripts
### Tasks
- [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...)
- [x] My own t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17996/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17996/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17995 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17995/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17995/comments | https://api.github.com/repos/huggingface/transformers/issues/17995/events | https://github.com/huggingface/transformers/pull/17995 | 1,291,998,381 | PR_kwDOCUB6oc46vUIy | 17,995 | Fix BLOOM dtype | {
"login": "Muennighoff",
"id": 62820084,
"node_id": "MDQ6VXNlcjYyODIwMDg0",
"avatar_url": "https://avatars.githubusercontent.com/u/62820084?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Muennighoff",
"html_url": "https://github.com/Muennighoff",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"You should just set the `dtype` in the config file",
"Hmm maybe I'm doing sth wrong. I use\r\n\r\n`python /gpfsssd/worksf/projects/rech/six/commun/conda/muennighoffmodelconv/lib/python3.8/site-packages/transformers/models/bloom/con... | 1,656 | 1,658 | 1,657 | CONTRIBUTOR | null | Issues:
a) The bloom attribute map does not follow the convention of
```json
common_arg: model_specific_arg
```
& the argument n_embed is there for no apparent reason.
b) Using attributes with defaults in the attribute_map leads to them being overwritten in [setattr](https://github.com/huggingface/transformers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17995/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/17995/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17995",
"html_url": "https://github.com/huggingface/transformers/pull/17995",
"diff_url": "https://github.com/huggingface/transformers/pull/17995.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17995.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17994 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17994/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17994/comments | https://api.github.com/repos/huggingface/transformers/issues/17994/events | https://github.com/huggingface/transformers/pull/17994 | 1,291,985,197 | PR_kwDOCUB6oc46vRqb | 17,994 | Flax Remat for LongT5 | {
"login": "KMFODA",
"id": 35491698,
"node_id": "MDQ6VXNlcjM1NDkxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KMFODA",
"html_url": "https://github.com/KMFODA",
"followers_url": "https://api.github.com/users/KMFODA/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hey @KMFODA, looks like a great start on this PR! I would advocate for adding gradient checkpointing to Flax T5 first. Once we're confident that the implementation is correct, we can run the command `make fix-copies` to have the chan... | 1,656 | 1,660 | 1,660 | CONTRIBUTOR | null | # What does this PR do?
Following on from the discussion in https://github.com/huggingface/transformers/issues/17399 this PR adds remat (flax's gradient checkpointing) to LongT5. Most of the code is copied from https://github.com/huggingface/transformers/pull/17843/files and then altered to be applicable for LongT5.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17994/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17994/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17994",
"html_url": "https://github.com/huggingface/transformers/pull/17994",
"diff_url": "https://github.com/huggingface/transformers/pull/17994.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17994.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17993 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17993/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17993/comments | https://api.github.com/repos/huggingface/transformers/issues/17993/events | https://github.com/huggingface/transformers/issues/17993 | 1,291,888,405 | I_kwDOCUB6oc5NAKcV | 17,993 | BART with multiple encoders. | {
"login": "prakamya-mishra",
"id": 22093105,
"node_id": "MDQ6VXNlcjIyMDkzMTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/22093105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prakamya-mishra",
"html_url": "https://github.com/prakamya-mishra",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hi @prakamya-mishra -- if your model is designed to take two inputs, then you may be able to pass the second through `model_kwargs`. E.g. if the model signature is `model(input_ids, foo)`, then you may be able to run `model.generate(input_ids, model_kwargs{\"foo\": foo})`. Although you have to make sure your `prep... | 1,656 | 1,660 | 1,660 | NONE | null | Hi @patrickvonplaten , I am trying to evaluate my a model (Custom BART model with 2 inputs) that has 2 encoder and 1 decoder. For evaluation in the prediction_step method, it uses model.generate (from generation_utils.py) for generating outputs. But the problem is that it only accepts inputs: Optional[torch.Tensor] = ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17993/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17993/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17992 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17992/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17992/comments | https://api.github.com/repos/huggingface/transformers/issues/17992/events | https://github.com/huggingface/transformers/pull/17992 | 1,291,882,355 | PR_kwDOCUB6oc46u9Lm | 17,992 | traducción al español de token_classification.mdx | {
"login": "gpalomeque",
"id": 7240598,
"node_id": "MDQ6VXNlcjcyNDA1OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7240598?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gpalomeque",
"html_url": "https://github.com/gpalomeque",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_17992). All of your documentation changes will be reflected on that endpoint.",
"Hola @gpalomeque! Thank you for your translations. I am sorry for the late review on my side.\r\n\r\nI left you some comments on the review. A... | 1,656 | 1,661 | 1,661 | 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/17992/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17992/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17992",
"html_url": "https://github.com/huggingface/transformers/pull/17992",
"diff_url": "https://github.com/huggingface/transformers/pull/17992.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17992.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17991 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17991/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17991/comments | https://api.github.com/repos/huggingface/transformers/issues/17991/events | https://github.com/huggingface/transformers/issues/17991 | 1,291,821,816 | I_kwDOCUB6oc5M_6L4 | 17,991 | issue installing SentencePiece | {
"login": "SamitM1",
"id": 40326732,
"node_id": "MDQ6VXNlcjQwMzI2NzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/40326732?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SamitM1",
"html_url": "https://github.com/SamitM1",
"followers_url": "https://api.github.com/users/SamitM... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @SamitM1 👋 The issue seems to be related to the package you mentioned, not `transformers` -- I'd suggest opening an issue there (https://github.com/google/sentencepiece)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed ... | 1,656 | 1,660 | 1,660 | NONE | null | ### System Info
the error i get when i do "pip3 install SentencePiece":
./build_bundled.sh: line 15: cmake: command not found
./build_bundled.sh: line 16: nproc: command not found
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17991/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17991/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17990 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17990/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17990/comments | https://api.github.com/repos/huggingface/transformers/issues/17990/events | https://github.com/huggingface/transformers/issues/17990 | 1,291,757,004 | I_kwDOCUB6oc5M_qXM | 17,990 | --save_on_each_node doesn't save pytorch_model.bin when deepspeed zero3 is used | {
"login": "dunalduck0",
"id": 51274745,
"node_id": "MDQ6VXNlcjUxMjc0NzQ1",
"avatar_url": "https://avatars.githubusercontent.com/u/51274745?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dunalduck0",
"html_url": "https://github.com/dunalduck0",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,656 | 1,660 | 1,660 | NONE | null | ### System Info
- `transformers` version: 4.20.1
- Platform: Linux-5.4.0-1083-azure-x86_64-with-glibc2.10
- Python version: 3.8.12
- Huggingface_hub version: 0.8.1
- PyTorch version (GPU?): 1.10.0a0+0aef44c (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17990/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17990/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17989 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17989/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17989/comments | https://api.github.com/repos/huggingface/transformers/issues/17989/events | https://github.com/huggingface/transformers/pull/17989 | 1,291,729,017 | PR_kwDOCUB6oc46ub3T | 17,989 | Added option for users to modify config parameter when calling pytess… | {
"login": "kelvinAI",
"id": 10686779,
"node_id": "MDQ6VXNlcjEwNjg2Nzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/10686779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kelvinAI",
"html_url": "https://github.com/kelvinAI",
"followers_url": "https://api.github.com/users/kel... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@NielsRogge \r\nAdded & tested LayoutLMV3 feature extractor",
"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... | 1,656 | 1,663 | 1,663 | CONTRIBUTOR | null | # What does this PR do?
This is a feature addition to LayoutLMV3, a follow up to the same feature added to [LayoutLMV2's feature extractor ](https://github.com/huggingface/transformers/pull/17733)
Giving user option to set config parameter used by Tesseract when performing feature extraction. Eg. to change psm le... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17989/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17989/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17989",
"html_url": "https://github.com/huggingface/transformers/pull/17989",
"diff_url": "https://github.com/huggingface/transformers/pull/17989.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17989.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17988 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17988/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17988/comments | https://api.github.com/repos/huggingface/transformers/issues/17988/events | https://github.com/huggingface/transformers/pull/17988 | 1,291,670,269 | PR_kwDOCUB6oc46uO4R | 17,988 | Exclude Databricks from notebook env only if the runtime is below 11.0 | {
"login": "davidheryanto",
"id": 5300554,
"node_id": "MDQ6VXNlcjUzMDA1NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5300554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidheryanto",
"html_url": "https://github.com/davidheryanto",
"followers_url": "https://api.github.... | [] | closed | false | null | [] | [
"Arg, our CI wasn't triggered properly. Could you try pushing an empty commit?",
"_The documentation is not available anymore as the PR was closed or merged._",
"Sure. I pushed a dummy commit removing a full stop in the comment.",
"Didn't work again, there should be more tests spawning. You can do empty commi... | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
This PR adds additional check to `is_in_notebook()` to return `False` in Databricks only if the Databricks Runtime is below 11.0. In Databricks Runtime 11.0 and above, IPython kernel is the default Python execution engine. Therefore it should be more compatible with Jupyter notebook https://d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17988/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17988/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17988",
"html_url": "https://github.com/huggingface/transformers/pull/17988",
"diff_url": "https://github.com/huggingface/transformers/pull/17988.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17988.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17987 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17987/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17987/comments | https://api.github.com/repos/huggingface/transformers/issues/17987/events | https://github.com/huggingface/transformers/pull/17987 | 1,291,655,965 | PR_kwDOCUB6oc46uLvm | 17,987 | Shifting labels for causal LM when using label smoother | {
"login": "seungeunrho",
"id": 8207326,
"node_id": "MDQ6VXNlcjgyMDczMjY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8207326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seungeunrho",
"html_url": "https://github.com/seungeunrho",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | # What does this PR do?
Fixes #17960
When training CausalLM such as GPT2, loss is computed within model's `foward()` function and `labels` are shifted internally. However, if label smoothing is applied, loss is computed in trainer's `compute_loss` function and `labels` are not shifted. This causes misalignment o... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17987/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17987/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17987",
"html_url": "https://github.com/huggingface/transformers/pull/17987",
"diff_url": "https://github.com/huggingface/transformers/pull/17987.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17987.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17986 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17986/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17986/comments | https://api.github.com/repos/huggingface/transformers/issues/17986/events | https://github.com/huggingface/transformers/pull/17986 | 1,291,650,322 | PR_kwDOCUB6oc46uKhB | 17,986 | TF: GPT-J compatible with XLA generation | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"Related issue: #17935 ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,657 | 1,657 | MEMBER | null | # What does this PR do?
This PR modifies TF GPT-J so as to be compatible with XLA generation. It borrows the new code from FLAX -- in essence, instead of computing the embedded positions (`sincos`) at each call, given the size of the sequence (which could be obtained from the size of the past), now pre-computes the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17986/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/17986/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17986",
"html_url": "https://github.com/huggingface/transformers/pull/17986",
"diff_url": "https://github.com/huggingface/transformers/pull/17986.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17986.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17985 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17985/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17985/comments | https://api.github.com/repos/huggingface/transformers/issues/17985/events | https://github.com/huggingface/transformers/pull/17985 | 1,291,636,136 | PR_kwDOCUB6oc46uHZu | 17,985 | Restore original task in test_warning_logs | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,656 | 1,656 | 1,656 | COLLABORATOR | null | # What does this PR do?
`test_warning_logs` modifies `PIPELINE_REGISTRY` via `PIPELINE_REGISTRY.register_pipeline(alias, {})`, which fails the tests in `TextClassificationPipelineTests`.
This PR restores the original task at the end of `test_warning_logs`.
cc @aarnphm | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17985/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17985/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17985",
"html_url": "https://github.com/huggingface/transformers/pull/17985",
"diff_url": "https://github.com/huggingface/transformers/pull/17985.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17985.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17984 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17984/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17984/comments | https://api.github.com/repos/huggingface/transformers/issues/17984/events | https://github.com/huggingface/transformers/issues/17984 | 1,291,314,722 | I_kwDOCUB6oc5M9-Yi | 17,984 | Exception: EOF while parsing a string at line 1 column 8862550 | {
"login": "MrAsimZahid",
"id": 23510373,
"node_id": "MDQ6VXNlcjIzNTEwMzcz",
"avatar_url": "https://avatars.githubusercontent.com/u/23510373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MrAsimZahid",
"html_url": "https://github.com/MrAsimZahid",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @MrAsimZahid ,\r\n\r\nI followed the first 4 steps to try to reproduce your problem. Unfortunately I get the error bellow (I have spacy installed so it seems that it is necessary to be more restrictive on the versions in the requirements file - see my environment [here](https://github.com/huggingface/transforme... | 1,656 | 1,659 | 1,659 | NONE | null | ### System Info
- `transformers` version: 4.20.1 also tried with 4.15.0
- Platform: Linux-5.13.0-48-generic-x86_64-with-glibc2.31
- Python version: 3.9.12
- Huggingface_hub version: 0.5.1
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17984/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17984/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17983 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17983/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17983/comments | https://api.github.com/repos/huggingface/transformers/issues/17983/events | https://github.com/huggingface/transformers/pull/17983 | 1,291,218,580 | PR_kwDOCUB6oc46ssnd | 17,983 | Fix typo in perf_train_gpu_one.mdx | {
"login": "aliencaocao",
"id": 20109683,
"node_id": "MDQ6VXNlcjIwMTA5Njgz",
"avatar_url": "https://avatars.githubusercontent.com/u/20109683?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aliencaocao",
"html_url": "https://github.com/aliencaocao",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"hi, @sgugger do you mind helping to review this PR? Thanks",
"Thanks for fixing!"
] | 1,656 | 1,656 | 1,656 | CONTRIBUTOR | null | Fix typo in perf_train_gpu_one.mdx docs where "exit" should be "exist".
<!--
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 awes... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17983/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17983/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17983",
"html_url": "https://github.com/huggingface/transformers/pull/17983",
"diff_url": "https://github.com/huggingface/transformers/pull/17983.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17983.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17982 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17982/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17982/comments | https://api.github.com/repos/huggingface/transformers/issues/17982/events | https://github.com/huggingface/transformers/pull/17982 | 1,291,175,231 | PR_kwDOCUB6oc46sjMP | 17,982 | WIP Speecht5 | {
"login": "BirgerMoell",
"id": 1704131,
"node_id": "MDQ6VXNlcjE3MDQxMzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/1704131?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BirgerMoell",
"html_url": "https://github.com/BirgerMoell",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,656 | 1,659 | 1,659 | NONE | null | # What does this PR do?
This PR is a WIP for adding Speech T5 to HF referenced here.
https://github.com/huggingface/transformers/issues/17569
<!--
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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17982/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17982/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17982",
"html_url": "https://github.com/huggingface/transformers/pull/17982",
"diff_url": "https://github.com/huggingface/transformers/pull/17982.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17982.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17981 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17981/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17981/comments | https://api.github.com/repos/huggingface/transformers/issues/17981/events | https://github.com/huggingface/transformers/pull/17981 | 1,290,992,137 | PR_kwDOCUB6oc46r8AM | 17,981 | Add ONNX support for YOLOS | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks, I've removed the file and squashed the commits."
] | 1,656 | 1,657 | 1,657 | CONTRIBUTOR | null | # What does this PR do?
Make it possible to export the YOLOS model to ONNX format.
Linked to https://github.com/huggingface/transformers/issues/16308 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17981/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17981/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17981",
"html_url": "https://github.com/huggingface/transformers/pull/17981",
"diff_url": "https://github.com/huggingface/transformers/pull/17981.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17981.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17980 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17980/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17980/comments | https://api.github.com/repos/huggingface/transformers/issues/17980/events | https://github.com/huggingface/transformers/pull/17980 | 1,290,923,922 | PR_kwDOCUB6oc46rtiq | 17,980 | Grammatically updated the Readme file | {
"login": "shivagowri1928",
"id": 66710402,
"node_id": "MDQ6VXNlcjY2NzEwNDAy",
"avatar_url": "https://avatars.githubusercontent.com/u/66710402?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shivagowri1928",
"html_url": "https://github.com/shivagowri1928",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"okay thankyou "
] | 1,656 | 1,656 | 1,656 | NONE | null | # What does this PR do?
grammatically updated the readme file
<!--
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 contrib... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17980/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17980/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17980",
"html_url": "https://github.com/huggingface/transformers/pull/17980",
"diff_url": "https://github.com/huggingface/transformers/pull/17980.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17980.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17979 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17979/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17979/comments | https://api.github.com/repos/huggingface/transformers/issues/17979/events | https://github.com/huggingface/transformers/pull/17979 | 1,290,841,780 | PR_kwDOCUB6oc46rb6O | 17,979 | Avoid flaky trainer test failures | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> I assume that 1e-7 and 1e-6 were still flakey, right? Just concerned with very low margin where it could potentially hide issues.\r\n> \r\n> But otherwise looks good. Thank you for fixing, @ydshieh\r\n\r\nFrom Slack report, I could... | 1,656 | 1,662 | 1,656 | COLLABORATOR | null | # What does this PR do?
Avoid flaky trainer test failures on multi GPUs.
I ran the test 1000 times on single/muti GPU VMs.
- single gpu: all 0.0
- multi gpu: a lot of 0.0, but the largest can go 1e-4. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17979/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17979/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17979",
"html_url": "https://github.com/huggingface/transformers/pull/17979",
"diff_url": "https://github.com/huggingface/transformers/pull/17979.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17979.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17978 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17978/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17978/comments | https://api.github.com/repos/huggingface/transformers/issues/17978/events | https://github.com/huggingface/transformers/issues/17978 | 1,290,787,369 | I_kwDOCUB6oc5M79op | 17,978 | Training with fp16 precision gives nan in Longt5 | {
"login": "Leonard907",
"id": 56124701,
"node_id": "MDQ6VXNlcjU2MTI0NzAx",
"avatar_url": "https://avatars.githubusercontent.com/u/56124701?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Leonard907",
"html_url": "https://github.com/Leonard907",
"followers_url": "https://api.github.com/use... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | {
"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/... | [
{
"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.githu... | [
"This is due to `-1e10` is used as attention mask. A fix similar to what has done in #17306 should work.\r\nWould you like to open a PR for LongT5, @Leonard907 ?\r\n",
"@ydshieh Sorry for the late reply, I ran a few experiments and found that fixing both the clamp value and attention mask seems to work (I should ... | 1,656 | 1,660 | 1,660 | NONE | null | ### System Info
- `transformers` version: 4.10.0.dev0
- Platform: Linux-3.10.0-1160.62.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.8.13
- PyTorch version (GPU?): 1.9.0+cu111 (False)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not i... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17978/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/17978/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17977 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17977/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17977/comments | https://api.github.com/repos/huggingface/transformers/issues/17977/events | https://github.com/huggingface/transformers/issues/17977 | 1,290,781,597 | I_kwDOCUB6oc5M78Od | 17,977 | rust_model.ot not saved by save_pretrained() | {
"login": "Zacchaeus00",
"id": 64816317,
"node_id": "MDQ6VXNlcjY0ODE2MzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/64816317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zacchaeus00",
"html_url": "https://github.com/Zacchaeus00",
"followers_url": "https://api.github.com/... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Rust models are not supported by `transformers`. I believe the models you're talking about are the ones coming from @guillaume-be's [rust-bert](https://github.com/guillaume-be/rust-bert) repository.",
"@LysandreJik Thanks. I got it. I was thinking about https://huggingface.co/microsoft/deberta-v3-base/blob/main/... | 1,656 | 1,656 | 1,656 | NONE | null | ### System Info
I am running my experiments on a machine without internet, so I need to save the tokenizers first. However, I found that with the `save_pretrained()` method, the `rust_model.ot` is not saved to the directory. The model is `deberta-v3-base` and the version is 4.20.1.
### Who can help?
@LysandreJ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17977/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17977/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/17976 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17976/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17976/comments | https://api.github.com/repos/huggingface/transformers/issues/17976/events | https://github.com/huggingface/transformers/pull/17976 | 1,290,672,375 | PR_kwDOCUB6oc46q3vp | 17,976 | Rename second input dimension for ONNX-supported CV models | {
"login": "regisss",
"id": 15324346,
"node_id": "MDQ6VXNlcjE1MzI0MzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/15324346?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/regisss",
"html_url": "https://github.com/regisss",
"followers_url": "https://api.github.com/users/regiss... | [] | closed | false | null | [] | [
"As discussed with @NielsRogge, it does not make much sense to call the second input dimension of `pixel_values` \"sequence\" while it is actually the number of channels. This can be misleading if one takes a closer look at the ONNX model (e.g. with Netron).",
"I re-ran all slow tests and they all passed.",
"_T... | 1,656 | 1,660 | 1,660 | 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/17976/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17976/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/17976",
"html_url": "https://github.com/huggingface/transformers/pull/17976",
"diff_url": "https://github.com/huggingface/transformers/pull/17976.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/17976.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/17975 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/17975/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/17975/comments | https://api.github.com/repos/huggingface/transformers/issues/17975/events | https://github.com/huggingface/transformers/issues/17975 | 1,290,580,918 | I_kwDOCUB6oc5M7LO2 | 17,975 | Grid search ProgressCallback leads to encoding issue on Windows | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 3817266200,
"node_id": "MDU6TGFiZWwzODE3MjY2MjAw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,656 | 1,682 | 1,659 | COLLABORATOR | null | ### System Info
- `transformers` version: 4.20.0
- Platform: Windows-10-10.0.19041-SP0
- Python version: 3.8.8
- Huggingface_hub version: 0.7.0
- PyTorch version (GPU?): 1.12.0+cu116 (True)
### Who can help?
@richardliaw @amogkam
### Information
- [ ] The official example scripts
- [X] My own modified scri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/17975/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/17975/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.