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/9530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9530/comments | https://api.github.com/repos/huggingface/transformers/issues/9530/events | https://github.com/huggingface/transformers/issues/9530 | 784,045,049 | MDU6SXNzdWU3ODQwNDUwNDk= | 9,530 | Data format for TFTrainer for TFGpt2 | {
"login": "kiyoungkim1",
"id": 37245002,
"node_id": "MDQ6VXNlcjM3MjQ1MDAy",
"avatar_url": "https://avatars.githubusercontent.com/u/37245002?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kiyoungkim1",
"html_url": "https://github.com/kiyoungkim1",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [
{
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users... | [
"Hello!\r\n\r\nAt first, can you share your Transformers and TensorFlow version please?",
"@jplu \r\nI use Transformers 4.1.1 and Tensorflow 2.4 in GCP VM, but I can change versions. I will train this model with v3-8 and v3-32.\r\nMy code and command are shown below. It is largely based on run_clm.py and run_tf_t... | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | ```train_dataset``` in TFtrainer needs ```(features, labels)```, but TFGpt2 does not need labels (document in TFGPT2LMHeadModel).
Do I know the data format for TFTrainer for TFGpt2?
I have tried this code, but does not work.
Thanks.
```
def gen_train():
for ex in transformed_ds[datasets.Split.TRAIN... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9530/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9528/comments | https://api.github.com/repos/huggingface/transformers/issues/9528/events | https://github.com/huggingface/transformers/issues/9528 | 783,846,382 | MDU6SXNzdWU3ODM4NDYzODI= | 9,528 | Print All Tokens Over a Certain Probability Threshold: T5 | {
"login": "BigSalmon2",
"id": 61605789,
"node_id": "MDQ6VXNlcjYxNjA1Nzg5",
"avatar_url": "https://avatars.githubusercontent.com/u/61605789?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BigSalmon2",
"html_url": "https://github.com/BigSalmon2",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"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\nHave you checked the [T5 docs](https://huggingface.co/transformers/model_doc/t5.html) regarding the `decoder_inputs`? Are th... | 1,610 | 1,614 | 1,614 | NONE | null | `This works with GPT-2, but not with T5. Is it possible to adapt this to make T5 work? This works with GPT-2, but not with T5. Is it possible to adapt this to make T5 work?`
```
import torch
import torch.nn.functional as F
from transformers import AutoTokenizer, AutoModelWithLMHead
tokenizer = AutoTokenizer.from... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9528/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9527 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9527/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9527/comments | https://api.github.com/repos/huggingface/transformers/issues/9527/events | https://github.com/huggingface/transformers/issues/9527 | 783,821,020 | MDU6SXNzdWU3ODM4MjEwMjA= | 9,527 | [BlenderbotSmallTokenizer] Cannot download tokenizer | {
"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 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Is `blenderbot-small` a valid model_type?\r\n\r\nOr maybe this file https://huggingface.co/facebook/blenderbot_small-90M/blob/main/tokenizer_config.json is an issue?",
"yeah, `blenderbot-small` is valid. One can download both the model and the config correctly:\r\n\r\n```python\r\nfrom transformers import Blende... | 1,610 | 1,610 | 1,610 | MEMBER | null | When running:
```python
from transformers import BlenderbotSmallTokenizer
tok = BlenderbotSmallTokenizer.from_pretrained("facebook/blenderbot_small-90M")
```
the command fails with the error
```~/python_bin/transformers/tokenization_utils_base.py in _from_pretrained(cls, resolved_vocab_files, pretrained_mo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9527/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9526/comments | https://api.github.com/repos/huggingface/transformers/issues/9526/events | https://github.com/huggingface/transformers/issues/9526 | 783,712,533 | MDU6SXNzdWU3ODM3MTI1MzM= | 9,526 | Siamese Multi-depth Transformer-based Hierarchical Encoder | {
"login": "lalitpagaria",
"id": 19303690,
"node_id": "MDQ6VXNlcjE5MzAzNjkw",
"avatar_url": "https://avatars.githubusercontent.com/u/19303690?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lalitpagaria",
"html_url": "https://github.com/lalitpagaria",
"followers_url": "https://api.github.c... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
},
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg... | open | false | null | [] | [
"Linking Haystack issue https://github.com/deepset-ai/haystack/issues/719",
"Frequent user of hugging face here, I'm a fan of this new publication and would love to see it implemented. Commenting here for the GitHub algorithm to ++",
"Hi all, rather than waiting for the implementation in huggingface. Is there a... | 1,610 | 1,623 | null | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
Recently Google is published paper titled ["Beyond 512 Tokens: Siamese Multi-depth Transformer-based Hierarchical Encoder for Long-Form Document Matching"](https://arxiv.org/abs/2004.12297). And according to paper for long-form document matching SMITH model outperforms t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9526/reactions",
"total_count": 25,
"+1": 19,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 6
} | https://api.github.com/repos/huggingface/transformers/issues/9526/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9525/comments | https://api.github.com/repos/huggingface/transformers/issues/9525/events | https://github.com/huggingface/transformers/issues/9525 | 783,707,880 | MDU6SXNzdWU3ODM3MDc4ODA= | 9,525 | mBART is not saving (learned) position embeddings | {
"login": "juand-r",
"id": 14251866,
"node_id": "MDQ6VXNlcjE0MjUxODY2",
"avatar_url": "https://avatars.githubusercontent.com/u/14251866?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/juand-r",
"html_url": "https://github.com/juand-r",
"followers_url": "https://api.github.com/users/juand-... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @juand-r, \r\n\r\nThanks for the issue! I think this problem should be solved by now. We have done some major refactoring for MBart and removed the `_keys_to_ignore_on_save` for MBart. Can you check whether the error persists on current master? We will do a release tomorrow probably so that the fix should be i... | 1,610 | 1,614 | 1,610 | NONE | null | ## Environment info
- `transformers` version: 4.1.1
- Platform: Linux
- Python version: 3.8.2
- PyTorch version (GPU?): 1.4.0 (with gpu)
- Using GPU in script?: yes
- Using distributed or parallel set-up in script?: no
### Who can help
@patrickvonplaten
## Information
I am fine-tuning mBART-large on... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9525/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9524 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9524/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9524/comments | https://api.github.com/repos/huggingface/transformers/issues/9524/events | https://github.com/huggingface/transformers/pull/9524 | 783,690,073 | MDExOlB1bGxSZXF1ZXN0NTUzMDA3ODEw | 9,524 | Refactor `prepare_seq2seq_batch` | {
"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 | [] | [
"Could you run the slow tests of the models concerned?",
"For reference, some discussions on why the method was added in the first place:\r\nhttps://github.com/huggingface/transformers/issues/6080\r\nhttps://github.com/huggingface/transformers/pull/6103",
"In general, I agree very much with your approach here a... | 1,610 | 1,610 | 1,610 | COLLABORATOR | null | # What does this PR do?
This PR refactors the logic of `prepare_seq2seq_batch` which is roughly:
1. tokenize inputs
2. make some changes to prepare the tokenizer for target encoding
3. tokenize targets
4. revert the changes made in 2 for the next tokenization
by introducing a new context manage that is in c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9524/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9524",
"html_url": "https://github.com/huggingface/transformers/pull/9524",
"diff_url": "https://github.com/huggingface/transformers/pull/9524.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9524.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9523/comments | https://api.github.com/repos/huggingface/transformers/issues/9523/events | https://github.com/huggingface/transformers/issues/9523 | 783,653,658 | MDU6SXNzdWU3ODM2NTM2NTg= | 9,523 | Documentation's example script linked does no exist anymore | {
"login": "Skylixia",
"id": 12053610,
"node_id": "MDQ6VXNlcjEyMDUzNjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/12053610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Skylixia",
"html_url": "https://github.com/Skylixia",
"followers_url": "https://api.github.com/users/Sky... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hello @Skylixia,\r\n\r\nI believe the summarisation examples have been migrated to the `seq2seq` folder here: https://github.com/huggingface/transformers/tree/master/examples/seq2seq\r\n\r\nIn the README, you can find instructions on how to fine-tune a model for summarisation: https://github.com/huggingface/transf... | 1,610 | 1,614 | 1,614 | NONE | null | Hello,
I'm looking at the [documentation ](https://huggingface.co/transformers/v2.2.0/examples.html#abstractive-summarization) provided examples to be able to fine-tune a summarization task. It refers to the script run_summarization_finetuning.py but the link provided: https://github.com/huggingface/transformers/blo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9523/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9522/comments | https://api.github.com/repos/huggingface/transformers/issues/9522/events | https://github.com/huggingface/transformers/pull/9522 | 783,645,441 | MDExOlB1bGxSZXF1ZXN0NTUyOTY5OTAy | 9,522 | [make docs] parallel build | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | This PR enables multi-worker doc building.
After experimenting with different number of workers https://github.com/huggingface/transformers/issues/9496#issuecomment-758145868 4-5 workers seems to be the most optimal - let's go with 4 as surely we wouldn't find a cpu with less cores these days.
Fixes part of https... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9522/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9522",
"html_url": "https://github.com/huggingface/transformers/pull/9522",
"diff_url": "https://github.com/huggingface/transformers/pull/9522.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9522.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9521 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9521/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9521/comments | https://api.github.com/repos/huggingface/transformers/issues/9521/events | https://github.com/huggingface/transformers/issues/9521 | 783,552,482 | MDU6SXNzdWU3ODM1NTI0ODI= | 9,521 | Converting T5 (text to text transfer transformer model) checkpoints to pytorch | {
"login": "mmcs-work",
"id": 28564860,
"node_id": "MDQ6VXNlcjI4NTY0ODYw",
"avatar_url": "https://avatars.githubusercontent.com/u/28564860?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mmcs-work",
"html_url": "https://github.com/mmcs-work",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [] | 1,610 | 1,610 | 1,610 | NONE | null | Earlier the TensorFlow models were converted using `convert_t5_original_tf_checkpoint_to_pytorch` script file. But now this file is not available anymore. Currently, (transformers 4.1.1) what is the way of converting the t5 model checkpoints to Pytorch?
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9521/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9520 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9520/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9520/comments | https://api.github.com/repos/huggingface/transformers/issues/9520/events | https://github.com/huggingface/transformers/issues/9520 | 783,523,610 | MDU6SXNzdWU3ODM1MjM2MTA= | 9,520 | T2TDataCollator 'target_ids' key error | {
"login": "shubhambharadwaj",
"id": 18680326,
"node_id": "MDQ6VXNlcjE4NjgwMzI2",
"avatar_url": "https://avatars.githubusercontent.com/u/18680326?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shubhambharadwaj",
"html_url": "https://github.com/shubhambharadwaj",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Maybe @sgugger has an idea.",
"Hi @maxie320,\r\n\r\nThe `Trainer` now removes unused keys from the dataset if the dataset is an instance of `datasets.Dataset`. By unused, it means all the keys which are not in the model's forward method's argument list. And since `target_ids` is not a argument expected by the fo... | 1,610 | 1,620 | 1,610 | NONE | null | Hi all,
I'm facing issues with this part of the code (post making changes as suggested [here](https://github.com/huggingface/transformers/issues/5049)) in T5-Base for QA.
```
import dataclasses
import logging
import os
import sys
from dataclasses import dataclass, field
from typing import Dict, List, Option... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9520/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9519 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9519/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9519/comments | https://api.github.com/repos/huggingface/transformers/issues/9519/events | https://github.com/huggingface/transformers/pull/9519 | 783,494,346 | MDExOlB1bGxSZXF1ZXN0NTUyODQ1MDky | 9,519 | Update 'Develop on Windows' guidelines | {
"login": "SBrandeis",
"id": 33657802,
"node_id": "MDQ6VXNlcjMzNjU3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/33657802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SBrandeis",
"html_url": "https://github.com/SBrandeis",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Do you have any idea why GitHub is not showing the diff properly?",
"Looks like I'm having an issue with CRLFs :( I think I replaced all CRLFs by LFs\r\nI'm currently investigating this",
"@sgugger problem solved 👌"
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
Update the `Develop on Windows` guidelines in `CONTRIBUTING.md` to add:
- Instructions to setup git to handle CRLF line endings
- Instructions to add MSYS executables in your PATH to run `make` from another terminal
Fixes #9438
## Before submitting
- [x] This PR fixes a typo or imp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9519/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9519",
"html_url": "https://github.com/huggingface/transformers/pull/9519",
"diff_url": "https://github.com/huggingface/transformers/pull/9519.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9519.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9518 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9518/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9518/comments | https://api.github.com/repos/huggingface/transformers/issues/9518/events | https://github.com/huggingface/transformers/issues/9518 | 783,471,658 | MDU6SXNzdWU3ODM0NzE2NTg= | 9,518 | Model Hub hanging in model's loading | {
"login": "loretoparisi",
"id": 163333,
"node_id": "MDQ6VXNlcjE2MzMzMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/163333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/loretoparisi",
"html_url": "https://github.com/loretoparisi",
"followers_url": "https://api.github.com/u... | [] | closed | false | null | [] | [
"Adding some more info:\r\n\r\nThe api call returns to the model endpoint `503 (Service Unavailable)` and the error message\r\n```json\r\n {\"error\":\"Model Musixmatch/umberto-wikipedia-uncased-v1 is currently loading\",\"estimated_time\":10}\r\n```\r\n\r\nThen while the model is loading a new error comes out:\r\n... | 1,610 | 1,618 | 1,618 | CONTRIBUTOR | null | @Narsil when loading some models, the loading hangs at 80-90%.
<img width="768" alt="Schermata 2021-01-11 alle 16 17 31" src="https://user-images.githubusercontent.com/163333/104202185-e0b12f00-542a-11eb-9e34-27f88ca232ab.png">
In this case it's [this](https://huggingface.co/mrm8488/umberto-wikipedia-uncased-v1-f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9518/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9518/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9517 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9517/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9517/comments | https://api.github.com/repos/huggingface/transformers/issues/9517/events | https://github.com/huggingface/transformers/issues/9517 | 783,456,077 | MDU6SXNzdWU3ODM0NTYwNzc= | 9,517 | UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 64: invalid start byte | {
"login": "duttaprat",
"id": 29531232,
"node_id": "MDQ6VXNlcjI5NTMxMjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/29531232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/duttaprat",
"html_url": "https://github.com/duttaprat",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi! Could you please put the information required in the issue template? I.e, everything related to your environment.",
"@LysandreJik I have updated the original question based on your suggestion. ",
"You're loading your configuration with:\r\n\r\n```py\r\nconfig = BertConfig.from_pretrained(\"models1/our_fine... | 1,610 | 1,610 | 1,610 | NONE | null | When I trying to load a saved fine-tuned BERT model, I am facing 'UnicodeDecodeError'. The sample code is
```
from transformers import AutoTokenizer, AutoModel, AdamW, get_linear_schedule_with_warmup, BertConfig
self.bert_layer = AutoModel.from_pretrained(bert_model)
config = BertConfig.from_pretrained("models... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9517/reactions",
"total_count": 9,
"+1": 9,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9517/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9516/comments | https://api.github.com/repos/huggingface/transformers/issues/9516/events | https://github.com/huggingface/transformers/pull/9516 | 783,435,994 | MDExOlB1bGxSZXF1ZXN0NTUyNzk1NjEx | 9,516 | Make doc styler behave properly on Windows | {
"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,610 | 1,610 | 1,610 | COLLABORATOR | null | # What does this PR do?
This is code that should have been pushed in #9488 but wasn't because... Friday afternoon and my brain was apparently fried. Making a clean PR of it!
Fixes #9438 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9516/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9516",
"html_url": "https://github.com/huggingface/transformers/pull/9516",
"diff_url": "https://github.com/huggingface/transformers/pull/9516.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9516.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9515 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9515/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9515/comments | https://api.github.com/repos/huggingface/transformers/issues/9515/events | https://github.com/huggingface/transformers/issues/9515 | 783,417,974 | MDU6SXNzdWU3ODM0MTc5NzQ= | 9,515 | Can't run T5 models because of missing protoc | {
"login": "205g0",
"id": 74575852,
"node_id": "MDQ6VXNlcjc0NTc1ODUy",
"avatar_url": "https://avatars.githubusercontent.com/u/74575852?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/205g0",
"html_url": "https://github.com/205g0",
"followers_url": "https://api.github.com/users/205g0/follow... | [] | closed | false | null | [] | [
"If you install SentencePiece `pip install sentencepiece`, do you still get that error?",
"> If you install SentencePiece `pip install sentencepiece`, do you still get that error?\r\n\r\nI had it already installed: `sentencepiece==0.1.91`",
"FWIW: when `I import protoc` in e.g. `ipython` in the same environment... | 1,610 | 1,703 | 1,610 | 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.1.1
- Platform: Linux-4.15.0-128-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9515/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9514 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9514/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9514/comments | https://api.github.com/repos/huggingface/transformers/issues/9514/events | https://github.com/huggingface/transformers/pull/9514 | 783,376,203 | MDExOlB1bGxSZXF1ZXN0NTUyNzQ1OTAw | 9,514 | [ProphetNet] Fix naming and wrong config | {
"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 | [] | [
"> Thank you @patrickvonplaten the changes look great! One last suggestion on my side since this PR does some renaming of the modules: I believe the naming of the `ProphetNetSelfAttention` is misleading, since it is used as a cross attention in the decoder layer:\r\n> \r\n> https://github.com/huggingface/transforme... | 1,610 | 1,610 | 1,610 | 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/9514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9514/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9514",
"html_url": "https://github.com/huggingface/transformers/pull/9514",
"diff_url": "https://github.com/huggingface/transformers/pull/9514.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9514.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9513/comments | https://api.github.com/repos/huggingface/transformers/issues/9513/events | https://github.com/huggingface/transformers/pull/9513 | 783,354,780 | MDExOlB1bGxSZXF1ZXN0NTUyNzI4MDAx | 9,513 | [TF Led] Fix flaky TF Led test | {
"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 | [] | [
"cc @LysandreJik @sgugger @jplu ",
"Thanks for fixing!"
] | 1,610 | 1,610 | 1,610 | MEMBER | null | # What does this PR do?
The reason why the TF LED test is flaky was not fully fixed in: https://github.com/huggingface/transformers/pull/9459
and is actually the following:
Currently the `decoder_attention_mask` can have a `0` at its first input:
```python
decoder_attention_mask[:, 0] == 0
```
Since the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9513/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9513",
"html_url": "https://github.com/huggingface/transformers/pull/9513",
"diff_url": "https://github.com/huggingface/transformers/pull/9513.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9513.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9512/comments | https://api.github.com/repos/huggingface/transformers/issues/9512/events | https://github.com/huggingface/transformers/pull/9512 | 783,340,668 | MDExOlB1bGxSZXF1ZXN0NTUyNzE2MDU5 | 9,512 | Fix template | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes the TF template for BERT-like models. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9512/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9512",
"html_url": "https://github.com/huggingface/transformers/pull/9512",
"diff_url": "https://github.com/huggingface/transformers/pull/9512.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9512.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9511/comments | https://api.github.com/repos/huggingface/transformers/issues/9511/events | https://github.com/huggingface/transformers/pull/9511 | 783,253,997 | MDExOlB1bGxSZXF1ZXN0NTUyNjQyODA5 | 9,511 | Shouldn't stale issues/PRs with feature request label | {
"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 | [] | [
"These need to be applied manually; we could probably do some of these automatically but haven't thought about that yet. While we think of this we can apply the label manually as feature requests come up."
] | 1,610 | 1,610 | 1,610 | MEMBER | null | Shouldn't stale issues/PRs with feature request label | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9511/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9511",
"html_url": "https://github.com/huggingface/transformers/pull/9511",
"diff_url": "https://github.com/huggingface/transformers/pull/9511.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9511.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9510/comments | https://api.github.com/repos/huggingface/transformers/issues/9510/events | https://github.com/huggingface/transformers/issues/9510 | 783,244,474 | MDU6SXNzdWU3ODMyNDQ0NzQ= | 9,510 | config.json not found when loading fasttext-language-id model | {
"login": "nbeuchat",
"id": 8236283,
"node_id": "MDQ6VXNlcjgyMzYyODM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8236283?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nbeuchat",
"html_url": "https://github.com/nbeuchat",
"followers_url": "https://api.github.com/users/nbeuc... | [] | closed | false | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.gith... | [
"Hi @nbeuchat this is a fasttext model, not a `transformers` model, so you can't load it that way.\r\n\r\nI've updated the main button on the webpage to make it clearer that you need to use the model in fasttext:\r\n\r\n<img width=\"1067\" alt=\"Screenshot 2021-01-11 at 19 21 07\" src=\"https://user-images.githubus... | 1,610 | 1,618 | 1,618 | 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.1.1
- Platform: Linux-5.4.0-60-generic-x86_64-with-glibc2.10
- Python version: 3.8.5
- PyTorch version (GP... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9510/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9509/comments | https://api.github.com/repos/huggingface/transformers/issues/9509/events | https://github.com/huggingface/transformers/issues/9509 | 783,210,973 | MDU6SXNzdWU3ODMyMTA5NzM= | 9,509 | [Benchmark]onnx-export | {
"login": "Zjq9409",
"id": 62974595,
"node_id": "MDQ6VXNlcjYyOTc0NTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/62974595?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zjq9409",
"html_url": "https://github.com/Zjq9409",
"followers_url": "https://api.github.com/users/Zjq940... | [] | closed | false | null | [] | [
"Hi @jianqianzhou,\r\n\r\nThanks for raising this issue.\r\n\r\nI would remove the `OMP_NUM_THREADS` environment variable to fully exploit all the cores/threads you have on your machine. Also, tests were run on a machine with 56 cores so it might impact final performances. \r\n\r\nAlso, it might be possible to furt... | 1,610 | 1,619 | 1,619 | NONE | null | # 🖥 Benchmarking `transformers`
## Benchmark
I follow 04-onnx-export.ipynb this guidance on CPU, and my CPU model is:
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Silver 4210 CPU @ 2.20GHz
NUMA node0 CPU(s): 0-9,20-29
NUMA... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9509/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9508/comments | https://api.github.com/repos/huggingface/transformers/issues/9508/events | https://github.com/huggingface/transformers/issues/9508 | 783,200,011 | MDU6SXNzdWU3ODMyMDAwMTE= | 9,508 | bug in distributed codes AssertionError: Default process group is not initialized | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [
"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,610 | 1,619 | 1,619 | NONE | null | Hi
I am using transformers 3.5.1, on distributed fashion on multiple gpus with pytorch 1.6 and python=3.7
I am running:
python -m torch.distributed.launch --nproc_per_node=1 --nnodes=2 --node_rank=1 --master_addr=$host --master_port=$port finetune_trainer.py config.json
Huggingface codes only work wi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9508/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/9508/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9507/comments | https://api.github.com/repos/huggingface/transformers/issues/9507/events | https://github.com/huggingface/transformers/pull/9507 | 783,197,204 | MDExOlB1bGxSZXF1ZXN0NTUyNTk2MDAz | 9,507 | Remove tolerance + drop_rows_to_fit by default | {
"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 | [] | [
"The tests look ok to me!",
"@NielsRogge removed the `drop_rows_to_fit` attribute in the last commit."
] | 1,610 | 1,610 | 1,610 | MEMBER | null | Please take a look @NielsRogge.
I'm setting `drop_rows_to_fit=True` when the user wants that truncation. I don't think that attribute really means anything anymore given the way we handle truncation in the encoding methods, so I think it can be removed altogether.
Regarding the integration tests, I finally chose ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9507/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9507",
"html_url": "https://github.com/huggingface/transformers/pull/9507",
"diff_url": "https://github.com/huggingface/transformers/pull/9507.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9507.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9506/comments | https://api.github.com/repos/huggingface/transformers/issues/9506/events | https://github.com/huggingface/transformers/issues/9506 | 783,175,971 | MDU6SXNzdWU3ODMxNzU5NzE= | 9,506 | Model previews not working for models that require MecabTokenizer | {
"login": "BramVanroy",
"id": 2779410,
"node_id": "MDQ6VXNlcjI3Nzk0MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2779410?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BramVanroy",
"html_url": "https://github.com/BramVanroy",
"followers_url": "https://api.github.com/users... | [
{
"id": 1905493434,
"node_id": "MDU6TGFiZWwxOTA1NDkzNDM0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/dependencies",
"name": "dependencies",
"color": "0366d6",
"default": false,
"description": "Pull requests that update a dependency file"
}
] | closed | false | null | [] | [
"Can we add those `pip install -e .[ja]` dependencies to the hosted Inference API @Narsil?",
"@julien-c I'm not sure if that is possible, but perhaps this can even be derived from the model card? If a model card specifies Japanese, then the env could include the `[ja]` option.",
"If I'm not mistaken all models ... | 1,610 | 1,610 | 1,610 | COLLABORATOR | null | As brought up [on Twitter](https://twitter.com/polm23/status/1348520920948695043) by user pol23 @polm, Japanese (and other?) models do not work at all on the model page. They will throw an error `You need to install fugashi to use MecabTokenizer.See https://pypi.org/project/fugashi/ for installation.` Perhaps the envir... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9506/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/9506/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9505/comments | https://api.github.com/repos/huggingface/transformers/issues/9505/events | https://github.com/huggingface/transformers/pull/9505 | 783,157,029 | MDExOlB1bGxSZXF1ZXN0NTUyNTYyODAw | 9,505 | Fix cardinality | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"Thanks for fixing!"
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
Fix the cardinality computation in the TF Trainer.
Fix issue #9495 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9505/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9505",
"html_url": "https://github.com/huggingface/transformers/pull/9505",
"diff_url": "https://github.com/huggingface/transformers/pull/9505.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9505.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9504/comments | https://api.github.com/repos/huggingface/transformers/issues/9504/events | https://github.com/huggingface/transformers/pull/9504 | 783,150,819 | MDExOlB1bGxSZXF1ZXN0NTUyNTU3NTQy | 9,504 | Fix template | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
Fix the template as stated in https://github.com/huggingface/transformers/pull/9482#issuecomment-757496368
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9504/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9504",
"html_url": "https://github.com/huggingface/transformers/pull/9504",
"diff_url": "https://github.com/huggingface/transformers/pull/9504.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9504.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9503/comments | https://api.github.com/repos/huggingface/transformers/issues/9503/events | https://github.com/huggingface/transformers/issues/9503 | 783,133,593 | MDU6SXNzdWU3ODMxMzM1OTM= | 9,503 | torch.nn.modules.module.ModuleAttributeError: 'RecursiveScriptModule' object has no attribute 'resize_token_embeddings' | {
"login": "Mounika2405",
"id": 33863436,
"node_id": "MDQ6VXNlcjMzODYzNDM2",
"avatar_url": "https://avatars.githubusercontent.com/u/33863436?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Mounika2405",
"html_url": "https://github.com/Mounika2405",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)... | 1,610 | 1,624 | 1,619 | NONE | null | ## Environment info
- `transformers` version: 2.0.0 (tried with 4.1.1 as well)
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7(False)
- Tensorflow version (GPU?): 1.14.0(False)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
@LysandreJik @mfuntowicz
## Information
M... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9503/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9503/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9502/comments | https://api.github.com/repos/huggingface/transformers/issues/9502/events | https://github.com/huggingface/transformers/issues/9502 | 783,121,669 | MDU6SXNzdWU3ODMxMjE2Njk= | 9,502 | RoBERTa tokenizer does not add start and end token at the beginning and end of the sentence | {
"login": "ameet-1997",
"id": 18645407,
"node_id": "MDQ6VXNlcjE4NjQ1NDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/18645407?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ameet-1997",
"html_url": "https://github.com/ameet-1997",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"You are inspecting an input of the training datalaoder, which has been shuffled. Therefore you do not have the beginning of one of your original documents since by default, the script concatenates all your texts (after adding the special tokens at the beginning and the end) then splits the result in contiguous chu... | 1,610 | 1,610 | 1,610 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 4.2.0dev0
- Platform: Linux-3.10.0-1127.13.1.el7.x86_64-x86_64-with-redhat-7.8-Verona
- Python version: 3.6.1... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9502/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9501/comments | https://api.github.com/repos/huggingface/transformers/issues/9501/events | https://github.com/huggingface/transformers/issues/9501 | 783,079,518 | MDU6SXNzdWU3ODMwNzk1MTg= | 9,501 | Question About Attention Score Computation & Intuition | {
"login": "rezhv",
"id": 56566565,
"node_id": "MDQ6VXNlcjU2NTY2NTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/56566565?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rezhv",
"html_url": "https://github.com/rezhv",
"followers_url": "https://api.github.com/users/rezhv/follow... | [] | closed | false | null | [] | [
"HI @rezhv , that's a great question, I would suggest you ask such general questions on the forum https://discuss.huggingface.co/ and use issues to report bugs and to discuss new features :-)",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs... | 1,610 | 1,619 | 1,619 | NONE | null | When it comes to transformers, the Query and Key matrices are what determine the attention scores. Here is a nice visual taken from Jay [Alammar's blog post ](http://jalammar.github.io/illustrated-transformer/)on transformers that illustrates how attention scores are computed:
: No
- Tensorflow version (GPU?... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9498/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9497/comments | https://api.github.com/repos/huggingface/transformers/issues/9497/events | https://github.com/huggingface/transformers/pull/9497 | 782,831,707 | MDExOlB1bGxSZXF1ZXN0NTUyMjkzNDAy | 9,497 | [TFBart] Split TF-Bart | {
"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 | [] | [
"> Awesome work!! Just left few smalll comments. I think we should first find a proper fix #9478 and then merging this one. Switching on/off some tests everytime we touch a model is really not a long term solution, I think a proper template as to be stated first and then afterwards we do the models.\r\n\r\nIMO this... | 1,610 | 1,610 | 1,610 | MEMBER | null | # What does this PR do?
TF mirror of: #9343
- Exact same changes as in #9343
- Docs are improved
- TFBlenderbot gets a better integration tests
- tf_saved_model & tf_serving tests are disabled for now and should ideally be fixed in https://github.com/huggingface/transformers/pull/9478 after merging this one
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9497/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9497",
"html_url": "https://github.com/huggingface/transformers/pull/9497",
"diff_url": "https://github.com/huggingface/transformers/pull/9497.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9497.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9496/comments | https://api.github.com/repos/huggingface/transformers/issues/9496/events | https://github.com/huggingface/transformers/issues/9496 | 782,707,731 | MDU6SXNzdWU3ODI3MDc3MzE= | 9,496 | [make docs] please help make the validation process easier | {
"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": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | null | [] | [
"I am not aware of anything that could make life easier on this as I would have implemented it/documented it if I knew of it. Your solution of creating a project with just two files does not work, as it would then very likely be impossible to import the file in question and sphinx needs to do that.\r\n\r\nI'm not a... | 1,610 | 1,611 | 1,610 | CONTRIBUTOR | null | Writing serious documents in .rst is such a pain because the sphinx builder is terrible at times.
If all goes well I can incrementally run `make docs` and it rebuilds just the modified page which is relatively quick, while it still re-runs highlighting on all pages (not needed for the doc I'm working on)
But if ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9496/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9495/comments | https://api.github.com/repos/huggingface/transformers/issues/9495/events | https://github.com/huggingface/transformers/issues/9495 | 782,671,748 | MDU6SXNzdWU3ODI2NzE3NDg= | 9,495 | tf trainer dataset cardinality issue - potentially a bug | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"I can confirm! Good catch!",
"I resume the work on creating `test_trainer_tf.py`, I promise I will finish it this time. After that, it might be easier to catch the errors in `tf_trainer.py`.",
"I take care of this!",
"OK, @jplu . Thank you for letting me know about it (I did some check and didn't found it on... | 1,610 | 1,696 | 1,610 | COLLABORATOR | null | In `trainer_tf.py`, line 138, we have
self.num_train_examples = self.train_dataset.cardinality(self.train_dataset).numpy()
in the method
def get_train_tfdataset(self) -> tf.data.Dataset:
However, in the official tf documenation [cardinality](https://www.tensorflow.org/api_docs/python/tf/data/Datase... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9495/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9494/comments | https://api.github.com/repos/huggingface/transformers/issues/9494/events | https://github.com/huggingface/transformers/pull/9494 | 782,592,456 | MDExOlB1bGxSZXF1ZXN0NTUyMTIwMTA0 | 9,494 | New Updated DistilGPT-2 Finetuning and Generation | {
"login": "tripathiaakash",
"id": 15000270,
"node_id": "MDQ6VXNlcjE1MDAwMjcw",
"avatar_url": "https://avatars.githubusercontent.com/u/15000270?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tripathiaakash",
"html_url": "https://github.com/tripathiaakash",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"Failing Test is fixed on master I believe"
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/pull/3177
# 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9494/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9494",
"html_url": "https://github.com/huggingface/transformers/pull/9494",
"diff_url": "https://github.com/huggingface/transformers/pull/9494.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9494.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9493/comments | https://api.github.com/repos/huggingface/transformers/issues/9493/events | https://github.com/huggingface/transformers/pull/9493 | 782,552,980 | MDExOlB1bGxSZXF1ZXN0NTUyMDg5MTM3 | 9,493 | Added a new DistilGPT2 fine-tuning and generation Tutorial | {
"login": "tripathiaakash",
"id": 15000270,
"node_id": "MDQ6VXNlcjE1MDAwMjcw",
"avatar_url": "https://avatars.githubusercontent.com/u/15000270?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tripathiaakash",
"html_url": "https://github.com/tripathiaakash",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"The tutorial has issues due old code. Will make another pull request with new code."
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | https://github.com/huggingface/transformers/pull/3177
# 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 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9493/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9493",
"html_url": "https://github.com/huggingface/transformers/pull/9493",
"diff_url": "https://github.com/huggingface/transformers/pull/9493.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9493.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9492/comments | https://api.github.com/repos/huggingface/transformers/issues/9492/events | https://github.com/huggingface/transformers/issues/9492 | 782,531,465 | MDU6SXNzdWU3ODI1MzE0NjU= | 9,492 | Problems with using LongFormer | {
"login": "joy20182018",
"id": 37768264,
"node_id": "MDQ6VXNlcjM3NzY4MjY0",
"avatar_url": "https://avatars.githubusercontent.com/u/37768264?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/joy20182018",
"html_url": "https://github.com/joy20182018",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hey @joy20182018,\r\n\r\nWe cannot guarantee that our library is in sync with other libraries like `https://github.com/allenai/longformer`. Please make sure you follow the advice as written on: https://huggingface.co/transformers/model_doc/longformer.html",
"This issue has been automatically marked as stale beca... | 1,610 | 1,619 | 1,619 | NONE | null | I am according to the official longformer lot (https://github.com/allenai/longformer) provides methods to use, I use in the code of parts as follows:
`
tokenizer_class = BertTokenizer
model_class = LongformerModel
# directory is fine
pretrained_weights = self.pretr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9492/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 1,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9492/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9491/comments | https://api.github.com/repos/huggingface/transformers/issues/9491/events | https://github.com/huggingface/transformers/pull/9491 | 782,451,225 | MDExOlB1bGxSZXF1ZXN0NTUyMDA1ODA4 | 9,491 | [trainer] round numbers in trainer state | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | This PR rounds very long fractions in trainer state e.g.,
```
{'loss': 14.846837043762207, 'learning_rate': 6e-06, 'epoch': 0.3333333333333333}
```
to:
* epoch 2 decimals
* loss 4 decimals
resulting in:
```
{'loss': 14.8468, 'learning_rate': 6e-06, 'epoch': 0.33}
````
If you want any other small t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9491/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9491",
"html_url": "https://github.com/huggingface/transformers/pull/9491",
"diff_url": "https://github.com/huggingface/transformers/pull/9491.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9491.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9490/comments | https://api.github.com/repos/huggingface/transformers/issues/9490/events | https://github.com/huggingface/transformers/issues/9490 | 782,405,705 | MDU6SXNzdWU3ODI0MDU3MDU= | 9,490 | Using Huggingface library with DeepSpeed | {
"login": "exelents",
"id": 12846582,
"node_id": "MDQ6VXNlcjEyODQ2NTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/12846582?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/exelents",
"html_url": "https://github.com/exelents",
"followers_url": "https://api.github.com/users/exe... | [] | closed | false | null | [] | [
"There is an open PR by @patil-suraj for T5 FP16 https://github.com/huggingface/transformers/pull/9487\r\n\r\nAnd here is an open PR for deepspeed Integration by @stas00 https://github.com/huggingface/transformers/pull/9211",
"Thank you!",
"Moving my answers from https://github.com/huggingface/transformers/pul... | 1,610 | 1,610 | 1,610 | NONE | null | I'm not completely sure if it's this library problem, but maybe you could help.
Trying to run T5-large from huggingface's library with DeepSpeed library I got a strange result. When I change mode to fp16 training loss is going to be NaN value, as well as some of tensors in model's features output. I'm not sure, can it... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9490/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9489/comments | https://api.github.com/repos/huggingface/transformers/issues/9489/events | https://github.com/huggingface/transformers/pull/9489 | 782,342,741 | MDExOlB1bGxSZXF1ZXN0NTUxOTE1NzUy | 9,489 | fix(wandb): fix config | {
"login": "borisdayma",
"id": 715491,
"node_id": "MDQ6VXNlcjcxNTQ5MQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/715491?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisdayma",
"html_url": "https://github.com/borisdayma",
"followers_url": "https://api.github.com/users/b... | [] | closed | false | null | [] | [
"Failures in the tests are unrelated so merging."
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
Fix an issue introduced with PR #9441.
There was just 2 lines to switch related to wandb config detection.
<!--
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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9489/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9489",
"html_url": "https://github.com/huggingface/transformers/pull/9489",
"diff_url": "https://github.com/huggingface/transformers/pull/9489.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9489.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9488/comments | https://api.github.com/repos/huggingface/transformers/issues/9488/events | https://github.com/huggingface/transformers/pull/9488 | 782,341,367 | MDExOlB1bGxSZXF1ZXN0NTUxOTE0NjE0 | 9,488 | Make doc styler detect lists on rst and better support for Windows | {
"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,610 | 1,610 | 1,610 | COLLABORATOR | null | # What does this PR do?
The new lines for the lists in rst files were not actually added because I made a mistake, this PR fixes that. @patrickvonplaten it adds some new lines in the benchmarking files which I think are okay, but let me know if I should write some special code to get the scripts to ignore them.
A... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9488/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 2,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9488/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9488",
"html_url": "https://github.com/huggingface/transformers/pull/9488",
"diff_url": "https://github.com/huggingface/transformers/pull/9488.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9488.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9487/comments | https://api.github.com/repos/huggingface/transformers/issues/9487/events | https://github.com/huggingface/transformers/pull/9487 | 782,296,956 | MDExOlB1bGxSZXF1ZXN0NTUxODc3ODcz | 9,487 | [T5] enable T5 fp16 | {
"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 | [] | [
"This is great!",
"Dear @patil-suraj \r\nYour PR works well for t5 model, thank you for your work.\r\nBut now I tried new t5 model version released recently by Google: google/t5-v1_1-xl\r\nThe same code after loading google/t5-v1_1-xl instead of t5-3b is going to return a lot \"overflow\" errors.\r\n\r\nCan you t... | 1,610 | 1,610 | 1,610 | MEMBER | null | # What does this PR do?
This PR enables fp16 for T5 models, by clamping hidden states to the max value of the current data type.
As detailed in #9295, T5 produces large (`inf`) activations at 3 places
1. Output of `T5LayerFF`
2. Output of `T5LayerSelfAttention`
3. Output of `T5LayerCrossAttention`
To avoid ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9487/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/9487/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9487",
"html_url": "https://github.com/huggingface/transformers/pull/9487",
"diff_url": "https://github.com/huggingface/transformers/pull/9487.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9487.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9486/comments | https://api.github.com/repos/huggingface/transformers/issues/9486/events | https://github.com/huggingface/transformers/pull/9486 | 782,291,058 | MDExOlB1bGxSZXF1ZXN0NTUxODcyOTky | 9,486 | Update run_glue for do_predict with local test data (#9442) | {
"login": "forest1988",
"id": 2755894,
"node_id": "MDQ6VXNlcjI3NTU4OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/forest1988",
"html_url": "https://github.com/forest1988",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Error messages of the CircleCI are:\r\n\r\n```\r\n-- Docs: https://docs.pytest.org/en/stable/warnings.html\r\n=========================== short test summary info ============================\r\nFAILED tests/test_pipelines_conversational.py::SimpleConversationPipelineTests::test_history_cache\r\nFAILED tests/test_p... | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
Currently, run_glue.py cannot use the test set (`do_predict`) unless we give it a GLUE task name.
This PR will allow us to use the local test dataset.
As commented in #9442, I tried to achieve the functionality with only simple changes.
- It still works with only the local train and va... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9486/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9486",
"html_url": "https://github.com/huggingface/transformers/pull/9486",
"diff_url": "https://github.com/huggingface/transformers/pull/9486.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9486.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9485/comments | https://api.github.com/repos/huggingface/transformers/issues/9485/events | https://github.com/huggingface/transformers/issues/9485 | 782,269,141 | MDU6SXNzdWU3ODIyNjkxNDE= | 9,485 | ProphetNetNgramAttention: Number of attention heads | {
"login": "guillaume-be",
"id": 27071604,
"node_id": "MDQ6VXNlcjI3MDcxNjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillaume-be",
"html_url": "https://github.com/guillaume-be",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hey @guillaume-be,\r\n\r\nyou're 100% correct about both the naming: We should remove one `ProphetNet` and also about the config. Thanks a lot for reporting this. I'll open a PR "
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | ## Information
Model I am using (Bert, XLNet ...): ProphetNet
The ProphetNet Ngram attention layer seem to refer to a wrong number of heads. The `ProphetNetNgramProphetNetSelfAttention` (seems to be a typo by the way, maybe `ProphetNetNgramSelfAttention` would be more appropriate?) is part of the decoder, and the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9485/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/9485/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9484/comments | https://api.github.com/repos/huggingface/transformers/issues/9484/events | https://github.com/huggingface/transformers/pull/9484 | 782,230,397 | MDExOlB1bGxSZXF1ZXN0NTUxODIzNDAw | 9,484 | [Flax] Adapt Flax models to new structure | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"id": 2934977194,
"node_id": "MDU6TGFiZWwyOTM0OTc3MTk0",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Flax",
"name": "Flax",
"color": "4862AD",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Will wait until https://github.com/huggingface/transformers/pull/10775 is merged, then rebase and then merge.",
"@patrickvonplaten \r\n\r\nI like the new structure but it seems this PR broke the flax example: https://github.com/huggingface/transformers/blob/master/examples/language-modeling/run_mlm_flax.py\r\n\r... | 1,610 | 1,619 | 1,616 | 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/9484/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/9484/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9484",
"html_url": "https://github.com/huggingface/transformers/pull/9484",
"diff_url": "https://github.com/huggingface/transformers/pull/9484.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9484.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9483/comments | https://api.github.com/repos/huggingface/transformers/issues/9483/events | https://github.com/huggingface/transformers/pull/9483 | 782,137,360 | MDExOlB1bGxSZXF1ZXN0NTUxNzQ4NTM0 | 9,483 | Fixing tests. It seems master changed something in the warnings. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"I don't understand this: `\"60 started to trigger a new warning, saying that the input_ids length was longer than model max_length.\"`",
"Would be nice to find what triggered this to be sure we didn't introduce a bug no?",
"@patrickvonplaten I think we're good.\r\n\r\nIt's this commit 79bbcc5260c3acde3e7156966... | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
Trying to keep warning tests for now. Should be discarded if it becomes
too hard to maintain.
60 started to trigger a new warning, saying that the input_ids length was longer than model max_length.
I'm not really sure which commit triggered this, but it did not occur in the original PR
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9483/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9483",
"html_url": "https://github.com/huggingface/transformers/pull/9483",
"diff_url": "https://github.com/huggingface/transformers/pull/9483.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9483.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9482/comments | https://api.github.com/repos/huggingface/transformers/issues/9482/events | https://github.com/huggingface/transformers/pull/9482 | 782,114,003 | MDExOlB1bGxSZXF1ZXN0NTUxNzI5NDA0 | 9,482 | Reformat the TF serving outputs | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"Merged PR to unblock TF Bart - Split PR. However merge to master made tf templates test fail, see: https://github.com/huggingface/transformers/runs/1676878391 . @jplu, I think they need some updating."
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
This PR properly reformat the `serving_output` methods.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9482/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9482",
"html_url": "https://github.com/huggingface/transformers/pull/9482",
"diff_url": "https://github.com/huggingface/transformers/pull/9482.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9482.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9481/comments | https://api.github.com/repos/huggingface/transformers/issues/9481/events | https://github.com/huggingface/transformers/issues/9481 | 782,059,299 | MDU6SXNzdWU3ODIwNTkyOTk= | 9,481 | dataset not being sent to device when using Trainer (distributed) | {
"login": "KennethEnevoldsen",
"id": 23721977,
"node_id": "MDQ6VXNlcjIzNzIxOTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/23721977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KennethEnevoldsen",
"html_url": "https://github.com/KennethEnevoldsen",
"followers_url": "https... | [] | closed | false | null | [] | [
"The `model_parallel` argument has nothing to do with training in a parallel fashion (and is going to be deleted very soon since you're not the first user its name confuses). To use parallel training with:\r\n- PyTorch DataParallel, there is nothing to do, the Trainer does it automatically\r\n- PyTorch DistributedD... | 1,610 | 1,618 | 1,618 | 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.1.1
- Platform: Linux-4.15.0-99-generic-x86_64-with-glibc2.27
- Python version: 3.8.0
- PyTorch versi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9481/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9480/comments | https://api.github.com/repos/huggingface/transformers/issues/9480/events | https://github.com/huggingface/transformers/issues/9480 | 782,036,850 | MDU6SXNzdWU3ODIwMzY4NTA= | 9,480 | request for run_text_classification.py | {
"login": "max-yue",
"id": 13486398,
"node_id": "MDQ6VXNlcjEzNDg2Mzk4",
"avatar_url": "https://avatars.githubusercontent.com/u/13486398?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/max-yue",
"html_url": "https://github.com/max-yue",
"followers_url": "https://api.github.com/users/max-yu... | [] | closed | false | null | [] | [
"Hi! The `run_glue.py` script does what you're looking for.",
"> Hi! The `run_glue.py` script does what you're looking for.\r\n\r\nLet's say I have train.csv, dev.csv and test.csv, how can I do it without modify the code? Thank you for your patience.",
"Please use the [forums](https://discuss.huggingface.co/) f... | 1,610 | 1,619 | 1,619 | CONTRIBUTOR | null | # 🚀 Feature request
There is a run_tf_text_classification.py file under text_classification examples, but no run_text_classification.py.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9479/comments | https://api.github.com/repos/huggingface/transformers/issues/9479/events | https://github.com/huggingface/transformers/pull/9479 | 782,031,536 | MDExOlB1bGxSZXF1ZXN0NTUxNjYwOTQz | 9,479 | Makes HfArgumentParser compatible with Python 3.9 | {
"login": "Tpt",
"id": 458123,
"node_id": "MDQ6VXNlcjQ1ODEyMw==",
"avatar_url": "https://avatars.githubusercontent.com/u/458123?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Tpt",
"html_url": "https://github.com/Tpt",
"followers_url": "https://api.github.com/users/Tpt/followers",
"fol... | [] | closed | false | null | [] | [
"LGTM"
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | Python 3.9 changed the format of the string serialization of `typing.Optional`.
For example, `str(typing.Optional[str])` is `typing.Union[str, NoneType]` in python 3.8 and `typing.Optional[str]` in Python 3.9. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9479/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9479/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9479",
"html_url": "https://github.com/huggingface/transformers/pull/9479",
"diff_url": "https://github.com/huggingface/transformers/pull/9479.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9479.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9478/comments | https://api.github.com/repos/huggingface/transformers/issues/9478/events | https://github.com/huggingface/transformers/pull/9478 | 782,003,652 | MDExOlB1bGxSZXF1ZXN0NTUxNjM3OTI3 | 9,478 | Fix TF s2s models | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"@patrickvonplaten Should I remove the following hack in BART?\r\n```python\r\nif inputs[\"decoder_input_ids\"] is None and inputs[\"input_ids\"] is not None:\r\n inputs[\"decoder_input_ids\"] = shift_tokens_right(\r\n inputs[\"input_ids\"], self.config.pad_token_id, self.config.eos_token_... | 1,610 | 1,611 | 1,611 | CONTRIBUTOR | null | # What does this PR do?
This PR aims to fix the Seq2Seq models in order to make them able to be served through TF Serving. The problem is stated by @patrickvonplaten in #9313. The reason why it failed was because we use a model as a layer in the `TFXXXForConditionalGeneration` models. The tracing mechanism of Tenso... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9478/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9478",
"html_url": "https://github.com/huggingface/transformers/pull/9478",
"diff_url": "https://github.com/huggingface/transformers/pull/9478.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9478.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9477/comments | https://api.github.com/repos/huggingface/transformers/issues/9477/events | https://github.com/huggingface/transformers/pull/9477 | 781,965,851 | MDExOlB1bGxSZXF1ZXN0NTUxNjA2NTE3 | 9,477 | rename "gpu" --> "device" | {
"login": "yuchenlin",
"id": 10104354,
"node_id": "MDQ6VXNlcjEwMTA0MzU0",
"avatar_url": "https://avatars.githubusercontent.com/u/10104354?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuchenlin",
"html_url": "https://github.com/yuchenlin",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Could you run the code quality scripts for the code quality test? `make style && make quality`, after installing the latest code quality versions: `pip install -U .[quality]`",
"Looks like there is some styling issue. Could you run `make style` on your branch?",
"This issue has been automatically marked as sta... | 1,610 | 1,619 | 1,619 | CONTRIBUTOR | null | # What does this PR do?
Rename the arg names from "per_gpu" to "per_device" such that it aligns with the instruction in the readme https://github.com/huggingface/transformers/tree/master/examples/text-classification#xnli | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9477",
"html_url": "https://github.com/huggingface/transformers/pull/9477",
"diff_url": "https://github.com/huggingface/transformers/pull/9477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9477.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9476/comments | https://api.github.com/repos/huggingface/transformers/issues/9476/events | https://github.com/huggingface/transformers/pull/9476 | 781,956,922 | MDExOlB1bGxSZXF1ZXN0NTUxNTk5MTYy | 9,476 | Improve LayoutLM | {
"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 reviews, I've addressed all comments. There are 2 things remaining:\r\n\r\n- in the code examples, I use both `tokenize()` and `convert_tokens_to_ids` as the bounding boxes (which are at word-level) need to be converted to token-level. Is there a better solution?\r\n```\r\nwords = [\"Hello\", \"worl... | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
- [x] Improve documentation of `LayoutLM`, explaining how people can normalize bounding boxes before passing them to the model, add links to the various datasets on which the model achieves state-of-the-art results, add code examples in the documentation for the various models
- [x] Add note... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9476/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/9476/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9476",
"html_url": "https://github.com/huggingface/transformers/pull/9476",
"diff_url": "https://github.com/huggingface/transformers/pull/9476.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9476.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9475/comments | https://api.github.com/repos/huggingface/transformers/issues/9475/events | https://github.com/huggingface/transformers/issues/9475 | 781,798,899 | MDU6SXNzdWU3ODE3OTg4OTk= | 9,475 | [trainer] fractional epoch | {
"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 | {
"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... | [
"The fraction (and float) `'epoch': 0.3333333333333333` comes from here:\r\n\r\nhttps://github.com/huggingface/transformers/blob/1c19b423bf274a465f95725a79819bf82f71329e/src/transformers/trainer.py#L899\r\n\r\n@sgugger - is this by design \r\n\r\nor should it be `ceil`: `'epoch': 1`\r\n```\r\n se... | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | Running
```
export BS=20; rm -r output_dir; CUDA_VISIBLE_DEVICES=0,1 PYTHONPATH=../../src USE_TF=0 ./finetune_trainer.py --model_name_or_path t5-small --output_dir output_dir --adam_eps 1e-06 --data_dir wmt_en_ro --do_eval --do_predict --do_train --evaluation_strategy=steps --freeze_embeds --label_smoothing 0.1 --... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9475/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9474/comments | https://api.github.com/repos/huggingface/transformers/issues/9474/events | https://github.com/huggingface/transformers/pull/9474 | 781,628,510 | MDExOlB1bGxSZXF1ZXN0NTUxMzE4MDI5 | 9,474 | Fast imports part 3 | {
"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,610 | 1,610 | 1,610 | COLLABORATOR | null | # What does this PR do?
This is the last PR to make the import of transformers and defer the imports of torch/tensorflow to when is necessary. It does the same work as #9446 but in each itnermediate init, so that
```
from transformers import BertModel
```
only imports torch and not TensorFlow (ans is thus very f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9474/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9474",
"html_url": "https://github.com/huggingface/transformers/pull/9474",
"diff_url": "https://github.com/huggingface/transformers/pull/9474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9474.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9473/comments | https://api.github.com/repos/huggingface/transformers/issues/9473/events | https://github.com/huggingface/transformers/pull/9473 | 781,604,780 | MDExOlB1bGxSZXF1ZXN0NTUxMjk4NjMz | 9,473 | [Generation Tests] Small speed-up by just generating two tokens | {
"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 | [] | [
"Just noticed that generation tests are completely irrelevant for the overall testing time...no generation test takes more than 0.5 seconds and 95 % of the generation tests take less than 0.05 seconds"
] | 1,610 | 1,610 | 1,610 | 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/9473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9473/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9473",
"html_url": "https://github.com/huggingface/transformers/pull/9473",
"diff_url": "https://github.com/huggingface/transformers/pull/9473.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9473.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9472/comments | https://api.github.com/repos/huggingface/transformers/issues/9472/events | https://github.com/huggingface/transformers/pull/9472 | 781,554,964 | MDExOlB1bGxSZXF1ZXN0NTUxMjU3NzI3 | 9,472 | [Generation] Fix bug for manual decoder_input_ids + warning message | {
"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 | [] | [
"Also checked that slow tests are passing"
] | 1,610 | 1,610 | 1,610 | 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/9472/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 1,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9472",
"html_url": "https://github.com/huggingface/transformers/pull/9472",
"diff_url": "https://github.com/huggingface/transformers/pull/9472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9472.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9471/comments | https://api.github.com/repos/huggingface/transformers/issues/9471/events | https://github.com/huggingface/transformers/issues/9471 | 781,535,246 | MDU6SXNzdWU3ODE1MzUyNDY= | 9,471 | model.generate() has the same speed on CPU and GPU | {
"login": "tomdzh",
"id": 50083108,
"node_id": "MDQ6VXNlcjUwMDgzMTA4",
"avatar_url": "https://avatars.githubusercontent.com/u/50083108?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomdzh",
"html_url": "https://github.com/tomdzh",
"followers_url": "https://api.github.com/users/tomdzh/fo... | [] | closed | false | null | [] | [
"Just realize that I used a single input... Issued closed",
"Thanks, your post helped me so much!\r\nI'm using BloomModel on AWS Lambda Function but Lambda doesn't support GPU. \r\nSo I write the code like that:\r\ndevice = 'cpu'\r\n#topic variable is already given\r\nprompt = f' About {Topic} is what I think: '... | 1,610 | 1,663 | 1,610 | NONE | null | Hi, I find that model.generate() of BART and T5 has roughly the same running speed when running on CPU and GPU. Why doesn't GPU give faster speed? Thanks!
## Environment info
- `transformers` version: 4.1.1
- Python version: 3.6
- PyTorch version (GPU?): 1.3.1
- Using GPU in script?: yes
### Who can help
Te... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9471/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9470/comments | https://api.github.com/repos/huggingface/transformers/issues/9470/events | https://github.com/huggingface/transformers/issues/9470 | 781,526,953 | MDU6SXNzdWU3ODE1MjY5NTM= | 9,470 | max_target length for question answering system | {
"login": "Arij-Aladel",
"id": 68355048,
"node_id": "MDQ6VXNlcjY4MzU1MDQ4",
"avatar_url": "https://avatars.githubusercontent.com/u/68355048?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Arij-Aladel",
"html_url": "https://github.com/Arij-Aladel",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"This doesn't seem to be related to your length, but rather to this:\r\n\r\n```py\r\ndata['labels'].squeeze(): 60\r\n---------------------------------------------------------------------------\r\nIndexError Traceback (most recent call last)\r\n<ipython-input-12-33cc96af719d> in <modu... | 1,610 | 1,610 | 1,610 | NONE | null | Please could you tell the max target length for question answering systems?
I was trying and it does not work if the target length is more than 47
this is the [notebook](https://colab.research.google.com/drive/1JzsuPb68L-G4nsMXu57XkwbmzAVrizSS?usp=sharing) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9470/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9469/comments | https://api.github.com/repos/huggingface/transformers/issues/9469/events | https://github.com/huggingface/transformers/issues/9469 | 781,511,910 | MDU6SXNzdWU3ODE1MTE5MTA= | 9,469 | Cannot Evaluate While Training Using the Trainer | {
"login": "AliOskooeiTR",
"id": 60223746,
"node_id": "MDQ6VXNlcjYwMjIzNzQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/60223746?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AliOskooeiTR",
"html_url": "https://github.com/AliOskooeiTR",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi there, I would like to help you, but the code you are providing is not runable on my side (MLMTrainer, MLMArguments, train_dataset, eval_dataset and rt_model for instance are not defined). Could you please post a complete and short reproducer of the bug?"
] | 1,610 | 1,610 | 1,610 | NONE | null | @sgugger
## Environment info
- `transformers` version: 4.0.0
- Platform: AWS Amazon Linux
- Python version: 3.6.10
- PyTorch version (GPU?): 1.5.1
- Tensorflow version (GPU?): N/A
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
## Information
Model I am using (B... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9469/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9468/comments | https://api.github.com/repos/huggingface/transformers/issues/9468/events | https://github.com/huggingface/transformers/issues/9468 | 781,502,993 | MDU6SXNzdWU3ODE1MDI5OTM= | 9,468 | Have RAG return generator cross-attentions when output_attentions=True | {
"login": "dblakely",
"id": 20539855,
"node_id": "MDQ6VXNlcjIwNTM5ODU1",
"avatar_url": "https://avatars.githubusercontent.com/u/20539855?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dblakely",
"html_url": "https://github.com/dblakely",
"followers_url": "https://api.github.com/users/dbl... | [] | closed | false | null | [] | [
"@patrickvonplaten, @lhoestq Any feedback on this? ",
"Feel free to open a PR indeed :) \r\nWhat do you think @patrickvonplaten ? I guess it can be part of the RetrievAugLMMarginOutput attributes.",
"Hey @dblakely,\r\n\r\nIt would be great if you could open a PR. Both Bart and T5 already return the `cross_atten... | 1,610 | 1,611 | 1,611 | CONTRIBUTOR | null | # 🚀 Have RAG return generator cross-attentions when output_attentions=True
This feature request is for the RAG code to be modified so that if `output_attentions=True`, it returns the generator's cross-attentions in addition to the attentions it already returns.
## Motivation
I'm interested in extracting the g... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9468/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9467/comments | https://api.github.com/repos/huggingface/transformers/issues/9467/events | https://github.com/huggingface/transformers/issues/9467 | 781,466,458 | MDU6SXNzdWU3ODE0NjY0NTg= | 9,467 | Unable to train sequence classification task using TFTrainer | {
"login": "parambharat",
"id": 12809212,
"node_id": "MDQ6VXNlcjEyODA5MjEy",
"avatar_url": "https://avatars.githubusercontent.com/u/12809212?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/parambharat",
"html_url": "https://github.com/parambharat",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Hello!\r\n\r\nThis is because you do not instantiate your model in the created strategy. You already have an example on how to train such models in the [repo](https://github.com/huggingface/transformers/tree/master/examples/text-classification)",
"Hi @jplu,\r\nAre you referring to this: https://github.com/huggin... | 1,610 | 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.1.1
- Platform: Linux-4.15.0-123-generic-x86_64-with-debian-buster-sid
- Python version: 3.7.9
- PyTo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9467/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9467/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9466/comments | https://api.github.com/repos/huggingface/transformers/issues/9466/events | https://github.com/huggingface/transformers/issues/9466 | 781,462,102 | MDU6SXNzdWU3ODE0NjIxMDI= | 9,466 | RuntimeError when running Reformer model | {
"login": "albusdemens",
"id": 276459,
"node_id": "MDQ6VXNlcjI3NjQ1OQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/276459?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/albusdemens",
"html_url": "https://github.com/albusdemens",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"Hey @albusdemens, could you maybe update your transformers version to 4.0.0?",
"Thanks @patrickvonplaten, that fixed the issue! "
] | 1,610 | 1,610 | 1,610 | NONE | null | ## Environment info
- `transformers` version: 2.10.0
- Platform: Linux-5.4.0-1034-aws-x86_64-with-debian-buster-sid
- Python version: 3.6.9
- PyTorch version (GPU?): 1.6.0+cu101 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: yes
- Using distributed or parallel set-up in scr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9466/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9465/comments | https://api.github.com/repos/huggingface/transformers/issues/9465/events | https://github.com/huggingface/transformers/pull/9465 | 781,422,721 | MDExOlB1bGxSZXF1ZXN0NTUxMTQ4OTM4 | 9,465 | [README] Add new 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 | [] | [] | 1,610 | 1,610 | 1,610 | 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/9465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9465/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9465",
"html_url": "https://github.com/huggingface/transformers/pull/9465",
"diff_url": "https://github.com/huggingface/transformers/pull/9465.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9465.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9464/comments | https://api.github.com/repos/huggingface/transformers/issues/9464/events | https://github.com/huggingface/transformers/issues/9464 | 781,388,851 | MDU6SXNzdWU3ODEzODg4NTE= | 9,464 | UnboundLocalError when generating sequences | {
"login": "miguelvictor",
"id": 6831138,
"node_id": "MDQ6VXNlcjY4MzExMzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6831138?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/miguelvictor",
"html_url": "https://github.com/miguelvictor",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Hey @miguelvictor, the problem is that `max_length` is set to a value that is too small. You need to increase either,\r\n\r\n```model.config.max_length``` or pass a `max_length` parameter to `generate()` that is longer than your input_ids.",
"Ohh... my bad. Thank you!"
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.2.0dev0
- Platform: macOS-11.1-x86_64-i386-64bit
- Python version: 3.8.7
- PyTorch version (GPU?): 1.7.1 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: no
- Using distributed or parallel set-up in script?: no
### Who can help
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9464/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9463/comments | https://api.github.com/repos/huggingface/transformers/issues/9463/events | https://github.com/huggingface/transformers/issues/9463 | 781,353,135 | MDU6SXNzdWU3ODEzNTMxMzU= | 9,463 | FileNotFoundError when instantiating RagRetriever | {
"login": "poccio",
"id": 3777650,
"node_id": "MDQ6VXNlcjM3Nzc2NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3777650?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/poccio",
"html_url": "https://github.com/poccio",
"followers_url": "https://api.github.com/users/poccio/foll... | [] | closed | false | {
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.github.com/users/lhoest... | [
{
"login": "lhoestq",
"id": 42851186,
"node_id": "MDQ6VXNlcjQyODUxMTg2",
"avatar_url": "https://avatars.githubusercontent.com/u/42851186?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lhoestq",
"html_url": "https://github.com/lhoestq",
"followers_url": "https://api.git... | [
"Hi ! Thanks for reporting\r\nCan you try again ? I fixed the missing file",
"Thanks a lot! I'll try right away (with my internet speed, it should take ~1h30)",
"Yup, I can confirm now the issue is resolved. Thanks a lot! Shall I close the issue?",
"Hey @poccio,\r\n\r\nusually, always feel free to close issue... | 1,610 | 1,610 | 1,610 | 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.1.1
- Platform: Linux-5.4.0-58-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.7.9
- PyTo... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9463/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9462/comments | https://api.github.com/repos/huggingface/transformers/issues/9462/events | https://github.com/huggingface/transformers/pull/9462 | 781,331,387 | MDExOlB1bGxSZXF1ZXN0NTUxMDczNzIy | 9,462 | Fix scatter import | {
"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,610 | 1,610 | 1,610 | MEMBER | null | Scatter is wrongly spelled | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9462/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9462",
"html_url": "https://github.com/huggingface/transformers/pull/9462",
"diff_url": "https://github.com/huggingface/transformers/pull/9462.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9462.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9461/comments | https://api.github.com/repos/huggingface/transformers/issues/9461/events | https://github.com/huggingface/transformers/issues/9461 | 781,254,275 | MDU6SXNzdWU3ODEyNTQyNzU= | 9,461 | Error while loading finetuned distilbert model: embedding dimension mismatch | {
"login": "rohanshingade",
"id": 18469762,
"node_id": "MDQ6VXNlcjE4NDY5NzYy",
"avatar_url": "https://avatars.githubusercontent.com/u/18469762?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rohanshingade",
"html_url": "https://github.com/rohanshingade",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hello!\r\n\r\nFirst of all, can you try with the source version in order to see if the problem still occurs.",
"Hello @jplu ,\r\nJust running these 4 lines throws error. \r\n\r\n```\r\nmodel = TFDistilBertForSequenceClassification.from_pretrained(\"distilbert-base-multilingual-cased\")\r\nmodel.layers[0].embeddi... | 1,610 | 1,625 | 1,610 | 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: 3.3.1
- Python version: 3.6.9
- Tensorflow version (GPU?): 2.3.0
- Using GPU in script?: Yes
- Using d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9461/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9460/comments | https://api.github.com/repos/huggingface/transformers/issues/9460/events | https://github.com/huggingface/transformers/pull/9460 | 781,248,338 | MDExOlB1bGxSZXF1ZXN0NTUxMDA0NTM5 | 9,460 | [TFGPT2] - Fix flaky past_key_values test | {
"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,610 | 1,610 | 1,610 | 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/9460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9460/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9460",
"html_url": "https://github.com/huggingface/transformers/pull/9460",
"diff_url": "https://github.com/huggingface/transformers/pull/9460.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9460.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9459/comments | https://api.github.com/repos/huggingface/transformers/issues/9459/events | https://github.com/huggingface/transformers/pull/9459 | 781,229,015 | MDExOlB1bGxSZXF1ZXN0NTUwOTg4Mzg1 | 9,459 | [LED Test] fix common inputs pt for flaky pt-tf led test | {
"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 | [] | [
"@LysandreJik @sgugger - should fix flaky TFLED test.",
"Thanks!"
] | 1,610 | 1,610 | 1,610 | 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/9459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9459/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9459",
"html_url": "https://github.com/huggingface/transformers/pull/9459",
"diff_url": "https://github.com/huggingface/transformers/pull/9459.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9459.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9458/comments | https://api.github.com/repos/huggingface/transformers/issues/9458/events | https://github.com/huggingface/transformers/issues/9458 | 781,229,005 | MDU6SXNzdWU3ODEyMjkwMDU= | 9,458 | Closed | {
"login": "cyk1337",
"id": 13767887,
"node_id": "MDQ6VXNlcjEzNzY3ODg3",
"avatar_url": "https://avatars.githubusercontent.com/u/13767887?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyk1337",
"html_url": "https://github.com/cyk1337",
"followers_url": "https://api.github.com/users/cyk133... | [] | closed | false | null | [] | [] | 1,610 | 1,610 | 1,610 | NONE | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9458/timeline | completed | null | null | |
https://api.github.com/repos/huggingface/transformers/issues/9457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9457/comments | https://api.github.com/repos/huggingface/transformers/issues/9457/events | https://github.com/huggingface/transformers/issues/9457 | 781,212,580 | MDU6SXNzdWU3ODEyMTI1ODA= | 9,457 | [Blenderbot] Model yields weird results | {
"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 | [] | [
"Yes, I'm actually investigating this, also see #9365",
"Any new insights into this issue? ",
"Yes, most of the work was done here:\r\n\r\nhttps://github.com/huggingface/transformers/pull/10002\r\nand\r\nhttps://github.com/huggingface/transformers/pull/9984\r\n\r\nIt was mostly linked to something which was not... | 1,610 | 1,620 | 1,620 | MEMBER | null | As discussed with @Narsil offline, Blenderbot seems to yield weird generation results. I think we have to dive deeper into the original `Parlai` lib and make sure that there is no flaw in the model or generate function.
Also on my Todo list.
Also pinging @patil-suraj and @Narsil for notice. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9457/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9456/comments | https://api.github.com/repos/huggingface/transformers/issues/9456/events | https://github.com/huggingface/transformers/issues/9456 | 781,203,207 | MDU6SXNzdWU3ODEyMDMyMDc= | 9,456 | [EncoderDecoder] Make sure `use_cache` is set to `True` for all Bert2Bert, Roberta2Roberta by default | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"@patrickvonplaten \r\n\r\nCan we instead set `use_cache` to `True` by default in `generate`? That way we won't need to rely on `config` \r\n\r\nRight now, the `generate` [docstring](https://github.com/huggingface/transformers/blob/master/src/transformers/generation_utils.py#L689) says that it defaults to `True`, b... | 1,610 | 1,610 | 1,610 | MEMBER | null | At the moment when one loads a Bert2Bert:
```python
model = EncoderDecoderModel.from_encoder_decoder_pretrained("bert-base-cased", "bert-base-cased")
```
does not automatically set `use_cache` to True -> so that the user "silently" has to be fine with a much slower than optimal inference speed. Also all Bert2Be... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9456/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9455/comments | https://api.github.com/repos/huggingface/transformers/issues/9455/events | https://github.com/huggingface/transformers/issues/9455 | 781,160,262 | MDU6SXNzdWU3ODExNjAyNjI= | 9,455 | Rename `nlp` variables into more appropriate names | {
"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... | [
{
"id": 1990918270,
"node_id": "MDU6TGFiZWwxOTkwOTE4Mjcw",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Good%20First%20Issue",
"name": "Good First Issue",
"color": "bbf794",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Thanks for creating the issue! Here are examples of what good names are in my humble opinion:\r\n```\r\nclassifier = pipeline(\"sentiment-analysis\")\r\nunmasker = pipeline(\"fill-mask\")\r\ntext_generator = pipeline(\"text-generation\")\r\n```\r\nIn short, something that describes the task it achieves.",
"Hi gu... | 1,610 | 1,621 | 1,621 | CONTRIBUTOR | null | # 🚀 Feature request
In `pipelines` tests and documentation they are recurringly named `nlp`, the goal is to rename them to something more appropriate.
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
## Motivation
```p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9455/reactions",
"total_count": 3,
"+1": 3,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9455/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9454/comments | https://api.github.com/repos/huggingface/transformers/issues/9454/events | https://github.com/huggingface/transformers/pull/9454 | 781,158,716 | MDExOlB1bGxSZXF1ZXN0NTUwOTI5OTYy | 9,454 | [Docs] Improve model sharing doc | {
"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 | [] | [
"LGTM! Thanks for fixing"
] | 1,610 | 1,610 | 1,610 | 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/9454/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9454/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9454",
"html_url": "https://github.com/huggingface/transformers/pull/9454",
"diff_url": "https://github.com/huggingface/transformers/pull/9454.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9454.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9453/comments | https://api.github.com/repos/huggingface/transformers/issues/9453/events | https://github.com/huggingface/transformers/pull/9453 | 781,155,931 | MDExOlB1bGxSZXF1ZXN0NTUwOTI3NjY0 | 9,453 | Prophetnet optimization | {
"login": "guillaume-be",
"id": 27071604,
"node_id": "MDQ6VXNlcjI3MDcxNjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/27071604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/guillaume-be",
"html_url": "https://github.com/guillaume-be",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"All slow tests are passing! Very nice PR - thanks a mille @guillaume-be "
] | 1,610 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
This PR proposes an optimization for the ProphetNet model. The current implementation calculates an attention bias mask by looping through the position to unmask. It performs a high number of assignments (`ngram` * `sequence_length`) which can be in the order of ~1000. Single tensor assignmen... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9453/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/9453/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9453",
"html_url": "https://github.com/huggingface/transformers/pull/9453",
"diff_url": "https://github.com/huggingface/transformers/pull/9453.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9453.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9452/comments | https://api.github.com/repos/huggingface/transformers/issues/9452/events | https://github.com/huggingface/transformers/issues/9452 | 781,109,289 | MDU6SXNzdWU3ODExMDkyODk= | 9,452 | Error when running run_clm.py on Python3.9/MacOS | {
"login": "liyucheng09",
"id": 27999909,
"node_id": "MDQ6VXNlcjI3OTk5OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/27999909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/liyucheng09",
"html_url": "https://github.com/liyucheng09",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"It seems quite cryptic, but maybe @sgugger has already been confronted to that issue, so pinging him here.",
"Never seen this before. There is some code in the HFArgumentParser to make it work with Python 3.9 that was added by @julien-c so maybe he has more insight?",
"I want to provide more valuable informati... | 1,610 | 1,610 | 1,610 | 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.1.1
- Platform: macOS-11.0-arm64-arm-64bit
- Python version: 3.9.1
- PyTorch version (GPU?): 1.8.0a0+... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9452/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9451/comments | https://api.github.com/repos/huggingface/transformers/issues/9451/events | https://github.com/huggingface/transformers/pull/9451 | 781,028,791 | MDExOlB1bGxSZXF1ZXN0NTUwODIxODg3 | 9,451 | [trainer] remove `--model_parallel` | {
"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 | [] | [
"Thanks for putting it back. Since we're in a PR on this test alone, can we \"fix\" it to ignore the `args.model_parallel` argument? This argument will be removed/renamed (I'd prefer the first option as it's not useful) since peoples are confusing it with something that will enable `DataParallel`. The test can be r... | 1,609 | 1,610 | 1,610 | CONTRIBUTOR | null | Per @sgugger's request removing `--model_parallel` in trainer, as it was never tested or made to work with the trainer.
We will get back to it in the future.
This PR doesn't introduce breaking changes, since `--model_parallel` never worked (well other than in my MP PRs that have been parked for now, since they a... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9451/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9451",
"html_url": "https://github.com/huggingface/transformers/pull/9451",
"diff_url": "https://github.com/huggingface/transformers/pull/9451.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9451.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9450/comments | https://api.github.com/repos/huggingface/transformers/issues/9450/events | https://github.com/huggingface/transformers/issues/9450 | 781,010,285 | MDU6SXNzdWU3ODEwMTAyODU= | 9,450 | Some layers of pretrained Albert model albert-base-v2 didn't match the architecture of AlbertForMaskedLM in latest transfomers 4.1.1. | {
"login": "BlueHeart0621",
"id": 42397957,
"node_id": "MDQ6VXNlcjQyMzk3OTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/42397957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/BlueHeart0621",
"html_url": "https://github.com/BlueHeart0621",
"followers_url": "https://api.githu... | [] | closed | false | null | [] | [
"Hello! When you speak of `unmatched layers`, do you mean the dropout layers? These layers have no weights.\r\n\r\nFurthermore, when setting the verbosity level to `INFO` and loading the `albert-base-v2` weights in current `master`'s `AlbertForMaskedLM`:\r\n\r\n```py\r\n>>> from transformers import AlbertForMaskedL... | 1,609 | 1,610 | 1,610 | NONE | null | albert: @LysandreJik
## Information
Model I am using is Albert:
The problem arises when using:
* [x] my own modified scripts: (give details below)
When I load pretrained albert-base-v2 model, I find some of the medata of the model.state_dict can not match the latest AlbertForMaskedLM model of transformers.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9450/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9449 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9449/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9449/comments | https://api.github.com/repos/huggingface/transformers/issues/9449/events | https://github.com/huggingface/transformers/pull/9449 | 781,006,611 | MDExOlB1bGxSZXF1ZXN0NTUwODAzNjI5 | 9,449 | [make fixup] a more reliable version of branching point discovery | {
"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 | [] | [
"> why --fork-point doesn't work with the GitHub CLI\r\n\r\nI wasn't able to figure out what exactly those 2 tools do differently, but yes, `--fork-point` only works when specific conditions are met in the reflog, and it fails when some entries (the sha we are after) missing from it. I suppose `gh and` `git-pr` fet... | 1,609 | 1,610 | 1,610 | CONTRIBUTOR | null | This PR replaces:
```
git merge-base --fork-point master
```
with:
```
git merge-base master HEAD
```
in `utils/get_modified_files.py` (which is used by `make fixup`)
As I reported in https://github.com/huggingface/transformers/issues/9425 the former method sometimes doesn't work when used with `gh pr checko... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9449/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9449",
"html_url": "https://github.com/huggingface/transformers/pull/9449",
"diff_url": "https://github.com/huggingface/transformers/pull/9449.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9449.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9448 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9448/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9448/comments | https://api.github.com/repos/huggingface/transformers/issues/9448/events | https://github.com/huggingface/transformers/issues/9448 | 781,004,861 | MDU6SXNzdWU3ODEwMDQ4NjE= | 9,448 | Cannot use TransfoXLLMHeadModel with Trainer class because it returns a non scalar loss | {
"login": "gstranger",
"id": 36181416,
"node_id": "MDQ6VXNlcjM2MTgxNDE2",
"avatar_url": "https://avatars.githubusercontent.com/u/36181416?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gstranger",
"html_url": "https://github.com/gstranger",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"According to the error here, this seems to be because the ouptut of the `TransfoXLLMHeadModel` is not a scalar output. Taking a look at this model's loss output, named `losses`, it is an array of size `[bsz, tgt_len - 1]`.\r\n\r\nMaybe @TevenLeScao or @sgugger can chime in here at what the best procedure would be ... | 1,609 | 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: 3.5.1
- Platform: Linux-4.15.0-72-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyT... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9448/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9447/comments | https://api.github.com/repos/huggingface/transformers/issues/9447/events | https://github.com/huggingface/transformers/issues/9447 | 780,988,538 | MDU6SXNzdWU3ODA5ODg1Mzg= | 9,447 | urgent please help on memory issue during save | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [
"Hi @juliahane \r\n\r\nIt would be hard to answer without knowing the details \r\nCould you post the command that you are using, env info, which T5 model, training details etc ?",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be address... | 1,609 | 1,619 | 1,619 | NONE | null | Hi
I am getting very large memory usage during saving model/evaluation of T5, resulting in job kill, this is very urgent as I lose access to train the models please help
thanks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9447/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9446/comments | https://api.github.com/repos/huggingface/transformers/issues/9446/events | https://github.com/huggingface/transformers/pull/9446 | 780,887,632 | MDExOlB1bGxSZXF1ZXN0NTUwNzA1ODI3 | 9,446 | Transformers fast import part 2 | {
"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 | [] | [
"Just followed a bug back to this PR, wanted to send a message here since it seemed relevant to ping @sgugger \r\n\r\nThe check for version in file_utils.py:\r\n`if version.parse(sys.version) < version.parse(\"3.8\"):` doesn't seem to be reliable for me (or on multiple machines and images I have)\r\n\r\nSpecificall... | 1,609 | 1,610 | 1,610 | COLLABORATOR | null | # What does this PR do?
This is the second test to allow a fast import of transformers by deferring the imports of dependencies when they are actually needed (almost but not quite, see below). It results in the line `import transformers` running in 239ms instead of 2.3s, so quite a nice speedup.
To do this, the m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9446/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/9446/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9446",
"html_url": "https://github.com/huggingface/transformers/pull/9446",
"diff_url": "https://github.com/huggingface/transformers/pull/9446.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9446.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9445/comments | https://api.github.com/repos/huggingface/transformers/issues/9445/events | https://github.com/huggingface/transformers/issues/9445 | 780,782,192 | MDU6SXNzdWU3ODA3ODIxOTI= | 9,445 | Loading fine-tuned models | {
"login": "chughe22",
"id": 56651184,
"node_id": "MDQ6VXNlcjU2NjUxMTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/56651184?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chughe22",
"html_url": "https://github.com/chughe22",
"followers_url": "https://api.github.com/users/chu... | [] | closed | false | null | [] | [
"Hello, could you please provide all the information requested in the issue template? The environment is important, so is your code.\r\n\r\nWhich update did you do? To v4.1.1? From which version?\r\n\r\nThank you.",
"Working in Google Colab, so the second to most recent version and then the most recent version. \... | 1,609 | 1,658 | 1,619 | NONE | null | Since the transformers update, I am unable to load a newly trained model.
OSError: Unable to load weights from pytorch checkpoint file for './model_source_450_v2' at './model_source_450_v2/pytorch_model.bin'If you tried to load a PyTorch model from a TF 2.0 checkpoint, please set from_tf=True.
Have tried to set ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9445/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9444/comments | https://api.github.com/repos/huggingface/transformers/issues/9444/events | https://github.com/huggingface/transformers/pull/9444 | 780,772,906 | MDExOlB1bGxSZXF1ZXN0NTUwNjExNzYy | 9,444 | Fix init | {
"login": "patelrajnath",
"id": 9987110,
"node_id": "MDQ6VXNlcjk5ODcxMTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9987110?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patelrajnath",
"html_url": "https://github.com/patelrajnath",
"followers_url": "https://api.github.com... | [] | closed | false | null | [] | [
"Yes, let's wait for #9446 to be merged please :-)",
"@LysandreJik yes, I'm not sure regarding the CI errors, as I'm not that much into it. I ran the tests in Pycharm, they passed. Can we check the Logs if we could find some clue there?\r\n",
"This issue has been automatically marked as stale because it has not... | 1,609 | 1,619 | 1,619 | NONE | null | # What does this PR do?
"RobertaPreTrainedModel" is missing in models' __init__.py. It is needed, in case we need to create a subclass of the same like "RobertaForTokenClassification".
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9444/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9444",
"html_url": "https://github.com/huggingface/transformers/pull/9444",
"diff_url": "https://github.com/huggingface/transformers/pull/9444.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9444.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/9443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9443/comments | https://api.github.com/repos/huggingface/transformers/issues/9443/events | https://github.com/huggingface/transformers/pull/9443 | 780,723,845 | MDExOlB1bGxSZXF1ZXN0NTUwNTcxMzk4 | 9,443 | [GenerationOutputs] Fix GenerationOutputs Tests | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"This PR actually made me correct 2 bugs additionally:\r\n\r\n1) past_key_values for BertForCausalLM\r\n2) T5 should not return T5 cross attentions if just encoder model -> make sure encoder model has never `config.is_decoder=True`"
] | 1,609 | 1,609 | 1,609 | 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/9443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9443/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9443",
"html_url": "https://github.com/huggingface/transformers/pull/9443",
"diff_url": "https://github.com/huggingface/transformers/pull/9443.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9443.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9442/comments | https://api.github.com/repos/huggingface/transformers/issues/9442/events | https://github.com/huggingface/transformers/issues/9442 | 780,675,066 | MDU6SXNzdWU3ODA2NzUwNjY= | 9,442 | [examples/text-classification] `do_predict` for the test set of local datasets | {
"login": "forest1988",
"id": 2755894,
"node_id": "MDQ6VXNlcjI3NTU4OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/forest1988",
"html_url": "https://github.com/forest1988",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"As long as it's kept simple (we want short and focused example scripts, so that they are easy to understand and tweak), I don't mind adding this feature. Feel free to open a PR with your suggestions!",
"Thanks, I'll try a modification as simple as possible, and if it can fix this issue without making the example... | 1,609 | 1,610 | 1,610 | CONTRIBUTOR | null | # 🚀 Feature request
It seems that `run_glue.py` has the train set and the validation set management for local CSV/JSON files, but it doesn't have args for managing the test set of the local datasets.
https://github.com/huggingface/transformers/blob/7a9f1b5c99e9a5d1772649d029acdf5160419239/examples/text-classific... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9442/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9441/comments | https://api.github.com/repos/huggingface/transformers/issues/9441/events | https://github.com/huggingface/transformers/pull/9441 | 780,658,926 | MDExOlB1bGxSZXF1ZXN0NTUwNTE3NDU3 | 9,441 | Fast transformers import part 1 | {
"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 | [] | [
"PR looks very clean! I'm no real import expert, so I'll leave it up to @LysandreJik and @sgugger :-) But I'm very much welcoming this change. I think it's even cleaner that the libraries are no public attributes even more",
"re-based this into the deepspeed branch, and all was good until I tried:\r\n```\r\nfrom... | 1,609 | 1,640 | 1,609 | COLLABORATOR | null | # What does this PR do?
This PR is the first step for a fast `import transformers`. It changes all the test for `is_xxx_available` to avoid importing `xxx` and makes sure all integrations are only imported when needed (apart from comet ml which needs to be imported first).
The second test will be a bit more compl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9441/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 1,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9441/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9441",
"html_url": "https://github.com/huggingface/transformers/pull/9441",
"diff_url": "https://github.com/huggingface/transformers/pull/9441.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9441.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9440/comments | https://api.github.com/repos/huggingface/transformers/issues/9440/events | https://github.com/huggingface/transformers/pull/9440 | 780,657,329 | MDExOlB1bGxSZXF1ZXN0NTUwNTE2MTQ4 | 9,440 | Remove nested lxmert | {
"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,609 | 1,610 | 1,610 | COLLABORATOR | null | # What does this PR do?
Remove duplicate of LXMERT | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9440/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9440",
"html_url": "https://github.com/huggingface/transformers/pull/9440",
"diff_url": "https://github.com/huggingface/transformers/pull/9440.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9440.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9439/comments | https://api.github.com/repos/huggingface/transformers/issues/9439/events | https://github.com/huggingface/transformers/issues/9439 | 780,623,104 | MDU6SXNzdWU3ODA2MjMxMDQ= | 9,439 | Adding Stochastic Weight Averaging to transformer optimizers | {
"login": "hasansalimkanmaz",
"id": 49716619,
"node_id": "MDQ6VXNlcjQ5NzE2NjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/49716619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hasansalimkanmaz",
"html_url": "https://github.com/hasansalimkanmaz",
"followers_url": "https://... | [] | closed | false | null | [] | [
"In the meantime, I have started to work on adding SWA to huggingface. After doing some experiments, If I get better results, I will create a PR. You can check my work from [here](https://github.com/hasansalimkanmaz/transformers/tree/add-SWA-optimizer)\r\n\r\nAny feedback will be appreciated.",
"Based on my cust... | 1,609 | 1,610 | 1,610 | CONTRIBUTOR | null | # 🚀 Feature request
I would like to train my models with SWA optimizer. According to this [paper](https://arxiv.org/pdf/1803.05407.pdf), SWA leads to better models and wider optima.
## Motivation
As humans, we are all willing to get better results :) . I think adding this feature will lead to better models w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9439/reactions",
"total_count": 6,
"+1": 5,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/9439/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9438/comments | https://api.github.com/repos/huggingface/transformers/issues/9438/events | https://github.com/huggingface/transformers/issues/9438 | 780,550,030 | MDU6SXNzdWU3ODA1NTAwMzA= | 9,438 | Doc styling utils adds parasites new lines | {
"login": "SBrandeis",
"id": 33657802,
"node_id": "MDQ6VXNlcjMzNjU3ODAy",
"avatar_url": "https://avatars.githubusercontent.com/u/33657802?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SBrandeis",
"html_url": "https://github.com/SBrandeis",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"@sgugger do you maybe have an idea here? Now that I see that it's Window I think this could be the reason",
"Mmm, @jplu didn't have any issue with this I believe.\r\nSorry, reading again, you're not running make style but launching the script directly. There is nothing there to properly support Windows special l... | 1,609 | 1,610 | 1,610 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.2.0dev0
- Platform: Windows-10-10.0.18362-SP0
- Python version: 3.7.9
- PyTorch version (GPU?): 1.7.1 (False)
- Tensorflow version (GPU?): 2.3.1 (False)
- Using GPU in script?: Nope
- Using distributed or parallel set-up in script?: Nope
### Who can help
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9438/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9437/comments | https://api.github.com/repos/huggingface/transformers/issues/9437/events | https://github.com/huggingface/transformers/issues/9437 | 780,537,958 | MDU6SXNzdWU3ODA1Mzc5NTg= | 9,437 | Can't find pretrained model for TFPegasusForConditionalGeneration | {
"login": "demongolem",
"id": 1395338,
"node_id": "MDQ6VXNlcjEzOTUzMzg=",
"avatar_url": "https://avatars.githubusercontent.com/u/1395338?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/demongolem",
"html_url": "https://github.com/demongolem",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"Hey @demongolem, yes sadly those models were not yet uploaded in TF. Could you instead just run:\r\n\r\n```python\r\nimport tensorflow as tf\r\nfrom transformers import TFPegasusForConditionalGeneration, PegasusTokenizer\r\nsrc_text = [\r\n \"\"\" PG&E stated it scheduled the blackouts in response to forecasts ... | 1,609 | 1,609 | 1,609 | NONE | null | ## Environment info
- `transformers` version: 4.1.1
- Platform: Windows-10-10.0.18362-SP0
- Python version: 3.8.0
- PyTorch version (GPU?): 1.7.0+cu101 (True)
- Tensorflow version (GPU?): 2.3.1 (True)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
Pegasus: ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9437/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9436/comments | https://api.github.com/repos/huggingface/transformers/issues/9436/events | https://github.com/huggingface/transformers/issues/9436 | 780,497,600 | MDU6SXNzdWU3ODA0OTc2MDA= | 9,436 | RuntimeError: The size of tensor a (128) must match the size of tensor b (32) at non-singleton dimension 1 | {
"login": "aliebrahiiimi",
"id": 50341433,
"node_id": "MDQ6VXNlcjUwMzQxNDMz",
"avatar_url": "https://avatars.githubusercontent.com/u/50341433?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aliebrahiiimi",
"html_url": "https://github.com/aliebrahiiimi",
"followers_url": "https://api.githu... | [
{
"id": 1897896961,
"node_id": "MDU6TGFiZWwxODk3ODk2OTYx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Migration",
"name": "Migration",
"color": "e99695",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"Hi, could you please provide either:\r\n- a reproducible code example\r\n- some more information related to your script. The error doesn't happen at the model load, but here: `File \"paragraph_selection/train.py\", line 293, in <module>`.\r\n- What is your `num_labels`\r\n\r\nIt's complicated to identify the issue... | 1,609 | 1,652 | 1,610 | NONE | null | # 📚 Migration from pytorch-pretrained-bert to transfomers
## Information
<!-- Important information -->
Model I am using (Bert, XLNet ...): bert
Language I am using the model on (English, Chinese ...):english
The problem arises when using:
* [ ] the official example scripts: (give details below)
whe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9436/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/9435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9435/comments | https://api.github.com/repos/huggingface/transformers/issues/9435/events | https://github.com/huggingface/transformers/pull/9435 | 780,405,418 | MDExOlB1bGxSZXF1ZXN0NTUwMzAzMjMz | 9,435 | Fix URLs to TAPAS notebooks | {
"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 | [] | [] | 1,609 | 1,609 | 1,609 | CONTRIBUTOR | null | # What does this PR do?
As I updated the repository structure of my [Transformers tutorials](https://github.com/NielsRogge/Transformers-Tutorials) repository, some URLs related to TAPAS need to be updated.
Thanks @mrm8488 for already updating one URL in #9413. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9435/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9435",
"html_url": "https://github.com/huggingface/transformers/pull/9435",
"diff_url": "https://github.com/huggingface/transformers/pull/9435.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9435.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9434/comments | https://api.github.com/repos/huggingface/transformers/issues/9434/events | https://github.com/huggingface/transformers/pull/9434 | 780,362,171 | MDExOlB1bGxSZXF1ZXN0NTUwMjY0NTIw | 9,434 | Making Conversation possible to create directly a full conversation | {
"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 | [] | [
"That's really cool! Also pinging @guillaume-be here as he might is the original author of the pipeline :-)",
"Also, @Narsil do you if it's possible to have a chat not widget in the inference API for this pipeline? I think it would be really nice to place around Blenderbot and DialoGPT",
"> Also, @Narsil do you... | 1,609 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
- Currently conversations contain some state (`conversation.history` namely).
- There is no obvious way to create a conversation from pure logs aside from mutating state.
- The actual result is still buggy because `history` is not correctly
updated by the Conversation object.
Objectives of t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9434/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9434",
"html_url": "https://github.com/huggingface/transformers/pull/9434",
"diff_url": "https://github.com/huggingface/transformers/pull/9434.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9434.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9433/comments | https://api.github.com/repos/huggingface/transformers/issues/9433/events | https://github.com/huggingface/transformers/pull/9433 | 780,341,509 | MDExOlB1bGxSZXF1ZXN0NTUwMjQ1NTA0 | 9,433 | Removing duplicated code for Translation,Summarization and Text2TextGeneration pipelines | {
"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 | [] | [
"Feel free to merge whenever @Narsil "
] | 1,609 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
`TranslationPipeline`, `SummarizationPipeline` and `Text2TextGenerationPipeline` share quite a bit of code for the generation
part. This PR aims to remove that code duplication to prevent future errors in argument handling while preserving, documentation
for all methods and functions and th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9433/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9433",
"html_url": "https://github.com/huggingface/transformers/pull/9433",
"diff_url": "https://github.com/huggingface/transformers/pull/9433.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9433.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9432/comments | https://api.github.com/repos/huggingface/transformers/issues/9432/events | https://github.com/huggingface/transformers/pull/9432 | 780,312,636 | MDExOlB1bGxSZXF1ZXN0NTUwMjE4NjEz | 9,432 | Enable TruncationStrategy override for pipelines | {
"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 | [] | [] | 1,609 | 1,610 | 1,610 | CONTRIBUTOR | null | # What does this PR do?
Right now truncation argument for tokenizers was not overridable, which leads to poor UX on some pipelines, most notably Summarization. Summaries trigger an error on text that end up with too many tokens for the underlying model.
Current strategy is just to enable the argument to be overrided ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9432/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9432",
"html_url": "https://github.com/huggingface/transformers/pull/9432",
"diff_url": "https://github.com/huggingface/transformers/pull/9432.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9432.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9431/comments | https://api.github.com/repos/huggingface/transformers/issues/9431/events | https://github.com/huggingface/transformers/pull/9431 | 780,279,176 | MDExOlB1bGxSZXF1ZXN0NTUwMTg3MDI1 | 9,431 | [Docs] Add useful links to model sharing | {
"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,609 | 1,609 | 1,609 | 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/9431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9431/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/9431",
"html_url": "https://github.com/huggingface/transformers/pull/9431",
"diff_url": "https://github.com/huggingface/transformers/pull/9431.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/9431.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/9430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/9430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/9430/comments | https://api.github.com/repos/huggingface/transformers/issues/9430/events | https://github.com/huggingface/transformers/issues/9430 | 780,219,489 | MDU6SXNzdWU3ODAyMTk0ODk= | 9,430 | T5 base use a lot of memory to train on | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [
"Hi @juliahane \r\nCould you post the training command ? \r\nbatch size 32 is total batch size or `per_device_batch_size` ?\r\n\r\nIn my experiments I was able to use max 4 `per_device_batch_size` with `max_input_length` 512 and `max_target_length` 64.\r\n\r\nAlso, this kind of question should be asked on the[ foru... | 1,609 | 1,619 | 1,619 | NONE | null | Hi
I am using transformers 3.5.1, t5-base uses a lot of memory I cannot even train it on 4 V100 GPUs with batch size of 32 could you elaborate is there is any memory issue with this model? thanks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/9430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/9430/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.