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/11538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11538/comments | https://api.github.com/repos/huggingface/transformers/issues/11538/events | https://github.com/huggingface/transformers/pull/11538 | 873,718,783 | MDExOlB1bGxSZXF1ZXN0NjI4NDYxNTAw | 11,538 | [Wav2vec2] Fixed tokenization mistakes while adding single-char tokens to tokenizer | {
"login": "Muktan",
"id": 31338369,
"node_id": "MDQ6VXNlcjMxMzM4MzY5",
"avatar_url": "https://avatars.githubusercontent.com/u/31338369?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Muktan",
"html_url": "https://github.com/Muktan",
"followers_url": "https://api.github.com/users/Muktan/fo... | [] | closed | false | null | [] | [
"Hey @Muktan,\r\n\r\nThanks a lot for working on this! Could you add a test that shows how your code solves the issue? :-)\r\n\r\nIt should be in `tests/test_tokenization_wav2vec2.py`",
"Welcome @patrickvonplaten, I will add a test that shows how the code solves the issue."
] | 1,619 | 1,631 | 1,620 | 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/11538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11538/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11538",
"html_url": "https://github.com/huggingface/transformers/pull/11538",
"diff_url": "https://github.com/huggingface/transformers/pull/11538.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11538.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11537/comments | https://api.github.com/repos/huggingface/transformers/issues/11537/events | https://github.com/huggingface/transformers/pull/11537 | 873,611,574 | MDExOlB1bGxSZXF1ZXN0NjI4MzkxMjk3 | 11,537 | [Flax] Add FlaxBart models | {
"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... | [] | 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... | [
"Hey @stancld,\r\n\r\nOne important thing we should implement before merging is the caching mechanismh similar to how it's done in GPT2: https://github.com/huggingface/transformers/blob/0b0a598452b02278075a75f84b5ca7bb457224ad/src/transformers/models/gpt2/modeling_flax_gpt2.py#L139. @patil-suraj, could you help her... | 1,619 | 1,623 | 1,623 | CONTRIBUTOR | null | # What does this PR do?
This PR adds Flax implementation of BART and classes for various downstream tasks. Fixes #11478.
Most of the code is inspired by the Flax implementation of BERT and PyTorch implementation of BART.
From Suraj:
A couple of important points to note:
- The seq2seq API is slightly differ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11537/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11537",
"html_url": "https://github.com/huggingface/transformers/pull/11537",
"diff_url": "https://github.com/huggingface/transformers/pull/11537.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11537.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11536 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11536/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11536/comments | https://api.github.com/repos/huggingface/transformers/issues/11536/events | https://github.com/huggingface/transformers/issues/11536 | 873,587,853 | MDU6SXNzdWU4NzM1ODc4NTM= | 11,536 | Adafactor gives RuntimeError: tensors must be 2-D | {
"login": "TJKlein",
"id": 7634373,
"node_id": "MDQ6VXNlcjc2MzQzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7634373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TJKlein",
"html_url": "https://github.com/TJKlein",
"followers_url": "https://api.github.com/users/TJKlein/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,619 | 1,639 | 1,639 | NONE | null | ## Environment info
- `transformers` version: 4.2.2 (also tried with the latest version v.4.5.1)
- Platform: Linux-4.4.0-1127-aws-x86_64-with-debian-stretch-sid
- Python version: 3.6.13
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: True
- Using dis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11536/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11535/comments | https://api.github.com/repos/huggingface/transformers/issues/11535/events | https://github.com/huggingface/transformers/pull/11535 | 873,585,086 | MDExOlB1bGxSZXF1ZXN0NjI4MzcyODMw | 11,535 | Vectorized Numpy based functions to Torch based Functions for SpecAugment. | {
"login": "01-vyom",
"id": 46242526,
"node_id": "MDQ6VXNlcjQ2MjQyNTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/46242526?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/01-vyom",
"html_url": "https://github.com/01-vyom",
"followers_url": "https://api.github.com/users/01-vyo... | [] | closed | false | null | [] | [
"Following are the average test results for the `_compute_mask_indices` function when ran 100 times. Each X.1 subtest case is calculated with `attention_mask = None` and each X.2 subtest case is calculated with `attention_mask` calculated with the following code:\r\n```\r\nattention_mask = torch.ones((batch_size, s... | 1,619 | 1,620 | 1,620 | 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/11535/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/11535/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11535",
"html_url": "https://github.com/huggingface/transformers/pull/11535",
"diff_url": "https://github.com/huggingface/transformers/pull/11535.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11535.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11534/comments | https://api.github.com/repos/huggingface/transformers/issues/11534/events | https://github.com/huggingface/transformers/issues/11534 | 872,941,605 | MDU6SXNzdWU4NzI5NDE2MDU= | 11,534 | How to run transformer model like t5-small, facebook/bart-large-cnn without loading pretrained weights? | {
"login": "xuyeliu",
"id": 31730733,
"node_id": "MDQ6VXNlcjMxNzMwNzMz",
"avatar_url": "https://avatars.githubusercontent.com/u/31730733?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xuyeliu",
"html_url": "https://github.com/xuyeliu",
"followers_url": "https://api.github.com/users/xuyeli... | [] | closed | false | null | [] | [
"For this you could either initialize a random model, save it and pass it's path as `model_name_or_path` arg.\r\nOr modify the script to create a random model instead of pre-trained. i.e to init the model use\r\n\r\n```\r\nmodel = AutoModelForSeq2SeqLM(config)\r\n```\r\ninstead of using `.from_pretrained`.",
"> F... | 1,619 | 1,623 | 1,623 | NONE | null | Same with the title. When using run_summarization.py, how to run transformer models like t5-small, facebook/bart-large-cnn without loading pre-trained weights? I only want to train their original model architecture without pre-trained model. Thanks! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11534/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11533/comments | https://api.github.com/repos/huggingface/transformers/issues/11533/events | https://github.com/huggingface/transformers/pull/11533 | 872,848,920 | MDExOlB1bGxSZXF1ZXN0NjI3NzE0ODk2 | 11,533 | Update training tutorial | {
"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 | [] | [
"Re: freezing layers, someone pointed me to your answer here as well: From your deepspeed talk: https://youtu.be/RG-yV5zgqjQ?t=2450\n\nI guess it's still a bit counterintuitive that the randomly initialized head doesn't cause havoc on the weights of base layers? Just to make sure, it's not that you unfreeze the wh... | 1,619 | 1,620 | 1,620 | COLLABORATOR | null | # What does this PR do?
This PRs rewrites the training tutorial that needed a bit of a refresher. It uses a simple example on the IMDB dataset (for basic text classification) with fine-tuning using:
- Trainer
- Keras
- Raw training loop in PyTorch
One last section with the raw training loop in TensorFlow could... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11533/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11533/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11533",
"html_url": "https://github.com/huggingface/transformers/pull/11533",
"diff_url": "https://github.com/huggingface/transformers/pull/11533.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11533.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11532/comments | https://api.github.com/repos/huggingface/transformers/issues/11532/events | https://github.com/huggingface/transformers/issues/11532 | 872,766,868 | MDU6SXNzdWU4NzI3NjY4Njg= | 11,532 | Files not accessible via IPv6 | {
"login": "leezu",
"id": 946903,
"node_id": "MDQ6VXNlcjk0NjkwMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/946903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leezu",
"html_url": "https://github.com/leezu",
"followers_url": "https://api.github.com/users/leezu/followers"... | [] | closed | false | null | [] | [
"@n1t0 might be knowledgeable about this :)",
"@n1t0 depending where huggingface.co is hosted, solving this issue may just boil down to turning on dual-stack support in the hosting provider's console.",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this ... | 1,619 | 1,700 | 1,629 | NONE | null | In certain cases (such as [1]), users only have access to the internet via IPv6. Unfortunately huggingface.co (or the domain hosting the files) does not have AAAA records and is not reachable from IPv6, causing `ValueError: Connection error, and we cannot find the requested files in the cached path. Please try again or... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11532/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11531/comments | https://api.github.com/repos/huggingface/transformers/issues/11531/events | https://github.com/huggingface/transformers/issues/11531 | 872,760,987 | MDU6SXNzdWU4NzI3NjA5ODc= | 11,531 | Adding custom tokens makes the T5Tokenizer always strip spaces | {
"login": "suflaj",
"id": 77863921,
"node_id": "MDQ6VXNlcjc3ODYzOTIx",
"avatar_url": "https://avatars.githubusercontent.com/u/77863921?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suflaj",
"html_url": "https://github.com/suflaj",
"followers_url": "https://api.github.com/users/suflaj/fo... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,619 | 1,695 | 1,695 | NONE | null | ## Environment info
- `transformers` version: 4.5.1
- Platform: Linux-3.10.0-957.5.1.el7.x86_64-x86_64-with-centos-7.6.1810-Core
- Python version: 3.6.13
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11531/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/11531/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11530/comments | https://api.github.com/repos/huggingface/transformers/issues/11530/events | https://github.com/huggingface/transformers/issues/11530 | 872,755,969 | MDU6SXNzdWU4NzI3NTU5Njk= | 11,530 | generate text with inputs_embeds (instead of input_ids) for T5. | {
"login": "nrjvarshney",
"id": 19836137,
"node_id": "MDQ6VXNlcjE5ODM2MTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/19836137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nrjvarshney",
"html_url": "https://github.com/nrjvarshney",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"One possible solution is to get the `encoder_outputs` by passing `inputs_embeds` to `encoder` and then passing that `encoder_outputs` to `.generate`, so for example\r\n\r\n```\r\nwith torch.no_grad():\r\n encoder_outputs = model.get_encoder()(inputs_embeds=input_embeds)\r\n\r\ngen_ids = model.generate(input_ids... | 1,619 | 1,621 | 1,621 | NONE | null | model.generate() supports input_ids only
```
outs = model.model.generate(input_ids=batch['source_ids'],
attention_mask=batch['source_mask'],
output_scores=True,
max_length=model.model_arguments.max_output_... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11530/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11529 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11529/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11529/comments | https://api.github.com/repos/huggingface/transformers/issues/11529/events | https://github.com/huggingface/transformers/issues/11529 | 872,733,100 | MDU6SXNzdWU4NzI3MzMxMDA= | 11,529 | Deberta v2 Fast Tokenizer | {
"login": "ShubhamSanghvi",
"id": 26190273,
"node_id": "MDQ6VXNlcjI2MTkwMjcz",
"avatar_url": "https://avatars.githubusercontent.com/u/26190273?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShubhamSanghvi",
"html_url": "https://github.com/ShubhamSanghvi",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Any kind soul please add fast tokenizer for Deberta V2. Would be really helpful and thanks in advance!",
"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 f... | 1,619 | 1,623 | 1,623 | CONTRIBUTOR | null | Fast tokenizers for deberta models were requested in #10498. For the deberta (v1) model, they were implemented in #11387.
Deberta v2 fast tokenizers are yet to be implemented. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11529/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11529/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11528/comments | https://api.github.com/repos/huggingface/transformers/issues/11528/events | https://github.com/huggingface/transformers/pull/11528 | 872,471,855 | MDExOlB1bGxSZXF1ZXN0NjI3Mzc1OTQz | 11,528 | Adds Flax BERT finetuning example on GLUE | {
"login": "marcvanzee",
"id": 180100,
"node_id": "MDQ6VXNlcjE4MDEwMA==",
"avatar_url": "https://avatars.githubusercontent.com/u/180100?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marcvanzee",
"html_url": "https://github.com/marcvanzee",
"followers_url": "https://api.github.com/users/m... | [] | closed | false | null | [] | [] | 1,619 | 1,620 | 1,620 | CONTRIBUTOR | null | # What does this PR do?
Adds Flax BERT finetuning example which finetunes on one of the GLUE tasks.
I evaluated all tasks 5 times and added the average runs, the best run. and stdev in a table in the README. I used the seed of the best run as the default.
I also ran all experiments on three devices: 8 Cloud TP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11528/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11528",
"html_url": "https://github.com/huggingface/transformers/pull/11528",
"diff_url": "https://github.com/huggingface/transformers/pull/11528.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11528.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11527 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11527/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11527/comments | https://api.github.com/repos/huggingface/transformers/issues/11527/events | https://github.com/huggingface/transformers/pull/11527 | 872,444,398 | MDExOlB1bGxSZXF1ZXN0NjI3MzUxOTMw | 11,527 | Run model templates on master | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | MEMBER | null | It currently runs on branches, but not on `master`. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11527/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11527",
"html_url": "https://github.com/huggingface/transformers/pull/11527",
"diff_url": "https://github.com/huggingface/transformers/pull/11527.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11527.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11526/comments | https://api.github.com/repos/huggingface/transformers/issues/11526/events | https://github.com/huggingface/transformers/pull/11526 | 872,433,763 | MDExOlB1bGxSZXF1ZXN0NjI3MzQyODMy | 11,526 | Add Stas and Suraj as authors | {
"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 | [] | [
"Thank you, Sylvain ❤️ ",
"Thank you, guys! That feels good!"
] | 1,619 | 1,619 | 1,619 | COLLABORATOR | null | # What does this PR do?
In recognition of all your hard work and the amazing stuff you've added to the lib, adding @stas00 and @patil-suraj to the authors of the lib 🤗 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11526/reactions",
"total_count": 3,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 3,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11526/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11526",
"html_url": "https://github.com/huggingface/transformers/pull/11526",
"diff_url": "https://github.com/huggingface/transformers/pull/11526.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11526.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11525/comments | https://api.github.com/repos/huggingface/transformers/issues/11525/events | https://github.com/huggingface/transformers/pull/11525 | 872,340,486 | MDExOlB1bGxSZXF1ZXN0NjI3MjYyNTM4 | 11,525 | Adding support for `pipeline("automatic-speech-recognition")`. | {
"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 | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,619 | 1,625 | 1,625 | CONTRIBUTOR | null | # What does this PR do?
Implements the default load logic to make `AutomaticSpeechRecognitionPipeline` work
like other pipelines with `pipeline(task="automatic-speech-recognition", ...)`.
The main issue with current implementation is `"config"` choice for AutoModel. It would be great to have the
possibility to have s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11525/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11525",
"html_url": "https://github.com/huggingface/transformers/pull/11525",
"diff_url": "https://github.com/huggingface/transformers/pull/11525.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11525.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11524 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11524/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11524/comments | https://api.github.com/repos/huggingface/transformers/issues/11524/events | https://github.com/huggingface/transformers/pull/11524 | 872,264,297 | MDExOlB1bGxSZXF1ZXN0NjI3MTk2NDI5 | 11,524 | [examples, translation/summerization] resize token embeds | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | MEMBER | null | # What does this PR do?
Resize token embedding in the summarization and translation examples.
Fixes #11518 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11524/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11524",
"html_url": "https://github.com/huggingface/transformers/pull/11524",
"diff_url": "https://github.com/huggingface/transformers/pull/11524.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11524.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11523/comments | https://api.github.com/repos/huggingface/transformers/issues/11523/events | https://github.com/huggingface/transformers/issues/11523 | 872,202,929 | MDU6SXNzdWU4NzIyMDI5Mjk= | 11,523 | Distributed multi-node support for CPU cluster | {
"login": "ddkalamk",
"id": 8791375,
"node_id": "MDQ6VXNlcjg3OTEzNzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/8791375?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ddkalamk",
"html_url": "https://github.com/ddkalamk",
"followers_url": "https://api.github.com/users/ddkal... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,619 | 1,623 | 1,623 | NONE | null | # 🚀 Feature request
## Motivation
Current distributed run supports only multi-GPU/TPU run. This feature requests adding support for distributed CPU runs using MPI/GLOO or recently added custom backend e.g. intel oneCCL backend using [torch-ccl](https://github.com/intel/torch-ccl) plugin.
## Your contribution
A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11523/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11522/comments | https://api.github.com/repos/huggingface/transformers/issues/11522/events | https://github.com/huggingface/transformers/issues/11522 | 872,175,464 | MDU6SXNzdWU4NzIxNzU0NjQ= | 11,522 | Compute probability of target sentences given an input | {
"login": "fferlito",
"id": 26039242,
"node_id": "MDQ6VXNlcjI2MDM5MjQy",
"avatar_url": "https://avatars.githubusercontent.com/u/26039242?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fferlito",
"html_url": "https://github.com/fferlito",
"followers_url": "https://api.github.com/users/ffe... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this sti... | 1,619 | 1,623 | 1,623 | NONE | null | I need to test the probabilities that the model would produce certain outputs. Let me give you an example:
I have a source sentence X, and several possible target sentences Y1, Y2, Y3, Y4 , ...
I want to know if I can compute the probability that the model would give to each of the translation Y, given X.
Is the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11522/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11521 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11521/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11521/comments | https://api.github.com/repos/huggingface/transformers/issues/11521/events | https://github.com/huggingface/transformers/issues/11521 | 872,172,201 | MDU6SXNzdWU4NzIxNzIyMDE= | 11,521 | How to set up a custom tokenizer for distilbart | {
"login": "neptune233",
"id": 46469291,
"node_id": "MDQ6VXNlcjQ2NDY5Mjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/46469291?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/neptune233",
"html_url": "https://github.com/neptune233",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,619 | 1,620 | 1,620 | NONE | null | Hi, I am currently using the distillbart. I pretrained a bart-large model with my own Chinese corpus and I just simply map each character to an id when I do the pre-training. In the distillition.py, the path or name of the tokenizer should be defined. My question is how can I build a custom tokenizer class which can be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11521/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11520 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11520/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11520/comments | https://api.github.com/repos/huggingface/transformers/issues/11520/events | https://github.com/huggingface/transformers/pull/11520 | 872,131,589 | MDExOlB1bGxSZXF1ZXN0NjI3MDg1MTY1 | 11,520 | [Master] Make style | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | 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/11520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11520/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11520",
"html_url": "https://github.com/huggingface/transformers/pull/11520",
"diff_url": "https://github.com/huggingface/transformers/pull/11520.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11520.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11519 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11519/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11519/comments | https://api.github.com/repos/huggingface/transformers/issues/11519/events | https://github.com/huggingface/transformers/issues/11519 | 872,101,481 | MDU6SXNzdWU4NzIxMDE0ODE= | 11,519 | RoBERTa adds two sep tokens | {
"login": "david-waterworth",
"id": 5028974,
"node_id": "MDQ6VXNlcjUwMjg5NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5028974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/david-waterworth",
"html_url": "https://github.com/david-waterworth",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"> Is this intentional? \r\n\r\nYes. It is in line with the original implementation. (Check [link](https://github.com/pytorch/fairseq/blob/master/examples/roberta/README.md) for more information).\r\n\r\n> I ran into two issues - this, and the fact that as per the comment \"RoBERTa does not make use of token type i... | 1,619 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 4.5.1
- Platform: Linux-5.4.0-72-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.6
- PyTorch version (GPU?): NA
- Tensorflow version (GPU?): NA
- Using GPU in script?: NA
- Using distributed or parallel set-up in script?: NA
## Information
I'm... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11519/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11518 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11518/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11518/comments | https://api.github.com/repos/huggingface/transformers/issues/11518/events | https://github.com/huggingface/transformers/issues/11518 | 871,864,329 | MDU6SXNzdWU4NzE4NjQzMjk= | 11,518 | BART summarization, tokenizer not working | {
"login": "shizhediao",
"id": 18120087,
"node_id": "MDQ6VXNlcjE4MTIwMDg3",
"avatar_url": "https://avatars.githubusercontent.com/u/18120087?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shizhediao",
"html_url": "https://github.com/shizhediao",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Did you resize the embeddings after adding the new tokens ? To resize the embedding \r\n```python3\r\nmodel.resize_token_embeddings(len(tokenizer))\r\n```",
"> Did you resize the embeddings after adding the new tokens ? To resize the embedding\r\n> \r\n> ```python\r\n> model.resize_token_embeddings(len(tokenizer... | 1,619 | 1,619 | 1,619 | NONE | null | @patil-suraj
When I am running pytorch/summarization, the logs are as below:
```
Adding AddedToken(content='<s>', single_word=False, lstrip=False, rstrip=False, normalized=True) to the vocabulary
Adding AddedToken(content='</s>', single_word=False, lstrip=False, rstrip=False, normalized=True) to the vocabulary
Ad... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11518/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11517 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11517/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11517/comments | https://api.github.com/repos/huggingface/transformers/issues/11517/events | https://github.com/huggingface/transformers/pull/11517 | 871,300,830 | MDExOlB1bGxSZXF1ZXN0NjI2MzQwMjk4 | 11,517 | rag import not on windows | {
"login": "flozi00",
"id": 47894090,
"node_id": "MDQ6VXNlcjQ3ODk0MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/47894090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/flozi00",
"html_url": "https://github.com/flozi00",
"followers_url": "https://api.github.com/users/flozi0... | [] | closed | false | null | [] | [
"There's a lot of changes relative to `black` - could you install the version the repo uses with:\r\n```\r\npip install -U -e .[quality]\r\n```\r\n?\r\n\r\n\r\nAlso I would put this behind a `if is_faiss_available():` rather than a platform check. Could you show the error you obtain on Windows when using an auto mo... | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | just a small fix to use automodels on windows
faiss is not available on windows, and RAG is using faiss, so the import fails | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11517/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11517",
"html_url": "https://github.com/huggingface/transformers/pull/11517",
"diff_url": "https://github.com/huggingface/transformers/pull/11517.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11517.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11516/comments | https://api.github.com/repos/huggingface/transformers/issues/11516/events | https://github.com/huggingface/transformers/issues/11516 | 871,265,447 | MDU6SXNzdWU4NzEyNjU0NDc= | 11,516 | Run_summarization not working for mbart50 | {
"login": "Aniruddha-JU",
"id": 36475622,
"node_id": "MDQ6VXNlcjM2NDc1NjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/36475622?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aniruddha-JU",
"html_url": "https://github.com/Aniruddha-JU",
"followers_url": "https://api.github.c... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Hi @Aniruddha-JU \r\n\r\nRight now the `run_summarization.py` does not support fine-tuning mBART for summarization, we need to set the proper language tokens for mBART50. For now, you could easily modify the script to adapt it for mBART50 by setting the correct language tokens, as is done in the translation exampl... | 1,619 | 1,638 | 1,623 | NONE | null | - `transformers` 4.5.0
- Platform: linux:
- Python version: 1.7.1
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in script?:
- Using distributed or parallel set-up in script?:
### Who can help
@patil-suraj @LysandreJik
Models: mbart
I am running the run_summarization.py class usi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11516/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11515 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11515/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11515/comments | https://api.github.com/repos/huggingface/transformers/issues/11515/events | https://github.com/huggingface/transformers/issues/11515 | 871,252,650 | MDU6SXNzdWU4NzEyNTI2NTA= | 11,515 | Issues with TFGPT2ForSequenceClassification | {
"login": "cytwill",
"id": 38811872,
"node_id": "MDQ6VXNlcjM4ODExODcy",
"avatar_url": "https://avatars.githubusercontent.com/u/38811872?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cytwill",
"html_url": "https://github.com/cytwill",
"followers_url": "https://api.github.com/users/cytwil... | [] | closed | false | null | [] | [
"Thanks for the very in-detail issue description! @Rocketknight1 do you maybe want to give it a try here? Otherwise I'm happy to take a look :-)",
"Taking a look now!",
"Hi @cytwill, can you share a few lines of the data you're loading as X_train and y_train? If it's a private dataset, you can replace the text ... | 1,619 | 1,645 | 1,623 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.5.1
- Platform: Google Colab
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?): 2.4... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11515/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/11515/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11514 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11514/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11514/comments | https://api.github.com/repos/huggingface/transformers/issues/11514/events | https://github.com/huggingface/transformers/pull/11514 | 871,211,448 | MDExOlB1bGxSZXF1ZXN0NjI2MjY4Mjk3 | 11,514 | solved coefficient issue for the TF version of gelu_fast | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | MEMBER | null | # What does this PR do?
This PR solves a bug in the Tensorflow version of gelu_fast: the two coefficients being used to compute the approximation were swapped, making the computation inaccurate. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11514/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11514",
"html_url": "https://github.com/huggingface/transformers/pull/11514",
"diff_url": "https://github.com/huggingface/transformers/pull/11514.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11514.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11513/comments | https://api.github.com/repos/huggingface/transformers/issues/11513/events | https://github.com/huggingface/transformers/pull/11513 | 871,204,356 | MDExOlB1bGxSZXF1ZXN0NjI2MjYyNTQ1 | 11,513 | Improve task summary docs | {
"login": "hamelsmu",
"id": 1483922,
"node_id": "MDQ6VXNlcjE0ODM5MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1483922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamelsmu",
"html_url": "https://github.com/hamelsmu",
"followers_url": "https://api.github.com/users/hamel... | [] | closed | false | null | [] | [
"heh not sure why CI failed, just see this error message\r\n\r\n> Received \"killed\" signal",
"@sgugger sorry for the double comment (I commented on an old commit by accident), what I meant to say I made the changes you suggested, LMK if this does a good job of conveying the message!",
"Thanks again!"
] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | This PR makes various improvements to the [Summary of Tasks](file:///Users/hamelsmu/github/transformers/docs/_build/html/task_summary.html#named-entity-recognition) docs.
Instead of providing a summary of changes at the top, I added a comment to all my changes below to give more context behind why I suggested the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11513/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11513",
"html_url": "https://github.com/huggingface/transformers/pull/11513",
"diff_url": "https://github.com/huggingface/transformers/pull/11513.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11513.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11512/comments | https://api.github.com/repos/huggingface/transformers/issues/11512/events | https://github.com/huggingface/transformers/issues/11512 | 871,202,837 | MDU6SXNzdWU4NzEyMDI4Mzc= | 11,512 | Piece A | {
"login": "triangle4rouge",
"id": 75120681,
"node_id": "MDQ6VXNlcjc1MTIwNjgx",
"avatar_url": "https://avatars.githubusercontent.com/u/75120681?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/triangle4rouge",
"html_url": "https://github.com/triangle4rouge",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Could you elaborate more? ",
"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/transform... | 1,619 | 1,623 | 1,623 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11512/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/11511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11511/comments | https://api.github.com/repos/huggingface/transformers/issues/11511/events | https://github.com/huggingface/transformers/pull/11511 | 871,182,458 | MDExOlB1bGxSZXF1ZXN0NjI2MjQzNzI5 | 11,511 | Fix do_eval default value in training_args.py | {
"login": "bonniehyeon",
"id": 50580028,
"node_id": "MDQ6VXNlcjUwNTgwMDI4",
"avatar_url": "https://avatars.githubusercontent.com/u/50580028?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bonniehyeon",
"html_url": "https://github.com/bonniehyeon",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,619 | 1,622 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
According to <do_eval> description, when <evaluation_strategy> is different from 'no' it will be set 'True'.
But the <do_eval>'s defualt setting is None. So, this code can't be executed unless the the user set <do_eval = False>.
`if self.do_eval is False and self.evaluation_strategy != In... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11511/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/11511/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11511",
"html_url": "https://github.com/huggingface/transformers/pull/11511",
"diff_url": "https://github.com/huggingface/transformers/pull/11511.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11511.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11510/comments | https://api.github.com/repos/huggingface/transformers/issues/11510/events | https://github.com/huggingface/transformers/pull/11510 | 871,173,953 | MDExOlB1bGxSZXF1ZXN0NjI2MjM2NzQ5 | 11,510 | [Examples] Added support for test-file in QA examples with no trainer | {
"login": "bhadreshpsavani",
"id": 26653468,
"node_id": "MDQ6VXNlcjI2NjUzNDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bhadreshpsavani",
"html_url": "https://github.com/bhadreshpsavani",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"One More thing i want to mention is below code,\r\nhttps://github.com/huggingface/transformers/blob/ad1f7bef13f03287af00f819605d696138a5e6ec/examples/pytorch/question-answering/run_qa_no_trainer.py#L543-L547\r\ni changed to\r\n```python\r\n eval_dataset.set_format(type=\"torch\", columns=[\"attention_mask\", \"... | 1,619 | 1,648 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests),
Pull R... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11510/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11510",
"html_url": "https://github.com/huggingface/transformers/pull/11510",
"diff_url": "https://github.com/huggingface/transformers/pull/11510.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11510.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11509/comments | https://api.github.com/repos/huggingface/transformers/issues/11509/events | https://github.com/huggingface/transformers/issues/11509 | 871,054,857 | MDU6SXNzdWU4NzEwNTQ4NTc= | 11,509 | I-BERT: expected str, bytes or os.PathLike object, not NoneType | {
"login": "fdlci",
"id": 73292708,
"node_id": "MDQ6VXNlcjczMjkyNzA4",
"avatar_url": "https://avatars.githubusercontent.com/u/73292708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fdlci",
"html_url": "https://github.com/fdlci",
"followers_url": "https://api.github.com/users/fdlci/follow... | [] | closed | false | null | [] | [
"Hi! I believe this checkpoint does not have a slow tokenizer, only a fast tokenizer. Can you try with:\r\n\r\n```py\r\nfrom transformers import RobertaTokenizerFast\r\ntokenizer = RobertaTokenizerFast.from_pretrained('kssteven/ibert-roberta-base')\r\n```",
"Thank you! It loaded the tokenizer without showing an e... | 1,619 | 1,620 | 1,620 | NONE | null | Hi, I have an issue when running this code provided by the HF documentation:
>>> from transformers import RobertaTokenizer, IBertForTokenClassification
>>> import torch
>>> tokenizer = RobertaTokenizer.from_pretrained('kssteven/ibert-roberta-base')
When running this i get the following error for the tokenizer:
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11509/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11508/comments | https://api.github.com/repos/huggingface/transformers/issues/11508/events | https://github.com/huggingface/transformers/issues/11508 | 870,992,704 | MDU6SXNzdWU4NzA5OTI3MDQ= | 11,508 | Help understanding how to build a dataset for language as with the old TextDataset | {
"login": "danieldiezmallo",
"id": 46021411,
"node_id": "MDQ6VXNlcjQ2MDIxNDEx",
"avatar_url": "https://avatars.githubusercontent.com/u/46021411?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danieldiezmallo",
"html_url": "https://github.com/danieldiezmallo",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | NONE | null | I understand this issue should be on the Datasets library, so it's been created there https://github.com/huggingface/datasets/issues/
Hello,
I am trying to load a custom dataset that I will then use for language modeling. The dataset consists of a text file that has a whole document in each line, meaning that eac... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11508/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11507/comments | https://api.github.com/repos/huggingface/transformers/issues/11507/events | https://github.com/huggingface/transformers/issues/11507 | 870,935,455 | MDU6SXNzdWU4NzA5MzU0NTU= | 11,507 | Fine-Tuning TFGPT2LMHeadModel / What to pass to fit | {
"login": "demongolem-biz",
"id": 79917829,
"node_id": "MDQ6VXNlcjc5OTE3ODI5",
"avatar_url": "https://avatars.githubusercontent.com/u/79917829?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/demongolem-biz",
"html_url": "https://github.com/demongolem-biz",
"followers_url": "https://api.gi... | [] | 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"... | [
"When I run code supplied by another user from [another issue](https://github.com/huggingface/transformers/issues/2439), which supposedly worked at one point in time, I get a similar dimension mismatch. Is there a golden combination of tf and transformers I am supposed to be using?",
"Ah, the 16 above is the bat... | 1,619 | 1,623 | 1,623 | NONE | null | I am trying to fine-tune this pretrained model on my own data and I can't seem to get the format correct for what the model would like to see as input.
I am using TFGPT2LMHeadModel, GPT2Config and GPT2TokenizerFast.
When I do `model.fit(x,y, epochs=EPOCHS)`,
- If x and y are the outputs of tokenizing on GPT2To... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11507/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11506/comments | https://api.github.com/repos/huggingface/transformers/issues/11506/events | https://github.com/huggingface/transformers/pull/11506 | 870,934,642 | MDExOlB1bGxSZXF1ZXN0NjI2MDQwNjAx | 11,506 | [WIP] Adding DETR | {
"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 | [] | [
"Thanks for the review, yes you've made it a lot more clear for me now:\r\n* it's only `rgb2id` and `id2rgb` which are used from `panopticapi`, and it's only about 20 lines of code I see now. So indeed, we can just copy that code into the library (and cite the authors).\r\n* however, I think it's still useful to ha... | 1,619 | 1,620 | 1,620 | CONTRIBUTOR | null | # What does this PR do?
I've made quite a lot of progress on implementing HuggingFace's version of [DETR](https://arxiv.org/abs/2005.12872). However, there are some remaining things to be discussed, mainly regarding `DetrFeatureExtractor`, which can be used to prepare images + annotations for the model.
## What ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11506/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11506",
"html_url": "https://github.com/huggingface/transformers/pull/11506",
"diff_url": "https://github.com/huggingface/transformers/pull/11506.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11506.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11505/comments | https://api.github.com/repos/huggingface/transformers/issues/11505/events | https://github.com/huggingface/transformers/issues/11505 | 870,934,374 | MDU6SXNzdWU4NzA5MzQzNzQ= | 11,505 | encoder decoder in transformers | {
"login": "lytum",
"id": 38668257,
"node_id": "MDQ6VXNlcjM4NjY4MjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/38668257?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lytum",
"html_url": "https://github.com/lytum",
"followers_url": "https://api.github.com/users/lytum/follow... | [] | closed | false | null | [] | [
"Hi there!\r\n\r\nIt would be nice if you ask such questions on the [forum](https://discuss.huggingface.co/). Use issues to report bugs and for feature requests or anything else that can't be discussed on the forum. Thanks!",
"This issue has been automatically marked as stale because it has not had recent activit... | 1,619 | 1,623 | 1,623 | NONE | null | Thanks for your contribution for EncoderDecoderModel
I want to ask a question about the pool_layer of encoder.
Generally the default 'add_pooling_layer=True' in encoder, while the output of encoder in EncoderDecoder is without pool_layer. Is my understanding correct?
Now i want to add a classification layer in... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11505/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11504/comments | https://api.github.com/repos/huggingface/transformers/issues/11504/events | https://github.com/huggingface/transformers/issues/11504 | 870,805,724 | MDU6SXNzdWU4NzA4MDU3MjQ= | 11,504 | Issue in checkpointing | {
"login": "yes1234man",
"id": 59166627,
"node_id": "MDQ6VXNlcjU5MTY2NjI3",
"avatar_url": "https://avatars.githubusercontent.com/u/59166627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yes1234man",
"html_url": "https://github.com/yes1234man",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,619 | 1,620 | 1,620 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.0
- Platform: -
- Python version: 3.8
- PyTorch version (GPU?): 3.7
- Tensorflow version (GPU?): -
-... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11504/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11503/comments | https://api.github.com/repos/huggingface/transformers/issues/11503/events | https://github.com/huggingface/transformers/pull/11503 | 870,775,203 | MDExOlB1bGxSZXF1ZXN0NjI1OTEyMTI3 | 11,503 | [Examples] Check key exists in datasets first | {
"login": "oToToT",
"id": 8341564,
"node_id": "MDQ6VXNlcjgzNDE1NjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/8341564?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/oToToT",
"html_url": "https://github.com/oToToT",
"followers_url": "https://api.github.com/users/oToToT/foll... | [] | closed | false | null | [] | [
"Hi @oToToT,\r\nThanks for the PR, The changes seem valid to me. It should be as per changes in this PR.\r\n@sgugger what's your view on these changes?",
"Hi, @sgugger\r\nI'm not familiar with how huggingface do with pull requests, did I miss something to make it be merged?\r\nOr I just need to stay and wait it.\... | 1,619 | 1,620 | 1,620 | CONTRIBUTOR | null | # What does this PR do?
Correctly check the key exists before accessing it in some example scripts. I guess this is probably a mistake when writing example scripts.
<!--
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 wit... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11503/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11503/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11503",
"html_url": "https://github.com/huggingface/transformers/pull/11503",
"diff_url": "https://github.com/huggingface/transformers/pull/11503.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11503.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11502/comments | https://api.github.com/repos/huggingface/transformers/issues/11502/events | https://github.com/huggingface/transformers/pull/11502 | 870,769,716 | MDExOlB1bGxSZXF1ZXN0NjI1OTA3NTk4 | 11,502 | Pin HuggingFace Hub dependency | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | MEMBER | null | There might be some breaking changes in the HuggingFace Hub library as development continues, so pin the dependency. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11502/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11502",
"html_url": "https://github.com/huggingface/transformers/pull/11502",
"diff_url": "https://github.com/huggingface/transformers/pull/11502.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11502.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11501/comments | https://api.github.com/repos/huggingface/transformers/issues/11501/events | https://github.com/huggingface/transformers/issues/11501 | 870,767,988 | MDU6SXNzdWU4NzA3Njc5ODg= | 11,501 | Penalise n-gram repetition in generated sequences | {
"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 | [] | [
"Hi @KMFODA \r\n\r\nThe `generate` method already supports penalizing n-gram repetition, this can be done by passing the argument `no_repeat_ngram_size` , if it's passed it will ensure that all n-grams of the given size will only occur once.\r\n\r\nThis however does not mean that the different `num_returned_sequenc... | 1,619 | 1,623 | 1,623 | CONTRIBUTOR | null | # 🚀 Feature request
As per this [forum post](https://discuss.huggingface.co/t/force-decoder-to-avoid-repetition-between-generated-sentences/625) sometimes it's helpful to have a parameter that can increase the diversity amongst different generated sentences. This can be a penalty on the number of repeated n-grams b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11501/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11501/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11500 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11500/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11500/comments | https://api.github.com/repos/huggingface/transformers/issues/11500/events | https://github.com/huggingface/transformers/issues/11500 | 870,662,283 | MDU6SXNzdWU4NzA2NjIyODM= | 11,500 | not able load model from pipeline NotFound error | {
"login": "tiru1930",
"id": 12211287,
"node_id": "MDQ6VXNlcjEyMjExMjg3",
"avatar_url": "https://avatars.githubusercontent.com/u/12211287?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tiru1930",
"html_url": "https://github.com/tiru1930",
"followers_url": "https://api.github.com/users/tir... | [] | closed | false | null | [] | [
"Could you try with the full revision, i.e., `672273686ecedd6fbbd5c0593b17df082ab65e31`?",
"same issues @LysandreJik \r\n\r\n```\r\nmodel = pipeline('sentiment-analysis', model='textattack/bert-base-uncased-yelp-polarity',revision=\"672273686ecedd6fbbd5c0593b17df082ab65e31\")\r\n\r\n\r\n404 Client Error: Not Fou... | 1,619 | 1,623 | 1,623 | NONE | null | I am trying to load textattack ylep model in pipeline but it was saying below error
```
/home/tiru/anaconda3/envs/td-solutions/bin/python /snap/pycharm-community/236/plugins/python-ce/helpers/pydev/pydevconsole.py --mode=client --port=40643
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.pa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11500/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11499 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11499/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11499/comments | https://api.github.com/repos/huggingface/transformers/issues/11499/events | https://github.com/huggingface/transformers/pull/11499 | 870,458,725 | MDExOlB1bGxSZXF1ZXN0NjI1NjU3ODY3 | 11,499 | [DeepSpeed] fp32 support | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"That's correct. \r\n\r\nEarlier I tried to use `cur_version>pre_version` so it'd already work with master version, but then people were reporting bugs because they were on some older master version, so while this is less convenient, it avoids invalid bug reports and saves time to all ;)\r\n\r\n "
] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | Things we need to sync with the upcoming `deepspeed==0.3.16` release:
- `zero.Init` now takes a config as an argument
- fp32-support integration, plus doc and tests
- start troubleshooting section
### Future TODO
will probably do in the next PR:
- switch `from_config()` to perform the same `zero.Init` as `f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11499/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11499",
"html_url": "https://github.com/huggingface/transformers/pull/11499",
"diff_url": "https://github.com/huggingface/transformers/pull/11499.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11499.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11498 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11498/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11498/comments | https://api.github.com/repos/huggingface/transformers/issues/11498/events | https://github.com/huggingface/transformers/pull/11498 | 870,286,838 | MDExOlB1bGxSZXF1ZXN0NjI1NTA3MjM0 | 11,498 | [Flax] Add docstrings & model outputs | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | 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/11498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11498/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11498",
"html_url": "https://github.com/huggingface/transformers/pull/11498",
"diff_url": "https://github.com/huggingface/transformers/pull/11498.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11498.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11497/comments | https://api.github.com/repos/huggingface/transformers/issues/11497/events | https://github.com/huggingface/transformers/pull/11497 | 870,275,534 | MDExOlB1bGxSZXF1ZXN0NjI1NDk3MTcx | 11,497 | Reformat to make code clearer in tokenizer call | {
"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 | [] | [
"\"unuglify\" -> best branch name ever haha"
] | 1,619 | 1,619 | 1,619 | COLLABORATOR | null | # What does this PR do?
While reviewing a PR on the tokenizer call this morning, I had some trouble parsing what was happening, as black reformatted the tests in a way that is quite unreadable (IMO). This PR fixes that.
No logic is changed, it's just put in a more human-readable way (again maybe this is just me). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11497/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11497",
"html_url": "https://github.com/huggingface/transformers/pull/11497",
"diff_url": "https://github.com/huggingface/transformers/pull/11497.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11497.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11496/comments | https://api.github.com/repos/huggingface/transformers/issues/11496/events | https://github.com/huggingface/transformers/pull/11496 | 870,241,533 | MDExOlB1bGxSZXF1ZXN0NjI1NDY5MDAw | 11,496 | Update TF text classification example | {
"login": "Rocketknight1",
"id": 12866554,
"node_id": "MDQ6VXNlcjEyODY2NTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Rocketknight1",
"html_url": "https://github.com/Rocketknight1",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | MEMBER | null | This updates the TF text classification example with several refactors, as well as multi-GPU and TPU support.
It's late so I'd like to do one more pass over everything before merging tomorrow, but I'm opening for reviews before I head off for the evening! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11496/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11496",
"html_url": "https://github.com/huggingface/transformers/pull/11496",
"diff_url": "https://github.com/huggingface/transformers/pull/11496.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11496.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11495/comments | https://api.github.com/repos/huggingface/transformers/issues/11495/events | https://github.com/huggingface/transformers/issues/11495 | 870,161,899 | MDU6SXNzdWU4NzAxNjE4OTk= | 11,495 | mbart encoder decoder model | {
"login": "md975",
"id": 25549182,
"node_id": "MDQ6VXNlcjI1NTQ5MTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/25549182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/md975",
"html_url": "https://github.com/md975",
"followers_url": "https://api.github.com/users/md975/follow... | [] | closed | false | null | [] | [
"Hey,\r\n\r\nCould you leave more details:\r\n- Your environment\r\n- Your code(or edited so i can try it)\r\n\r\nLooking here:\r\nhttps://huggingface.co/transformers/model_doc/mbart.html?highlight=config#transformers.MBartConfig\r\n\r\nIt doesnt seem to be using hidden_states. Depending how you use the model, you... | 1,619 | 1,623 | 1,623 | NONE | null | Hi,
I've been following [this](https://colab.research.google.com/drive/1WIk2bxglElfZewOHboPFNj8H44_VAyKE?usp=sharing) to implement a bert2bert seq2seq model which works pretty well. Now I would like to change this to mbart (facebook/mbart-large-50) instead of bert.
I'm very new to this, but my assumption was that... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11495/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11494/comments | https://api.github.com/repos/huggingface/transformers/issues/11494/events | https://github.com/huggingface/transformers/pull/11494 | 870,081,172 | MDExOlB1bGxSZXF1ZXN0NjI1MzM3MjMx | 11,494 | correct incorrect dimension comment in Longformer model | {
"login": "fredo838",
"id": 11276933,
"node_id": "MDQ6VXNlcjExMjc2OTMz",
"avatar_url": "https://avatars.githubusercontent.com/u/11276933?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fredo838",
"html_url": "https://github.com/fredo838",
"followers_url": "https://api.github.com/users/fre... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | This PR fixes a comment that incorrectly states the dimensions of a certain tensor in the `Longformer` model, confusing any reader trying to understand the code. The comment for the corresponding `TFLongformerX` is correct.
- [x ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11494/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11494",
"html_url": "https://github.com/huggingface/transformers/pull/11494",
"diff_url": "https://github.com/huggingface/transformers/pull/11494.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11494.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11493/comments | https://api.github.com/repos/huggingface/transformers/issues/11493/events | https://github.com/huggingface/transformers/pull/11493 | 870,003,406 | MDExOlB1bGxSZXF1ZXN0NjI1MjcyNjU3 | 11,493 | [Docs] remove paragraph on CI from installation instructions | {
"login": "hamelsmu",
"id": 1483922,
"node_id": "MDQ6VXNlcjE0ODM5MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1483922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamelsmu",
"html_url": "https://github.com/hamelsmu",
"followers_url": "https://api.github.com/users/hamel... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | Fixes #11479
@julien-c suggested to remove this paragraph in #11479
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11493/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11493",
"html_url": "https://github.com/huggingface/transformers/pull/11493",
"diff_url": "https://github.com/huggingface/transformers/pull/11493.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11493.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11492/comments | https://api.github.com/repos/huggingface/transformers/issues/11492/events | https://github.com/huggingface/transformers/pull/11492 | 869,949,607 | MDExOlB1bGxSZXF1ZXN0NjI1MjI3ODgz | 11,492 | Split checkpoint from model_name_or_path in examples | {
"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 | [] | [
"Hi guys, just one comment/question from my side: instead of introducing new commandline options (allowing to resume from a checkpoint), what do you think about the following workflow: \r\n\r\na) load the model (with AutoModel)\r\nb) check if the loaded model is from type \"TokenClassification\"\r\n\r\n:thinking: "... | 1,619 | 1,619 | 1,619 | COLLABORATOR | null | # What does this PR do?
There is currently a problem in the way we handle resuming from checkpoint in our PyTorch example scripts with `Trainer`: if the user wants to resume form a specific checkpoint, they have to pass `--model_name_or_path checkpoint_folder` which is a bit counter-intuitive but also poses the prob... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11492/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11492/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11492",
"html_url": "https://github.com/huggingface/transformers/pull/11492",
"diff_url": "https://github.com/huggingface/transformers/pull/11492.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11492.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11491/comments | https://api.github.com/repos/huggingface/transformers/issues/11491/events | https://github.com/huggingface/transformers/issues/11491 | 869,934,434 | MDU6SXNzdWU4Njk5MzQ0MzQ= | 11,491 | Tensorflow “Index out of bound” error when trying to use the TF Longformer transformer in a custom TF network | {
"login": "beelzmon",
"id": 9759259,
"node_id": "MDQ6VXNlcjk3NTkyNTk=",
"avatar_url": "https://avatars.githubusercontent.com/u/9759259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/beelzmon",
"html_url": "https://github.com/beelzmon",
"followers_url": "https://api.github.com/users/beelz... | [] | closed | false | null | [] | [
"I think you should replace `transformer_outputs = transformer[1]` with `transformer_outputs = transformer[0]`. ",
"> I think you should replace `transformer_outputs = transformer[1]` with `transformer_outputs = transformer[0]`.\r\n\r\n@fredo838 Thanks for the reply, yes i have tried this -- in this case the outp... | 1,619 | 1,622 | 1,622 | NONE | null | I am trying to adapt the longformer transformer TF model from huggingface into a bigger three class classification model, i have gotten the model to compile but i cannot run a test example on it. The model and attempted output is as below:
>Environment info
>transformers version: 2.4.1
>Platform: Windows 10
>P... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11491/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11490/comments | https://api.github.com/repos/huggingface/transformers/issues/11490/events | https://github.com/huggingface/transformers/pull/11490 | 869,900,824 | MDExOlB1bGxSZXF1ZXN0NjI1MTg3Mzk5 | 11,490 | add importlib_metadata as dependency as it is required for py<3.8 | {
"login": "cdeepali",
"id": 70963368,
"node_id": "MDQ6VXNlcjcwOTYzMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/70963368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cdeepali",
"html_url": "https://github.com/cdeepali",
"followers_url": "https://api.github.com/users/cde... | [] | closed | false | null | [] | [
"Shouldn't this only be installed for python versions inferior to 3.8?",
"@LysandreJik, thanks for reviewing my PR.\r\n\r\nI think at the moment, we cannot use selectors with `noarch` python packages. Please see warning at - https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html?highl... | 1,619 | 1,620 | 1,620 | 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/11490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11490/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11490",
"html_url": "https://github.com/huggingface/transformers/pull/11490",
"diff_url": "https://github.com/huggingface/transformers/pull/11490.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11490.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11489/comments | https://api.github.com/repos/huggingface/transformers/issues/11489/events | https://github.com/huggingface/transformers/pull/11489 | 869,837,653 | MDExOlB1bGxSZXF1ZXN0NjI1MTM1NjQx | 11,489 | Update README.md | {
"login": "mrm8488",
"id": 3653789,
"node_id": "MDQ6VXNlcjM2NTM3ODk=",
"avatar_url": "https://avatars.githubusercontent.com/u/3653789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mrm8488",
"html_url": "https://github.com/mrm8488",
"followers_url": "https://api.github.com/users/mrm8488/... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | Add link to code
# 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, p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11489/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11489",
"html_url": "https://github.com/huggingface/transformers/pull/11489",
"diff_url": "https://github.com/huggingface/transformers/pull/11489.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11489.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11488/comments | https://api.github.com/repos/huggingface/transformers/issues/11488/events | https://github.com/huggingface/transformers/issues/11488 | 869,793,715 | MDU6SXNzdWU4Njk3OTM3MTU= | 11,488 | TFLongformerForMaskedMLM example throws ValueError "shapes are incompatible" | {
"login": "fredo838",
"id": 11276933,
"node_id": "MDQ6VXNlcjExMjc2OTMz",
"avatar_url": "https://avatars.githubusercontent.com/u/11276933?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fredo838",
"html_url": "https://github.com/fredo838",
"followers_url": "https://api.github.com/users/fre... | [] | closed | false | null | [] | [
"Hi! The model is working fine here, but the problem is that \"[MASK]\" and \"Paris\" are being tokenized as different numbers of tokens, which is where your shape error is coming from. Can you link me to the exact script you got this example from?",
"It's under this headline, here's the permalink: https://huggin... | 1,619 | 1,620 | 1,620 | CONTRIBUTOR | null | An official example of the `TFLongFormerX` page does not work.
## Environment info
- `transformers` version: 2.4.1
- Platform: ubuntu 20.04
- Python version: python3.8
- PyTorch version (GPU?): N/A
- Tensorflow version (GPU?): 2.4.1
- Using GPU in script?: no
- Using distributed or parallel set-up in script?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11488/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11487/comments | https://api.github.com/repos/huggingface/transformers/issues/11487/events | https://github.com/huggingface/transformers/issues/11487 | 869,688,541 | MDU6SXNzdWU4Njk2ODg1NDE= | 11,487 | Importing problem | {
"login": "abetatos",
"id": 76526314,
"node_id": "MDQ6VXNlcjc2NTI2MzE0",
"avatar_url": "https://avatars.githubusercontent.com/u/76526314?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/abetatos",
"html_url": "https://github.com/abetatos",
"followers_url": "https://api.github.com/users/abe... | [] | closed | false | null | [] | [
"try the newest version 4.6.0.dev0\r\n\r\n\r\n\r\n",
"Could you install `sentencepiece` and try again? The `PegasusTokenizer` is based on the `sentencepiece` library.",
"This issue has been automatical... | 1,619 | 1,639 | 1,622 | NONE | null | - `transformers` version: 4.5.1
- It just cannot import the version., . cannot import name 'PegasusTokenizer' from 'transformers', python 3.8 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11487/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11486/comments | https://api.github.com/repos/huggingface/transformers/issues/11486/events | https://github.com/huggingface/transformers/pull/11486 | 869,617,597 | MDExOlB1bGxSZXF1ZXN0NjI0OTQ4NjI4 | 11,486 | Update `PreTrainedTokenizerBase` to check/handle batch length for `text_pair` parameter | {
"login": "hamelsmu",
"id": 1483922,
"node_id": "MDQ6VXNlcjE0ODM5MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1483922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamelsmu",
"html_url": "https://github.com/hamelsmu",
"followers_url": "https://api.github.com/users/hamel... | [] | closed | false | null | [] | [
"Thanks! Failure in the tests is unrelated (some connection problem), so merging."
] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | Consider the following example:
```py
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
import torch
tokenizer = AutoTokenizer.from_pretrained("bert-large-uncased-whole-word-masking-finetuned-squad")
text = r"""
🤗 Transformers (formerly known as pytorch-transformers and pytorch-pretrained-b... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11486/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11486",
"html_url": "https://github.com/huggingface/transformers/pull/11486",
"diff_url": "https://github.com/huggingface/transformers/pull/11486.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11486.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11485/comments | https://api.github.com/repos/huggingface/transformers/issues/11485/events | https://github.com/huggingface/transformers/issues/11485 | 869,594,228 | MDU6SXNzdWU4Njk1OTQyMjg= | 11,485 | run_mlm.py : Missing key(s) in state_dict & Unexpected key(s) in state_dict | {
"login": "TingNLP",
"id": 54096137,
"node_id": "MDQ6VXNlcjU0MDk2MTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/54096137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TingNLP",
"html_url": "https://github.com/TingNLP",
"followers_url": "https://api.github.com/users/TingNL... | [] | closed | false | null | [] | [
"The command runs for me and according to your logs, the `Trainer` is loading a local checkpoint named `roberta-base`. Do you have a local folder named `roberta-base`? It looks like it contains a checkpoint different from the actual `roberta-base` model, which messes up and creates the error. Could you move that fo... | 1,619 | 1,619 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 4.6.0.dev0
- Platform: Ubuntu 16.04.3 LTS
- Python version: Python 3.6.13 :: Anaconda, Inc.
- PyTorch version (GPU?): 1.8.1+cu102
- Tensorflow version (GPU?):
- Using GPU in script?: YES
- Using distributed or parallel set-up in script?: YES
### Who can help
@sg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11485/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11484/comments | https://api.github.com/repos/huggingface/transformers/issues/11484/events | https://github.com/huggingface/transformers/issues/11484 | 869,467,578 | MDU6SXNzdWU4Njk0Njc1Nzg= | 11,484 | MBartForConditionalGeneration.from_pretrained("facebook/mbart-large-50") Not working | {
"login": "RocKeTG",
"id": 24287627,
"node_id": "MDQ6VXNlcjI0Mjg3NjI3",
"avatar_url": "https://avatars.githubusercontent.com/u/24287627?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RocKeTG",
"html_url": "https://github.com/RocKeTG",
"followers_url": "https://api.github.com/users/RocKeT... | [] | closed | false | null | [] | [
"I can load the model without any issues, I think the issue here is the `from_pretrained` call is hitting the cache and the model is not cached properly. You could force the download by passing `force_download=True`\r\n\r\n```python\r\nmodel = MBartForConditionalGeneration.from_pretrained(\"facebook/mbart-large-50\... | 1,619 | 1,622 | 1,622 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.5.0
- Platform: anaconda
- Python version: 3.7
- PyTorch version (GPU?): 1.1.0
- Tensorflow version (GPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11484/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11483/comments | https://api.github.com/repos/huggingface/transformers/issues/11483/events | https://github.com/huggingface/transformers/issues/11483 | 869,432,931 | MDU6SXNzdWU4Njk0MzI5MzE= | 11,483 | The performance of the huggingface QA model depend on the order in which it loads | {
"login": "kaka-42",
"id": 63441709,
"node_id": "MDQ6VXNlcjYzNDQxNzA5",
"avatar_url": "https://avatars.githubusercontent.com/u/63441709?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kaka-42",
"html_url": "https://github.com/kaka-42",
"followers_url": "https://api.github.com/users/kaka-4... | [] | closed | false | null | [] | [
"Hi there,\r\n\r\nPlease use the [forum](https://discuss.huggingface.co/) to ask these types of questions, use issues to report bugs or feature requests.\r\n\r\nThanks!",
"> Hi there,\r\n> \r\n> Please use the [forum](https://discuss.huggingface.co/) to ask these types of questions, use issues to report bugs or f... | 1,619 | 1,619 | 1,619 | NONE | null | - `transformers` version: 4.4.2
- Python version: 3.7
I am implementing a paper that I read based on the Question Answering code "run_qa.py" on huggingface.
I added a few layer in the ELECTRA, and I trained and saved only the parameters for the added layer.
when I evaluate, I load that parameters and the rest w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11483/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11482/comments | https://api.github.com/repos/huggingface/transformers/issues/11482/events | https://github.com/huggingface/transformers/issues/11482 | 869,393,396 | MDU6SXNzdWU4NjkzOTMzOTY= | 11,482 | [Docs] Clarify Subphrase classification? | {
"login": "hamelsmu",
"id": 1483922,
"node_id": "MDQ6VXNlcjE0ODM5MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1483922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamelsmu",
"html_url": "https://github.com/hamelsmu",
"followers_url": "https://api.github.com/users/hamel... | [] | closed | false | null | [] | [
"The problem lies mostly on the model page in that case, it should show the text classification widget, not the masked LM widget. As for adding a model card or expanding its capabilities, the feedback should go on the [forums](https://discuss.huggingface.co/), this is not really an issue with transformers per se.\r... | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | I am going through the docs linearly and am reading [Summary of The tasks](https://huggingface.co/transformers/task_summary.html).
The second section of [Sequence Classification](https://huggingface.co/transformers/task_summary.html) uses `bert-base-cased-finetuned-mrpc` to do paraphrase classification.
This is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11482/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11481/comments | https://api.github.com/repos/huggingface/transformers/issues/11481/events | https://github.com/huggingface/transformers/pull/11481 | 869,365,108 | MDExOlB1bGxSZXF1ZXN0NjI0NzQzMjI5 | 11,481 | Fix checkpointing in SageMaker MP | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,619 | 1,620 | 1,620 | COLLABORATOR | null | # What does this PR do?
The merge of the two Trainers removed the call to `optimizer.state_dict()` being made only on `dp_rank` 0 processes. This PR adds it back. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11481/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11481",
"html_url": "https://github.com/huggingface/transformers/pull/11481",
"diff_url": "https://github.com/huggingface/transformers/pull/11481.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11481.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11480/comments | https://api.github.com/repos/huggingface/transformers/issues/11480/events | https://github.com/huggingface/transformers/issues/11480 | 869,337,241 | MDU6SXNzdWU4NjkzMzcyNDE= | 11,480 | Error In Running Predictions for run_text_classification.py | {
"login": "rajesh-dhiman",
"id": 18427643,
"node_id": "MDQ6VXNlcjE4NDI3NjQz",
"avatar_url": "https://avatars.githubusercontent.com/u/18427643?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajesh-dhiman",
"html_url": "https://github.com/rajesh-dhiman",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hi, thank you for the report! I'm examining it now and I'm hoping to push some updates to that script today.",
"I haven't been able to reproduce this issue, but I have a PR open to make modifications to the script. I'll let you know as soon as the updated version is available - would you be willing to check if t... | 1,619 | 1,626 | 1,626 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.5.0
- Platform: Windows-10-10.0.18362-SP0
- Python version: 3.8.0
- PyTorch version (GPU?): 1.7.1+cpu (Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11479/comments | https://api.github.com/repos/huggingface/transformers/issues/11479/events | https://github.com/huggingface/transformers/issues/11479 | 869,315,391 | MDU6SXNzdWU4NjkzMTUzOTE= | 11,479 | [Docs] Add Caching Example For CI? | {
"login": "hamelsmu",
"id": 1483922,
"node_id": "MDQ6VXNlcjE0ODM5MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1483922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamelsmu",
"html_url": "https://github.com/hamelsmu",
"followers_url": "https://api.github.com/users/hamel... | [] | closed | false | null | [] | [
"This was written by @julien-c so I'll let him reply on this :-)",
"This was written before we moved from S3 to our own Cloudfront-served repositories so we could also probably just remove that paragraph.",
"Interesting. Maybe it could _still_ be a good reminder as many folks would forget to do this (I know I m... | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | From the [installation instructions](https://huggingface.co/transformers/installation.html#caching-models):
> If you expect to be downloading large volumes of models (more than 10,000) from huggingface.co (for instance through your CI setup, or a large-scale production deployment), please cache the model files on yo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11479/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11478/comments | https://api.github.com/repos/huggingface/transformers/issues/11478/events | https://github.com/huggingface/transformers/issues/11478 | 869,045,753 | MDU6SXNzdWU4NjkwNDU3NTM= | 11,478 | [Flax] Add FlaxBart 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... | [] | closed | false | null | [] | [
"Wow this sounds awesome! Let me know if you need help! (I think we will need to look at the `generate()` function) together :-)",
"Hi @patrickvonplaten, as I indicated I've started working on `FlaxBart` which can be found on this branch https://github.com/stancld/transformers/tree/FlaxBart . So far, I've impleme... | 1,619 | 1,623 | 1,623 | CONTRIBUTOR | null | # 🚀 Feature request
It would be nice to implement Flax version of BART model.
## Motivation
Narrow the gap in support between encoder transformers (BERT, RoBERTa, ...) and encoder-decoder models (BART,...).
## Your contribution
I've been working on this now so I hope I will send a PR soon.
@patrickvo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11478/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/11478/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11477/comments | https://api.github.com/repos/huggingface/transformers/issues/11477/events | https://github.com/huggingface/transformers/pull/11477 | 869,016,026 | MDExOlB1bGxSZXF1ZXN0NjI0NDQ2ODM0 | 11,477 | Move integrations imports before any ML framework imports | {
"login": "dsblank",
"id": 168568,
"node_id": "MDQ6VXNlcjE2ODU2OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/168568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dsblank",
"html_url": "https://github.com/dsblank",
"followers_url": "https://api.github.com/users/dsblank/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/master/CONTRIBUTING.md)... | 1,619 | 1,622 | 1,622 | CONTRIBUTOR | null | ## Fixes
Current transformers breaks compatibility with comet_ml because it needs to be imported before any ML frameworks (such as torch). This PR simply moves the imports earlier in the flow.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the cas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11477",
"html_url": "https://github.com/huggingface/transformers/pull/11477",
"diff_url": "https://github.com/huggingface/transformers/pull/11477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11477.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11476/comments | https://api.github.com/repos/huggingface/transformers/issues/11476/events | https://github.com/huggingface/transformers/pull/11476 | 869,010,636 | MDExOlB1bGxSZXF1ZXN0NjI0NDQyNDI1 | 11,476 | Adding new argument `max_new_tokens` for generate. | {
"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 | [] | [
"@LysandreJik @patrickvonplaten\r\n\r\nForgot to add you for review, my bad."
] | 1,619 | 1,622 | 1,622 | CONTRIBUTOR | null | # What does this PR do?
This is a proposal to add a new argument `max_new_tokens` to `generate`.
This include a `MaxNewTokensCriteria` that enables callers that don't
know about the token length ahead (like pipelines callers) to manage
more easily the length of their generated output.
`max_length` is a hard to... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11476/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11476",
"html_url": "https://github.com/huggingface/transformers/pull/11476",
"diff_url": "https://github.com/huggingface/transformers/pull/11476.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11476.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11475/comments | https://api.github.com/repos/huggingface/transformers/issues/11475/events | https://github.com/huggingface/transformers/pull/11475 | 869,009,087 | MDExOlB1bGxSZXF1ZXN0NjI0NDQxMTU3 | 11,475 | Experimental symbolic tracing feature with torch.fx for BERT, ELECTRA and T5 | {
"login": "michaelbenayoun",
"id": 25418079,
"node_id": "MDQ6VXNlcjI1NDE4MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/25418079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michaelbenayoun",
"html_url": "https://github.com/michaelbenayoun",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Let's also:\r\n1. add some basic usage doc - we can start with just docstring\r\n2. add one test for one of the models, polish it and then see how to replicate it for other models.",
"My understanding was that this is experimental and as we start using this side of library we will generalize and improve things. ... | 1,619 | 1,635 | 1,621 | MEMBER | null | # What does this PR do?
This PR provides a function called "symbolic_trace" which enables symbolic tracing for models of the library using the new and still experimental torch.fx feature. Our models can't be symbolically traces directly using `torch.fx`, so this is wrapper function that overcomes various issues.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11475/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/11475/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11475",
"html_url": "https://github.com/huggingface/transformers/pull/11475",
"diff_url": "https://github.com/huggingface/transformers/pull/11475.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11475.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11474/comments | https://api.github.com/repos/huggingface/transformers/issues/11474/events | https://github.com/huggingface/transformers/issues/11474 | 868,929,696 | MDU6SXNzdWU4Njg5Mjk2OTY= | 11,474 | can not import mbart and mT5 modeling file | {
"login": "Aniruddha-JU",
"id": 36475622,
"node_id": "MDQ6VXNlcjM2NDc1NjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/36475622?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aniruddha-JU",
"html_url": "https://github.com/Aniruddha-JU",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Could you please post more details and a code snippet? \r\n\r\nTo import a modeling use\r\n```python\r\nfrom transformers.models.mbart import modeling_mbart\r\n```"
] | 1,619 | 1,619 | 1,619 | NONE | null | @patrickvonplaten
ImportError: cannot import name 'modeling_mbart'
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11474/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11473/comments | https://api.github.com/repos/huggingface/transformers/issues/11473/events | https://github.com/huggingface/transformers/issues/11473 | 868,926,721 | MDU6SXNzdWU4Njg5MjY3MjE= | 11,473 | Can not import modeling_mbart | {
"login": "Aniruddha-JU",
"id": 36475622,
"node_id": "MDQ6VXNlcjM2NDc1NjIy",
"avatar_url": "https://avatars.githubusercontent.com/u/36475622?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Aniruddha-JU",
"html_url": "https://github.com/Aniruddha-JU",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Please follow the issue template."
] | 1,619 | 1,619 | 1,619 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11473/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11472/comments | https://api.github.com/repos/huggingface/transformers/issues/11472/events | https://github.com/huggingface/transformers/pull/11472 | 868,880,559 | MDExOlB1bGxSZXF1ZXN0NjI0MzMyMTY2 | 11,472 | Update min versions in README and add Flax | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | COLLABORATOR | null | # What does this PR do?
This PR adapts the minimum versions of each backend (PyTorch was still at 1.0 and TensorFlow at 2.0), removes mention of TensorFlow 2.0 to just say TensorFlow (I think it's safe now!) and adds Jax as an official backend since we have worked the API a bit more.
Fixes #11422 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11472/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/11472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11472",
"html_url": "https://github.com/huggingface/transformers/pull/11472",
"diff_url": "https://github.com/huggingface/transformers/pull/11472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11472.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11471/comments | https://api.github.com/repos/huggingface/transformers/issues/11471/events | https://github.com/huggingface/transformers/pull/11471 | 868,844,150 | MDExOlB1bGxSZXF1ZXN0NjI0MzAxNTE2 | 11,471 | Pytorch - Lazy initialization of models | {
"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 | [] | [
"Not to impede this PR, just wanted to add that this comment might be of importance for future work in this area: https://github.com/pytorch/pytorch/issues/29523#issuecomment-831390099\r\n\r\nAnd the whole issue: https://github.com/pytorch/pytorch/issues/29523\r\n\r\nI wonder if our side needs/should support that `... | 1,619 | 1,655 | 1,620 | MEMBER | null | 🚨🚨🚨 **Breaking seeded model initialization** 🚨🚨🚨
As explained below this PR breaks seeded model initialization by default. To ensure the exact same model initialization as before, use:
```python
torch.manual_seed(seed)
model = BertForSequenceClassification.from_pretrained("bert-base-cased", _fast_init=Fal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11471/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/11471/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11471",
"html_url": "https://github.com/huggingface/transformers/pull/11471",
"diff_url": "https://github.com/huggingface/transformers/pull/11471.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11471.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11470/comments | https://api.github.com/repos/huggingface/transformers/issues/11470/events | https://github.com/huggingface/transformers/pull/11470 | 868,774,517 | MDExOlB1bGxSZXF1ZXN0NjI0MjQzODE5 | 11,470 | [FlaxRoberta] Add FlaxRobertaModels & adapt run_mlm_flax.py | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,619 | 1,620 | 1,620 | 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/11470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11470/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11470",
"html_url": "https://github.com/huggingface/transformers/pull/11470",
"diff_url": "https://github.com/huggingface/transformers/pull/11470.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11470.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11469/comments | https://api.github.com/repos/huggingface/transformers/issues/11469/events | https://github.com/huggingface/transformers/issues/11469 | 868,761,536 | MDU6SXNzdWU4Njg3NjE1MzY= | 11,469 | Train GPT2 with Trainer & TrainingArguments using/specifying attention_mask | {
"login": "alexol91",
"id": 1785722,
"node_id": "MDQ6VXNlcjE3ODU3MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1785722?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexol91",
"html_url": "https://github.com/alexol91",
"followers_url": "https://api.github.com/users/alexo... | [] | closed | false | null | [] | [
"Hi there,\r\n\r\nIf your dataset or collator returns the `attention_mask`, then you don't need to pass it separately. With `Trainer`, all the input that you want to pass to model's `forward` should be returned by the dataset/collator and it will be passed to `model.forward` by `Trainer`.",
"Thank you very much f... | 1,619 | 1,622 | 1,622 | NONE | null | Hi, I'm using Trainer & TrainingArguments to train GPT2 Model, but it seems that this does not work well.
My datasets have the ids of the tokens of my corpus and the mask of each text, to indicate where to apply the attention:
```
Dataset({
features: ['attention_mask', 'input_ids', 'labels'],
num_rows:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11469/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11468/comments | https://api.github.com/repos/huggingface/transformers/issues/11468/events | https://github.com/huggingface/transformers/issues/11468 | 868,680,007 | MDU6SXNzdWU4Njg2ODAwMDc= | 11,468 | binary classification does not work with a large amount of data | {
"login": "saeedrafieyan",
"id": 61290778,
"node_id": "MDQ6VXNlcjYxMjkwNzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/61290778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saeedrafieyan",
"html_url": "https://github.com/saeedrafieyan",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"It won't be possible for us to answer issues with another library. Also please use the forum to such [questions](https://discuss.huggingface.co/). Thank you!",
"Thank you for your answer.\r\n\r\nI asked this question here because the simple transformers are working on the transformers library. It is just an inte... | 1,619 | 1,622 | 1,622 | NONE | null | I'm trying to use binary classification, and I used a code like Minimal Start code in the simpletransformers.ai. I can get f1, tp> 0 with a small sample of my data (around 200K rows), but surprisingly, when I'm trying to apply the model to a whole dataset (2.6M rows) or less (500K rows), the evaluation of the model is ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11468/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11467/comments | https://api.github.com/repos/huggingface/transformers/issues/11467/events | https://github.com/huggingface/transformers/pull/11467 | 868,474,972 | MDExOlB1bGxSZXF1ZXN0NjIzOTk1MjE4 | 11,467 | Finish Making Quick Tour respect the model object | {
"login": "hamelsmu",
"id": 1483922,
"node_id": "MDQ6VXNlcjE0ODM5MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1483922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamelsmu",
"html_url": "https://github.com/hamelsmu",
"followers_url": "https://api.github.com/users/hamel... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | This PR makes the following changes
1. As a follow up to #11462, finish correcting places where the tuple is mentioned instead of the model object.
2. You must import `AutoModel` as well as `TFAutoModel` for the tutorial to run correctly.
3. Cleaned up some language for readability.
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11467/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11467",
"html_url": "https://github.com/huggingface/transformers/pull/11467",
"diff_url": "https://github.com/huggingface/transformers/pull/11467.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11467.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11466/comments | https://api.github.com/repos/huggingface/transformers/issues/11466/events | https://github.com/huggingface/transformers/pull/11466 | 868,468,508 | MDExOlB1bGxSZXF1ZXN0NjIzOTg5Njc5 | 11,466 | fix docs for decoder_input_ids | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Thanks a lot for catching this Patrick! I corrected this for BART and mBART."
] | 1,619 | 1,619 | 1,619 | MEMBER | null | # What does this PR do?
Few doc fixes for `decoder_input_ids` in s2s models.
Fixes #11357
Thanks, @shyrma for spotting this! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11466/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11466",
"html_url": "https://github.com/huggingface/transformers/pull/11466",
"diff_url": "https://github.com/huggingface/transformers/pull/11466.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11466.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11465/comments | https://api.github.com/repos/huggingface/transformers/issues/11465/events | https://github.com/huggingface/transformers/issues/11465 | 868,363,301 | MDU6SXNzdWU4NjgzNjMzMDE= | 11,465 | [resume optimization] skip loading pretrained weights on resume | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2796628563,
"node_id": "MDU6TGFiZWwyNzk2NjI4NTYz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/WIP",
"name": "WIP",
"color": "234C99",
"default": false,
"description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro... | open | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"This can be achieved by just doing `model = AutoModelForSeq2SeqLM.from_config(config)` when the checkpoint is not None. I don't believe it will be much faster however as your analysis in #9205 pointed out to the random initialization as being the bottleneck.",
"> This can be achieved by just doing model = AutoMo... | 1,619 | 1,622 | null | CONTRIBUTOR | null | This is similar to what was discussed in https://github.com/huggingface/transformers/issues/9205, which proposed not to random init weights on `from_pretrained`, but this time it's about resume - currently we load pretrained weights and immediately drop them on resume from checkpoint in Trainer.
To solve this we, fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11465/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11464/comments | https://api.github.com/repos/huggingface/transformers/issues/11464/events | https://github.com/huggingface/transformers/issues/11464 | 868,350,690 | MDU6SXNzdWU4NjgzNTA2OTA= | 11,464 | [DeepSpeed] ZeRO-Infinity integration: getting started and issues | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"Hi @stas00, is it normal for zero3 training to take a while to get started?\r\n\r\nI haven't put in any time to investigating yet, but I updated transformers and deepspeed to the latest masters just to see if I could get them working. My simple training script (derived from the summarization example) works fine wi... | 1,619 | 1,690 | 1,622 | CONTRIBUTOR | null | [DeepSpeed ZeRO-Infinity](https://arxiv.org/abs/2104.07857) HF Integration is now available in the master branch of `transformers`. Here is a quick getting started/what's new post.
ZeRO-Infinity extends ZeRO-3 by extending CPU Offload with NVMe Offload, enabling training even bigger models. And it adds various other... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11464/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11463/comments | https://api.github.com/repos/huggingface/transformers/issues/11463/events | https://github.com/huggingface/transformers/pull/11463 | 868,339,269 | MDExOlB1bGxSZXF1ZXN0NjIzODgyMjc2 | 11,463 | [model loading] don't init weights for pretrained models | {
"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 won't work sadly, for two reasons.\r\n> \r\n> 1. First, everything in the `__dict__` of the config gets serialized when one uses `config.self_pretrained()` (which is called by `model.from_pretrained`) so any other model downloaded from the hub with a checkpoint saved after this is merged will get this attri... | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | Skip `_init_weights` for pretrained models since they get immediately replaced by pretrained weights. This leads to a much faster startup for huge models.
Fixes: https://github.com/huggingface/transformers/issues/9205
@sgugger, @patrickvonplaten | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11463/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11463",
"html_url": "https://github.com/huggingface/transformers/pull/11463",
"diff_url": "https://github.com/huggingface/transformers/pull/11463.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11463.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11462/comments | https://api.github.com/repos/huggingface/transformers/issues/11462/events | https://github.com/huggingface/transformers/pull/11462 | 868,309,116 | MDExOlB1bGxSZXF1ZXN0NjIzODU0NjE2 | 11,462 | update QuickTour docs to reflect model output object | {
"login": "hamelsmu",
"id": 1483922,
"node_id": "MDQ6VXNlcjE0ODM5MjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/1483922?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hamelsmu",
"html_url": "https://github.com/hamelsmu",
"followers_url": "https://api.github.com/users/hamel... | [] | closed | false | null | [] | [
"I might need some help or tips with figuring out why styling check CI is failing. I tried to debug but it is not clear to me what is wrong",
"Thanks, @sgugger that worked",
"Thank *you* for the fixes :-)"
] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | Currently, the [Quick tour](https://huggingface.co/transformers/quicktour.html#) docs shows model output as tuples when you print them out. In the current version of 🤗, the user sees an object that inherits from the `ModelOutput` class. Yes, you can still access this object as a tuple, but this might be confusing fo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11462/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11462",
"html_url": "https://github.com/huggingface/transformers/pull/11462",
"diff_url": "https://github.com/huggingface/transformers/pull/11462.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11462.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11461/comments | https://api.github.com/repos/huggingface/transformers/issues/11461/events | https://github.com/huggingface/transformers/issues/11461 | 868,295,660 | MDU6SXNzdWU4NjgyOTU2NjA= | 11,461 | T5-large FP16 produces nan in loss | {
"login": "raviskolli",
"id": 48601275,
"node_id": "MDQ6VXNlcjQ4NjAxMjc1",
"avatar_url": "https://avatars.githubusercontent.com/u/48601275?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/raviskolli",
"html_url": "https://github.com/raviskolli",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"I see nans creeping in at the T5Attention in decoder. I didn't find any inf or nan in either hidden_states or key_value_states but the computed values of both key_states and value_states have nan's",
"> FP16 mode shouldn't produce nan in loss.\r\n\r\nWhy do you believe this to be the case? This model was trained... | 1,619 | 1,622 | 1,622 | NONE | null | ## Environment info
- `transformers` version: 4.6.0.dev0, commit hash: 5e04d7086803ae4a3892f4082f2835a756592c2c
- Platform: Linux-4.15.0-1071-azure-x86_64-with-debian-buster-sid
- Python version: 3.7.3
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in sc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11461/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11460/comments | https://api.github.com/repos/huggingface/transformers/issues/11460/events | https://github.com/huggingface/transformers/issues/11460 | 868,211,301 | MDU6SXNzdWU4NjgyMTEzMDE= | 11,460 | support batch-sampler in trainer | {
"login": "dorooddorood606",
"id": 79288051,
"node_id": "MDQ6VXNlcjc5Mjg4MDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/79288051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dorooddorood606",
"html_url": "https://github.com/dorooddorood606",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,619 | 1,622 | 1,622 | NONE | null | # 🚀 Feature request
Hi
Currently Trainer class only supports sampler, but not batch-sampler, (the sampling strategies based on batches, which are a group of samplers in torch), if a user wants to use batch-sampler, currently Trainer class introduces unwanted bugs, but not setting epoch for this type of samplers. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11460/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11459/comments | https://api.github.com/repos/huggingface/transformers/issues/11459/events | https://github.com/huggingface/transformers/issues/11459 | 868,191,568 | MDU6SXNzdWU4NjgxOTE1Njg= | 11,459 | extending metric_for_best_model to a list of strings | {
"login": "dorooddorood606",
"id": 79288051,
"node_id": "MDQ6VXNlcjc5Mjg4MDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/79288051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dorooddorood606",
"html_url": "https://github.com/dorooddorood606",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"This could be added indeed. Note that there is already a workaround: when defining your `compute_metrics` function, you can add a new field with this average:\r\n```\r\ndef compute_metrics(eval_preds):\r\n # Your previous metric computation\r\n metrics[\"combined\"] = (metrics[\"accuracy\"] + metrics[\"f1\"]... | 1,619 | 1,690 | 1,622 | NONE | null | # 🚀 Feature request
Hi
Currently ` metric_for_best_model(:obj:`str`, `optional`) ` only covers one metric, for some datasets like MRPC, one have several metrics, like accuracy/F1 or like in STSB both pearson/spearman, and user might need to choose the best based on average on all metrics, it could be helpful to ha... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11459/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11458/comments | https://api.github.com/repos/huggingface/transformers/issues/11458/events | https://github.com/huggingface/transformers/issues/11458 | 868,153,133 | MDU6SXNzdWU4NjgxNTMxMzM= | 11,458 | "Is next sentence" pre-training task availability for Language Modeling scripts | {
"login": "shabie",
"id": 30535146,
"node_id": "MDQ6VXNlcjMwNTM1MTQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/30535146?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shabie",
"html_url": "https://github.com/shabie",
"followers_url": "https://api.github.com/users/shabie/fo... | [] | closed | false | null | [] | [
"Related issues: https://github.com/huggingface/transformers/issues/1622, https://github.com/huggingface/transformers/issues/2898 and https://github.com/huggingface/transformers/issues/2166\r\n\r\nHowever, example scripts are made to be very understandable and very easy to tweak, so modifying them to include the ne... | 1,619 | 1,674 | 1,622 | CONTRIBUTOR | null | # 🚀 Feature request
BERT was trained on 2 pretraining tasks. The scripts [here ](https://github.com/huggingface/transformers/tree/master/examples/pytorch/language-modeling) in the repo for language modeling only provide scripts for masked language modeling.
Is there any specific reason for this?
I was hoping ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11458/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11457/comments | https://api.github.com/repos/huggingface/transformers/issues/11457/events | https://github.com/huggingface/transformers/issues/11457 | 868,097,181 | MDU6SXNzdWU4NjgwOTcxODE= | 11,457 | Can this `@slow` annotation be removed at barthez tokenizer test= | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"No it is intended as slow. The Barthez tokenizer fast tokenizer takes forever to load from the slow one sadly, which is why we marked those tests are slow. To be able to remove that, we must first create a small sentencepiece model that is compatible with Barthez (it is using the real tokenizer checkpoint right no... | 1,619 | 1,620 | 1,619 | CONTRIBUTOR | null | Here is a `@slow` annotation that can be removed IMO.
Otherwise maybe write a comment why it is tagged as slow?
https://github.com/huggingface/transformers/blob/bc2571e61c985ec82819cf01ad038342771c94d0/tests/test_tokenization_barthez.py#L27
I can provide a PR. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11457/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11456/comments | https://api.github.com/repos/huggingface/transformers/issues/11456/events | https://github.com/huggingface/transformers/issues/11456 | 867,961,856 | MDU6SXNzdWU4Njc5NjE4NTY= | 11,456 | Perturb Hidden-State in Encoder-Decoder Models | {
"login": "vin-nag",
"id": 32803965,
"node_id": "MDQ6VXNlcjMyODAzOTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/32803965?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vin-nag",
"html_url": "https://github.com/vin-nag",
"followers_url": "https://api.github.com/users/vin-na... | [] | closed | false | null | [] | [
"Hi @vin-nag \r\n\r\nIf you want to directly pass `hidden_states` then you could do it this way\r\n\r\n```python\r\nmodel = EncoderDecoderModel.from_pretrained(\"google/roberta2roberta_L-24_gigaword\")\r\ntok = AutoTokenizer.from_pretrained(\"google/roberta2roberta_L-24_gigaword\")\r\n\r\narticle = \"\"\"australian... | 1,619 | 1,660 | 1,619 | NONE | null | Hi All,
I'm fairly new at using huggingface - so I apologize if this is answered in the documentation. I've looked around and don't think this has been asked before. I'm trying to perturb and use the hidden-state of an encoder-decoder model on the summarization task.
More specifically, I'd like to
1. Get a f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11456/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11455/comments | https://api.github.com/repos/huggingface/transformers/issues/11455/events | https://github.com/huggingface/transformers/issues/11455 | 867,890,495 | MDU6SXNzdWU4Njc4OTA0OTU= | 11,455 | Unable to use custom dataset: AttributeError: 'list' object has no attribute 'keys' | {
"login": "tommasodelorenzo",
"id": 57231812,
"node_id": "MDQ6VXNlcjU3MjMxODEy",
"avatar_url": "https://avatars.githubusercontent.com/u/57231812?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tommasodelorenzo",
"html_url": "https://github.com/tommasodelorenzo",
"followers_url": "https://... | [] | closed | false | null | [] | [
"This is really weird. Could you print a few items of your Dataset? The error means that they are not dictionaries containing `\"input_ids\"` but they certainly seem to be.\r\n\r\nAlso note that since you already have applied padding in your preprocessing, you can use the `default_data_collator`, but the code shoul... | 1,619 | 1,620 | 1,620 | NONE | null | What am I doing wrong?
I encode data with
```
model_name = "dbmdz/bert-base-italian-uncased"
tokenizer = AutoTokenizer.from_pretrained(model_name, do_lower_case = True)
def encode_data(texts):
return tokenizer.batch_encode_plus(
texts,
add_special_tokens=True,
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11455/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11454/comments | https://api.github.com/repos/huggingface/transformers/issues/11454/events | https://github.com/huggingface/transformers/issues/11454 | 867,880,128 | MDU6SXNzdWU4Njc4ODAxMjg= | 11,454 | cannot import name 'set_seed' from 'transformers' | {
"login": "andy311p",
"id": 68938613,
"node_id": "MDQ6VXNlcjY4OTM4NjEz",
"avatar_url": "https://avatars.githubusercontent.com/u/68938613?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andy311p",
"html_url": "https://github.com/andy311p",
"followers_url": "https://api.github.com/users/and... | [] | closed | false | null | [] | [
"Try the following code:\r\n`from transformers.trainer_utils import set_seed`\r\nLet me know if it works!",
"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... | 1,619 | 1,622 | 1,622 | NONE | null | i run with transformers==4.5.1 and get the following error:

do you know how to resolve this issue?
thanks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11454/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11453/comments | https://api.github.com/repos/huggingface/transformers/issues/11453/events | https://github.com/huggingface/transformers/pull/11453 | 867,839,513 | MDExOlB1bGxSZXF1ZXN0NjIzNDQ0MDQ0 | 11,453 | Give each hub test a different repo name | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | COLLABORATOR | null | # What does this PR do?
To reduce flakiness in the tests using the hub and be able to investigate failures more closely, this PR gives them each one different namespace. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11453/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11453",
"html_url": "https://github.com/huggingface/transformers/pull/11453",
"diff_url": "https://github.com/huggingface/transformers/pull/11453.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11453.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11452/comments | https://api.github.com/repos/huggingface/transformers/issues/11452/events | https://github.com/huggingface/transformers/issues/11452 | 867,663,561 | MDU6SXNzdWU4Njc2NjM1NjE= | 11,452 | wav2vec2 doesn't work with torch.distributed.launch & multi GPU | {
"login": "qqpann",
"id": 17402261,
"node_id": "MDQ6VXNlcjE3NDAyMjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/17402261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qqpann",
"html_url": "https://github.com/qqpann",
"followers_url": "https://api.github.com/users/qqpann/fo... | [] | closed | false | null | [] | [
"## Error messages in short\r\n### Warning\r\n```\r\nUserWarning: Using a non-full backward hook when the forward contains multiple autograd Nodes is deprecated and will be removed in future versions. This hook will be missing some grad_input. Please use register_full_backward_hook to get the documented behavior.\r... | 1,619 | 1,705 | 1,625 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.6.0.dev0
- Platform: Linux-4.15.0-140-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.9
- PyTo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11452/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/11452/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11451/comments | https://api.github.com/repos/huggingface/transformers/issues/11451/events | https://github.com/huggingface/transformers/issues/11451 | 867,615,392 | MDU6SXNzdWU4Njc2MTUzOTI= | 11,451 | mBART and DataCollatorForLanguageModeling: index -1 is out of bounds for dimension 1 with size N | {
"login": "AdrianNunez",
"id": 2635121,
"node_id": "MDQ6VXNlcjI2MzUxMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/2635121?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdrianNunez",
"html_url": "https://github.com/AdrianNunez",
"followers_url": "https://api.github.com/us... | [] | closed | false | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "htt... | [
"Hi @AdrianNunez \r\n\r\nCould you post the for of the `input_ids` and `labels`. As explained in the [docs](https://huggingface.co/transformers/model_doc/mbart.html#training-of-mbart), mBART expects `input_ids` and `labels` in a certain format. \r\n\r\n`labels` are prepared with the format `ids [eos, tgt_lang_code]... | 1,619 | 1,622 | 1,622 | NONE | null | ## Environment info
- `transformers` version: 4.5.1
- Platform: Linux-3.10.0-1062.9.1.el7.x86_64-x86_64-with-centos-7.7.1908-Core
- Python version: 3.6.8
- PyTorch version (GPU?): 1.7.1+cu101 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11451/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11450/comments | https://api.github.com/repos/huggingface/transformers/issues/11450/events | https://github.com/huggingface/transformers/pull/11450 | 867,609,482 | MDExOlB1bGxSZXF1ZXN0NjIzMjU0NzQw | 11,450 | [Black] Pin Version | {
"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 | [] | [
"After discussion with @lhoestq & @sgugger, upgrading is the better option => so merge https://github.com/huggingface/transformers/pull/11442",
"Shouldn't we close this ?"
] | 1,619 | 1,619 | 1,619 | MEMBER | null | Pin black until repo will be re-style with black 21.4b0. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11450/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11450",
"html_url": "https://github.com/huggingface/transformers/pull/11450",
"diff_url": "https://github.com/huggingface/transformers/pull/11450.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11450.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11449/comments | https://api.github.com/repos/huggingface/transformers/issues/11449/events | https://github.com/huggingface/transformers/pull/11449 | 867,550,398 | MDExOlB1bGxSZXF1ZXN0NjIzMjA0MTYz | 11,449 | Clarify description of the is_split_into_words argument | {
"login": "kstathou",
"id": 9084998,
"node_id": "MDQ6VXNlcjkwODQ5OTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/9084998?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kstathou",
"html_url": "https://github.com/kstathou",
"followers_url": "https://api.github.com/users/kstat... | [] | closed | false | null | [] | [
"Thank you for the feedback! "
] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
Clarifies the description of the `is_split_into_words` argument which is used in the tokenizers.
Closes #11333
## 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](htt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11449/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11449",
"html_url": "https://github.com/huggingface/transformers/pull/11449",
"diff_url": "https://github.com/huggingface/transformers/pull/11449.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11449.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11448/comments | https://api.github.com/repos/huggingface/transformers/issues/11448/events | https://github.com/huggingface/transformers/issues/11448 | 867,504,930 | MDU6SXNzdWU4Njc1MDQ5MzA= | 11,448 | Activating gradient checkpointing | {
"login": "ShivanshuPurohit",
"id": 42869065,
"node_id": "MDQ6VXNlcjQyODY5MDY1",
"avatar_url": "https://avatars.githubusercontent.com/u/42869065?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShivanshuPurohit",
"html_url": "https://github.com/ShivanshuPurohit",
"followers_url": "https://... | [] | closed | false | null | [] | [
"In some places I think \"activation checkpointing\" is referred to as \"gradient checkpointing\". The former sounds more logical as it's activations that aren't being saved. So it's https://pytorch.org/docs/stable/checkpoint.html.\r\n\r\nIt should be already there, as you can see the `GPTNeoModel` has it setup:\r... | 1,619 | 1,619 | 1,619 | NONE | null | Working on a script which uses `GPTNeoForCausalLM` as the model object. As I understand it, gradient checkpointing requires checkpointing every layer. How do I change `GPTNeoForCausalLM` to incorporate gradient checkpointing, given that it doesn't show the layers explicitly but rather uses
```
self.transformer = GPTN... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11448/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11447/comments | https://api.github.com/repos/huggingface/transformers/issues/11447/events | https://github.com/huggingface/transformers/issues/11447 | 867,499,449 | MDU6SXNzdWU4Njc0OTk0NDk= | 11,447 | Google Colab TypeError: expected str, bytes or os.PathLike object, not NoneType | {
"login": "TatProg",
"id": 43710369,
"node_id": "MDQ6VXNlcjQzNzEwMzY5",
"avatar_url": "https://avatars.githubusercontent.com/u/43710369?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TatProg",
"html_url": "https://github.com/TatProg",
"followers_url": "https://api.github.com/users/TatPro... | [] | closed | false | null | [] | [
"My issue is quite similar to #10756 ",
"Hi! I believe you're using XLM models/tokenizers with XLM-R checkpoints. Have you tried using `XLMRobertaTokenizer` and `XLMRobertaLMHeadModel` instead?\r\n\r\nYou're also trying to load a BERT checkpoint in an XLM tokenizer, this won't work. If you want to load any check... | 1,619 | 1,655 | 1,619 | NONE | null | - `transformers` version: 4.5.1
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.10
- PyTorch version (GPU?): 1.8.1+cu101 (False)
- Tensorflow version (GPU?): 2.4.1 (False)
Models I am using are **RoBERTa** (xlm-roberta-large) and **BERT** (bert-base-multilingual-cased)
##... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11447/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11446/comments | https://api.github.com/repos/huggingface/transformers/issues/11446/events | https://github.com/huggingface/transformers/issues/11446 | 867,498,123 | MDU6SXNzdWU4Njc0OTgxMjM= | 11,446 | [wav2vec] deepspeed eval bug in the case of >1 gpus | {
"login": "tommy19970714",
"id": 14125841,
"node_id": "MDQ6VXNlcjE0MTI1ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/14125841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tommy19970714",
"html_url": "https://github.com/tommy19970714",
"followers_url": "https://api.githu... | [
{
"id": 2659267025,
"node_id": "MDU6TGFiZWwyNjU5MjY3MDI1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed",
"name": "DeepSpeed",
"color": "4D34F7",
"default": false,
"description": ""
}
] | closed | false | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [
{
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github... | [
"deepspeed doesn't work with `autocast`, it has its own way of dealing with mixed precision, if you look in the `trainer.py` it's carefully bypassed. \r\n\r\ndoes the problem go away if you remove `autocast`?",
"@stas00 Thank you for your reply!\r\nWhen I deleted `autocast` and ran it, I got the error `RuntimeEr... | 1,619 | 1,623 | 1,623 | NONE | null | ## Environment info
- `transformers` version: 4.5.1
- Platform: Linux-4.15.0-140-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.9
- PyTorch version (GPU?): 1.8.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: <2,4>
- Using distributed or parallel set-up in script?: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11446/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/11446/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11445/comments | https://api.github.com/repos/huggingface/transformers/issues/11445/events | https://github.com/huggingface/transformers/pull/11445 | 867,460,627 | MDExOlB1bGxSZXF1ZXN0NjIzMTI3NTYz | 11,445 | CLIP | {
"login": "patil-suraj",
"id": 27137566,
"node_id": "MDQ6VXNlcjI3MTM3NTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patil-suraj",
"html_url": "https://github.com/patil-suraj",
"followers_url": "https://api.github.com/... | [
{
"id": 2669577093,
"node_id": "MDU6TGFiZWwyNjY5NTc3MDkz",
"url": "https://api.github.com/repos/huggingface/transformers/labels/PR%20for%20Model%20Addition",
"name": "PR for Model Addition",
"color": "5319e7",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"@sgugger \r\n\r\n> is it possible to add a fast version of the tokenizer?\r\n\r\nYes, will add the fast version as well.\r\n\r\n\r\n> why are there two classes for the vision model and the text model? They have the exact same forward, so we should only have one class IMO.\r\n\r\nAdded two versions so that one coul... | 1,619 | 1,630 | 1,620 | MEMBER | null | # What does this PR do?
This PR adds the [CLIP](https://github.com/openai/CLIP) model.
CLIP is a multi-modal vision+language model which uses a transformer model for encoding both the images and text.
- The model here is designed such that both `CLIPTextModel` and `CLIPVisionModel` can be loaded independently,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11445/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11445",
"html_url": "https://github.com/huggingface/transformers/pull/11445",
"diff_url": "https://github.com/huggingface/transformers/pull/11445.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11445.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11444/comments | https://api.github.com/repos/huggingface/transformers/issues/11444/events | https://github.com/huggingface/transformers/pull/11444 | 867,435,956 | MDExOlB1bGxSZXF1ZXN0NjIzMTA3MDMw | 11,444 | Variable Correction for Consistency in Distillation Example | {
"login": "jaimeenahn",
"id": 32367255,
"node_id": "MDQ6VXNlcjMyMzY3MjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/32367255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaimeenahn",
"html_url": "https://github.com/jaimeenahn",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | As the error comes from the incosistency of variable meaning number of gpus in parser and its actual usage in the train.py script, 'gpus' and 'n_gpu' respectively, the correction makes the example work
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
On... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11444/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11444",
"html_url": "https://github.com/huggingface/transformers/pull/11444",
"diff_url": "https://github.com/huggingface/transformers/pull/11444.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11444.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11443/comments | https://api.github.com/repos/huggingface/transformers/issues/11443/events | https://github.com/huggingface/transformers/issues/11443 | 867,408,685 | MDU6SXNzdWU4Njc0MDg2ODU= | 11,443 | BERT model gets fairly random results | {
"login": "dorooddorood606",
"id": 79288051,
"node_id": "MDQ6VXNlcjc5Mjg4MDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/79288051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dorooddorood606",
"html_url": "https://github.com/dorooddorood606",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Please give us the whole command you are running as we can't reproduce without it.\r\nAre you properly setting the seed? Depending on the seed used, the results differ a lot on MRPC, since it's a tiny dataset. This is known and there have been [published papers](https://arxiv.org/pdf/2002.06305.pdf) on this.",
"... | 1,619 | 1,619 | 1,619 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.5.0
- Platform: linux
- Python version: 3.8
- PyTorch version (GPU?): 1.8
- Tensorflow version (GPU?): - ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11443/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11442/comments | https://api.github.com/repos/huggingface/transformers/issues/11442/events | https://github.com/huggingface/transformers/pull/11442 | 867,345,187 | MDExOlB1bGxSZXF1ZXN0NjIzMDMwNDMw | 11,442 | Upgrade Black to version 21.4b0 | {
"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 | [] | [
"Closing this PR in favor of https://github.com/huggingface/transformers/pull/11450"
] | 1,619 | 1,619 | 1,619 | MEMBER | null | This PR reformats all files with Black's newest version 21.4b0. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11442/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11442",
"html_url": "https://github.com/huggingface/transformers/pull/11442",
"diff_url": "https://github.com/huggingface/transformers/pull/11442.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11442.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/11441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11441/comments | https://api.github.com/repos/huggingface/transformers/issues/11441/events | https://github.com/huggingface/transformers/issues/11441 | 867,329,902 | MDU6SXNzdWU4NjczMjk5MDI= | 11,441 | Minor error on example distillation script | {
"login": "jaimeenahn",
"id": 32367255,
"node_id": "MDQ6VXNlcjMyMzY3MjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/32367255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jaimeenahn",
"html_url": "https://github.com/jaimeenahn",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.5.1
- Platform: Linux-4.18.0-147.el8.x86_64-x86_64-with-Ubuntu-16.04-xenial
- Python version: 3.7.10
- PyT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11441/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11440/comments | https://api.github.com/repos/huggingface/transformers/issues/11440/events | https://github.com/huggingface/transformers/issues/11440 | 867,321,669 | MDU6SXNzdWU4NjczMjE2Njk= | 11,440 | Feedback whilst resuming | {
"login": "david-waterworth",
"id": 5028974,
"node_id": "MDQ6VXNlcjUwMjg5NzQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5028974?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/david-waterworth",
"html_url": "https://github.com/david-waterworth",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"This has been fixed by #11324. If you use a source install, you will be able to use (or in this case see) this feature :-)"
] | 1,619 | 1,619 | 1,619 | NONE | null | # 🚀 Feature request
Add some sort of progress bar during resumption of training from a checkpoint
## Motivation
I resumed training from a checkpoint mid-way through a 100 Epoch training. The progress bar sat on zero for quite some time, and I could see CPU activity but no GPU's were active. Eventually the pro... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11440/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/11439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/11439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/11439/comments | https://api.github.com/repos/huggingface/transformers/issues/11439/events | https://github.com/huggingface/transformers/pull/11439 | 867,264,526 | MDExOlB1bGxSZXF1ZXN0NjIyOTYwOTk5 | 11,439 | [BigBird] enable BigBirdForQuestionAnswering to return pooler output | {
"login": "thevasudevgupta",
"id": 53136577,
"node_id": "MDQ6VXNlcjUzMTM2NTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/53136577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thevasudevgupta",
"html_url": "https://github.com/thevasudevgupta",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,619 | 1,619 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
This PR will enable `BigBirdForQuestionAnswering` to return pooler output. This can be useful for the tasks involving predicting category along with answer eg: [Natural Questions dataset](https://huggingface.co/datasets/natural_questions)
<!--
Congratulations! You've made it this far! You... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/11439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/11439/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/11439",
"html_url": "https://github.com/huggingface/transformers/pull/11439",
"diff_url": "https://github.com/huggingface/transformers/pull/11439.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/11439.patch",
"merged_at... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.