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/12645
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12645/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12645/comments
https://api.github.com/repos/huggingface/transformers/issues/12645/events
https://github.com/huggingface/transformers/issues/12645
941,991,374
MDU6SXNzdWU5NDE5OTEzNzQ=
12,645
`TFHubertModelTest.test_model_from_pretrained` is failing
{ "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
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[ "Added in [`cbd73bd#huggingface.co`](https://huggingface.co/facebook/hubert-base-ls960/commit/cbd73bd518689ab98a9370c74165f4875ccd97d5)" ]
1,626
1,626
1,626
MEMBER
null
The `TFHubertModelTest.test_model_from_pretrained` is failing because the TensorFlow checkpoint isn't available under `facebook/hubert-base-ls960`. Same with `TFHubertRobustModelTest.test_model_from_pretrained`
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12645/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12645/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12644
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12644/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12644/comments
https://api.github.com/repos/huggingface/transformers/issues/12644/events
https://github.com/huggingface/transformers/pull/12644
941,970,767
MDExOlB1bGxSZXF1ZXN0Njg3NzY1MDU5
12,644
Only test the files impacted by changes in the diff
{ "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
[]
[ "What happens if one only changes a file like `src/transformers/models/bert/__init__.py`? The only files that are impacted by this is `src/transformers/__init__` -> does this mean no tests are run? What if someone introduces a typo in this file that doesn't allow anymore to import `BertModel`? ", "Ah great point,...
1,626
1,626
1,626
COLLABORATOR
null
# What does this PR do? This PR adds some utilities to only run the tests that are impacted by the diff in a PR, to have the CI run faster, save on CI costs and avoid hanging tests. For now the first stage of deployment only concerns PRs, the jobs run at each push (either on circle CI or GitHub actions) still run a...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12644/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12644/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12644", "html_url": "https://github.com/huggingface/transformers/pull/12644", "diff_url": "https://github.com/huggingface/transformers/pull/12644.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12644.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12643
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12643/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12643/comments
https://api.github.com/repos/huggingface/transformers/issues/12643/events
https://github.com/huggingface/transformers/issues/12643
941,900,305
MDU6SXNzdWU5NDE5MDAzMDU=
12,643
Adding an argument to exclude some states (pretrained weights) from being loaded.
{ "login": "qqaatw", "id": 24835382, "node_id": "MDQ6VXNlcjI0ODM1Mzgy", "avatar_url": "https://avatars.githubusercontent.com/u/24835382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/qqaatw", "html_url": "https://github.com/qqaatw", "followers_url": "https://api.github.com/users/qqaatw/fo...
[]
closed
false
null
[]
[ "I'm in favor of this. For example, when I wanted to fine-tune DETR, I had to use the following hack to make it work:\r\n\r\n```\r\nmodel = DetrForObjectDetection.from_pretrained(\"facebook/detr-resnet-50\")\r\nstate_dict = model.state_dict()\r\n# Remove class weights\r\ndel state_dict[\"class_labels_classifier.wei...
1,626
1,626
1,626
CONTRIBUTOR
null
# 🚀 Feature request Adding an argument in `from_pretrained` to exclude some states (pretrained weights) from being loaded. ## Motivation In general, we usually use `from_pretrained` method to load pretrained states, from CDN or local files, into the model. However, In case when I need to adjust the shape of c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12643/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/12643/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12642
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12642/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12642/comments
https://api.github.com/repos/huggingface/transformers/issues/12642/events
https://github.com/huggingface/transformers/issues/12642
941,878,787
MDU6SXNzdWU5NDE4Nzg3ODc=
12,642
"token_type_ids" is discarded when using GenerationMixin in ”generation_utils.py“
{ "login": "nanzhao", "id": 4546867, "node_id": "MDQ6VXNlcjQ1NDY4Njc=", "avatar_url": "https://avatars.githubusercontent.com/u/4546867?v=4", "gravatar_id": "", "url": "https://api.github.com/users/nanzhao", "html_url": "https://github.com/nanzhao", "followers_url": "https://api.github.com/users/nanzhao/...
[]
closed
false
null
[]
[ "Thanks for your issue @nanzhao! In order make `OpenAIGPTLMHeadModel` work with `token_type_ids` we should add this line to `prepare_inputs_for_generation`:\r\n\r\nhttps://github.com/huggingface/transformers/blob/790f1c9545f4a83b97bf75640be82b2112c3efe7/src/transformers/models/gpt2/modeling_gpt2.py#L884", "Would ...
1,626
1,630
1,630
NONE
null
## Environment info - `transformers` version: 4.8.2 - Platform: Darwin-19.6.0-x86_64-i386-64bit - Python version: 3.6.10 - PyTorch version (GPU?): 1.9.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12642/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12642/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12641
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12641/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12641/comments
https://api.github.com/repos/huggingface/transformers/issues/12641/events
https://github.com/huggingface/transformers/issues/12641
941,786,331
MDU6SXNzdWU5NDE3ODYzMzE=
12,641
USE_TORCH while import transformers forever true
{ "login": "Talisberg", "id": 35142612, "node_id": "MDQ6VXNlcjM1MTQyNjEy", "avatar_url": "https://avatars.githubusercontent.com/u/35142612?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Talisberg", "html_url": "https://github.com/Talisberg", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "I am unsure of what the bug is and the reproducer you are suggesting. You are not supposed to change the source code of the library to activate `USE_TORCH`, you should set it as an environment variable.", "Please close issue,\nSomething wrong with my env\n\nבתאריך יום ב׳, 12 ביולי 2021 ב-17:33 מאת Sylvain Gugger...
1,626
1,626
1,626
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.8.0 - Platform: linux - Python version: 3.6 - PyTorch version (GPU?):1.8.1(No) - Tensorflow version (GPU?...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12641/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12641/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12640
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12640/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12640/comments
https://api.github.com/repos/huggingface/transformers/issues/12640/events
https://github.com/huggingface/transformers/pull/12640
941,763,741
MDExOlB1bGxSZXF1ZXN0Njg3NTg5MTU4
12,640
fix typo in modeling_t5.py docstring
{ "login": "PhilipMay", "id": 229382, "node_id": "MDQ6VXNlcjIyOTM4Mg==", "avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4", "gravatar_id": "", "url": "https://api.github.com/users/PhilipMay", "html_url": "https://github.com/PhilipMay", "followers_url": "https://api.github.com/users/Phil...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
CONTRIBUTOR
null
fixes a small typo
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12640/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12640/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12640", "html_url": "https://github.com/huggingface/transformers/pull/12640", "diff_url": "https://github.com/huggingface/transformers/pull/12640.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12640.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12639
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12639/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12639/comments
https://api.github.com/repos/huggingface/transformers/issues/12639/events
https://github.com/huggingface/transformers/pull/12639
941,752,316
MDExOlB1bGxSZXF1ZXN0Njg3NTc5NDE5
12,639
Refactored code to improve performance/employ best practices.
{ "login": "AllStars101-sudo", "id": 53670363, "node_id": "MDQ6VXNlcjUzNjcwMzYz", "avatar_url": "https://avatars.githubusercontent.com/u/53670363?v=4", "gravatar_id": "", "url": "https://api.github.com/users/AllStars101-sudo", "html_url": "https://github.com/AllStars101-sudo", "followers_url": "https://...
[]
closed
false
null
[]
[ "Hello, and thank you for your contribution! It seems you were using a very outdated fork in order to open your PR (see the +5k -56k diff), as several files end up deleted and a lot of library improvements would be reverted were we to merge this PR.\r\n\r\nIn case these changes were intentional, let me point you to...
1,626
1,626
1,626
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this with a d...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12639/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12639/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12639", "html_url": "https://github.com/huggingface/transformers/pull/12639", "diff_url": "https://github.com/huggingface/transformers/pull/12639.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12639.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12638
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12638/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12638/comments
https://api.github.com/repos/huggingface/transformers/issues/12638/events
https://github.com/huggingface/transformers/pull/12638
941,732,228
MDExOlB1bGxSZXF1ZXN0Njg3NTYyMjA0
12,638
[flax]fix jax array type check
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,626
1,626
1,626
MEMBER
null
# What does this PR do? Fixes #12584, #12578 On colab the `ModelOutput` class is returning empty tuples for jax arrays. This is because on colab TPU the type of jax array is `jax.interpreters.xla._DeviceArray` and the `is_tensor` function here https://github.com/huggingface/transformers/blob/2dd9440d0835782e41...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12638/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/12638/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12638", "html_url": "https://github.com/huggingface/transformers/pull/12638", "diff_url": "https://github.com/huggingface/transformers/pull/12638.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12638.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12637
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12637/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12637/comments
https://api.github.com/repos/huggingface/transformers/issues/12637/events
https://github.com/huggingface/transformers/issues/12637
941,664,852
MDU6SXNzdWU5NDE2NjQ4NTI=
12,637
Slower training speed under DeepSpeed
{ "login": "Gforky", "id": 4157614, "node_id": "MDQ6VXNlcjQxNTc2MTQ=", "avatar_url": "https://avatars.githubusercontent.com/u/4157614?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Gforky", "html_url": "https://github.com/Gforky", "followers_url": "https://api.github.com/users/Gforky/foll...
[ { "id": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" } ]
closed
false
null
[]
[ "Deepspeed is a project that has many different at times totally unrelated features.\r\n\r\nTherefore when you read in a blog that it made something 10x faster, you need to pay close attention to what was the task, and what was the model size, and how many hundreds of gpus, and optimizer, etc., etc.\r\n\r\nThe main...
1,626
1,629
1,629
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.8.2 - Platform: nvcr.io/nvidia/pytorch:21.02-py3 container on CentOS7 - Python version: 3.8.5 - PyTorch ve...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12637/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12637/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12636
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12636/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12636/comments
https://api.github.com/repos/huggingface/transformers/issues/12636/events
https://github.com/huggingface/transformers/issues/12636
941,658,875
MDU6SXNzdWU5NDE2NTg4NzU=
12,636
Error on training XLNet. RuntimeError: CUDA error: device-side assert triggered
{ "login": "darwinharianto", "id": 44696192, "node_id": "MDQ6VXNlcjQ0Njk2MTky", "avatar_url": "https://avatars.githubusercontent.com/u/44696192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/darwinharianto", "html_url": "https://github.com/darwinharianto", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "I found out that changing vocab_size to 32000 fixes this error.\r\n\r\nHow do I change this number to other than 32000?\r\n\r\nI made a custom tokenizer \r\n```\r\ntokenizer.train(files=paths, vocab_size=16000, special_tokens=special_tokens)\r\ntokenizer.save('unigram.json', pretty=True)\r\n```\r\n\r\nloaded it\r...
1,626
1,626
1,626
NONE
null
Currently trying to make pretraining using XLNet architecture. script to reproduce: ``` def tokenize_function(examples): return tokenizer(examples["text"], padding="max_length", truncation=True) from transformers import XLNetTokenizerFast from tokenizers import Tokenizer from transformers import ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12636/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12636/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12635
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12635/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12635/comments
https://api.github.com/repos/huggingface/transformers/issues/12635/events
https://github.com/huggingface/transformers/issues/12635
941,593,275
MDU6SXNzdWU5NDE1OTMyNzU=
12,635
Long-Short Transformer
{ "login": "schmidek", "id": 442328, "node_id": "MDQ6VXNlcjQ0MjMyOA==", "avatar_url": "https://avatars.githubusercontent.com/u/442328?v=4", "gravatar_id": "", "url": "https://api.github.com/users/schmidek", "html_url": "https://github.com/schmidek", "followers_url": "https://api.github.com/users/schmide...
[ { "id": 1843244711, "node_id": "MDU6TGFiZWwxODQzMjQ0NzEx", "url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model", "name": "New model", "color": "fbca04", "default": false, "description": "" } ]
open
false
null
[]
[ "A PyTorch implementation: https://github.com/lucidrains/long-short-transformer", "Cool work! However, models have a low chance of being added if there are no pre-trained weights available.", "Thanks for your interest in our work! We have released the code for ImageNet and LRA at [https://github.com/NVIDIA/tran...
1,626
1,672
null
CONTRIBUTOR
null
# 🌟 New model addition ## Model description https://arxiv.org/abs/2107.02192 In this paper, they propose Long-Short Transformer, an efficient self-attention mechanism for modeling long sequences with linear complexity for both language and vision tasks. It aggregates a novel long-range attention with dynamic ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12635/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12635/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/12634
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12634/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12634/comments
https://api.github.com/repos/huggingface/transformers/issues/12634/events
https://github.com/huggingface/transformers/pull/12634
941,537,942
MDExOlB1bGxSZXF1ZXN0Njg3Mzk5MjIx
12,634
Add ByT5 option to example run_t5_mlm_flax.py
{ "login": "mapmeld", "id": 643918, "node_id": "MDQ6VXNlcjY0MzkxOA==", "avatar_url": "https://avatars.githubusercontent.com/u/643918?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mapmeld", "html_url": "https://github.com/mapmeld", "followers_url": "https://api.github.com/users/mapmeld/fo...
[]
closed
false
null
[]
[ "I was trying this on TPU, but it ended with the following error message:\r\n\r\n```bash\r\nTraceback (most recent call last):\r\n File \"run_t5_mlm_flax.py\", line 728, in <module>\r\n model_inputs = data_collator(samples)\r\n File \"run_t5_mlm_flax.py\", line 276, in __call__\r\n batch[\"decoder_input_ids...
1,626
1,626
1,626
CONTRIBUTOR
null
Small change adding ByT5 option to the Flax T5 training example When model_type is `byt5`, use ByT5Tokenizer in place of T5TokenizerFast Example: https://colab.research.google.com/drive/1WcDRPYyvuMZDbWuhsS3hTaVyXxjqryPz?usp=sharing
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12634/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12634/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12634", "html_url": "https://github.com/huggingface/transformers/pull/12634", "diff_url": "https://github.com/huggingface/transformers/pull/12634.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12634.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12633
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12633/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12633/comments
https://api.github.com/repos/huggingface/transformers/issues/12633/events
https://github.com/huggingface/transformers/issues/12633
941,531,820
MDU6SXNzdWU5NDE1MzE4MjA=
12,633
Error pushing GPT2 flax training model to hub
{ "login": "BirgerMoell", "id": 1704131, "node_id": "MDQ6VXNlcjE3MDQxMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/1704131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BirgerMoell", "html_url": "https://github.com/BirgerMoell", "followers_url": "https://api.github.com/us...
[]
closed
false
{ "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...
[ "The training script `run_stream_trainer.py` is not an official training script no? Where can I find `run_stream_trainer.py` ? The error also does not seem to be related to pushing to the hub but rather with the line `keep=training_args.save_total_limit`.", "I noticed some strange git behaviour including the crea...
1,626
1,626
1,626
NONE
null
While training a GPT-2 model using the following scripts the model crashes while pushing to hub. I made the saving step 10 since I suspected was related so saving. ``` #!/usr/bin/env bash python3 swedish-gpt2-oscar/run_stream_trainer.py \ --output_dir="${MODEL_DIR}" \ --model_type="gpt2" \ --config_na...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12633/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12633/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12632
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12632/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12632/comments
https://api.github.com/repos/huggingface/transformers/issues/12632/events
https://github.com/huggingface/transformers/issues/12632
941,515,171
MDU6SXNzdWU5NDE1MTUxNzE=
12,632
Vocab Size does not change when adding new tokens
{ "login": "ncoop57", "id": 7613470, "node_id": "MDQ6VXNlcjc2MTM0NzA=", "avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ncoop57", "html_url": "https://github.com/ncoop57", "followers_url": "https://api.github.com/users/ncoop57/...
[]
closed
false
null
[]
[ "I think you should use `print(len(tokenizer))` instead of `print(tokenizer.vocab_size)` (as the `vocab_size` is a fixed attribute, referring to the base vocabulary without any additional tokens). Refer to [this](https://github.com/huggingface/transformers/issues/1413#issuecomment-538083512) and [this](https://gith...
1,626
1,626
1,626
CONTRIBUTOR
null
Env: - `transformers` version: 4.8.2 - Platform: Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic - Python version: 3.7.10 - PyTorch version (GPU?): 1.9.0+cu102 When adding new tokens to an existing tokenizer, the tokenizer's vocab size variable doesn't change. I believe it should be updated every time the tokens ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12632/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12632/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12631
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12631/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12631/comments
https://api.github.com/repos/huggingface/transformers/issues/12631/events
https://github.com/huggingface/transformers/issues/12631
941,431,850
MDU6SXNzdWU5NDE0MzE4NTA=
12,631
TypeError: forward() got an unexpected keyword argument 'label' in main tutorial
{ "login": "monk1337", "id": 17107749, "node_id": "MDQ6VXNlcjE3MTA3NzQ5", "avatar_url": "https://avatars.githubusercontent.com/u/17107749?v=4", "gravatar_id": "", "url": "https://api.github.com/users/monk1337", "html_url": "https://github.com/monk1337", "followers_url": "https://api.github.com/users/mon...
[]
closed
false
null
[]
[ "You missed a line in the tutorial:\r\n\r\n```python\r\ntokenized_datasets = tokenized_datasets.remove_columns([\"text\"]) # this you have\r\ntokenized_datasets = tokenized_datasets.rename_column(\"label\", \"labels\") # MISSED\r\ntokenized_datasets.set_format(\"torch\") # this you have\r\n```\r\n\r\nModel expec...
1,626
1,626
1,626
NONE
null
I am following the instructions provided in https://huggingface.co/transformers/training.html and trying to use PyTorch API for Fine-tuning, here is the error I am getting ``` from datasets import load_dataset from transformers import AutoTokenizer from torch.utils.data import DataLoader from transformers impo...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12631/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/12631/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12630
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12630/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12630/comments
https://api.github.com/repos/huggingface/transformers/issues/12630/events
https://github.com/huggingface/transformers/pull/12630
941,377,247
MDExOlB1bGxSZXF1ZXN0Njg3Mjc3ODcz
12,630
[Examples][Flax] added test file in summarization example
{ "login": "bhadreshpsavani", "id": 26653468, "node_id": "MDQ6VXNlcjI2NjUzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhadreshpsavani", "html_url": "https://github.com/bhadreshpsavani", "followers_url": "https://api...
[]
closed
false
null
[]
[]
1,625
1,626
1,626
CONTRIBUTOR
null
# What does this PR do? Fixes #12527 ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12630/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12630/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12630", "html_url": "https://github.com/huggingface/transformers/pull/12630", "diff_url": "https://github.com/huggingface/transformers/pull/12630.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12630.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12629
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12629/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12629/comments
https://api.github.com/repos/huggingface/transformers/issues/12629/events
https://github.com/huggingface/transformers/issues/12629
941,325,291
MDU6SXNzdWU5NDEzMjUyOTE=
12,629
How much of an improvement is DistilGPT-2 over an equivalent model trained without distilation?
{ "login": "offendo", "id": 29783125, "node_id": "MDQ6VXNlcjI5NzgzMTI1", "avatar_url": "https://avatars.githubusercontent.com/u/29783125?v=4", "gravatar_id": "", "url": "https://api.github.com/users/offendo", "html_url": "https://github.com/offendo", "followers_url": "https://api.github.com/users/offend...
[]
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,625
1,629
1,629
NONE
null
Hi! I'm working on a distillation project right now, and I was wondering if this information is available anywhere. I saw [this page](https://github.com/huggingface/transformers/tree/9ee66adadb2a8d6e04e8b18a1c9ea0b57c80642e/examples/research_projects/distillation) provides a comparison for `DistilGPT-2` vs `GPT-...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12629/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/12629/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12628
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12628/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12628/comments
https://api.github.com/repos/huggingface/transformers/issues/12628/events
https://github.com/huggingface/transformers/issues/12628
941,304,668
MDU6SXNzdWU5NDEzMDQ2Njg=
12,628
GPTNeo Error Attempting to Generate Text
{ "login": "ncoop57", "id": 7613470, "node_id": "MDQ6VXNlcjc2MTM0NzA=", "avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ncoop57", "html_url": "https://github.com/ncoop57", "followers_url": "https://api.github.com/users/ncoop57/...
[ { "id": 2796628563, "node_id": "MDU6TGFiZWwyNzk2NjI4NTYz", "url": "https://api.github.com/repos/huggingface/transformers/labels/WIP", "name": "WIP", "color": "234C99", "default": false, "description": "Label your PR/Issue with WIP for some long outstanding Issues/PRs that are work in pro...
open
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "Hey @ncoop57,\r\n\r\nThe reason for this error is that `input_ids.shape[1]` (the length of the input length) is larger then `max_length`. By default `max_length` of generate is 20 and in your case `input_ids.shape[1]` is > 20 which will error out. `max_length` define the number of total output tokens (not just the...
1,625
1,631
null
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0+cpu (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): 0.3.4 (tpu) - Jax version: 0.2.16 - JaxLib versi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12628/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12628/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/12627
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12627/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12627/comments
https://api.github.com/repos/huggingface/transformers/issues/12627/events
https://github.com/huggingface/transformers/issues/12627
941,301,047
MDU6SXNzdWU5NDEzMDEwNDc=
12,627
Add Flax Models to Pipelines
{ "login": "ncoop57", "id": 7613470, "node_id": "MDQ6VXNlcjc2MTM0NzA=", "avatar_url": "https://avatars.githubusercontent.com/u/7613470?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ncoop57", "html_url": "https://github.com/ncoop57", "followers_url": "https://api.github.com/users/ncoop57/...
[ { "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" } ]
open
false
null
[]
[]
1,625
1,626
null
CONTRIBUTOR
null
# 🚀 Feature request Hi y'all, I am trying a GPTNeo Flax model and am wanting to use it in the text generation pipeline. However, it is currently not supported. From looking at the current implementation of flax models and the text generation pipeline, it should be a relatively easy (famous last words) addition. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12627/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12627/timeline
null
null
null
https://api.github.com/repos/huggingface/transformers/issues/12626
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12626/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12626/comments
https://api.github.com/repos/huggingface/transformers/issues/12626/events
https://github.com/huggingface/transformers/issues/12626
941,242,173
MDU6SXNzdWU5NDEyNDIxNzM=
12,626
can't load flax weights in PyTorch if flax model is saved with dtype `bfloat16`
{ "login": "iliemihai", "id": 2815308, "node_id": "MDQ6VXNlcjI4MTUzMDg=", "avatar_url": "https://avatars.githubusercontent.com/u/2815308?v=4", "gravatar_id": "", "url": "https://api.github.com/users/iliemihai", "html_url": "https://github.com/iliemihai", "followers_url": "https://api.github.com/users/il...
[]
closed
false
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[ { "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "htt...
[ "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,625
1,629
1,629
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: linux - Python version: 3,8 - PyTorch version (GPU?): - Tensorflow version (GPU?): - Using GPU...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12626/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12626/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12625
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12625/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12625/comments
https://api.github.com/repos/huggingface/transformers/issues/12625/events
https://github.com/huggingface/transformers/pull/12625
941,219,248
MDExOlB1bGxSZXF1ZXN0Njg3MTYwNjA1
12,625
Flax Wav2Vec2 - Add venv section and fix training script
{ "login": "mariagrandury", "id": 57645283, "node_id": "MDQ6VXNlcjU3NjQ1Mjgz", "avatar_url": "https://avatars.githubusercontent.com/u/57645283?v=4", "gravatar_id": "", "url": "https://api.github.com/users/mariagrandury", "html_url": "https://github.com/mariagrandury", "followers_url": "https://api.githu...
[]
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,625
1,631
1,631
NONE
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12625/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12625/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12625", "html_url": "https://github.com/huggingface/transformers/pull/12625", "diff_url": "https://github.com/huggingface/transformers/pull/12625.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12625.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12624
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12624/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12624/comments
https://api.github.com/repos/huggingface/transformers/issues/12624/events
https://github.com/huggingface/transformers/pull/12624
941,212,616
MDExOlB1bGxSZXF1ZXN0Njg3MTU1NzMy
12,624
Add tokenizer_file parameter to PreTrainedTokenizerFast docstring
{ "login": "lewisbails", "id": 32473550, "node_id": "MDQ6VXNlcjMyNDczNTUw", "avatar_url": "https://avatars.githubusercontent.com/u/32473550?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewisbails", "html_url": "https://github.com/lewisbails", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[]
1,625
1,626
1,626
CONTRIBUTOR
null
## What does this PR do? - Add tokenizer_file parameter to PreTrainedTokenizerFast docstring - References [this](https://github.com/huggingface/transformers/issues/12583#issuecomment-876613898) comment from @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12624/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12624/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12624", "html_url": "https://github.com/huggingface/transformers/pull/12624", "diff_url": "https://github.com/huggingface/transformers/pull/12624.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12624.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12623
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12623/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12623/comments
https://api.github.com/repos/huggingface/transformers/issues/12623/events
https://github.com/huggingface/transformers/issues/12623
941,202,030
MDU6SXNzdWU5NDEyMDIwMzA=
12,623
Inconsistent shapes between value and initializer for parameter: FlaxGPT2LMHeadModel
{ "login": "thisis-nkul", "id": 20254312, "node_id": "MDQ6VXNlcjIwMjU0MzEy", "avatar_url": "https://avatars.githubusercontent.com/u/20254312?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thisis-nkul", "html_url": "https://github.com/thisis-nkul", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "I don't exactly know how but this issue went away on its own after appearing unexpectedly out of nowhere. Closing the issue. ", "> I don't exactly know how but this issue went away on its own after appearing unexpectedly out of nowhere. Closing the issue.\r\n\r\nDear thisis-nkul, have you sovled this problem? Ho...
1,625
1,664
1,625
NONE
null
Hello! I was trying to finetune GPT-2 medium model through flax on a custom (tokenized) dataset and I encoountered this error: `Inconsistent shapes between value and initializer for parameter "scale" in "/transformer/ln_f": (1024,), (0,)` Edit: The whole traceback is quite long and is reported [here](https://pasteb...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12623/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12623/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12622
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12622/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12622/comments
https://api.github.com/repos/huggingface/transformers/issues/12622/events
https://github.com/huggingface/transformers/issues/12622
941,172,092
MDU6SXNzdWU5NDExNzIwOTI=
12,622
unclear `prepare_seq2seq_batch` deprecation
{ "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 is `__call__` hard to understand? It's the regular Python method for when the tokenizer is called directly on inputs. How would you formulate that better?\r\n\r\nFor the `with_target_tokenizer` it's a typo indeed, it should be `as_target_tokenizer`.\r\n\r\nAs for an example, this is what is used in every examp...
1,625
1,637
1,626
CONTRIBUTOR
null
When using `prepare_seq2seq_batch` the user now gets: > transformers-master/src/transformers/tokenization_utils_base.py:3277: FutureWarning: `prepare_seq2seq_batch` is deprecated and will be removed in version 5 of 🤗 Transformers. Use the regular `__call__` method to prepare your inputs and the tokenizer under the ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12622/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12622/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12621
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12621/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12621/comments
https://api.github.com/repos/huggingface/transformers/issues/12621/events
https://github.com/huggingface/transformers/issues/12621
941,149,654
MDU6SXNzdWU5NDExNDk2NTQ=
12,621
can't pickle <class 'types.AutoModelForCausalLM'>
{ "login": "lancekung", "id": 19167336, "node_id": "MDQ6VXNlcjE5MTY3MzM2", "avatar_url": "https://avatars.githubusercontent.com/u/19167336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lancekung", "html_url": "https://github.com/lancekung", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Hello! Could you provide a code example that yields this error? Thank you!", "```\r\nimport pickle\r\nfrom transformers import AutoModelForCausalLM\r\n\r\npickle.dumps(AutoModelForCausalLM)\r\n```\r\nI think it's comes from the fact those are autogenerated.", "> ```\r\n> import pickle\r\n> from transformers im...
1,625
1,626
1,626
NONE
null
Hi, a new problem has arisen we can pickle "LazyModule" now, but can't pickle <class 'types.AutoModelForCausalLM'> @stas00 @patrickvonplaten, @LysandreJik Traceback (most recent call last): File "/usr/local/anaconda3/envs/py38/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap se...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12621/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12621/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12620
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12620/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12620/comments
https://api.github.com/repos/huggingface/transformers/issues/12620/events
https://github.com/huggingface/transformers/pull/12620
941,140,042
MDExOlB1bGxSZXF1ZXN0Njg3MTAxOTgw
12,620
[doc] fix anchor
{ "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,625
1,625
1,625
CONTRIBUTOR
null
mixed rst with md, fixing the anchor
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12620/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12620/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12620", "html_url": "https://github.com/huggingface/transformers/pull/12620", "diff_url": "https://github.com/huggingface/transformers/pull/12620.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12620.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12619
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12619/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12619/comments
https://api.github.com/repos/huggingface/transformers/issues/12619/events
https://github.com/huggingface/transformers/pull/12619
941,078,495
MDExOlB1bGxSZXF1ZXN0Njg3MDUwMzA5
12,619
Add tokenizers class mismatch detection between `cls` and checkpoint
{ "login": "europeanplaice", "id": 38364983, "node_id": "MDQ6VXNlcjM4MzY0OTgz", "avatar_url": "https://avatars.githubusercontent.com/u/38364983?v=4", "gravatar_id": "", "url": "https://api.github.com/users/europeanplaice", "html_url": "https://github.com/europeanplaice", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "I revised the code based on your reviews. ", "I want to ask you to refactor the logic.\r\nThank you for offering!", "@SaulLu could you confirm you're happy with the changes? I think this is good to be merged on my side, thanks for the adjustments @europeanplaice.", "@SaulLu @sgugger\r\nWe made a excellent jo...
1,625
1,626
1,626
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12619/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12619/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12619", "html_url": "https://github.com/huggingface/transformers/pull/12619", "diff_url": "https://github.com/huggingface/transformers/pull/12619.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12619.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12618
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12618/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12618/comments
https://api.github.com/repos/huggingface/transformers/issues/12618/events
https://github.com/huggingface/transformers/issues/12618
941,014,016
MDU6SXNzdWU5NDEwMTQwMTY=
12,618
validation metrics not being logged by Trainer
{ "login": "neel04", "id": 11617870, "node_id": "MDQ6VXNlcjExNjE3ODcw", "avatar_url": "https://avatars.githubusercontent.com/u/11617870?v=4", "gravatar_id": "", "url": "https://api.github.com/users/neel04", "html_url": "https://github.com/neel04", "followers_url": "https://api.github.com/users/neel04/fo...
[]
closed
false
null
[]
[ "You are not providing a reproducer (which would include the data on which to run the script) so we can reproduce your problem. Re-tested the script on TPU and it does run evaluation every eval_steps, as provided. A few things that could be the problem in your case:\r\n- since you set gradient_accumulation_steps = ...
1,625
1,629
1,629
NONE
null
### Who can help - trainer: @sgugger ## Information Model I am using (Bert, XLNet ...): BigBird The problem arises when using: * [x] the official example scripts: (give details below) * [ ] my own modified scripts: (give details below) The tasks I am working on is: * [ ] an official GLUE/SQUaD task: (give...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12618/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12618/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12617
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12617/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12617/comments
https://api.github.com/repos/huggingface/transformers/issues/12617/events
https://github.com/huggingface/transformers/pull/12617
940,983,937
MDExOlB1bGxSZXF1ZXN0Njg2OTcxMTQ5
12,617
TF summarization example
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,625
1,626
1,626
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12617/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12617/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12617", "html_url": "https://github.com/huggingface/transformers/pull/12617", "diff_url": "https://github.com/huggingface/transformers/pull/12617.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12617.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12616
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12616/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12616/comments
https://api.github.com/repos/huggingface/transformers/issues/12616/events
https://github.com/huggingface/transformers/issues/12616
940,948,591
MDU6SXNzdWU5NDA5NDg1OTE=
12,616
Weird outputs by `opus-mt-en-es`
{ "login": "bhavitvyamalik", "id": 19718818, "node_id": "MDQ6VXNlcjE5NzE4ODE4", "avatar_url": "https://avatars.githubusercontent.com/u/19718818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhavitvyamalik", "html_url": "https://github.com/bhavitvyamalik", "followers_url": "https://api.gi...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "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,625
1,628
1,628
CONTRIBUTOR
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: - Platform: TPU VM - Python version: 3.8.10 ### Who can help @patrickvonplaten @patil-suraj ## Inform...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12616/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/12616/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12615
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12615/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12615/comments
https://api.github.com/repos/huggingface/transformers/issues/12615/events
https://github.com/huggingface/transformers/pull/12615
940,938,828
MDExOlB1bGxSZXF1ZXN0Njg2OTMzMDg1
12,615
[FLax] Fix marian docs 2
{ "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,625
1,625
1,625
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/12615/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12615/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12615", "html_url": "https://github.com/huggingface/transformers/pull/12615", "diff_url": "https://github.com/huggingface/transformers/pull/12615.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12615.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12614
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12614/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12614/comments
https://api.github.com/repos/huggingface/transformers/issues/12614/events
https://github.com/huggingface/transformers/pull/12614
940,912,336
MDExOlB1bGxSZXF1ZXN0Njg2OTEyMzIy
12,614
[Flax Marian] Add marian flax example
{ "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,625
1,625
1,625
MEMBER
null
This PR adds a better example and leaves a note that `early_stopping=True` should be used for FlaxMarian
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12614/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12614/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12614", "html_url": "https://github.com/huggingface/transformers/pull/12614", "diff_url": "https://github.com/huggingface/transformers/pull/12614.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12614.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12613
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12613/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12613/comments
https://api.github.com/repos/huggingface/transformers/issues/12613/events
https://github.com/huggingface/transformers/issues/12613
940,876,556
MDU6SXNzdWU5NDA4NzY1NTY=
12,613
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.HalfTensor [12, 4096, 1]], which is output 0 of ViewBackward, is at version 1; expected version 0 instead.
{ "login": "Sepelbaum", "id": 52469561, "node_id": "MDQ6VXNlcjUyNDY5NTYx", "avatar_url": "https://avatars.githubusercontent.com/u/52469561?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Sepelbaum", "html_url": "https://github.com/Sepelbaum", "followers_url": "https://api.github.com/users/...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hello! Could you provide the information required by the template, please? Especially the code that you used, as it's hard to help without it. Thanks", "I have a similar problem during Finetuning LED for Summarization Task in Colab, with the following error message:\r\n-----------------------------\r\nRuntimeErr...
1,625
1,631
1,631
NONE
null
When I run trainer to fine-tune pertained long former for sequence classification I get the following error: RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.HalfTensor [12, 4096, 1]], which is output 0 of ViewBackward, is at version 1; expecte...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12613/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/12613/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12612
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12612/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12612/comments
https://api.github.com/repos/huggingface/transformers/issues/12612/events
https://github.com/huggingface/transformers/pull/12612
940,863,349
MDExOlB1bGxSZXF1ZXN0Njg2ODcxNzEx
12,612
[Flax] Fix mt5 auto
{ "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,625
1,625
1,625
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/12612/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12612/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12612", "html_url": "https://github.com/huggingface/transformers/pull/12612", "diff_url": "https://github.com/huggingface/transformers/pull/12612.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12612.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12611
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12611/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12611/comments
https://api.github.com/repos/huggingface/transformers/issues/12611/events
https://github.com/huggingface/transformers/pull/12611
940,842,577
MDExOlB1bGxSZXF1ZXN0Njg2ODU0MTg2
12,611
Better heuristic for token-classification pipeline.
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
{ "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "https://api.github.com/...
[ { "login": "LysandreJik", "id": 30755778, "node_id": "MDQ6VXNlcjMwNzU1Nzc4", "avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4", "gravatar_id": "", "url": "https://api.github.com/users/LysandreJik", "html_url": "https://github.com/LysandreJik", "followers_url": "htt...
[]
1,625
1,627
1,627
CONTRIBUTOR
null
# What does this PR do? Relooking at the problem makes thing actually much simpler, when we look at ids from a tokenizer, we have no way in **general** to recover if some substring is part of a word or not. However, within the pipeline, with offsets we still have access to the original string, so we can simply...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12611/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/12611/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12611", "html_url": "https://github.com/huggingface/transformers/pull/12611", "diff_url": "https://github.com/huggingface/transformers/pull/12611.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12611.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12610
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12610/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12610/comments
https://api.github.com/repos/huggingface/transformers/issues/12610/events
https://github.com/huggingface/transformers/issues/12610
940,794,893
MDU6SXNzdWU5NDA3OTQ4OTM=
12,610
Unable to load mT5 with FlaxAutoModelForSeq2SeqLM
{ "login": "peregilk", "id": 9079808, "node_id": "MDQ6VXNlcjkwNzk4MDg=", "avatar_url": "https://avatars.githubusercontent.com/u/9079808?v=4", "gravatar_id": "", "url": "https://api.github.com/users/peregilk", "html_url": "https://github.com/peregilk", "followers_url": "https://api.github.com/users/pereg...
[]
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...
[]
1,625
1,625
1,625
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.9.0.dev0 - Platform: TPU VM - Python version: 3.8.10 ### Who can help @patrickvonplaten ## Trying to load mT5 ('google/mt5-small') with FlaxAutoModelForSeq2SeqLM leads to the following error: ``` >>> import transformers >>> model = FlaxAutoModelForSeq2Seq...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12610/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12610/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12609
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12609/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12609/comments
https://api.github.com/repos/huggingface/transformers/issues/12609/events
https://github.com/huggingface/transformers/pull/12609
940,749,976
MDExOlB1bGxSZXF1ZXN0Njg2Nzc1ODcy
12,609
Fix arg count for partial functions
{ "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,625
1,625
1,625
COLLABORATOR
null
# What does this PR do? As pointed out in #12605, the count for the number of arguments in the `model_init` was not working for partial functions. This PR fixes that.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12609/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12609/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12609", "html_url": "https://github.com/huggingface/transformers/pull/12609", "diff_url": "https://github.com/huggingface/transformers/pull/12609.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12609.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12608
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12608/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12608/comments
https://api.github.com/repos/huggingface/transformers/issues/12608/events
https://github.com/huggingface/transformers/pull/12608
940,736,816
MDExOlB1bGxSZXF1ZXN0Njg2NzY0ODY4
12,608
[Flax] Fix cur step flax examples
{ "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,625
1,625
1,625
MEMBER
null
Thanks a mille @m3hrdadfi !
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12608/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12608/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12608", "html_url": "https://github.com/huggingface/transformers/pull/12608", "diff_url": "https://github.com/huggingface/transformers/pull/12608.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12608.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12607
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12607/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12607/comments
https://api.github.com/repos/huggingface/transformers/issues/12607/events
https://github.com/huggingface/transformers/pull/12607
940,684,090
MDExOlB1bGxSZXF1ZXN0Njg2NzE5NjE5
12,607
T5 mlm Flax streaming example
{ "login": "gsarti", "id": 16674069, "node_id": "MDQ6VXNlcjE2Njc0MDY5", "avatar_url": "https://avatars.githubusercontent.com/u/16674069?v=4", "gravatar_id": "", "url": "https://api.github.com/users/gsarti", "html_url": "https://github.com/gsarti", "followers_url": "https://api.github.com/users/gsarti/fo...
[]
closed
false
null
[]
[ "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,625
1,632
1,632
CONTRIBUTOR
null
# Added T5 mlm Flax streaming example This PR adds an example script for T5 MLM Pretraining using 🤗 Datasets streaming feature. A new script `run_mlm_t5_flax_stream.py` is added in the `jax-projects/dataset-streaming` folder, and the `README.md` is updated accordingly with a training example for `t5-small` on the `...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12607/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12607/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12607", "html_url": "https://github.com/huggingface/transformers/pull/12607", "diff_url": "https://github.com/huggingface/transformers/pull/12607.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12607.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12606
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12606/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12606/comments
https://api.github.com/repos/huggingface/transformers/issues/12606/events
https://github.com/huggingface/transformers/issues/12606
940,658,370
MDU6SXNzdWU5NDA2NTgzNzA=
12,606
Remote process received SIGTERM on 96 core tpu-vm during group_text map on datasets
{ "login": "yhavinga", "id": 3098618, "node_id": "MDQ6VXNlcjMwOTg2MTg=", "avatar_url": "https://avatars.githubusercontent.com/u/3098618?v=4", "gravatar_id": "", "url": "https://api.github.com/users/yhavinga", "html_url": "https://github.com/yhavinga", "followers_url": "https://api.github.com/users/yhavi...
[]
closed
false
null
[]
[ "I added a notebook that shows that the error occurs during the map of the group_texts function on https://huggingface.co/flax-community/t5-base-dutch/blob/main/Load_token_group_dataset.ipynb", "When executing the above notebook with 8 processing threads on my local machine, there are no errors.", "This issue h...
1,625
1,629
1,629
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.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12606/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12606/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12605
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12605/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12605/comments
https://api.github.com/repos/huggingface/transformers/issues/12605/events
https://github.com/huggingface/transformers/issues/12605
940,657,283
MDU6SXNzdWU5NDA2NTcyODM=
12,605
🐛 `model_init` fails when its a partially evaluated funtion.
{ "login": "Guillem96", "id": 21279306, "node_id": "MDQ6VXNlcjIxMjc5MzA2", "avatar_url": "https://avatars.githubusercontent.com/u/21279306?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Guillem96", "html_url": "https://github.com/Guillem96", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "I can reproduce. I would argue that this is more a bug in Python than the `Trainer` but will try to find a way to fix this. In the meantime, you should avoid using partials for `model_init` :-)", "Thanks for the quick answer! I'll avoid using partials for now 👍🏼", "Should be fixed in the PR above!" ]
1,625
1,626
1,626
CONTRIBUTOR
null
https://github.com/huggingface/transformers/blob/65e27215ba991450e30aac1bf06f7f4e889e77fb/src/transformers/trainer.py#L908 Inspect module usage here does not take into account the cases when the user provides a partially evaluated function, causing an exception. Since the issue is related to the `trainer` API I t...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12605/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/12605/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12604
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12604/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12604/comments
https://api.github.com/repos/huggingface/transformers/issues/12604/events
https://github.com/huggingface/transformers/pull/12604
940,490,978
MDExOlB1bGxSZXF1ZXN0Njg2NTUzOTY1
12,604
Add LayoutLMv2 + LayoutXLM
{ "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 a lot for adding this model!\r\n> For LayoutXLM, I don't think we need a new page if we can use the same architecture and tokenizer without changes. Just mention on the doc page the architecture does both.\r\n> \r\n> Don't forget to add the model to the main README!\r\n@sgugger \r\n\r\nJust want to point ...
1,625
1,630
1,630
CONTRIBUTOR
null
# What does this PR do? This PR adds Microsoft's [LayoutLMv2](https://arxiv.org/abs/2012.14740) and [LayoutXLM](https://arxiv.org/abs/2104.08836) models, in PyTorch. The latter is a multilingual version of LayoutLMv2. For now, I have not yet added any documentation related to LayoutXLM, I'm not sure whether we need ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12604/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/12604/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12604", "html_url": "https://github.com/huggingface/transformers/pull/12604", "diff_url": "https://github.com/huggingface/transformers/pull/12604.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12604.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12603
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12603/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12603/comments
https://api.github.com/repos/huggingface/transformers/issues/12603/events
https://github.com/huggingface/transformers/issues/12603
940,448,660
MDU6SXNzdWU5NDA0NDg2NjA=
12,603
Facing Issue while loading pytorch model as flax model
{ "login": "bhadreshpsavani", "id": 26653468, "node_id": "MDQ6VXNlcjI2NjUzNDY4", "avatar_url": "https://avatars.githubusercontent.com/u/26653468?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhadreshpsavani", "html_url": "https://github.com/bhadreshpsavani", "followers_url": "https://api...
[]
closed
false
null
[]
[ "using `FlaxAutoModelForSeq2SeqLM` solved the issue, It was typing mistake" ]
1,625
1,625
1,625
CONTRIBUTOR
null
I am trying to convert pytorch model in flax so i can train in downstream task I wrote converting script like this ```python from transformers import AutoConfig, FlaxAutoModelForMaskedLM config = AutoConfig.from_pretrained("./") model = FlaxAutoModelForMaskedLM.from_pretrained("./", from_pt=True, config=config) ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12603/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12603/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12602
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12602/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12602/comments
https://api.github.com/repos/huggingface/transformers/issues/12602/events
https://github.com/huggingface/transformers/issues/12602
940,427,281
MDU6SXNzdWU5NDA0MjcyODE=
12,602
How to transfer fine-tuned model from python to rust?
{ "login": "amiyamandal-dev", "id": 42173775, "node_id": "MDQ6VXNlcjQyMTczNzc1", "avatar_url": "https://avatars.githubusercontent.com/u/42173775?v=4", "gravatar_id": "", "url": "https://api.github.com/users/amiyamandal-dev", "html_url": "https://github.com/amiyamandal-dev", "followers_url": "https://api...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
NONE
null
# 🚀 Feature request Since the maximum model in huggingface is in pytorch or tf. But I have used to BART-Large in rust-bert find out that the overall execution of BART-Large in rust is significantly lower than python. But don't know how to transfer fine-tuned pytorch model to rust env. Feature needed:- 1 . Need to m...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12602/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12602/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12601
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12601/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12601/comments
https://api.github.com/repos/huggingface/transformers/issues/12601/events
https://github.com/huggingface/transformers/issues/12601
940,354,836
MDU6SXNzdWU5NDAzNTQ4MzY=
12,601
Cannot load .pt model using Transformers
{ "login": "14H034160212", "id": 23516191, "node_id": "MDQ6VXNlcjIzNTE2MTkx", "avatar_url": "https://avatars.githubusercontent.com/u/23516191?v=4", "gravatar_id": "", "url": "https://api.github.com/users/14H034160212", "html_url": "https://github.com/14H034160212", "followers_url": "https://api.github.c...
[]
closed
false
null
[]
[ "What is your .pt model? Where did you obtain it from?", "While we don't have the complete details following is a possible solution:\r\nYou can initialize your model using transformers and simply load the weights using\r\n`model.load_state_dict(torch.load('model.pt'))`\r\n\r\nIn case this is not what you're looki...
1,625
1,630
1,630
NONE
null
Hi, I want to use Transformers to load .pt model. How can I do that? I know how to load .bin using transformers, but I do not know how to load .pt model using transformers. Thanks. config = config_class.from_pretrained( args.config_name if args.config_name else args.model_name_or_path, num_l...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12601/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12601/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12600
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12600/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12600/comments
https://api.github.com/repos/huggingface/transformers/issues/12600/events
https://github.com/huggingface/transformers/issues/12600
940,324,452
MDU6SXNzdWU5NDAzMjQ0NTI=
12,600
Custom tokenizer from Tokenizers library
{ "login": "darwinharianto", "id": 44696192, "node_id": "MDQ6VXNlcjQ0Njk2MTky", "avatar_url": "https://avatars.githubusercontent.com/u/44696192?v=4", "gravatar_id": "", "url": "https://api.github.com/users/darwinharianto", "html_url": "https://github.com/darwinharianto", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "https://github.com/huggingface/transformers/issues/11722\r\n\r\nfound solution here" ]
1,625
1,626
1,626
NONE
null
Hi, thank you for the library. I have a few questions regarding training from scratch. I used this as a reference on how to train new language model. https://colab.research.google.com/github/huggingface/blog/blob/master/notebooks/01_how_to_train.ipynb I wanted to train XLNet for my corpus. First, I could tra...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12600/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12600/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12599
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12599/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12599/comments
https://api.github.com/repos/huggingface/transformers/issues/12599/events
https://github.com/huggingface/transformers/pull/12599
940,314,409
MDExOlB1bGxSZXF1ZXN0Njg2NDA1NTMz
12,599
Point to the right file for hybrid CLIP
{ "login": "edugp", "id": 17855740, "node_id": "MDQ6VXNlcjE3ODU1NzQw", "avatar_url": "https://avatars.githubusercontent.com/u/17855740?v=4", "gravatar_id": "", "url": "https://api.github.com/users/edugp", "html_url": "https://github.com/edugp", "followers_url": "https://api.github.com/users/edugp/follow...
[]
closed
false
null
[]
[]
1,625
1,626
1,626
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12599/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12599/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12599", "html_url": "https://github.com/huggingface/transformers/pull/12599", "diff_url": "https://github.com/huggingface/transformers/pull/12599.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12599.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12598
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12598/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12598/comments
https://api.github.com/repos/huggingface/transformers/issues/12598/events
https://github.com/huggingface/transformers/issues/12598
940,275,140
MDU6SXNzdWU5NDAyNzUxNDA=
12,598
`tokenizer.special_tokens_map` has stringified list for "additional_special_tokens" value.
{ "login": "erip", "id": 2348806, "node_id": "MDQ6VXNlcjIzNDg4MDY=", "avatar_url": "https://avatars.githubusercontent.com/u/2348806?v=4", "gravatar_id": "", "url": "https://api.github.com/users/erip", "html_url": "https://github.com/erip", "followers_url": "https://api.github.com/users/erip/followers", ...
[]
closed
false
null
[]
[ "That seems like an issue indeed! Pinging @SaulLu ", "Thank you for your issue @erip! This seems to be a bug to me as well, I just opened a PR #12759 that should solve this problem. Now the command:\r\n```python\r\nfrom transformers import AutoTokenizer\r\nm = AutoTokenizer.from_pretrained('xlm-roberta-base')\r\n...
1,625
1,626
1,626
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.8.2 - Platform: macOS-10.15.7-x86_64-i386-64bit - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: no...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12598/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12598/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12597
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12597/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12597/comments
https://api.github.com/repos/huggingface/transformers/issues/12597/events
https://github.com/huggingface/transformers/pull/12597
940,208,596
MDExOlB1bGxSZXF1ZXN0Njg2MzE0Njgz
12,597
[doc] fix broken ref
{ "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,625
1,625
1,625
CONTRIBUTOR
null
add missing `:` @sgugger
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12597/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12597/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12597", "html_url": "https://github.com/huggingface/transformers/pull/12597", "diff_url": "https://github.com/huggingface/transformers/pull/12597.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12597.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12596
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12596/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12596/comments
https://api.github.com/repos/huggingface/transformers/issues/12596/events
https://github.com/huggingface/transformers/pull/12596
940,169,244
MDExOlB1bGxSZXF1ZXN0Njg2MjgxMDgy
12,596
Translate README.md to Simplified Chinese
{ "login": "JetRunner", "id": 22514219, "node_id": "MDQ6VXNlcjIyNTE0MjE5", "avatar_url": "https://avatars.githubusercontent.com/u/22514219?v=4", "gravatar_id": "", "url": "https://api.github.com/users/JetRunner", "html_url": "https://github.com/JetRunner", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "The Chinese translations looks good to me!", "LGTM.", "@JetRunner I can help with the translation of Traditional Chinese. Would you like me submitting a PR or any kinds of assistance?", "> @JetRunner I can help with the translation of Traditional Chinese. Would you like me submitting a PR or any kinds of ass...
1,625
1,626
1,626
CONTRIBUTOR
null
This is part of the Hugging Face document translation project. I appreciate it if anyone (from Hong Kong / Taiwan) could help verify the traditional Chinese version (which is still WIP).
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12596/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12596/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12596", "html_url": "https://github.com/huggingface/transformers/pull/12596", "diff_url": "https://github.com/huggingface/transformers/pull/12596.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12596.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12595
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12595/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12595/comments
https://api.github.com/repos/huggingface/transformers/issues/12595/events
https://github.com/huggingface/transformers/pull/12595
940,153,470
MDExOlB1bGxSZXF1ZXN0Njg2MjY3Njk2
12,595
[Flax] Add flax marian
{ "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,625
1,625
1,625
MEMBER
null
This PR adds Flax Marian
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12595/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/12595/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12595", "html_url": "https://github.com/huggingface/transformers/pull/12595", "diff_url": "https://github.com/huggingface/transformers/pull/12595.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12595.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12594
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12594/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12594/comments
https://api.github.com/repos/huggingface/transformers/issues/12594/events
https://github.com/huggingface/transformers/issues/12594
940,104,434
MDU6SXNzdWU5NDAxMDQ0MzQ=
12,594
GPT-2 asking for Padding Token
{ "login": "MarcM0", "id": 30278842, "node_id": "MDQ6VXNlcjMwMjc4ODQy", "avatar_url": "https://avatars.githubusercontent.com/u/30278842?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MarcM0", "html_url": "https://github.com/MarcM0", "followers_url": "https://api.github.com/users/MarcM0/fo...
[]
closed
false
null
[]
[ "```python\r\ntokenizer.pad_token = tokenizer.eos_token\r\n```\r\n\r\nis the recommended way to fix the warning :-) ", "alright thank you, so eos instead of unknown right?", "Upon further research, it seems they default to the same thing anyways https://huggingface.co/transformers/model_doc/gpt2.html" ]
1,625
1,625
1,625
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.8.2 - Platform: Windows 10 (Google Collab) - Python version: Python 3.6.9 - PyTorch version (GPU?):1.8.1+c...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12594/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12594/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12593
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12593/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12593/comments
https://api.github.com/repos/huggingface/transformers/issues/12593/events
https://github.com/huggingface/transformers/issues/12593
940,079,275
MDU6SXNzdWU5NDAwNzkyNzU=
12,593
XLM-RoBERTa NER extraction breaks/splitting the words !
{ "login": "dummynov1", "id": 83328005, "node_id": "MDQ6VXNlcjgzMzI4MDA1", "avatar_url": "https://avatars.githubusercontent.com/u/83328005?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dummynov1", "html_url": "https://github.com/dummynov1", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Cc @Narsil ", "Hi @dummynov1 ,\r\n\r\nYou are using `grouped_entities` which will only to attempt to fuse *valid* entities (B-PER, I-PER, I-PER). Any break in that structure won't get merged and you might break words up.\r\n\r\nWe recently added other aggregation strategies ( https://huggingface.co/transformers/...
1,625
1,647
1,627
NONE
null
I have been using the huggingface xlm-roberta-large-finetuned-conll03-english model NER pipeline for extracting Names, Location and Organization Entities. But i'm facing an issue now and then with certain entity extraction from short sentences where a word is broken down into sub-word tokens with different entity ty...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12593/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/12593/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12592
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12592/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12592/comments
https://api.github.com/repos/huggingface/transformers/issues/12592/events
https://github.com/huggingface/transformers/pull/12592
940,013,701
MDExOlB1bGxSZXF1ZXN0Njg2MTQ4NDYw
12,592
Add Flax sprint project evaluation section
{ "login": "osanseviero", "id": 7246357, "node_id": "MDQ6VXNlcjcyNDYzNTc=", "avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4", "gravatar_id": "", "url": "https://api.github.com/users/osanseviero", "html_url": "https://github.com/osanseviero", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
MEMBER
null
Add a section on the project evaluation. As more jury members get confirmed, we can extend the list
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12592/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12592/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12592", "html_url": "https://github.com/huggingface/transformers/pull/12592", "diff_url": "https://github.com/huggingface/transformers/pull/12592.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12592.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12591
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12591/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12591/comments
https://api.github.com/repos/huggingface/transformers/issues/12591/events
https://github.com/huggingface/transformers/pull/12591
939,950,372
MDExOlB1bGxSZXF1ZXN0Njg2MDkzOTQ3
12,591
Fix MT5 init
{ "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,625
1,625
1,625
COLLABORATOR
null
# What does this PR do? This PR fixes the MT5 init to make sure to always have the tokenizer available (even if tokenizers or sentencepiece is not available). Fixes #12588
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12591/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12591/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12591", "html_url": "https://github.com/huggingface/transformers/pull/12591", "diff_url": "https://github.com/huggingface/transformers/pull/12591.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12591.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12590
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12590/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12590/comments
https://api.github.com/repos/huggingface/transformers/issues/12590/events
https://github.com/huggingface/transformers/pull/12590
939,937,714
MDExOlB1bGxSZXF1ZXN0Njg2MDgzMTA1
12,590
flax model parallel training
{ "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 typically done using using various load balancing methods, e.g. deepspeed pipe has:\r\nhttps://www.deepspeed.ai/tutorials/pipeline/#load-balancing-pipeline-modules\r\n\r\npytorch has these too but I can't find any mentions of these in their docs. \r\nHave to go to the source:\r\nhttps://github.com/pytorch/...
1,625
1,626
1,626
MEMBER
null
# What does this PR do? Adds model parallel training example for GPTNeo using jax's [`pjit`](https://jax.readthedocs.io/en/latest/jax.experimental.pjit.html) transformation. (This example probably just works on a single TPU v3-8). This should enable training bigger models like 1.3B GPTNeo on a single TPU V3-8. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12590/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12590/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12590", "html_url": "https://github.com/huggingface/transformers/pull/12590", "diff_url": "https://github.com/huggingface/transformers/pull/12590.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12590.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12589
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12589/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12589/comments
https://api.github.com/repos/huggingface/transformers/issues/12589/events
https://github.com/huggingface/transformers/issues/12589
939,911,642
MDU6SXNzdWU5Mzk5MTE2NDI=
12,589
Git LFS bug when uploading to hub
{ "login": "BirgerMoell", "id": 1704131, "node_id": "MDQ6VXNlcjE3MDQxMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/1704131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BirgerMoell", "html_url": "https://github.com/BirgerMoell", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "You need to explicitly `git lfs track` the files (of file name patterns) that are to be stored in LFS", "Here it might be your tfevent files, so you can `git lfs track \"*tfevents*\"`?", "Solved it by doing the following.\r\n\r\n\r\n1.Tracking the file with LFS \r\n```\r\ngit lfs track filename\r\n```\r\n2 Ass...
1,625
1,625
1,625
NONE
null
After running a MLM for 69000 steps https://huggingface.co/birgermoell/roberta-swedish-scandi/tree/main the model crashed and now I get an error when trying to upload to the hub. The same error was responsible for stopping the training. ``` Uploading LFS objects: 100% (2/2), 998 MB | 0 B/s, done. ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12589/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12589/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12588
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12588/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12588/comments
https://api.github.com/repos/huggingface/transformers/issues/12588/events
https://github.com/huggingface/transformers/issues/12588
939,903,314
MDU6SXNzdWU5Mzk5MDMzMTQ=
12,588
'MT5Tokenizer' is not defined (on Google colab)
{ "login": "rashmibanthia", "id": 4139133, "node_id": "MDQ6VXNlcjQxMzkxMzM=", "avatar_url": "https://avatars.githubusercontent.com/u/4139133?v=4", "gravatar_id": "", "url": "https://api.github.com/users/rashmibanthia", "html_url": "https://github.com/rashmibanthia", "followers_url": "https://api.github....
[]
closed
false
null
[]
[ "Fixed it for now - `!pip install git+https://github.com/huggingface/transformers.git@b29c394` ", "Should be fixed now, thanks for reporting!" ]
1,625
1,625
1,625
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: `transformers-4.9.0.dev0` - Platform: Google Colab - Python version: `3.7.10` - PyTorch version (GPU?): `1...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12588/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12588/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12587
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12587/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12587/comments
https://api.github.com/repos/huggingface/transformers/issues/12587/events
https://github.com/huggingface/transformers/issues/12587
939,899,494
MDU6SXNzdWU5Mzk4OTk0OTQ=
12,587
OOM during saving step
{ "login": "thies1006", "id": 32954413, "node_id": "MDQ6VXNlcjMyOTU0NDEz", "avatar_url": "https://avatars.githubusercontent.com/u/32954413?v=4", "gravatar_id": "", "url": "https://api.github.com/users/thies1006", "html_url": "https://github.com/thies1006", "followers_url": "https://api.github.com/users/...
[ { "id": 2659267025, "node_id": "MDU6TGFiZWwyNjU5MjY3MDI1", "url": "https://api.github.com/repos/huggingface/transformers/labels/DeepSpeed", "name": "DeepSpeed", "color": "4D34F7", "default": false, "description": "" } ]
closed
false
{ "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github.com/users/stas00/fo...
[ { "login": "stas00", "id": 10676103, "node_id": "MDQ6VXNlcjEwNjc2MTAz", "avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4", "gravatar_id": "", "url": "https://api.github.com/users/stas00", "html_url": "https://github.com/stas00", "followers_url": "https://api.github...
[ "cc @sgugger ", "I think this is more on the DeepSpeed side so cc-ing @stas00 to confirm.", "Thank you for the full log.\r\n\r\nYes, it's on the deepspeed side. \r\n\r\nAs you can see in https://huggingface.co/transformers/master/main_classes/deepspeed.html#getting-the-model-weights-out if you use:\r\n\r\n```\r...
1,625
1,626
1,626
NONE
null
I'm trying to train the Blenderbot-9B model using the Deepspeed integration on 8 GPUs, each of them has 16GB VRAM (one node). Script: `deepspeed --hostfile myhostfile \ ${_PATH}/examples/pytorch/summarization/run_summarization.py \ --model_name_or_path hyunwoongko/blenderbot-9B \ --do_train \ --...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12587/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12587/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12586
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12586/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12586/comments
https://api.github.com/repos/huggingface/transformers/issues/12586/events
https://github.com/huggingface/transformers/pull/12586
939,879,449
MDExOlB1bGxSZXF1ZXN0Njg2MDMyNTM0
12,586
Fix caching issue #12536
{ "login": "ManuelFay", "id": 43467008, "node_id": "MDQ6VXNlcjQzNDY3MDA4", "avatar_url": "https://avatars.githubusercontent.com/u/43467008?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ManuelFay", "html_url": "https://github.com/ManuelFay", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Note: Tests will have to be changed if you want to go this way, I would imagine it's a bit too general of a fix to be honest.", "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 th...
1,625
1,629
1,629
CONTRIBUTOR
null
# What does this PR do? This PR is a proposed fix to issue #12536 . It does so by simply logging the unfound file instead of raising an error causing program execution, in the special case of non-existent optional vocab files which are handled in the case `local_files_only=True` (`FileNotFoundError`) and the case wh...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12586/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12586/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12586", "html_url": "https://github.com/huggingface/transformers/pull/12586", "diff_url": "https://github.com/huggingface/transformers/pull/12586.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12586.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12585
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12585/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12585/comments
https://api.github.com/repos/huggingface/transformers/issues/12585/events
https://github.com/huggingface/transformers/issues/12585
939,847,851
MDU6SXNzdWU5Mzk4NDc4NTE=
12,585
Error when running wav2vec2 embeddings
{ "login": "BirgerMoell", "id": 1704131, "node_id": "MDQ6VXNlcjE3MDQxMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/1704131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BirgerMoell", "html_url": "https://github.com/BirgerMoell", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Can you copy-paste a reproducible code snippet here (create dummy data if necessary) ? :-) ", "Made a colab that reproduced the error.\r\nhttps://colab.research.google.com/drive/1JpZ33M3tCKJBK6XZeDhj4u30roWKQ63s?usp=sharing", "I can't run the colab as `processor` is commented out", "The main problem is the ...
1,625
1,628
1,628
NONE
null
While trying to extract wav2vec2 embeddings I get the following errors. e "feature_extractor.py", line 80, in <module> feature_extractor("/home/bmoell/data/media.talkbank.org/dementia/English/Pitt/Control/cookie") File "feature_extractor.py", line 36, in feature_extractor get_wav2vecembeddings_from_audi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12585/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12585/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12584
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12584/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12584/comments
https://api.github.com/repos/huggingface/transformers/issues/12584/events
https://github.com/huggingface/transformers/issues/12584
939,846,147
MDU6SXNzdWU5Mzk4NDYxNDc=
12,584
[Flax]Not able to Run Hugging Face GPT2 model for jax on TPU's
{ "login": "vivekvkashyap", "id": 58116635, "node_id": "MDQ6VXNlcjU4MTE2NjM1", "avatar_url": "https://avatars.githubusercontent.com/u/58116635?v=4", "gravatar_id": "", "url": "https://api.github.com/users/vivekvkashyap", "html_url": "https://github.com/vivekvkashyap", "followers_url": "https://api.githu...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "@patrickvonplaten \r\n", "Hey @vivekvkashyap,\r\ninstead of putting a screenshot here - could you maybe copy paste the link to your google colab instead so that we can reproduce the error?\r\n\r\nThank you!", "@patrickvonplaten i have added the colab notebook in the section To Reproduce\r\n", "@patil-suraj\...
1,625
1,626
1,626
NONE
null
Hi,Trying to do FlaxGPT2ForMultipleChoice.I am trying to run GPT2 using hugging face for TPU's.It is showing tuple out of index.But when i run it in CPU there is no such error.Even when i run a simple model without any code of mine it is also behaving the same in TPU. ![image](https://user-images.githubuserconten...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12584/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12584/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12583
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12583/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12583/comments
https://api.github.com/repos/huggingface/transformers/issues/12583/events
https://github.com/huggingface/transformers/issues/12583
939,821,639
MDU6SXNzdWU5Mzk4MjE2Mzk=
12,583
AttributeError for DataCollatorForLanguageModelling with tokenizers.Tokenizer
{ "login": "lewisbails", "id": 32473550, "node_id": "MDQ6VXNlcjMyNDczNTUw", "avatar_url": "https://avatars.githubusercontent.com/u/32473550?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lewisbails", "html_url": "https://github.com/lewisbails", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hi there! I am unsure why you thought you could use a `tokenizers.Tokenizer` object here. The [documentation](https://huggingface.co/transformers/main_classes/data_collator.html#datacollatorforlanguagemodeling) clearly states it has to be a `PreTrainedTokenizerBase`, so either a `PreTrainedTokenizer` or a `PreTrai...
1,625
1,625
1,625
CONTRIBUTOR
null
## Environment info - `transformers` version: 4.8.2 - Platform: Linux-5.3.0-53-generic-x86_64-with-debian-buster-sid - Python version: 3.7.10 - PyTorch version (GPU?): 1.9.0+cu102 (True) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not install...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12583/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12583/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12582
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12582/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12582/comments
https://api.github.com/repos/huggingface/transformers/issues/12582/events
https://github.com/huggingface/transformers/pull/12582
939,806,077
MDExOlB1bGxSZXF1ZXN0Njg1OTY4OTA1
12,582
Simplify unk token
{ "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,625
1,625
1,625
COLLABORATOR
null
# What does this PR do? As seen on [tokenizers#748](https://github.com/huggingface/tokenizers/issues/748) it's possible to avoid the UnigramTrainer forgetting about the unknown token if we set it properly as a kwarg when defining the trainer. This PR does that to avoid messing with the json after.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12582/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12582/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12582", "html_url": "https://github.com/huggingface/transformers/pull/12582", "diff_url": "https://github.com/huggingface/transformers/pull/12582.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12582.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12581
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12581/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12581/comments
https://api.github.com/repos/huggingface/transformers/issues/12581/events
https://github.com/huggingface/transformers/issues/12581
939,774,886
MDU6SXNzdWU5Mzk3NzQ4ODY=
12,581
ViT doesnt use tokenizer, yet shown as example transformer website
{ "login": "dmatos2012", "id": 11776554, "node_id": "MDQ6VXNlcjExNzc2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/11776554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/dmatos2012", "html_url": "https://github.com/dmatos2012", "followers_url": "https://api.github.com/use...
[]
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...
[ "cc @julien-c @LysandreJik @sgugger @patil-suraj - For Vision and Speech models we probably should create a `AutoProcessor` and adapt the default website widget to not use `AutoTokenizer` for Vision & Speech", "There is the `AutoFeatureExtractor` class already for vision (since there are no processors there).", ...
1,625
1,686
1,629
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12581/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12581/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12580
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12580/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12580/comments
https://api.github.com/repos/huggingface/transformers/issues/12580/events
https://github.com/huggingface/transformers/issues/12580
939,706,654
MDU6SXNzdWU5Mzk3MDY2NTQ=
12,580
Unable to quantize Google's LaBSE model using convert_graph_to_onnx.py
{ "login": "swapnil3597", "id": 30098342, "node_id": "MDQ6VXNlcjMwMDk4MzQy", "avatar_url": "https://avatars.githubusercontent.com/u/30098342?v=4", "gravatar_id": "", "url": "https://api.github.com/users/swapnil3597", "html_url": "https://github.com/swapnil3597", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[ "Indeed, this looks like a memory error!", "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/huggingf...
1,625
1,629
1,629
NONE
null
## Environment Info: Experiment was performed on Google Colab, RAM: 12.69GB Also experiment on machine with ~20GB RAM available. ### Who can help @LysandreJik @sgugger @SilvanK4t1qbit ## Information I'm unable to quantize Google's [`setu4993/LaBSE`](https://huggingface.co/setu4993/LaBSE) model using script [`...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12580/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/12580/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12579
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12579/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12579/comments
https://api.github.com/repos/huggingface/transformers/issues/12579/events
https://github.com/huggingface/transformers/issues/12579
939,558,818
MDU6SXNzdWU5Mzk1NTg4MTg=
12,579
ImportError: cannot import name 'LineByLineTextDataset' from 'transformers' (unknown location)
{ "login": "ccyccxcl", "id": 24389529, "node_id": "MDQ6VXNlcjI0Mzg5NTI5", "avatar_url": "https://avatars.githubusercontent.com/u/24389529?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ccyccxcl", "html_url": "https://github.com/ccyccxcl", "followers_url": "https://api.github.com/users/ccy...
[]
closed
false
null
[]
[ "Yes this notebook is deprecated, you should look at the new version [here](https://github.com/huggingface/notebooks/blob/master/examples/language_modeling_from_scratch.ipynb) (or on [colab](https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/language_modeling_from_scratch.ipynb)).\r...
1,625
1,629
1,629
NONE
null
when I tried to run the following codes as in **https://huggingface.co/blog/how-to-train** , it raised a bug: from transformers import LineByLineTextDataset dataset = LineByLineTextDataset( tokenizer=tokenizer, file_path="./oscar.eo.txt", block_size=128, ) ImportError: cannot import name 'Line...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12579/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12579/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12578
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12578/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12578/comments
https://api.github.com/repos/huggingface/transformers/issues/12578/events
https://github.com/huggingface/transformers/issues/12578
939,534,652
MDU6SXNzdWU5Mzk1MzQ2NTI=
12,578
tuple index out of range for FlaxMBartForConditionalGeneration
{ "login": "bhavitvyamalik", "id": 19718818, "node_id": "MDQ6VXNlcjE5NzE4ODE4", "avatar_url": "https://avatars.githubusercontent.com/u/19718818?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhavitvyamalik", "html_url": "https://github.com/bhavitvyamalik", "followers_url": "https://api.gi...
[]
closed
false
{ "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "followers_url": "https://...
[ { "login": "patrickvonplaten", "id": 23423619, "node_id": "MDQ6VXNlcjIzNDIzNjE5", "avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patrickvonplaten", "html_url": "https://github.com/patrickvonplaten", "follo...
[ "Hi @bhavitvyamalik \r\n\r\nI tried this on TPU VM and it works. Where did you try it colab TPU or TPU VM ? ", "I tried this on Colab. Wanted to test the pipeline here before shifting it TPU VM. Is there any way to run it on google colab?", "Not sure, I will try to see what's the issue with colab. But it should...
1,625
1,659
1,626
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.9.0.dev0 (installed from source) - Platform: Google colab - Python version: 3.7.10 - Using TPU in script?:...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12578/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12578/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12577
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12577/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12577/comments
https://api.github.com/repos/huggingface/transformers/issues/12577/events
https://github.com/huggingface/transformers/pull/12577
939,521,676
MDExOlB1bGxSZXF1ZXN0Njg1NzI5MDY3
12,577
[Work In Progress] SentenceTransformer implementation based on CLIP
{ "login": "minsik-ai", "id": 20217873, "node_id": "MDQ6VXNlcjIwMjE3ODcz", "avatar_url": "https://avatars.githubusercontent.com/u/20217873?v=4", "gravatar_id": "", "url": "https://api.github.com/users/minsik-ai", "html_url": "https://github.com/minsik-ai", "followers_url": "https://api.github.com/users/...
[]
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,625
1,629
1,629
NONE
null
# What does this PR do? Sentence Transformer Flax implementation for Flax/JAX week. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CON...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12577/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12577/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12577", "html_url": "https://github.com/huggingface/transformers/pull/12577", "diff_url": "https://github.com/huggingface/transformers/pull/12577.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12577.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12576
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12576/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12576/comments
https://api.github.com/repos/huggingface/transformers/issues/12576/events
https://github.com/huggingface/transformers/issues/12576
939,503,874
MDU6SXNzdWU5Mzk1MDM4NzQ=
12,576
Summarization failure "All images are copyrighted" for certain text inputs
{ "login": "polplop", "id": 47445257, "node_id": "MDQ6VXNlcjQ3NDQ1MjU3", "avatar_url": "https://avatars.githubusercontent.com/u/47445257?v=4", "gravatar_id": "", "url": "https://api.github.com/users/polplop", "html_url": "https://github.com/polplop", "followers_url": "https://api.github.com/users/polplo...
[]
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,625
1,689
1,629
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.5.1 - Platform: Linux-5.2.18-200.fc30.x86_64-x86_64-with-fedora-30-Thirty - Python version: 3.7.4 - PyTorc...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12576/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12576/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12575
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12575/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12575/comments
https://api.github.com/repos/huggingface/transformers/issues/12575/events
https://github.com/huggingface/transformers/issues/12575
939,407,755
MDU6SXNzdWU5Mzk0MDc3NTU=
12,575
HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Max retries exceeded
{ "login": "moh-yani", "id": 55953151, "node_id": "MDQ6VXNlcjU1OTUzMTUx", "avatar_url": "https://avatars.githubusercontent.com/u/55953151?v=4", "gravatar_id": "", "url": "https://api.github.com/users/moh-yani", "html_url": "https://github.com/moh-yani", "followers_url": "https://api.github.com/users/moh...
[]
closed
false
null
[]
[ "Looks like a networking or DNS error. Can you try again, or try from another machine/network?", "Dear @julien-c \r\n\r\nThank you for the assistance. We will try again to run this.\r\n\r\nKind regards,\r\n\r\nMY", "This issue has been automatically marked as stale because it has not had recent activity. If you...
1,625
1,694
1,629
NONE
null
Dear, I am new in Transformers, I just tried to run the syntax below: from transformers import BertForSequenceClassification, AdamW, BertConfig model = BertForSequenceClassification.from_pretrained( "bert-base-cased", num_labels = 2, output_attentions = False, output_hidden_states = False ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12575/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12575/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12574
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12574/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12574/comments
https://api.github.com/repos/huggingface/transformers/issues/12574/events
https://github.com/huggingface/transformers/pull/12574
939,379,257
MDExOlB1bGxSZXF1ZXN0Njg1NjExMzgx
12,574
[model.from_pretrained] raise exception early on failed load
{ "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,625
1,625
1,625
CONTRIBUTOR
null
Currently if `load` pretrained weights fails in `from_pretrained`, we first print a whole bunch of successful messages and then fail - this PR puts the exception first to avoid all the misleading messages. (github produces some weird replay effects when re-using a branch that it assigns by default when editing on gi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12574/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12574/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12574", "html_url": "https://github.com/huggingface/transformers/pull/12574", "diff_url": "https://github.com/huggingface/transformers/pull/12574.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12574.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12573
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12573/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12573/comments
https://api.github.com/repos/huggingface/transformers/issues/12573/events
https://github.com/huggingface/transformers/issues/12573
939,378,380
MDU6SXNzdWU5MzkzNzgzODA=
12,573
PEGASUS using ONNX
{ "login": "karimfayed", "id": 46823709, "node_id": "MDQ6VXNlcjQ2ODIzNzA5", "avatar_url": "https://avatars.githubusercontent.com/u/46823709?v=4", "gravatar_id": "", "url": "https://api.github.com/users/karimfayed", "html_url": "https://github.com/karimfayed", "followers_url": "https://api.github.com/use...
[]
closed
false
null
[]
[ "Hello @karimfayed! We're in the process of switching our approach relative to using the ONNX converter. See the following PR https://github.com/huggingface/transformers/pull/11786.\r\n\r\nIt has support for BART, so enabling support for Pegasus should be fairly simple. Please let us know if you run into any issues...
1,625
1,629
1,629
NONE
null
Hello @patrickvonplaten. , I just uploaded my fine-tuned model to the hub and I wanted to use ONNX to convert the pytorch model and be able to use it in a JavaScript back-end. **I used the following command:** `!python3 -m transformers.convert_graph_to_onnx --model Karimfayed/pegasus-SAMSum --framework pt pegasus-SA...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12573/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12573/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12572
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12572/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12572/comments
https://api.github.com/repos/huggingface/transformers/issues/12572/events
https://github.com/huggingface/transformers/issues/12572
939,355,997
MDU6SXNzdWU5MzkzNTU5OTc=
12,572
push_to_hub related issues (from Google Colab)
{ "login": "ewalia", "id": 34584727, "node_id": "MDQ6VXNlcjM0NTg0NzI3", "avatar_url": "https://avatars.githubusercontent.com/u/34584727?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ewalia", "html_url": "https://github.com/ewalia", "followers_url": "https://api.github.com/users/ewalia/fo...
[]
closed
false
null
[]
[ "Are you inside a Colab?\r\n\r\nYou might want to try `huggingface_hub.Repository` and pass in an authentication token\r\n", "To write to the repo, you'll also need to login with `!huggingface-cli login`\r\n\r\nOnce you've done that, if you want to use only git commands without passing by the `Repository` class, ...
1,625
1,629
1,629
NONE
null
I am trying to write a transformer model to a repo at huggingface.co !git push doesn't work after successful !git add . and !git commit fatal: could not read username for https://huggingface.co no such device or address
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12572/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12572/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12571
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12571/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12571/comments
https://api.github.com/repos/huggingface/transformers/issues/12571/events
https://github.com/huggingface/transformers/issues/12571
939,354,089
MDU6SXNzdWU5MzkzNTQwODk=
12,571
AutoTokenizer not loading gpt2 model on instance without internet connection even after caching model
{ "login": "bhedayat", "id": 13006899, "node_id": "MDQ6VXNlcjEzMDA2ODk5", "avatar_url": "https://avatars.githubusercontent.com/u/13006899?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bhedayat", "html_url": "https://github.com/bhedayat", "followers_url": "https://api.github.com/users/bhe...
[]
closed
false
null
[]
[ "Seemed to have fixed it by following this https://github.com/huggingface/transformers/issues/9687\r\nand using transformers 4.5.1 instead", "Same problem as #12536. @LysandreJik ", "i got the same error for load model \"bert-base-uncased\"", "This issue has been automatically marked as stale because it has ...
1,625
1,650
1,629
NONE
null
I am trying to first download and cache the GPT2 Tokenizer to use on an instance that does not have internet connection. I am able to download the tokenizer on my ec2 instance that does have an internet connection but when i copy over the directory to my instance that does not have the connection it gives a connection ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12571/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12571/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12570
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12570/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12570/comments
https://api.github.com/repos/huggingface/transformers/issues/12570/events
https://github.com/huggingface/transformers/issues/12570
939,345,183
MDU6SXNzdWU5MzkzNDUxODM=
12,570
Can't Select Specific GPU by TrainingArguments
{ "login": "EasonC13", "id": 43432631, "node_id": "MDQ6VXNlcjQzNDMyNjMx", "avatar_url": "https://avatars.githubusercontent.com/u/43432631?v=4", "gravatar_id": "", "url": "https://api.github.com/users/EasonC13", "html_url": "https://github.com/EasonC13", "followers_url": "https://api.github.com/users/Eas...
[]
closed
false
null
[]
[ "You should use the env variable `CUDA_VISIBLE_DEVICES` to set the GPUs you want to use. If you have multiple GPUs available, the `Trainer` will use all of them, that is expected and not a bug.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still nee...
1,625
1,692
1,629
NONE
null
## Environment info <!-- You can run the command `transformers-cli env` and copy-and-paste its output below. Don't forget to fill out the missing fields in that output! --> - `transformers` version: 4.8.2 - Platform: Jupyter Notebook on Ubuntu - Python version: 3.7 - PyTorch version (GPU?): 1.8.0+cu111 - ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12570/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12570/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12569
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12569/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12569/comments
https://api.github.com/repos/huggingface/transformers/issues/12569/events
https://github.com/huggingface/transformers/pull/12569
939,257,467
MDExOlB1bGxSZXF1ZXN0Njg1NTA2NTUz
12,569
Remove logging of GPU count etc from run_t5_mlm_flax.py
{ "login": "ibraheem-moosa", "id": 14109029, "node_id": "MDQ6VXNlcjE0MTA5MDI5", "avatar_url": "https://avatars.githubusercontent.com/u/14109029?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ibraheem-moosa", "html_url": "https://github.com/ibraheem-moosa", "followers_url": "https://api.gi...
[]
closed
false
null
[]
[ "@patrickvonplaten Hey Patrick can you please check this PR?" ]
1,625
1,628
1,625
CONTRIBUTOR
null
Successfully logging this information requires Pytorch. For the purposes of this script we are not using Pytorch. # 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 mak...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12569/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/12569/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12569", "html_url": "https://github.com/huggingface/transformers/pull/12569", "diff_url": "https://github.com/huggingface/transformers/pull/12569.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12569.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12568
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12568/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12568/comments
https://api.github.com/repos/huggingface/transformers/issues/12568/events
https://github.com/huggingface/transformers/issues/12568
939,196,536
MDU6SXNzdWU5MzkxOTY1MzY=
12,568
Pegasus from Pytorch to tensorflow
{ "login": "karimfayed", "id": 46823709, "node_id": "MDQ6VXNlcjQ2ODIzNzA5", "avatar_url": "https://avatars.githubusercontent.com/u/46823709?v=4", "gravatar_id": "", "url": "https://api.github.com/users/karimfayed", "html_url": "https://github.com/karimfayed", "followers_url": "https://api.github.com/use...
[ { "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
[]
[ "You should update `<pt, tf>` to reflect the library you want to use to export the graph. Either `pt` or `tf`.", "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that d...
1,625
1,629
1,629
NONE
null
I have fine-tuned PEGASUS model for abstractive summarization using [this script](https://gist.github.com/jiahao87/50cec29725824da7ff6dd9314b53c4b3) which uses huggingface. The output model is in pytorch. On huggingface [docs](https://huggingface.co/transformers/serialization.html) the following is supposed to do...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12568/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12568/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12567
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12567/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12567/comments
https://api.github.com/repos/huggingface/transformers/issues/12567/events
https://github.com/huggingface/transformers/pull/12567
939,123,384
MDExOlB1bGxSZXF1ZXN0Njg1MzkyODIy
12,567
Init pickle
{ "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,625
1,625
1,625
COLLABORATOR
null
# What does this PR do? This PR is an alternative to #12552 and properly sets `_LazyModule` as a class used in all inits (no custom subclasses anymore) to make the `transformers` module picklable. It also cleans up nicely the inits. The only downside is that new models started before this PR but not yet merged wi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12567/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/12567/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12567", "html_url": "https://github.com/huggingface/transformers/pull/12567", "diff_url": "https://github.com/huggingface/transformers/pull/12567.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12567.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12566
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12566/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12566/comments
https://api.github.com/repos/huggingface/transformers/issues/12566/events
https://github.com/huggingface/transformers/pull/12566
939,102,594
MDExOlB1bGxSZXF1ZXN0Njg1Mzc1MTA3
12,566
[examples/hybrid_clip] fix loading clip vision model
{ "login": "patil-suraj", "id": 27137566, "node_id": "MDQ6VXNlcjI3MTM3NTY2", "avatar_url": "https://avatars.githubusercontent.com/u/27137566?v=4", "gravatar_id": "", "url": "https://api.github.com/users/patil-suraj", "html_url": "https://github.com/patil-suraj", "followers_url": "https://api.github.com/...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
MEMBER
null
# What does this PR do? Fix loading config when the model is of type `clip_vision_model`.
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12566/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12566/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12566", "html_url": "https://github.com/huggingface/transformers/pull/12566", "diff_url": "https://github.com/huggingface/transformers/pull/12566.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12566.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12565
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12565/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12565/comments
https://api.github.com/repos/huggingface/transformers/issues/12565/events
https://github.com/huggingface/transformers/pull/12565
939,048,895
MDExOlB1bGxSZXF1ZXN0Njg1MzI5MjUw
12,565
tfhub.de -> tfhub.dev
{ "login": "abhishekkrthakur", "id": 1183441, "node_id": "MDQ6VXNlcjExODM0NDE=", "avatar_url": "https://avatars.githubusercontent.com/u/1183441?v=4", "gravatar_id": "", "url": "https://api.github.com/users/abhishekkrthakur", "html_url": "https://github.com/abhishekkrthakur", "followers_url": "https://ap...
[]
closed
false
null
[]
[ "strictly speaking, tensorboard.dev is not a part of tfhub.dev, is it?\r\n\r\n(sorry for piggybacking on this tiny PR 😂)", "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 is...
1,625
1,681
1,628
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12565/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12565/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12565", "html_url": "https://github.com/huggingface/transformers/pull/12565", "diff_url": "https://github.com/huggingface/transformers/pull/12565.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12565.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12564
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12564/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12564/comments
https://api.github.com/repos/huggingface/transformers/issues/12564/events
https://github.com/huggingface/transformers/pull/12564
939,032,170
MDExOlB1bGxSZXF1ZXN0Njg1MzE0OTkz
12,564
Added fsck_etags to verify cache consistency.
{ "login": "xloem", "id": 279585, "node_id": "MDQ6VXNlcjI3OTU4NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/279585?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xloem", "html_url": "https://github.com/xloem", "followers_url": "https://api.github.com/users/xloem/followers"...
[]
closed
false
null
[]
[ "Hello, thank you for your contribution! How do you envision using this? Running this locally on a smallish 23GB cache takes 46 seconds on my machine, so this isn't something that can be ran every time.\r\n\r\nHow would you recommend we approach solving #12557 using your proposal?", "Hey, thanks for your reply.\r...
1,625
1,629
1,629
CONTRIBUTOR
null
# What does this PR do? A prototype function is added to check cache consistency. Note that it does not verify the data is correct, just that the data hashes are consistent. It may be used as: `python -c 'from transformers import file_utils; file_utils.fsck_etags()'` No output means all the local etags match ...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12564/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12564/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12564", "html_url": "https://github.com/huggingface/transformers/pull/12564", "diff_url": "https://github.com/huggingface/transformers/pull/12564.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12564.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12563
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12563/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12563/comments
https://api.github.com/repos/huggingface/transformers/issues/12563/events
https://github.com/huggingface/transformers/issues/12563
938,976,171
MDU6SXNzdWU5Mzg5NzYxNzE=
12,563
Issue in terms of accuracy of onnx converted models of SQUAD based ROBERTA on legal domain.
{ "login": "kingafy", "id": 15839412, "node_id": "MDQ6VXNlcjE1ODM5NDEy", "avatar_url": "https://avatars.githubusercontent.com/u/15839412?v=4", "gravatar_id": "", "url": "https://api.github.com/users/kingafy", "html_url": "https://github.com/kingafy", "followers_url": "https://api.github.com/users/kingaf...
[]
closed
false
null
[]
[ "Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nIf you'd like us to investigate this as a bug, please provide additional information so that we may help; for example, the ID...
1,625
1,629
1,629
NONE
null
Hi Team, I was using the hugging face utility from latest transformer version to convert a SQUAD based Roberta model to ONNX. After conversion, I observed the accuracy has dipped significantly even though I never quantized the model. Any suggestions or advice what could have been the reason. Does the ONNX conversi...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12563/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12563/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12562
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12562/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12562/comments
https://api.github.com/repos/huggingface/transformers/issues/12562/events
https://github.com/huggingface/transformers/pull/12562
938,961,235
MDExOlB1bGxSZXF1ZXN0Njg1MjU0MzUx
12,562
Double check for attribute num_examples
{ "login": "sgugger", "id": 35901082, "node_id": "MDQ6VXNlcjM1OTAxMDgy", "avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4", "gravatar_id": "", "url": "https://api.github.com/users/sgugger", "html_url": "https://github.com/sgugger", "followers_url": "https://api.github.com/users/sgugge...
[]
closed
false
null
[]
[ "Failure looks unrelated but circleCI is not letting me re-run the tests, so merging and watching master." ]
1,625
1,625
1,625
COLLABORATOR
null
# What does this PR do? As pointed out by #12479, the `isinstance` check for `IterableDataset` and its subclasses does not look at the type, but whether the class implements some methods, but not all attributes. This PR adds a double check when necessary to avoid an `AttributeError`. Fixes #12479
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12562/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12562/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12562", "html_url": "https://github.com/huggingface/transformers/pull/12562", "diff_url": "https://github.com/huggingface/transformers/pull/12562.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12562.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12561
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12561/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12561/comments
https://api.github.com/repos/huggingface/transformers/issues/12561/events
https://github.com/huggingface/transformers/pull/12561
938,944,490
MDExOlB1bGxSZXF1ZXN0Njg1MjQwMTIy
12,561
Don't stop at num_epochs when using IterableDataset
{ "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,625
1,625
1,625
COLLABORATOR
null
# What does this PR do? Currently, when someone uses an `IterableDataset` inside the `Trainer`, the training loop stops after 3 iterations over the iterable dataset, this PR fixes that to just rely on `max_steps` (has to be set or there is an error at init). Fixes #12499
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12561/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12561/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12561", "html_url": "https://github.com/huggingface/transformers/pull/12561", "diff_url": "https://github.com/huggingface/transformers/pull/12561.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12561.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12560
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12560/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12560/comments
https://api.github.com/repos/huggingface/transformers/issues/12560/events
https://github.com/huggingface/transformers/pull/12560
938,940,795
MDExOlB1bGxSZXF1ZXN0Njg1MjM2OTQ2
12,560
Adding prepare_decoder_input_ids_from_labels methods to all TF ConditionalGeneration models
{ "login": "Rocketknight1", "id": 12866554, "node_id": "MDQ6VXNlcjEyODY2NTU0", "avatar_url": "https://avatars.githubusercontent.com/u/12866554?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Rocketknight1", "html_url": "https://github.com/Rocketknight1", "followers_url": "https://api.githu...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
MEMBER
null
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12560/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12560/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12560", "html_url": "https://github.com/huggingface/transformers/pull/12560", "diff_url": "https://github.com/huggingface/transformers/pull/12560.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12560.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12559
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12559/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12559/comments
https://api.github.com/repos/huggingface/transformers/issues/12559/events
https://github.com/huggingface/transformers/pull/12559
938,907,197
MDExOlB1bGxSZXF1ZXN0Njg1MjA4MTg4
12,559
[Flax] Allow retraining from save checkpoint
{ "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,625
1,625
1,625
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/12559/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12559/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12559", "html_url": "https://github.com/huggingface/transformers/pull/12559", "diff_url": "https://github.com/huggingface/transformers/pull/12559.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12559.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12558
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12558/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12558/comments
https://api.github.com/repos/huggingface/transformers/issues/12558/events
https://github.com/huggingface/transformers/pull/12558
938,882,332
MDExOlB1bGxSZXF1ZXN0Njg1MTg2ODMx
12,558
Fix group_lengths for short datasets
{ "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,625
1,625
1,625
COLLABORATOR
null
# What does this PR do? This PR adds a fix in the `group_lengths` function used in all language modeling examples so it also works for short datasets (without returning a dataset of length 0). The fix was discussed in the issue mentioned below. Fixes #12438
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12558/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12558/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12558", "html_url": "https://github.com/huggingface/transformers/pull/12558", "diff_url": "https://github.com/huggingface/transformers/pull/12558.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12558.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12557
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12557/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12557/comments
https://api.github.com/repos/huggingface/transformers/issues/12557/events
https://github.com/huggingface/transformers/issues/12557
938,874,349
MDU6SXNzdWU5Mzg4NzQzNDk=
12,557
Cached data not checked for integrity
{ "login": "xloem", "id": 279585, "node_id": "MDQ6VXNlcjI3OTU4NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/279585?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xloem", "html_url": "https://github.com/xloem", "followers_url": "https://api.github.com/users/xloem/followers"...
[]
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,625
1,629
1,629
CONTRIBUTOR
null
### Who can help @julien-c @sgugger ## To reproduce Steps to reproduce the behavior: 1. Mutate a cache file or cut the internet while downloading 2. Load the data e.g. via a pipeline 3. Either the incorrect data loads fine, or an unhelpful error is thrown ## Expected behavior The files are hashed i...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12557/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12557/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12556
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12556/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12556/comments
https://api.github.com/repos/huggingface/transformers/issues/12556/events
https://github.com/huggingface/transformers/issues/12556
938,855,928
MDU6SXNzdWU5Mzg4NTU5Mjg=
12,556
Slow gpt2 training on TPU with run_clm_flax.py
{ "login": "miwojc", "id": 32404415, "node_id": "MDQ6VXNlcjMyNDA0NDE1", "avatar_url": "https://avatars.githubusercontent.com/u/32404415?v=4", "gravatar_id": "", "url": "https://api.github.com/users/miwojc", "html_url": "https://github.com/miwojc", "followers_url": "https://api.github.com/users/miwojc/fo...
[]
closed
false
null
[]
[ "This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md)...
1,625
1,629
1,629
NONE
null
## Environment info - `transformers` version: 4.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0+cpu (False) - Tensorflow version (GPU?): 2.5.0 (False) - Flax version (CPU?/GPU?/TPU?): 0.3.4 (cpu) - Jax version: 0.2.16 - JaxLib version: 0...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12556/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12556/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12555
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12555/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12555/comments
https://api.github.com/repos/huggingface/transformers/issues/12555/events
https://github.com/huggingface/transformers/pull/12555
938,838,052
MDExOlB1bGxSZXF1ZXN0Njg1MTQ5NjI3
12,555
Display error message for pipeline loading failures
{ "login": "xloem", "id": 279585, "node_id": "MDQ6VXNlcjI3OTU4NQ==", "avatar_url": "https://avatars.githubusercontent.com/u/279585?v=4", "gravatar_id": "", "url": "https://api.github.com/users/xloem", "html_url": "https://github.com/xloem", "followers_url": "https://api.github.com/users/xloem/followers"...
[]
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,625
1,631
1,631
CONTRIBUTOR
null
# What does this PR do? Displays an error message when a model class fails to load a model for a pipeline. This helped me understand what was going on when pipelines failed to load. ## Who can review? Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/cont...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12555/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12555/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12555", "html_url": "https://github.com/huggingface/transformers/pull/12555", "diff_url": "https://github.com/huggingface/transformers/pull/12555.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12555.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12554
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12554/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12554/comments
https://api.github.com/repos/huggingface/transformers/issues/12554/events
https://github.com/huggingface/transformers/issues/12554
938,814,942
MDU6SXNzdWU5Mzg4MTQ5NDI=
12,554
Issue converting Flax model to Pytorch
{ "login": "BirgerMoell", "id": 1704131, "node_id": "MDQ6VXNlcjE3MDQxMzE=", "avatar_url": "https://avatars.githubusercontent.com/u/1704131?v=4", "gravatar_id": "", "url": "https://api.github.com/users/BirgerMoell", "html_url": "https://github.com/BirgerMoell", "followers_url": "https://api.github.com/us...
[]
closed
false
null
[]
[ "Running the following command:\r\n\r\n```python\r\nfrom transformers import RobertaForMaskedLM, FlaxRobertaForMaskedLM\r\nimport numpy as np\r\nimport torch \r\n\r\nmodel_fx = FlaxRobertaForMaskedLM.from_pretrained(\"birgermoell/roberta-swedish\")\r\nmodel_pt = RobertaForMaskedLM.from_pretrained(\"birgermoell/robe...
1,625
1,652
1,625
NONE
null
When using the following script to convert a trained flax model to pytorch, the model seems to perform extremely poorly. ``` from transformers import RobertaForMaskedLM model = RobertaForMaskedLM.from_pretrained("./", from_flax=True) model.save_pretrained("./") ``` ```python from transformers import RobertaF...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12554/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12554/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12553
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12553/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12553/comments
https://api.github.com/repos/huggingface/transformers/issues/12553/events
https://github.com/huggingface/transformers/issues/12553
938,765,007
MDU6SXNzdWU5Mzg3NjUwMDc=
12,553
`model_name_or_path` does not seem to load in previously trained checkpoints
{ "login": "MalteHB", "id": 47593213, "node_id": "MDQ6VXNlcjQ3NTkzMjEz", "avatar_url": "https://avatars.githubusercontent.com/u/47593213?v=4", "gravatar_id": "", "url": "https://api.github.com/users/MalteHB", "html_url": "https://github.com/MalteHB", "followers_url": "https://api.github.com/users/MalteH...
[]
closed
false
null
[]
[ "Can you post a code snippet or make a Colab to reproduce the error?", "@MalteHB it would be nice if you could provide an exact code snippet that we can copy paste to reproduce the error. Otherwise I don't really know what code you've run. I tried re-starting to train from a pretrained checkpoint and it works jus...
1,625
1,625
1,625
NONE
null
## Environment info - `transformers` version: 4.9.0.dev0 - Platform: Linux-5.4.0-1043-gcp-x86_64-with-glibc2.29 - Python version: 3.8.10 - PyTorch version (GPU?): 1.9.0+cu102 (False) - Tensorflow version (GPU?): 2.5.0 (False) - Flax version (CPU?/GPU?/TPU?): 0.3.4 (cpu) - Jax version: 0.2.16 - JaxLib version: 0...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12553/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12553/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12552
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12552/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12552/comments
https://api.github.com/repos/huggingface/transformers/issues/12552/events
https://github.com/huggingface/transformers/pull/12552
938,709,151
MDExOlB1bGxSZXF1ZXN0Njg1MDQyMzAy
12,552
Make LazyModule picklable
{ "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...
[]
closed
false
null
[]
[ "This doesn't work sadly, because it then sets the wrong `__file__` and `__path__` attribute to the `transformers` module:\r\n```py\r\nimport transformers\r\ntransformers.__file__\r\n```\r\nwill return something like `'/home/sgugger/git/transformers/src/transformers/file_utils.py'` instead of `'/home/sgugger/git/tr...
1,625
1,651
1,628
MEMBER
null
From this issue https://github.com/huggingface/transformers/issues/12549 it seems that it could be nice to have the `transformers` module picklable, since it can be useful for the `datasets` library's caching for example. The only object that is currently not picklable is the `_LazyModule`. In this PR I just made...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12552/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12552/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12552", "html_url": "https://github.com/huggingface/transformers/pull/12552", "diff_url": "https://github.com/huggingface/transformers/pull/12552.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12552.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12551
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12551/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12551/comments
https://api.github.com/repos/huggingface/transformers/issues/12551/events
https://github.com/huggingface/transformers/pull/12551
938,688,705
MDExOlB1bGxSZXF1ZXN0Njg1MDI1ODY2
12,551
[trainer] add option to ignore keys for the train function too (#11719)
{ "login": "shabie", "id": 30535146, "node_id": "MDQ6VXNlcjMwNTM1MTQ2", "avatar_url": "https://avatars.githubusercontent.com/u/30535146?v=4", "gravatar_id": "", "url": "https://api.github.com/users/shabie", "html_url": "https://github.com/shabie", "followers_url": "https://api.github.com/users/shabie/fo...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
CONTRIBUTOR
null
# What does this PR do? This pull request adds the option of ignoring certain output keys for evaluation during the training phase. As of now, this option is only available for `predict` and `evaluation` methods of the `Trainer` class which can only be called after the training. Fixes #11719 Changes: 1. Add...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12551/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12551/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12551", "html_url": "https://github.com/huggingface/transformers/pull/12551", "diff_url": "https://github.com/huggingface/transformers/pull/12551.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12551.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12550
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12550/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12550/comments
https://api.github.com/repos/huggingface/transformers/issues/12550/events
https://github.com/huggingface/transformers/pull/12550
938,668,770
MDExOlB1bGxSZXF1ZXN0Njg1MDA5NDcx
12,550
This will reduce "Already borrowed error":
{ "login": "Narsil", "id": 204321, "node_id": "MDQ6VXNlcjIwNDMyMQ==", "avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4", "gravatar_id": "", "url": "https://api.github.com/users/Narsil", "html_url": "https://github.com/Narsil", "followers_url": "https://api.github.com/users/Narsil/follow...
[]
closed
false
null
[]
[ "@LysandreJik I would welcome your look on this too. " ]
1,625
1,643
1,625
CONTRIBUTOR
null
# What does this PR do? Original issue https://github.com/huggingface/tokenizers/issues/537 The original issue is caused by transformers calling many times mutable functions on the rust tokenizers. Rust needs to guarantee that only 1 agent has a mutable reference to memory at a given time (for many reasons which don'...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12550/reactions", "total_count": 7, "+1": 1, "-1": 0, "laugh": 0, "hooray": 4, "confused": 0, "heart": 1, "rocket": 1, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12550/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12550", "html_url": "https://github.com/huggingface/transformers/pull/12550", "diff_url": "https://github.com/huggingface/transformers/pull/12550.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12550.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12549
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12549/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12549/comments
https://api.github.com/repos/huggingface/transformers/issues/12549/events
https://github.com/huggingface/transformers/issues/12549
938,453,201
MDU6SXNzdWU5Mzg0NTMyMDE=
12,549
TypeError: cannot pickle '_LazyModule' object
{ "login": "lancekung", "id": 19167336, "node_id": "MDQ6VXNlcjE5MTY3MzM2", "avatar_url": "https://avatars.githubusercontent.com/u/19167336?v=4", "gravatar_id": "", "url": "https://api.github.com/users/lancekung", "html_url": "https://github.com/lancekung", "followers_url": "https://api.github.com/users/...
[]
closed
false
null
[]
[ "Could you please attach the final script you used or a branch that we can use to reproduce your code exactly? Thanks.\r\n\r\nnote: I took the liberty to edit your OP to use code formatting which is much easier to read. If possible use a similar approach in future reports. Thank you!\r\n", "> Could you please att...
1,625
1,625
1,625
NONE
null
@stas00 edit: please see https://github.com/huggingface/transformers/issues/12549#issuecomment-875287701 for the short reproduction script. ---------------- ## Environment info - `transformers` version: 4.9.0.dev0 - Platform: Linux with Nvidia P40 - Python version: 3.8.0 - PyTorch version (GPU?): 1.8.0 - T...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12549/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12549/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12548
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12548/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12548/comments
https://api.github.com/repos/huggingface/transformers/issues/12548/events
https://github.com/huggingface/transformers/pull/12548
938,451,037
MDExOlB1bGxSZXF1ZXN0Njg0ODM0OTg2
12,548
raise exception when arguments to pipeline are incomplete
{ "login": "hwijeen", "id": 29157715, "node_id": "MDQ6VXNlcjI5MTU3NzE1", "avatar_url": "https://avatars.githubusercontent.com/u/29157715?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hwijeen", "html_url": "https://github.com/hwijeen", "followers_url": "https://api.github.com/users/hwijee...
[]
closed
false
null
[]
[]
1,625
1,625
1,625
CONTRIBUTOR
null
# What does this PR do? <!-- Congratulations! You've made it this far! You're not quite done yet though. Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution. Then, please replace this w...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12548/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12548/timeline
null
false
{ "url": "https://api.github.com/repos/huggingface/transformers/pulls/12548", "html_url": "https://github.com/huggingface/transformers/pull/12548", "diff_url": "https://github.com/huggingface/transformers/pull/12548.diff", "patch_url": "https://github.com/huggingface/transformers/pull/12548.patch", "merged_at...
https://api.github.com/repos/huggingface/transformers/issues/12547
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12547/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12547/comments
https://api.github.com/repos/huggingface/transformers/issues/12547/events
https://github.com/huggingface/transformers/issues/12547
938,377,239
MDU6SXNzdWU5MzgzNzcyMzk=
12,547
Get Start with CamembertForSequenceClassification
{ "login": "ewayuan", "id": 28846772, "node_id": "MDQ6VXNlcjI4ODQ2Nzcy", "avatar_url": "https://avatars.githubusercontent.com/u/28846772?v=4", "gravatar_id": "", "url": "https://api.github.com/users/ewayuan", "html_url": "https://github.com/ewayuan", "followers_url": "https://api.github.com/users/ewayua...
[]
closed
false
null
[]
[ "Hi,\r\n\r\nyou are initializing a `CamembertForSequenceClassification` model with weights from `camembert-base`. This means that you are only initializing the base of the model, not the classification head. Hence, the head will have randomly initialized weights. This is also given as a warning:\r\n\r\n```\r\nSome ...
1,625
1,629
1,629
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.3.3 - Platform: Windows - Python version: 3.9 - PyTorch version (GPU?): 1.9.0 - Tensorflow version (GPU?)...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12547/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12547/timeline
completed
null
null
https://api.github.com/repos/huggingface/transformers/issues/12546
https://api.github.com/repos/huggingface/transformers
https://api.github.com/repos/huggingface/transformers/issues/12546/labels{/name}
https://api.github.com/repos/huggingface/transformers/issues/12546/comments
https://api.github.com/repos/huggingface/transformers/issues/12546/events
https://github.com/huggingface/transformers/issues/12546
938,282,211
MDU6SXNzdWU5MzgyODIyMTE=
12,546
Necessary resources for training a (small/tiny) LM from scratch?
{ "login": "brijow", "id": 11220949, "node_id": "MDQ6VXNlcjExMjIwOTQ5", "avatar_url": "https://avatars.githubusercontent.com/u/11220949?v=4", "gravatar_id": "", "url": "https://api.github.com/users/brijow", "html_url": "https://github.com/brijow", "followers_url": "https://api.github.com/users/brijow/fo...
[]
closed
false
null
[]
[ "Hi,\r\n\r\ncould you please ask this question on the [forum](https://discuss.huggingface.co/) rather than here? We like to keep Github issues for bugs/feature requests.\r\n\r\nThanks!", "Sure, thanks @NielsRogge . Here is a [link to the post on the forum](https://discuss.huggingface.co/t/necessary-resources-for-...
1,625
1,625
1,625
NONE
null
This is mostly a follow up question in regards to this hugging face blog post on training a LM (and a tokenizer) from scratch : https://huggingface.co/blog/how-to-train I think this may be an ideal approach to try out in my situation, but I'm wondering about cost and how much data I really need to train a LM from s...
{ "url": "https://api.github.com/repos/huggingface/transformers/issues/12546/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 }
https://api.github.com/repos/huggingface/transformers/issues/12546/timeline
completed
null
null