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/16569 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16569/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16569/comments | https://api.github.com/repos/huggingface/transformers/issues/16569/events | https://github.com/huggingface/transformers/issues/16569 | 1,190,862,939 | I_kwDOCUB6oc5G-yBb | 16,569 | KeyError: 'logits' | {
"login": "ralgond",
"id": 23080195,
"node_id": "MDQ6VXNlcjIzMDgwMTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/23080195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ralgond",
"html_url": "https://github.com/ralgond",
"followers_url": "https://api.github.com/users/ralgon... | [] | closed | false | null | [] | [
"the environment:\r\n\r\ntransformers ==4.18.0.dev0 or 4.17.0\r\ntokenizers==0.12.0",
"Hey @ralgond, what is the checkpoint you're using? Can you reproduce with a checkpoint on the hub?",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to ... | 1,648 | 1,669 | 1,652 | NONE | null | Hi,
I am pretraining a model from scratch, when test, I encounted this error.
test file:
==============================
from transformers import pipeline, AutoModel, AutoTokenizer
model = AutoModel.from_pretrained('./wentian/output/checkpoint-200000/')
tokenizer = AutoTokenizer.from_pretrained('./wentian... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16569/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16568 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16568/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16568/comments | https://api.github.com/repos/huggingface/transformers/issues/16568/events | https://github.com/huggingface/transformers/pull/16568 | 1,190,851,007 | PR_kwDOCUB6oc41ieHt | 16,568 | Fix two typos | {
"login": "PolarisRisingWar",
"id": 48322321,
"node_id": "MDQ6VXNlcjQ4MzIyMzIx",
"avatar_url": "https://avatars.githubusercontent.com/u/48322321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PolarisRisingWar",
"html_url": "https://github.com/PolarisRisingWar",
"followers_url": "https://... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16568). All of your documentation changes will be reflected on that endpoint.",
"Ah, it seems conflicts must be resolved offline beforehand. Let me know if you need help in doing so!",
"This issue has been automatically m... | 1,648 | 1,652 | 1,652 | CONTRIBUTOR | null | There are two typos in translation part, that translation be written as summarization, translated be written as summarized. I guess it's caused by copying same expression from summarization part without check.
# What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16568/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16568",
"html_url": "https://github.com/huggingface/transformers/pull/16568",
"diff_url": "https://github.com/huggingface/transformers/pull/16568.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16568.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16567 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16567/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16567/comments | https://api.github.com/repos/huggingface/transformers/issues/16567/events | https://github.com/huggingface/transformers/issues/16567 | 1,190,824,547 | I_kwDOCUB6oc5G-opj | 16,567 | How to create vocab.txt for run_mlm.py | {
"login": "ralgond",
"id": 23080195,
"node_id": "MDQ6VXNlcjIzMDgwMTk1",
"avatar_url": "https://avatars.githubusercontent.com/u/23080195?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ralgond",
"html_url": "https://github.com/ralgond",
"followers_url": "https://api.github.com/users/ralgon... | [] | closed | false | null | [] | [] | 1,648 | 1,648 | 1,648 | NONE | null | hi, I am training a model from scratch. (I set "--train_file ./train_uncased.txt")
I run script run_mlm.py with argument "--tokenizer_name bert-base-chinese"
However, I can not find some words (which is in train_uncased.txt) in the file vocab.txt.
could someone tell me how to create a vocab.txt
Thanks | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16567/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16566 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16566/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16566/comments | https://api.github.com/repos/huggingface/transformers/issues/16566/events | https://github.com/huggingface/transformers/issues/16566 | 1,190,805,209 | I_kwDOCUB6oc5G-j7Z | 16,566 | Question about Bigbird Random Attention Mechanism/possible bug | {
"login": "SteeleRobert",
"id": 17912975,
"node_id": "MDQ6VXNlcjE3OTEyOTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/17912975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SteeleRobert",
"html_url": "https://github.com/SteeleRobert",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"@vasudevgupta7, who has worked on the model, might have more information!",
"Just a follow up on this post, I have since spoke to the first author on the paper, they limit random attention to the first 1024 tokens based on better empirical results from cross validation. Something to keep in mind if you are ever ... | 1,648 | 1,651 | 1,651 | NONE | null | I was looking through the code for random attention in Big Bird and I found something that confused me and might be a bug.
In the bigbird_block_sparse_attention function in BigBirdSelfAttention class the selected blocks only seem to be from 1-9. You can see this if you look at the max value of the "rand_attn" variab... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16566/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16565 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16565/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16565/comments | https://api.github.com/repos/huggingface/transformers/issues/16565/events | https://github.com/huggingface/transformers/pull/16565 | 1,190,794,357 | PR_kwDOCUB6oc41iTZ- | 16,565 | Add Doc Tests for Reformer PyTorch | {
"login": "hiromu166",
"id": 45531573,
"node_id": "MDQ6VXNlcjQ1NTMxNTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/45531573?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hiromu166",
"html_url": "https://github.com/hiromu166",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"I found two errors in the ReformerForMaskedLM.forward example.\r\n\r\n1. config.is_decoder = True in default.\r\n```python\r\n# before\r\nmodel = ReformerForMaskedLM.from_pretrained(\"google/reformer-crime-and-punishment\")\r\n# Asse... | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
https://github.com/huggingface/transformers/issues/16292
Fixing doc tests in modeling_reformer.py.
- ReformerModelWithLMHead.forward
- ReformerForMaskedLM.forward
- ReformerForQuestionAnswering.forward
- ReformerForSequenceClassification.forward
## Before submitting
- [x] This PR f... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16565/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16565",
"html_url": "https://github.com/huggingface/transformers/pull/16565",
"diff_url": "https://github.com/huggingface/transformers/pull/16565.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16565.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16564 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16564/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16564/comments | https://api.github.com/repos/huggingface/transformers/issues/16564/events | https://github.com/huggingface/transformers/issues/16564 | 1,190,786,409 | I_kwDOCUB6oc5G-fVp | 16,564 | wav2vec2 : Speech to text conversion fails when using large file | {
"login": "iamshreeram",
"id": 7752805,
"node_id": "MDQ6VXNlcjc3NTI4MDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/7752805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iamshreeram",
"html_url": "https://github.com/iamshreeram",
"followers_url": "https://api.github.com/us... | [] | closed | false | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [
{
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.git... | [
"Hello @iamshreeram!\r\n\r\nThe error actually refers to the shape of the input: it should be `(batch_size, 1, sequence_length)`, meaning that the inputs have to be single-channel arrays (mono audio) while your second file has 2 channels (stereo audio).\r\n\r\nBut anyways, the model itself won't be able to run on t... | 1,648 | 1,653 | 1,653 | NONE | null | I'm trying to get the translation of an English Speech ( WAV file : 1.2 GB); But, Seeing error due to vector size. Same code works when the file size is low.
## 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... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16564/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16563 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16563/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16563/comments | https://api.github.com/repos/huggingface/transformers/issues/16563/events | https://github.com/huggingface/transformers/issues/16563 | 1,190,718,552 | I_kwDOCUB6oc5G-OxY | 16,563 | Error when running "Quick Tour" code snippets | {
"login": "srujanjoshi",
"id": 44235961,
"node_id": "MDQ6VXNlcjQ0MjM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/44235961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srujanjoshi",
"html_url": "https://github.com/srujanjoshi",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [
{
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.git... | [
"@srujanjoshi Did you try to upgrade your `transformers` version ? It works as advertised on latest release.\r\n\r\nThere were some improvements made the the pipeline made since `4.9` including easier integration with datasets.\r\nI would like to add that even you pass 4 items, it's not batched, you need to use `ba... | 1,648 | 1,650 | 1,650 | NONE | null | ## Environment info
- `transformers` version: 4.9.2
- Platform: Linux-5.13.0-39-generic-x86_64-with-glibc2.17
- Python version: 3.8.11
- PyTorch version (GPU?): 1.9.1 (True)
- Tensorflow version (GPU?): 2.6.0 (True)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib vers... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16563/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16563/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16562 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16562/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16562/comments | https://api.github.com/repos/huggingface/transformers/issues/16562/events | https://github.com/huggingface/transformers/pull/16562 | 1,190,533,346 | PR_kwDOCUB6oc41hiEg | 16,562 | Add Luke to Onnx | {
"login": "aakashb95",
"id": 48802744,
"node_id": "MDQ6VXNlcjQ4ODAyNzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/48802744?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aakashb95",
"html_url": "https://github.com/aakashb95",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16562). All of your documentation changes will be reflected on that endpoint.",
"\r\n> ```\r\n> RUN_SLOW=1 pytest tests/onnx/test_onnx_v2.py -k \"luke\"\r\n> ```\r\n\r\nI have all requirements installed and yet, I get the f... | 1,648 | 1,659 | 1,659 | NONE | null | # What does this PR do?
I added lines to make Luke models available for Onnx conversion.
## Who can review?
- albert, bert, xlm: @LysandreJik
adding @NielsRogge since he worked on luke | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16562/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 1,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16562/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16562",
"html_url": "https://github.com/huggingface/transformers/pull/16562",
"diff_url": "https://github.com/huggingface/transformers/pull/16562.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16562.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16561 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16561/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16561/comments | https://api.github.com/repos/huggingface/transformers/issues/16561/events | https://github.com/huggingface/transformers/issues/16561 | 1,190,497,689 | I_kwDOCUB6oc5G9Y2Z | 16,561 | t5-large model OOM with FP16, but run well without FP16 | {
"login": "Agoniii",
"id": 18502794,
"node_id": "MDQ6VXNlcjE4NTAyNzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/18502794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Agoniii",
"html_url": "https://github.com/Agoniii",
"followers_url": "https://api.github.com/users/Agonii... | [] | closed | false | null | [] | [
"1. Before we can proceed, any chance you could port your code to the modern version of finetune_trainer - this code is very old and is no longer being tested or supported and is available only for those who still have to use it.\r\n\r\n I remember there were a few stages to the transition, I tried to keep track ... | 1,648 | 1,652 | 1,652 | 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! -->
Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.
- `transformers` version: 4.17.0
- Platform: Lin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16561/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16560 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16560/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16560/comments | https://api.github.com/repos/huggingface/transformers/issues/16560/events | https://github.com/huggingface/transformers/pull/16560 | 1,190,490,446 | PR_kwDOCUB6oc41hZSp | 16,560 | add progress bar to eval loop | {
"login": "wesleyacheng",
"id": 15952538,
"node_id": "MDQ6VXNlcjE1OTUyNTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/15952538?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wesleyacheng",
"html_url": "https://github.com/wesleyacheng",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16560). All of your documentation changes will be reflected on that endpoint.",
"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... | 1,648 | 1,653 | 1,653 | 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/16560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16560/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16560",
"html_url": "https://github.com/huggingface/transformers/pull/16560",
"diff_url": "https://github.com/huggingface/transformers/pull/16560.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16560.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16559 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16559/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16559/comments | https://api.github.com/repos/huggingface/transformers/issues/16559/events | https://github.com/huggingface/transformers/pull/16559 | 1,190,488,234 | PR_kwDOCUB6oc41hY2Y | 16,559 | can't empty cache if torch not imported | {
"login": "wesleyacheng",
"id": 15952538,
"node_id": "MDQ6VXNlcjE1OTUyNTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/15952538?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wesleyacheng",
"html_url": "https://github.com/wesleyacheng",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16559). All of your documentation changes will be reflected on that endpoint.",
"Sorry for taking so long to review;\r\n\r\nCould you just run the code quality tool to ensure that the code quality passes? You can install th... | 1,648 | 1,653 | 1,653 | 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/16559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16559/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16559",
"html_url": "https://github.com/huggingface/transformers/pull/16559",
"diff_url": "https://github.com/huggingface/transformers/pull/16559.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16559.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16558 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16558/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16558/comments | https://api.github.com/repos/huggingface/transformers/issues/16558/events | https://github.com/huggingface/transformers/pull/16558 | 1,190,482,474 | PR_kwDOCUB6oc41hXwR | 16,558 | no such thing as pytorch_model | {
"login": "wesleyacheng",
"id": 15952538,
"node_id": "MDQ6VXNlcjE1OTUyNTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/15952538?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wesleyacheng",
"html_url": "https://github.com/wesleyacheng",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16558). All of your documentation changes will be reflected on that endpoint.",
"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... | 1,648 | 1,653 | 1,653 | 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/16558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16558/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16558",
"html_url": "https://github.com/huggingface/transformers/pull/16558",
"diff_url": "https://github.com/huggingface/transformers/pull/16558.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16558.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16557 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16557/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16557/comments | https://api.github.com/repos/huggingface/transformers/issues/16557/events | https://github.com/huggingface/transformers/pull/16557 | 1,190,290,896 | PR_kwDOCUB6oc41g87u | 16,557 | Improve PT/TF equivalence test | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"(just rebase on main - no real change since your last review)",
"Merge now. Don't hesitate to leave comments in any :-)"
] | 1,648 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
Improve PT/TF equivalence test.
To make the review a bit easier for you, I made some comments. And here are a summary of changes:
- `test_pt_tf_model_equivalence` in TensorFlow `LED` and `CLIP` are removed: the common one can handle it.
- `test_pt_tf_model_equivalence` in TensorFlow `L... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16557/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/16557/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16557",
"html_url": "https://github.com/huggingface/transformers/pull/16557",
"diff_url": "https://github.com/huggingface/transformers/pull/16557.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16557.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16556 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16556/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16556/comments | https://api.github.com/repos/huggingface/transformers/issues/16556/events | https://github.com/huggingface/transformers/pull/16556 | 1,190,105,321 | PR_kwDOCUB6oc41gVM4 | 16,556 | Fix flax import in `__init__.py`: `modeling_xglm -> modeling_flax_xglm` | {
"login": "stancld",
"id": 46073029,
"node_id": "MDQ6VXNlcjQ2MDczMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stancld",
"html_url": "https://github.com/stancld",
"followers_url": "https://api.github.com/users/stancl... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes import statement in `src/transformers/models/xglm/__init__.py` file: `modeling_xglm -> modeling_flax_xglm`.
## 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 guidel... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16556/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16556",
"html_url": "https://github.com/huggingface/transformers/pull/16556",
"diff_url": "https://github.com/huggingface/transformers/pull/16556.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16556.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16555 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16555/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16555/comments | https://api.github.com/repos/huggingface/transformers/issues/16555/events | https://github.com/huggingface/transformers/pull/16555 | 1,190,075,817 | PR_kwDOCUB6oc41gPE8 | 16,555 | Adding missing type hints for BigBird model | {
"login": "reichenbch",
"id": 23002137,
"node_id": "MDQ6VXNlcjIzMDAyMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/23002137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/reichenbch",
"html_url": "https://github.com/reichenbch",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This looks great, thank you! And sorry for the delay in reviewing it."
] | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | PyTorch Implementation model added with missing type hints
## What does this PR do?
Added type hints for BigBird PyTorch as described in https://github.com/huggingface/transformers/issues/16059
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's t... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16555/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16555",
"html_url": "https://github.com/huggingface/transformers/pull/16555",
"diff_url": "https://github.com/huggingface/transformers/pull/16555.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16555.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16554 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16554/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16554/comments | https://api.github.com/repos/huggingface/transformers/issues/16554/events | https://github.com/huggingface/transformers/pull/16554 | 1,190,072,472 | PR_kwDOCUB6oc41gOW9 | 16,554 | Added new Spanish translation of autoclass_tutorial | {
"login": "duedme",
"id": 38573606,
"node_id": "MDQ6VXNlcjM4NTczNjA2",
"avatar_url": "https://avatars.githubusercontent.com/u/38573606?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/duedme",
"html_url": "https://github.com/duedme",
"followers_url": "https://api.github.com/users/duedme/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing gu... | 1,648 | 1,651 | 1,651 | CONTRIBUTOR | null | # Translation of autoclass_tutorial.mdx into spanish
I made the translation of autoclass_tutorial.mdx into Spanish (fixes #15947). The document is located in the transformers/docs/source_es folder.
This PR is linked to #16348, which originally had some merge conflicts.
FYI @omarespejel
## Before submitting... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16554/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16554",
"html_url": "https://github.com/huggingface/transformers/pull/16554",
"diff_url": "https://github.com/huggingface/transformers/pull/16554.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16554.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16553 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16553/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16553/comments | https://api.github.com/repos/huggingface/transformers/issues/16553/events | https://github.com/huggingface/transformers/pull/16553 | 1,189,950,680 | PR_kwDOCUB6oc41f0On | 16,553 | add a template to add missing tokenization test | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
In this PR I propose to add a cookie cutter template for tokenization tests.
It is a first version and could be useful to propose in a good first issue to users to add the missing tests to the tokenizers of the following models:
- Flaubert #15137
- LED
- RemBert
- Splinter
and eve... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16553/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16553",
"html_url": "https://github.com/huggingface/transformers/pull/16553",
"diff_url": "https://github.com/huggingface/transformers/pull/16553.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16553.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16552 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16552/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16552/comments | https://api.github.com/repos/huggingface/transformers/issues/16552/events | https://github.com/huggingface/transformers/issues/16552 | 1,189,935,126 | I_kwDOCUB6oc5G7PgW | 16,552 | How loss is calculated in MLM transformers training and the calculation/Intuition behind it? | {
"login": "pratikchhapolika",
"id": 11159549,
"node_id": "MDQ6VXNlcjExMTU5NTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/11159549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pratikchhapolika",
"html_url": "https://github.com/pratikchhapolika",
"followers_url": "https://... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,648 | 1,652 | 1,652 | NONE | null | I am training a MLM model using `Roberta-XLM large` model.
Here is the standard code.
```
tokenizer = tr.XLMRobertaTokenizer.from_pretrained("xlm-roberta-large",local_files_only=True)
model = tr.XLMRobertaForMaskedLM.from_pretrained("xlm-roberta-large", return_dict=True,local_files_only=True)
df=pd.read_cs... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16552/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16551 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16551/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16551/comments | https://api.github.com/repos/huggingface/transformers/issues/16551/events | https://github.com/huggingface/transformers/pull/16551 | 1,189,896,871 | PR_kwDOCUB6oc41fon- | 16,551 | Add PLBartTokenizerFast | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16551). All of your documentation changes will be reflected on that endpoint.",
"@sgugger I am actually facing an issue for the converter. The `PLBartTokenizer` accepts an argument called `language_codes` based on which the... | 1,648 | 1,655 | 1,655 | CONTRIBUTOR | null | This PR adds fast tokenizer for PLBart. It is currently a work-in-progress.
@patil-suraj @sgugger @LysandreJik @patrickvonplaten
### To-do:
- [ ] Add missing classes convert_slow_tokenizer
- [ ] Convert and add the tokenizer files to all the model checkpoints
- [ ] Fix the tests | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16551/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16551",
"html_url": "https://github.com/huggingface/transformers/pull/16551",
"diff_url": "https://github.com/huggingface/transformers/pull/16551.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16551.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16550 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16550/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16550/comments | https://api.github.com/repos/huggingface/transformers/issues/16550/events | https://github.com/huggingface/transformers/issues/16550 | 1,189,878,287 | I_kwDOCUB6oc5G7BoP | 16,550 | pytest throws ImportError: cannot import name 'json' from 'itsdangerous' | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Uninstalling `flask` and `itsdangerous` and re-installing the `\".[dev]\"` environment fixed the issue.\r\n\r\nPR which fixes this issue:\r\nhttps://github.com/huggingface/transformers/pull/16387\r\n"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | Running any test using pytest throws the following `ImportError`:
```python
Traceback (most recent call last):
File "/home/crocoder/anaconda3/envs/transformers_env/bin/pytest", line 8, in <module>
sys.exit(console_main())
File "/home/crocoder/anaconda3/envs/transformers_env/lib/python3.8/site-packages/_p... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16550/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16549 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16549/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16549/comments | https://api.github.com/repos/huggingface/transformers/issues/16549/events | https://github.com/huggingface/transformers/issues/16549 | 1,189,864,330 | I_kwDOCUB6oc5G6-OK | 16,549 | Enable reproducibility | {
"login": "saattrupdan",
"id": 47701536,
"node_id": "MDQ6VXNlcjQ3NzAxNTM2",
"avatar_url": "https://avatars.githubusercontent.com/u/47701536?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saattrupdan",
"html_url": "https://github.com/saattrupdan",
"followers_url": "https://api.github.com/... | [] | closed | false | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [
{
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.git... | [
"We could definitely wrap the first in a function that can easily be called in all our example scripts. I wouldn't add the content to `set_seed`, but we can add a flag that would call this extra function in `set_seed`.\r\n\r\nThe second part should be useful all the time so is a welcome change. We should just direc... | 1,648 | 1,652 | 1,652 | CONTRIBUTOR | null | # 🚀 Feature request
To enable consistent benchmarking using the `transformers` library, deterministic behaviour needs to be enforced. This could be a simple option in `TrainingArguments`, e.g., `enforce_reproducibility=True`. Currently seeds are set, but randomness still occurs as part of CUDA and the dataloaders.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16549/reactions",
"total_count": 2,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16549/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16548 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16548/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16548/comments | https://api.github.com/repos/huggingface/transformers/issues/16548/events | https://github.com/huggingface/transformers/pull/16548 | 1,189,859,814 | PR_kwDOCUB6oc41fg82 | 16,548 | PretrainedModel: made `_load_pretrained_model_low_mem` static + bug fix | {
"login": "FrancescoSaverioZuppichini",
"id": 15908060,
"node_id": "MDQ6VXNlcjE1OTA4MDYw",
"avatar_url": "https://avatars.githubusercontent.com/u/15908060?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/FrancescoSaverioZuppichini",
"html_url": "https://github.com/FrancescoSaverioZuppichini"... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Merging this, since `low_cpu_mem_usage` is not working on master right now and is required for to test the addition of some new models.\r\n\r\n@stas feel free to still leave a comment about the `classmethod` change :) "
] | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
This PR makes `PretrainedModel._load_pretrained_model_low_mem` a `staticmethod` since it's not returning an instance of `PretrainedModel`. I've also fixed a bug inside the method itself, the main for loop was wrong. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16548/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16548/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16548",
"html_url": "https://github.com/huggingface/transformers/pull/16548",
"diff_url": "https://github.com/huggingface/transformers/pull/16548.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16548.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16547 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16547/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16547/comments | https://api.github.com/repos/huggingface/transformers/issues/16547/events | https://github.com/huggingface/transformers/pull/16547 | 1,189,810,618 | PR_kwDOCUB6oc41fWkj | 16,547 | Fix bugs in position ids in Bart | {
"login": "Oran-Ac",
"id": 44745604,
"node_id": "MDQ6VXNlcjQ0NzQ1NjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/44745604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oran-Ac",
"html_url": "https://github.com/Oran-Ac",
"followers_url": "https://api.github.com/users/Oran-A... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16547). All of your documentation changes will be reflected on that endpoint.",
"The main reason for the test failure is that the test program does not take into account the case of padding at the beginning of a sentence an... | 1,648 | 1,652 | 1,652 | 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/16547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16547/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16547",
"html_url": "https://github.com/huggingface/transformers/pull/16547",
"diff_url": "https://github.com/huggingface/transformers/pull/16547.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16547.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16546 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16546/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16546/comments | https://api.github.com/repos/huggingface/transformers/issues/16546/events | https://github.com/huggingface/transformers/pull/16546 | 1,189,804,378 | PR_kwDOCUB6oc41fVOG | 16,546 | Remove MBart subclass of XLMRoberta in tokenzier docs | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
This PR removes the line mentioning MBartTokenizer is a subclass of XLMRobertaTokenizer in the fast tokenizer.
@sgugger @patil-suraj | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16546/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16546",
"html_url": "https://github.com/huggingface/transformers/pull/16546",
"diff_url": "https://github.com/huggingface/transformers/pull/16546.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16546.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16545 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16545/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16545/comments | https://api.github.com/repos/huggingface/transformers/issues/16545/events | https://github.com/huggingface/transformers/pull/16545 | 1,189,802,441 | PR_kwDOCUB6oc41fU0X | 16,545 | Fix bugs in position ids in Bart | {
"login": "Oran-Ac",
"id": 44745604,
"node_id": "MDQ6VXNlcjQ0NzQ1NjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/44745604?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oran-Ac",
"html_url": "https://github.com/Oran-Ac",
"followers_url": "https://api.github.com/users/Oran-A... | [] | closed | false | null | [] | [] | 1,648 | 1,648 | 1,648 | 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/16545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16545/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16545",
"html_url": "https://github.com/huggingface/transformers/pull/16545",
"diff_url": "https://github.com/huggingface/transformers/pull/16545.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16545.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16544 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16544/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16544/comments | https://api.github.com/repos/huggingface/transformers/issues/16544/events | https://github.com/huggingface/transformers/pull/16544 | 1,189,763,363 | PR_kwDOCUB6oc41fMa6 | 16,544 | Add VisualBert type hints | {
"login": "gchhablani",
"id": 29076344,
"node_id": "MDQ6VXNlcjI5MDc2MzQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/29076344?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gchhablani",
"html_url": "https://github.com/gchhablani",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16544). All of your documentation changes will be reflected on that endpoint."
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | This PR adds type hints for the VisualBert model in PyTorch.
@Rocketknight1 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16544/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16544",
"html_url": "https://github.com/huggingface/transformers/pull/16544",
"diff_url": "https://github.com/huggingface/transformers/pull/16544.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16544.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16543 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16543/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16543/comments | https://api.github.com/repos/huggingface/transformers/issues/16543/events | https://github.com/huggingface/transformers/pull/16543 | 1,189,677,188 | PR_kwDOCUB6oc41e6Ff | 16,543 | Add TF implementation of `XGLMModel` | {
"login": "stancld",
"id": 46073029,
"node_id": "MDQ6VXNlcjQ2MDczMDI5",
"avatar_url": "https://avatars.githubusercontent.com/u/46073029?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stancld",
"html_url": "https://github.com/stancld",
"followers_url": "https://api.github.com/users/stancl... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16543). All of your documentation changes will be reflected on that endpoint.",
"Hello @gante, I would like to kindly ask for help here, as I'm not fully sure, where the problem might be :/ Currently, it looks like all the ... | 1,648 | 1,661 | 1,661 | CONTRIBUTOR | null | # What does this PR do?
Fixes #16422
This PR adds TF implementation of `XGLMModel`.
## Before submitting
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Request section?
- [x] Was this discusse... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16543/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 2,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16543/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16543",
"html_url": "https://github.com/huggingface/transformers/pull/16543",
"diff_url": "https://github.com/huggingface/transformers/pull/16543.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16543.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16542 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16542/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16542/comments | https://api.github.com/repos/huggingface/transformers/issues/16542/events | https://github.com/huggingface/transformers/issues/16542 | 1,189,654,062 | I_kwDOCUB6oc5G6K4u | 16,542 | Issue with aggregation_strategy="max" in NER pipeline | {
"login": "stivennpe",
"id": 37156833,
"node_id": "MDQ6VXNlcjM3MTU2ODMz",
"avatar_url": "https://avatars.githubusercontent.com/u/37156833?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stivennpe",
"html_url": "https://github.com/stivennpe",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Might be worth trying to uninstall and reinstall `tokenizers`. Tokenizers 0.12 was yanked and a new version is coming. See #16520, #16525, #16537, #16540 for more. ",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please co... | 1,648 | 1,652 | 1,652 | 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.17.0
- Python version: Python 3.7.13
- PyTorch version (GPU?): 1.10.0+cu111
- Using GPU in script?: NO
- ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16542/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16541 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16541/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16541/comments | https://api.github.com/repos/huggingface/transformers/issues/16541/events | https://github.com/huggingface/transformers/issues/16541 | 1,189,646,836 | I_kwDOCUB6oc5G6JH0 | 16,541 | Is gradient checkpointing really needed when fine-tuning LED on 16384 tokens? | {
"login": "caesar-one",
"id": 24461261,
"node_id": "MDQ6VXNlcjI0NDYxMjYx",
"avatar_url": "https://avatars.githubusercontent.com/u/24461261?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/caesar-one",
"html_url": "https://github.com/caesar-one",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Hey @caesar-one,\r\n\r\nSorry, the documentation of LED might not have been super clear in this case. It should probably be rewritten to:\r\n\r\n```\r\nGradient check-pointing is only needed if training leads to out-of-memory (OOM) errors\r\n```\r\n\r\nWould you like to improve the docs here maybe? :-)",
"This i... | 1,648 | 1,651 | 1,651 | CONTRIBUTOR | null | Hi,
The [documentation of LED](https://huggingface.co/docs/transformers/model_doc/led) states:
> To fine-tune LED on all 16384, it is necessary to enable gradient checkpointing by executing model.gradient_checkpointing_enable().
Moreover, @patrickvonplaten in [this notebook](https://colab.research.google.com/dr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16541/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16540 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16540/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16540/comments | https://api.github.com/repos/huggingface/transformers/issues/16540/events | https://github.com/huggingface/transformers/pull/16540 | 1,189,616,342 | PR_kwDOCUB6oc41es3V | 16,540 | add a test checking the format of `convert_tokens_to_string`'s output | {
"login": "SaulLu",
"id": 55560583,
"node_id": "MDQ6VXNlcjU1NTYwNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/55560583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SaulLu",
"html_url": "https://github.com/SaulLu",
"followers_url": "https://api.github.com/users/SaulLu/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for the review @Narsil :slightly_smiling_face: \r\n\r\n> Why is tokenization_common test not enough ? Don't the other tests inherit the same base/meta class ?\r\n\r\nThey also inherit from `TokenizerTesterMixin`, but unfortuna... | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
For context, the tokenizers 0.12.0 release was breaking in the sense that it changed the output format of the `decode` method of the `backend_tokenizer` 's `decoder` which was used in `convert_tokens_to_string` (cf #16537, #16520, #16525). The 0.12.0 version has since been yanked but I think ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16540/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/16540/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16540",
"html_url": "https://github.com/huggingface/transformers/pull/16540",
"diff_url": "https://github.com/huggingface/transformers/pull/16540.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16540.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16539 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16539/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16539/comments | https://api.github.com/repos/huggingface/transformers/issues/16539/events | https://github.com/huggingface/transformers/pull/16539 | 1,189,592,525 | PR_kwDOCUB6oc41enqh | 16,539 | Pin tokenizers version <0.13 | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks ! "
] | 1,648 | 1,648 | 1,648 | MEMBER | null | Adds an upper bound to tokenizers versions so that `tokenizers` development may continue unhindered. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16539/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/16539/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16539",
"html_url": "https://github.com/huggingface/transformers/pull/16539",
"diff_url": "https://github.com/huggingface/transformers/pull/16539.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16539.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16538 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16538/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16538/comments | https://api.github.com/repos/huggingface/transformers/issues/16538/events | https://github.com/huggingface/transformers/issues/16538 | 1,189,552,322 | I_kwDOCUB6oc5G5yDC | 16,538 | ONNX causal-lm-with-past conversion: attention_mask dtype changed | {
"login": "arampacha",
"id": 69807323,
"node_id": "MDQ6VXNlcjY5ODA3MzIz",
"avatar_url": "https://avatars.githubusercontent.com/u/69807323?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arampacha",
"html_url": "https://github.com/arampacha",
"followers_url": "https://api.github.com/users/... | [] | closed | false | {
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github.com/users/lewtun/fo... | [
{
"login": "lewtun",
"id": 26859204,
"node_id": "MDQ6VXNlcjI2ODU5MjA0",
"avatar_url": "https://avatars.githubusercontent.com/u/26859204?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lewtun",
"html_url": "https://github.com/lewtun",
"followers_url": "https://api.github... | [
"Thank for this excellent bug report and reproducible Colab @arampacha ! I agree with your analysis and think your solution to propagate the `mask_dtype` to `torch.ones()` should fix the issue.\r\n\r\nBefore opening a PR, I'd like to get @michaelbenayoun's input as he may have had a specific reason to use the defau... | 1,648 | 1,652 | 1,652 | 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.17.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyTorch version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16538/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16538/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16537 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16537/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16537/comments | https://api.github.com/repos/huggingface/transformers/issues/16537/events | https://github.com/huggingface/transformers/pull/16537 | 1,189,389,318 | PR_kwDOCUB6oc41d9k1 | 16,537 | Making `transformers` work on `0.12`. | {
"login": "Narsil",
"id": 204321,
"node_id": "MDQ6VXNlcjIwNDMyMQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/204321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Narsil",
"html_url": "https://github.com/Narsil",
"followers_url": "https://api.github.com/users/Narsil/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thank you very much for the proposed fix. \r\n\r\nBefore reviewing this PR, I would like to see if it is possible to keep the new feature in `tokenizers==0.12.0` that allows to chain decoders but to add the conversion to string forma... | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
tokenizers `0.12` changed the way `decoder.decode(` works.
Instead of returning directly a string, it returns a list of strings (the "decoded" parts), which enables the decoders to be chained (and hence customized more easily).
The fix works by simply joining those parts for versions >=... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16537/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16537/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16537",
"html_url": "https://github.com/huggingface/transformers/pull/16537",
"diff_url": "https://github.com/huggingface/transformers/pull/16537.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16537.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16536 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16536/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16536/comments | https://api.github.com/repos/huggingface/transformers/issues/16536/events | https://github.com/huggingface/transformers/pull/16536 | 1,189,386,856 | PR_kwDOCUB6oc41d9O1 | 16,536 | call on_train_end when optuna trial is pruned | {
"login": "fschlatt",
"id": 23191892,
"node_id": "MDQ6VXNlcjIzMTkxODky",
"avatar_url": "https://avatars.githubusercontent.com/u/23191892?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fschlatt",
"html_url": "https://github.com/fschlatt",
"followers_url": "https://api.github.com/users/fsc... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | 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/16536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16536/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16536",
"html_url": "https://github.com/huggingface/transformers/pull/16536",
"diff_url": "https://github.com/huggingface/transformers/pull/16536.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16536.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16535 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16535/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16535/comments | https://api.github.com/repos/huggingface/transformers/issues/16535/events | https://github.com/huggingface/transformers/issues/16535 | 1,189,383,518 | I_kwDOCUB6oc5G5I1e | 16,535 | Tensorboard logger logs to same directory when trial is pruned using hp_search and optuna | {
"login": "fschlatt",
"id": 23191892,
"node_id": "MDQ6VXNlcjIzMTkxODky",
"avatar_url": "https://avatars.githubusercontent.com/u/23191892?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fschlatt",
"html_url": "https://github.com/fschlatt",
"followers_url": "https://api.github.com/users/fsc... | [] | closed | false | null | [] | [] | 1,648 | 1,648 | 1,648 | 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.11.3
- Platform: Linux
- Python version: 3.8.8
### Who can help
@sgugger
## Information
I am ru... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16535/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16534 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16534/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16534/comments | https://api.github.com/repos/huggingface/transformers/issues/16534/events | https://github.com/huggingface/transformers/pull/16534 | 1,189,383,017 | PR_kwDOCUB6oc41d8qv | 16,534 | update vilt model: remove index param in torch.meshgrid | {
"login": "chengjuzhou",
"id": 16832162,
"node_id": "MDQ6VXNlcjE2ODMyMTYy",
"avatar_url": "https://avatars.githubusercontent.com/u/16832162?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chengjuzhou",
"html_url": "https://github.com/chengjuzhou",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16534). All of your documentation changes will be reflected on that endpoint.",
"Hi,\r\n\r\nThanks for your PR. However, reading the [documentation of torch.meshgrid](https://pytorch.org/docs/stable/generated/torch.meshgrid... | 1,648 | 1,653 | 1,653 | NONE | null | # What does this PR do?
remove index argument in torch.meshgrid in ViLT model which would lead to
`Exception has occurred: TypeError
meshgrid() got an unexpected keyword argument 'indexing'`
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16534/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16534",
"html_url": "https://github.com/huggingface/transformers/pull/16534",
"diff_url": "https://github.com/huggingface/transformers/pull/16534.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16534.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16533 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16533/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16533/comments | https://api.github.com/repos/huggingface/transformers/issues/16533/events | https://github.com/huggingface/transformers/issues/16533 | 1,189,278,509 | I_kwDOCUB6oc5G4vMt | 16,533 | GPTJ6-B python process seem to be stuck forever at ```from_pretrained``` method | {
"login": "kd303",
"id": 16409185,
"node_id": "MDQ6VXNlcjE2NDA5MTg1",
"avatar_url": "https://avatars.githubusercontent.com/u/16409185?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kd303",
"html_url": "https://github.com/kd303",
"followers_url": "https://api.github.com/users/kd303/follow... | [] | closed | false | null | [] | [
"Interesting. I have never seen this one before.\r\n\r\n1. I don't suppose it fails when you try it alone as the hanging isn't inside deepspeed but pytorch according to your trace:\r\n\r\n```\r\npython -c \"import AutoModelForCausalLM; AutoModelForCausalLM.from_pretrained(\"./data-gptj-vol/models/\",local_files_onl... | 1,648 | 1,650 | 1,650 | 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.14.1
- Platform: Linux-5.4.0-56-generic-x86_64-with-glibc2.10
- Python version: 3.8.8
- PyTorch version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16533/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16532 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16532/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16532/comments | https://api.github.com/repos/huggingface/transformers/issues/16532/events | https://github.com/huggingface/transformers/issues/16532 | 1,189,277,421 | I_kwDOCUB6oc5G4u7t | 16,532 | Regression: ONNX export fails on Pytorch ToT (NVIDIA 22.03 pytorch container) | {
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/bor... | [] | closed | false | null | [] | [
"I was able to track one of similar new ONNX errors in NeMo code down and fixed it with the diff below.\r\nIt appears exporter gets confused about device placement of inline constants (?) as well as class attributes that are scalars, not proper Variables. \r\nIn the sample from NeMo code below both literal 0 and se... | 1,648 | 1,651 | 1,651 | NONE | null | ## Environment info
- `transformers` version: 4.17.0
- Platform: Linux-5.11.0-37-generic-x86_64-with-glibc2.10
- Python version: 3.8.12
- PyTorch version (GPU?): 1.12.0a0+2c916ef (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not instal... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16532/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16531 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16531/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16531/comments | https://api.github.com/repos/huggingface/transformers/issues/16531/events | https://github.com/huggingface/transformers/pull/16531 | 1,189,180,118 | PR_kwDOCUB6oc41dTZi | 16,531 | Fixed a typo in seq2seq_trainer.py | {
"login": "Agoniii",
"id": 18502794,
"node_id": "MDQ6VXNlcjE4NTAyNzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/18502794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Agoniii",
"html_url": "https://github.com/Agoniii",
"followers_url": "https://api.github.com/users/Agonii... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | 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/16531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16531/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16531",
"html_url": "https://github.com/huggingface/transformers/pull/16531",
"diff_url": "https://github.com/huggingface/transformers/pull/16531.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16531.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16530 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16530/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16530/comments | https://api.github.com/repos/huggingface/transformers/issues/16530/events | https://github.com/huggingface/transformers/pull/16530 | 1,189,019,155 | PR_kwDOCUB6oc41cw9R | 16,530 | initialize the default rank set on TrainerState | {
"login": "andrescodas",
"id": 164282,
"node_id": "MDQ6VXNlcjE2NDI4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/164282?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrescodas",
"html_url": "https://github.com/andrescodas",
"followers_url": "https://api.github.com/user... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"# Who can review?\r\nAnyone who worked on PR #8062, particularly @sgugger who also implemented callbacks with #7596"
] | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
This PR fixes this error I'm observing on one azureml experiment:
```python
[stderr] File "/opt/conda/lib/python3.8/site-packages/transformers/trainer.py", line 508, in __init__
[stderr] self.control = self.callback_handler.on_init_end(self.args, self.state, self.control)
[stderr] ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16530/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16530",
"html_url": "https://github.com/huggingface/transformers/pull/16530",
"diff_url": "https://github.com/huggingface/transformers/pull/16530.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16530.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16529 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16529/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16529/comments | https://api.github.com/repos/huggingface/transformers/issues/16529/events | https://github.com/huggingface/transformers/pull/16529 | 1,188,971,128 | PR_kwDOCUB6oc41cmZ_ | 16,529 | Type hints added to OpenAIGPT | {
"login": "Dahlbomii",
"id": 101373053,
"node_id": "U_kgDOBgrUfQ",
"avatar_url": "https://avatars.githubusercontent.com/u/101373053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dahlbomii",
"html_url": "https://github.com/Dahlbomii",
"followers_url": "https://api.github.com/users/Dahlbo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looks perfect, thank you!"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | @Rocketknight1 types and hints and hints and types | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16529/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16529",
"html_url": "https://github.com/huggingface/transformers/pull/16529",
"diff_url": "https://github.com/huggingface/transformers/pull/16529.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16529.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16528 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16528/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16528/comments | https://api.github.com/repos/huggingface/transformers/issues/16528/events | https://github.com/huggingface/transformers/pull/16528 | 1,188,941,571 | PR_kwDOCUB6oc41cfij | 16,528 | Update summary of the tasks | {
"login": "stevhliu",
"id": 59462357,
"node_id": "MDQ6VXNlcjU5NDYyMzU3",
"avatar_url": "https://avatars.githubusercontent.com/u/59462357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevhliu",
"html_url": "https://github.com/stevhliu",
"followers_url": "https://api.github.com/users/ste... | [
{
"id": 1834067346,
"node_id": "MDU6TGFiZWwxODM0MDY3MzQ2",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Documentation",
"name": "Documentation",
"color": "77cc3b",
"default": false,
"description": ""
}
] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,649 | 1,649 | MEMBER | null | This PR updates the Summary of the tasks page with audio classification, ASR, and image classification. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16528/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16528",
"html_url": "https://github.com/huggingface/transformers/pull/16528",
"diff_url": "https://github.com/huggingface/transformers/pull/16528.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16528.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16527 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16527/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16527/comments | https://api.github.com/repos/huggingface/transformers/issues/16527/events | https://github.com/huggingface/transformers/pull/16527 | 1,188,549,506 | PR_kwDOCUB6oc41bFzC | 16,527 | Fix t5 shard on TPU Pods | {
"login": "agemagician",
"id": 6087313,
"node_id": "MDQ6VXNlcjYwODczMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agemagician",
"html_url": "https://github.com/agemagician",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"This looks good to me!\r\n\r\n@patil-suraj @borisdayma - could you take a look here?",
"Yes this approach works!",
"Thinking about it I think there could be some issues with last batch so we probably need to ensure they all have ... | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | The current script doesn't work properly on a TPU pod because the global batch is not divided correctly per host.
This pull request fixes this issue by dividing the global batch to each host before it is shared on each host.
Fixes # (issue)
https://github.com/huggingface/transformers/issues/16470
## Before subm... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16527/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/16527/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16527",
"html_url": "https://github.com/huggingface/transformers/pull/16527",
"diff_url": "https://github.com/huggingface/transformers/pull/16527.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16527.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16526 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16526/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16526/comments | https://api.github.com/repos/huggingface/transformers/issues/16526/events | https://github.com/huggingface/transformers/pull/16526 | 1,188,446,115 | PR_kwDOCUB6oc41auiq | 16,526 | Add utility to find model labels | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"cc @patrickvonplaten for knowledge"
] | 1,648 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
This PR adds a utility function to find the labels of a model. It will be useful for Keras and the Trainer (integration with the first is left for a follow-up PR). | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16526/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16526",
"html_url": "https://github.com/huggingface/transformers/pull/16526",
"diff_url": "https://github.com/huggingface/transformers/pull/16526.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16526.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16525 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16525/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16525/comments | https://api.github.com/repos/huggingface/transformers/issues/16525/events | https://github.com/huggingface/transformers/issues/16525 | 1,188,391,643 | I_kwDOCUB6oc5G1Wrb | 16,525 | convert_tokens_to_string does not conform to its signature | {
"login": "inspiralpatterns",
"id": 8710333,
"node_id": "MDQ6VXNlcjg3MTAzMzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8710333?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/inspiralpatterns",
"html_url": "https://github.com/inspiralpatterns",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"Seems related to this issue https://github.com/huggingface/transformers/issues/16520",
"> Seems related to this issue #16520\r\n\r\nYeah, I see, I was probably opening the issue the same time you were - thanks for linking it to yours.",
"> > Seems related to this issue #16520\r\n> \r\n> Yeah, I see, I was prob... | 1,648 | 1,652 | 1,652 | 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.17.0
- Platform: macOS-11.6.4-x86_64-i386-64bit
- Python version: 3.9.10
- PyTorch version (GPU?): 1.11.0 ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16525/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16524 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16524/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16524/comments | https://api.github.com/repos/huggingface/transformers/issues/16524/events | https://github.com/huggingface/transformers/issues/16524 | 1,188,298,937 | I_kwDOCUB6oc5G1AC5 | 16,524 | Request: TokenClassification pipeline batch processing over a sequence of already tokenised tests | {
"login": "davidsbatista",
"id": 7937824,
"node_id": "MDQ6VXNlcjc5Mzc4MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7937824?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidsbatista",
"html_url": "https://github.com/davidsbatista",
"followers_url": "https://api.github.... | [] | closed | false | {
"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... | [
{
"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... | [
"Hi @davidsbatista ,\r\n\r\nSorry but you cannot pass pretokenized text to the pipelines. The error message is wrong.\r\n\r\nYou need to pass direct sentences to the pipeline.\r\n\r\n```python\r\nsentences = [\r\n \"Hello this is a single tokenized message\",\r\n \"another tokenized message\"\r\n \"short messag... | 1,648 | 1,653 | 1,653 | CONTRIBUTOR | null | I have a fine-tuned `model` which performs token classification, and a `tokenizer` which was built as:
`tokenizer = AutoTokenizer.from_pretrained("distilbert-base-cased")`
and this works fine in a pipeline when processing a single document/message:
```
nlp = pipeline(
"token-classification",
model=m... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16524/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16523 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16523/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16523/comments | https://api.github.com/repos/huggingface/transformers/issues/16523/events | https://github.com/huggingface/transformers/pull/16523 | 1,188,287,817 | PR_kwDOCUB6oc41aM3Z | 16,523 | Add Doc Test for BERT | {
"login": "vumichien",
"id": 31467068,
"node_id": "MDQ6VXNlcjMxNDY3MDY4",
"avatar_url": "https://avatars.githubusercontent.com/u/31467068?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vumichien",
"html_url": "https://github.com/vumichien",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Hi, @vumichien, \r\n\r\nThank you for this PR. I currently only have a quick look, and overall it is good 😊.\r\n\r\nI saw that your use different checkpoints for PyTorch & TensorFlow BERT models in some cases.\r\nI understand it ver... | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Add doc tests for BERT, a part of issue #16292
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16523/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/16523/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16523",
"html_url": "https://github.com/huggingface/transformers/pull/16523",
"diff_url": "https://github.com/huggingface/transformers/pull/16523.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16523.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16522 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16522/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16522/comments | https://api.github.com/repos/huggingface/transformers/issues/16522/events | https://github.com/huggingface/transformers/pull/16522 | 1,188,280,139 | PR_kwDOCUB6oc41aLM0 | 16,522 | avoid nan loss in masked lm | {
"login": "sanderland",
"id": 48946947,
"node_id": "MDQ6VXNlcjQ4OTQ2OTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/48946947?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanderland",
"html_url": "https://github.com/sanderland",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16522). All of your documentation changes will be reflected on that endpoint.",
"@LysandreJik please have a look and tell me if this is something you think should be expanded or ignored. Thanks.",
"This issue has been aut... | 1,648 | 1,652 | 1,652 | CONTRIBUTOR | null | # What does this PR do?
* Fixes a case where the loss returned from a masked LM head can be NaN, when the collator hasn't masked anything. This is mainly a risk at low batch sizes and short texts.
* This likely affects quite a lot of models, and may be the primary cause of infrequent nan warnings when tuning models... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16522/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16522",
"html_url": "https://github.com/huggingface/transformers/pull/16522",
"diff_url": "https://github.com/huggingface/transformers/pull/16522.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16522.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16521 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16521/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16521/comments | https://api.github.com/repos/huggingface/transformers/issues/16521/events | https://github.com/huggingface/transformers/pull/16521 | 1,188,229,952 | PR_kwDOCUB6oc41aAhT | 16,521 | Add use_auth to load_datasets for private datasets to PT and TF examples | {
"login": "KMFODA",
"id": 35491698,
"node_id": "MDQ6VXNlcjM1NDkxNjk4",
"avatar_url": "https://avatars.githubusercontent.com/u/35491698?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KMFODA",
"html_url": "https://github.com/KMFODA",
"followers_url": "https://api.github.com/users/KMFODA/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@sgugger sure thing! I had already added for TF and have just added for Flax. Some examples didn't have `use_auth_token` as a model argument so I added that as well.",
"Thanks a lot for all your work on this!"
] | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
As per https://github.com/huggingface/transformers/issues/16235 this PR adds the capability to run examples that use trainer on private datasets by adding the use_auth variable to the load_datasets function.
## Before submitting
- [ ] This PR fixes a typo or improves the docs (you can dis... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16521/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16521",
"html_url": "https://github.com/huggingface/transformers/pull/16521",
"diff_url": "https://github.com/huggingface/transformers/pull/16521.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16521.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16520 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16520/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16520/comments | https://api.github.com/repos/huggingface/transformers/issues/16520/events | https://github.com/huggingface/transformers/issues/16520 | 1,188,210,134 | I_kwDOCUB6oc5G0qXW | 16,520 | Token classification pipeline results different with tokenizers==0.11.6 vs tokenizers==0.12.0 | {
"login": "davidmezzetti",
"id": 561939,
"node_id": "MDQ6VXNlcjU2MTkzOQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/561939?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidmezzetti",
"html_url": "https://github.com/davidmezzetti",
"followers_url": "https://api.github.co... | [] | closed | false | null | [] | [
"cc @SaulLu @Narsil ",
"There's a proposed PR here : https://github.com/huggingface/transformers/pull/16537",
"Tokenization tests were run before releasing `0.12` but not the pipeline tests :(",
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still ... | 1,648 | 1,652 | 1,652 | CONTRIBUTOR | null | I'm not sure if this is an issue with transformers, an issue with tokenizers or expected behavior. But when running the token classification pipeline with an aggregation_strategy="simple" the results are slightly different with tokenizers==0.12.0.
The following code produces different results (both examples use tran... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16520/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16519 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16519/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16519/comments | https://api.github.com/repos/huggingface/transformers/issues/16519/events | https://github.com/huggingface/transformers/pull/16519 | 1,188,180,191 | PR_kwDOCUB6oc41Z13P | 16,519 | [research] link to the XTREME-S paper | {
"login": "anton-l",
"id": 26864830,
"node_id": "MDQ6VXNlcjI2ODY0ODMw",
"avatar_url": "https://avatars.githubusercontent.com/u/26864830?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anton-l",
"html_url": "https://github.com/anton-l",
"followers_url": "https://api.github.com/users/anton-... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | MEMBER | null | # What does this PR do?
Link to the XTREME-S paper before the benchmark announcement | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16519/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16519",
"html_url": "https://github.com/huggingface/transformers/pull/16519",
"diff_url": "https://github.com/huggingface/transformers/pull/16519.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16519.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16518 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16518/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16518/comments | https://api.github.com/repos/huggingface/transformers/issues/16518/events | https://github.com/huggingface/transformers/pull/16518 | 1,188,172,557 | PR_kwDOCUB6oc41Z0NA | 16,518 | Enable doc in Spanish | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,649 | 1,649 | COLLABORATOR | null | # What does this PR do?
This PR reorganizes the structure of the docs folder to enable multilingual support and adds the building instructions to make the doc in English and Spanish on each PR/build. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16518/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16518",
"html_url": "https://github.com/huggingface/transformers/pull/16518",
"diff_url": "https://github.com/huggingface/transformers/pull/16518.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16518.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16517 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16517/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16517/comments | https://api.github.com/repos/huggingface/transformers/issues/16517/events | https://github.com/huggingface/transformers/pull/16517 | 1,188,143,356 | PR_kwDOCUB6oc41Zt5r | 16,517 | Use random_attention_mask for TF tests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"> Interesting. It moves the column of 1s for the start to the end and now becomes like a left-padded input. It could help with GPT-2, indeed\r\n\r\n(If you are interested to know a bit more the detail, @gante )\r\n\r\nActually, movin... | 1,648 | 1,648 | 1,648 | COLLABORATOR | null | # What does this PR do?
- Change TF's `random_attention_mask` to match its PT/Flax equivalence.
- Use `random_attention_mask` defined in `test_modeling_tf_common.py` to generate attention mask in TF tests.
- so TF code has the same logic as in PT/Flax tests (regarding this attention mask part in tests)
- av... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16517/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16517",
"html_url": "https://github.com/huggingface/transformers/pull/16517",
"diff_url": "https://github.com/huggingface/transformers/pull/16517.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16517.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16516/comments | https://api.github.com/repos/huggingface/transformers/issues/16516/events | https://github.com/huggingface/transformers/pull/16516 | 1,187,978,194 | PR_kwDOCUB6oc41ZK40 | 16,516 | Fix syntax error in generate docstrings | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | COLLABORATOR | null | # What does this PR do?
Fix a syntax error in the generate docstring.
Fixes #16515 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16516/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16516",
"html_url": "https://github.com/huggingface/transformers/pull/16516",
"diff_url": "https://github.com/huggingface/transformers/pull/16516.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16516.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16515 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16515/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16515/comments | https://api.github.com/repos/huggingface/transformers/issues/16515/events | https://github.com/huggingface/transformers/issues/16515 | 1,187,843,621 | I_kwDOCUB6oc5GzQ4l | 16,515 | Typo in documentation. | {
"login": "MattYoon",
"id": 57797966,
"node_id": "MDQ6VXNlcjU3Nzk3OTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/57797966?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MattYoon",
"html_url": "https://github.com/MattYoon",
"followers_url": "https://api.github.com/users/Mat... | [] | closed | false | null | [] | [
"Thanks for flagging, the PR mentioned above will fix this issue."
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | Under parameters for `GenerationMixin.generate()`
there is no new bullet point for `prefix_allowed_tokens_fn`, and the content for it is under [`diversity_penalty`](https://huggingface.co/docs/transformers/v4.13.0/en/main_classes/model#transformers.generation_utils.GenerationMixin.generate.diversity_penalty).
This ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16515/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16514 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16514/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16514/comments | https://api.github.com/repos/huggingface/transformers/issues/16514/events | https://github.com/huggingface/transformers/pull/16514 | 1,187,817,810 | PR_kwDOCUB6oc41YolF | 16,514 | Adding Bigscience 176B parameters model | {
"login": "thomwolf",
"id": 7353373,
"node_id": "MDQ6VXNlcjczNTMzNzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7353373?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomwolf",
"html_url": "https://github.com/thomwolf",
"followers_url": "https://api.github.com/users/thomw... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,648 | 1,653 | 1,653 | MEMBER | null | # What does this PR do?
This PR add BigScience 176B parameters model to transformers.
The model architecture is detailed here: https://bigscience.notion.site/BigScience-176B-Model-Training-ad073ca07cdf479398d5f95d88e218c4
The training of the model can be followed here: https://twitter.com/BigScienceLLM
The ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16514/reactions",
"total_count": 19,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 7,
"confused": 0,
"heart": 6,
"rocket": 6,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16514/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16514",
"html_url": "https://github.com/huggingface/transformers/pull/16514",
"diff_url": "https://github.com/huggingface/transformers/pull/16514.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16514.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16513/comments | https://api.github.com/repos/huggingface/transformers/issues/16513/events | https://github.com/huggingface/transformers/issues/16513 | 1,187,812,298 | I_kwDOCUB6oc5GzJPK | 16,513 | Onnx export Data2vexAudio ValueError: Model and config inputs doesn't match | {
"login": "xiadingZ",
"id": 16729275,
"node_id": "MDQ6VXNlcjE2NzI5Mjc1",
"avatar_url": "https://avatars.githubusercontent.com/u/16729275?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xiadingZ",
"html_url": "https://github.com/xiadingZ",
"followers_url": "https://api.github.com/users/xia... | [] | closed | false | null | [] | [
"Wow very cool to see that you guys are already working on Onnx and Data2VecAudio :partying_face: \r\n\r\nPinging @anton-l and @lewtun here :-) ",
"Hi @xiadingZ this is cool indeed! \r\n\r\nI think the error message is coming from the fact that the base `generate_dummy_inputs()` method of `OnnxConfig` doesn't ret... | 1,648 | 1,653 | 1,653 | NONE | null |
- data2vec: @patrickvonplaten, @anton-l @edugp
The problem arises when using:
* [ ] my own modified scripts: (give details below)
```
from typing import Mapping, OrderedDict
from transformers.onnx import OnnxConfig
from transformers import AutoConfig
from pathlib import Path
from transformers.onnx... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16513/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16512/comments | https://api.github.com/repos/huggingface/transformers/issues/16512/events | https://github.com/huggingface/transformers/issues/16512 | 1,187,709,996 | I_kwDOCUB6oc5GywQs | 16,512 | ONNX exported BART model with seq2seq-lm-with-past feature produces error on the initial run. | {
"login": "eublefar",
"id": 10601797,
"node_id": "MDQ6VXNlcjEwNjAxNzk3",
"avatar_url": "https://avatars.githubusercontent.com/u/10601797?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eublefar",
"html_url": "https://github.com/eublefar",
"followers_url": "https://api.github.com/users/eub... | [] | closed | false | null | [] | [
"Fixing model `decoder_input_ids` expected shape from (batch, 2) to (batch, 1) doesn't help with this error.",
"Changing the shape of PKVs and masks changes error.\r\nHere is the snippet to modify input shapes:\r\n```python\r\nBATCH = 1\r\nPAST_SEQ_LEN = 2\r\n\r\nmodel_inputs = model.get_inputs()\r\ndtypes = {i.n... | 1,648 | 1,652 | 1,652 | NONE | null | ## Environment info
- `transformers` version: 4.17.0
- Platform: Windows-10-10.0.18362-SP0
- Python version: 3.7.13
- PyTorch version (GPU?): 1.11.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not ins... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16512/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/16512/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16511/comments | https://api.github.com/repos/huggingface/transformers/issues/16511/events | https://github.com/huggingface/transformers/issues/16511 | 1,187,699,353 | I_kwDOCUB6oc5GytqZ | 16,511 | decoder | {
"login": "haha-super-star",
"id": 49858931,
"node_id": "MDQ6VXNlcjQ5ODU4OTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/49858931?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/haha-super-star",
"html_url": "https://github.com/haha-super-star",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,648 | 1,648 | 1,648 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:
- Platform:
- Python version:
- PyTorch version (GPU?):
- Tensorflow version (GPU?):
- Using GPU in script... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16511/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16510/comments | https://api.github.com/repos/huggingface/transformers/issues/16510/events | https://github.com/huggingface/transformers/issues/16510 | 1,187,606,937 | I_kwDOCUB6oc5GyXGZ | 16,510 | CANINE model gets different logits for different batch sizes | {
"login": "AliOsm",
"id": 7662492,
"node_id": "MDQ6VXNlcjc2NjI0OTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/7662492?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AliOsm",
"html_url": "https://github.com/AliOsm",
"followers_url": "https://api.github.com/users/AliOsm/foll... | [] | closed | false | null | [] | [
"Note: I tested the same code with `microsoft/mdeberta-v3-base` model and I got the same output every time.",
"Hi @NielsRogge, could you please take a look ?.?",
"Hi,\r\n\r\nThanks for raising this issue. It probably has to do with the fact that CANINE internally downsamples the sequence length first (from char... | 1,648 | 1,652 | 1,652 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.17.0
- Platform: Linux-4.14.252-131.483.amzn1.x86_64-x86_64-with-glibc2.9
- Python version: 3.6.13
- PyTorch version (GPU?): 1.7.1 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installe... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16510/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16509/comments | https://api.github.com/repos/huggingface/transformers/issues/16509/events | https://github.com/huggingface/transformers/issues/16509 | 1,187,573,766 | I_kwDOCUB6oc5GyPAG | 16,509 | Tensorflow language modeling example doesn't work with TPU in Colab | {
"login": "ryanzlu",
"id": 8409791,
"node_id": "MDQ6VXNlcjg0MDk3OTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8409791?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ryanzlu",
"html_url": "https://github.com/ryanzlu",
"followers_url": "https://api.github.com/users/ryanzlu/... | [] | closed | false | null | [] | [
"Hi, we've noted this issue! We'll aim to investigate this next week - making sure we have stable and well-tested TPU support for TF, including for `generate()`, is on our near-term roadmap. I'll keep you updated!",
"Hi @ryanzlu . We've investigated the issue. This is caused by our `to_tf_dataset()` method stream... | 1,648 | 1,652 | 1,652 | 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.17.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyTorch version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16509/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16508/comments | https://api.github.com/repos/huggingface/transformers/issues/16508/events | https://github.com/huggingface/transformers/pull/16508 | 1,187,512,781 | PR_kwDOCUB6oc41Xnp1 | 16,508 | [Typo][Example] Fixed a typo in `run_qa_no_trainer.py` | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Req... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16508/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16508",
"html_url": "https://github.com/huggingface/transformers/pull/16508",
"diff_url": "https://github.com/huggingface/transformers/pull/16508.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16508.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16507/comments | https://api.github.com/repos/huggingface/transformers/issues/16507/events | https://github.com/huggingface/transformers/pull/16507 | 1,187,439,152 | PR_kwDOCUB6oc41XX11 | 16,507 | Add Doc Test GPT-J | {
"login": "ArEnSc",
"id": 6252325,
"node_id": "MDQ6VXNlcjYyNTIzMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6252325?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ArEnSc",
"html_url": "https://github.com/ArEnSc",
"followers_url": "https://api.github.com/users/ArEnSc/foll... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@ArEnSc \r\n\r\nThank you for working on GPT-J.\r\nMaybe you can just put any expected value as empty string. Once other parts are done,\r\nplease ping me and I will try to get and put the expected values :)",
"> @ArEnSc\r\n> \r\n>... | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Fixes the broken doc tests for GPT-J
Apart of the documentation sprint work.
## Before submitting
- [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transfor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16507/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16507",
"html_url": "https://github.com/huggingface/transformers/pull/16507",
"diff_url": "https://github.com/huggingface/transformers/pull/16507.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16507.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16506/comments | https://api.github.com/repos/huggingface/transformers/issues/16506/events | https://github.com/huggingface/transformers/pull/16506 | 1,187,311,280 | PR_kwDOCUB6oc41W7PQ | 16,506 | Type hints added to Speech to Text | {
"login": "Dahlbomii",
"id": 101373053,
"node_id": "U_kgDOBgrUfQ",
"avatar_url": "https://avatars.githubusercontent.com/u/101373053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dahlbomii",
"html_url": "https://github.com/Dahlbomii",
"followers_url": "https://api.github.com/users/Dahlbo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for this! I made one quick change and I'll merge as soon as tests are green."
] | 1,648 | 1,650 | 1,650 | CONTRIBUTOR | null | @Rocketknight1 Hints of types | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16506/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16506",
"html_url": "https://github.com/huggingface/transformers/pull/16506",
"diff_url": "https://github.com/huggingface/transformers/pull/16506.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16506.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16505/comments | https://api.github.com/repos/huggingface/transformers/issues/16505/events | https://github.com/huggingface/transformers/pull/16505 | 1,187,207,955 | PR_kwDOCUB6oc41WjX9 | 16,505 | Type hints added for TFMobileBert | {
"login": "Dahlbomii",
"id": 101373053,
"node_id": "U_kgDOBgrUfQ",
"avatar_url": "https://avatars.githubusercontent.com/u/101373053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dahlbomii",
"html_url": "https://github.com/Dahlbomii",
"followers_url": "https://api.github.com/users/Dahlbo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,650 | 1,650 | CONTRIBUTOR | null | @Rocketknight1 hints(specifically of the type variety) added | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16505/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16505",
"html_url": "https://github.com/huggingface/transformers/pull/16505",
"diff_url": "https://github.com/huggingface/transformers/pull/16505.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16505.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16504/comments | https://api.github.com/repos/huggingface/transformers/issues/16504/events | https://github.com/huggingface/transformers/issues/16504 | 1,187,199,505 | I_kwDOCUB6oc5GwzoR | 16,504 | Script to convert huggingface models to deepspeed/megatron checkpoints | {
"login": "ShivamSharma2705",
"id": 94197666,
"node_id": "U_kgDOBZ1Xog",
"avatar_url": "https://avatars.githubusercontent.com/u/94197666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShivamSharma2705",
"html_url": "https://github.com/ShivamSharma2705",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"We don't at the moment. You can probably try to reverse the existing conversion scripts.\r\n\r\n@tjruwase (Deepspeed) has been working on doing various conversions between Meg-LM, Meg-DS and HF Transformers:\r\nhttps://github.com/bigscience-workshop/Megatron-DeepSpeed/pull/239\r\nso perhaps it'd fit there the best... | 1,648 | 1,691 | 1,652 | NONE | null | Do we have a script to convert the huggingface pretrained models on the server to deepspeed/megatron style model checkpoints? | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16504/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16503/comments | https://api.github.com/repos/huggingface/transformers/issues/16503/events | https://github.com/huggingface/transformers/issues/16503 | 1,186,901,709 | I_kwDOCUB6oc5Gvq7N | 16,503 | Trainer: Support scheduler that reduce LR on loss plateau. | {
"login": "KarelDO",
"id": 48281913,
"node_id": "MDQ6VXNlcjQ4MjgxOTEz",
"avatar_url": "https://avatars.githubusercontent.com/u/48281913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KarelDO",
"html_url": "https://github.com/KarelDO",
"followers_url": "https://api.github.com/users/KarelD... | [] | closed | false | null | [] | [
"Might be of interest to @sgugger ",
"This is not a high-priority feature on our list, as no Transformers pretraining or fine-tuning is making use of such schedulers in the literature. If you want to make a PR with this, I'm happy to have a look though.",
"This issue has been automatically marked as stale becau... | 1,648 | 1,653 | 1,653 | NONE | null | # 🚀 Feature request
The HuggingFace Trainer currently only supports learning rate schedulers where the learning rate follows a fixed trajectory. Schedulers that adapt the learning rate to the state of the training procedure are (as far as I know) not supported.
As en example, take [ `ReduceLROnPlateau`](https://... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16503/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/16503/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16502/comments | https://api.github.com/repos/huggingface/transformers/issues/16502/events | https://github.com/huggingface/transformers/issues/16502 | 1,186,899,854 | I_kwDOCUB6oc5GvqeO | 16,502 | Batch tensor creation error when finetuning gpt2 | {
"login": "aclifton314",
"id": 53267795,
"node_id": "MDQ6VXNlcjUzMjY3Nzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/53267795?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aclifton314",
"html_url": "https://github.com/aclifton314",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Any ideas?",
"Cannot tell you the full detail since it's an involved example but it seems the root error is:\r\n\r\n```\r\nValueError: expected sequence of length 256 at dim 1 (got 65)\r\n```\r\n\r\nThat looks to me as if the `tensor` is a pure python object with lists of different sizes, so you should probably ... | 1,648 | 1,652 | 1,652 | NONE | null | Python: 3.7.6
Transformers: 4.17.0
Datasets: 2.0.0
Tokenizers: 0.11.6
Pytorch: 1.7.0 (no gpu)
OS: Pop!_OS 21.10
Not using GPU
Model: GPT2 for text generation (@patil-suraj, @patrickvonplaten, @LysandreJik, @narsil)
I have the following code for finetuning gpt2:
```python
import pandas as pd
import datasets... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16502/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16501/comments | https://api.github.com/repos/huggingface/transformers/issues/16501/events | https://github.com/huggingface/transformers/pull/16501 | 1,186,806,289 | PR_kwDOCUB6oc41VLjh | 16,501 | [examples] max samples can't be bigger than the len of dataset | {
"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 | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"sure, replayed for tf/flax as well.",
"Very nice of you, thanks a lot!\r\n\r\nYou caught some research projects in the change, but it's more defensive, so fine to merge."
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | Starting with `datasets==1.18.4` an exception is raised when `ds.select(myrange)` is called and `myrange` includes indices larger than the length of the dataset. This impacts all our examples, e.g.:
```
stderr: Traceback (most recent call last):
stderr: File "/mnt/nvme0/code/huggingface/transformers-master/examp... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16501/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/16501/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16501",
"html_url": "https://github.com/huggingface/transformers/pull/16501",
"diff_url": "https://github.com/huggingface/transformers/pull/16501.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16501.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16500 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16500/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16500/comments | https://api.github.com/repos/huggingface/transformers/issues/16500/events | https://github.com/huggingface/transformers/pull/16500 | 1,186,783,928 | PR_kwDOCUB6oc41VGwl | 16,500 | added type hints to xglm pytorch | {
"login": "mowafess",
"id": 36759376,
"node_id": "MDQ6VXNlcjM2NzU5Mzc2",
"avatar_url": "https://avatars.githubusercontent.com/u/36759376?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mowafess",
"html_url": "https://github.com/mowafess",
"followers_url": "https://api.github.com/users/mow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
I added type annotations for xglm (PT) as described in [https://github.com/huggingface/transformers/issues/16059]
## 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](htt... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16500/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16500",
"html_url": "https://github.com/huggingface/transformers/pull/16500",
"diff_url": "https://github.com/huggingface/transformers/pull/16500.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16500.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16499 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16499/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16499/comments | https://api.github.com/repos/huggingface/transformers/issues/16499/events | https://github.com/huggingface/transformers/pull/16499 | 1,186,730,576 | PR_kwDOCUB6oc41U7ZE | 16,499 | TF: Finalize `unpack_inputs`-related changes | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,649 | 1,649 | MEMBER | null | # What does this PR do?
Closes https://github.com/huggingface/transformers/issues/16051
Please read this before diving into the changes :) This PR finalizes the changes related to the `unpack_inputs` and is slightly more complex than the other PRs.
Changes:
1. Removes `**kwargs` from most `call` methods in ou... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16499/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16499",
"html_url": "https://github.com/huggingface/transformers/pull/16499",
"diff_url": "https://github.com/huggingface/transformers/pull/16499.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16499.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16498 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16498/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16498/comments | https://api.github.com/repos/huggingface/transformers/issues/16498/events | https://github.com/huggingface/transformers/pull/16498 | 1,186,710,236 | PR_kwDOCUB6oc41U3EF | 16,498 | Add ONNX export for BeiT | {
"login": "akuma12",
"id": 969848,
"node_id": "MDQ6VXNlcjk2OTg0OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/969848?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akuma12",
"html_url": "https://github.com/akuma12",
"followers_url": "https://api.github.com/users/akuma12/fo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Thanks for your PR, super cool!"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
Based on the fantastic work by @lewtun in https://github.com/huggingface/transformers/pull/15658, I added ONNX export support for the Microsoft BeiT model.
# Usage
```
import requests
import numpy as np
from PIL import Image
from onnxruntime import InferenceSession
from transformers ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16498/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16498",
"html_url": "https://github.com/huggingface/transformers/pull/16498",
"diff_url": "https://github.com/huggingface/transformers/pull/16498.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16498.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16497/comments | https://api.github.com/repos/huggingface/transformers/issues/16497/events | https://github.com/huggingface/transformers/issues/16497 | 1,186,660,336 | I_kwDOCUB6oc5Guv_w | 16,497 | [TODO] Investigate equivalence tests | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"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": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [
{
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.githu... | [
"Another one to add to this list: `tests/funnel/test_modeling_funnel.py::FunnelModelTest::test_pt_tf_model_equivalence`. I've been getting a failure in this one every other day -- example: https://app.circleci.com/pipelines/github/huggingface/transformers/38007/workflows/2a98b7b1-5ad0-4b80-a702-1887c620193f/jobs/42... | 1,648 | 1,654 | null | COLLABORATOR | null | **(add a lot of assignees just to make you informed and kept updated in the future. Don't hesitate to remove yourself if you think it's irrelevant)**
Currently the PT/TF/Flax equivalence tests use `1e-5` as the tolerance for the absolute differences of outputs.
We see that these tests failed with a non-negligible... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16497/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/16497/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16496/comments | https://api.github.com/repos/huggingface/transformers/issues/16496/events | https://github.com/huggingface/transformers/pull/16496 | 1,186,654,372 | PR_kwDOCUB6oc41UrO2 | 16,496 | Support reduce_bucket_size="auto" for deepspeed stages <3 | {
"login": "manuelciosici",
"id": 51477,
"node_id": "MDQ6VXNlcjUxNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/51477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manuelciosici",
"html_url": "https://github.com/manuelciosici",
"followers_url": "https://api.github.com/user... | [
{
"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... | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | 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/16496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16496/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16496",
"html_url": "https://github.com/huggingface/transformers/pull/16496",
"diff_url": "https://github.com/huggingface/transformers/pull/16496.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16496.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16495/comments | https://api.github.com/repos/huggingface/transformers/issues/16495/events | https://github.com/huggingface/transformers/issues/16495 | 1,186,649,486 | I_kwDOCUB6oc5GutWO | 16,495 | `Trainer` does not support deepspeed `reduce_bucket_size="auto"` for DS levels <3 | {
"login": "manuelciosici",
"id": 51477,
"node_id": "MDQ6VXNlcjUxNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/51477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manuelciosici",
"html_url": "https://github.com/manuelciosici",
"followers_url": "https://api.github.com/user... | [
{
"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 | [] | [] | 1,648 | 1,648 | 1,648 | 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.17.0
- Platform: Linux-3.10.0-1160.59.1.el7.x86_64-x86_64-with-glibc2.17
- Python version: 3.9.6
- PyTorch... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16495/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16494/comments | https://api.github.com/repos/huggingface/transformers/issues/16494/events | https://github.com/huggingface/transformers/pull/16494 | 1,186,617,056 | PR_kwDOCUB6oc41UjRj | 16,494 | add code samples for TF speech models | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | COLLABORATOR | null | # What does this PR do?
Add:
- TF_SPEECH_BASE_MODEL_SAMPLE
- TF_SPEECH_CTC_SAMPLE
I tested them manually with TFWav2Vec2 (not through doctest).
## Remark:
The following samples are not translated to TF, since I couldn't find models like `TFWav2Vec2ForSequenceClassification`.
- PT_SPEECH_SEQ_CLASS_S... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16494/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16494",
"html_url": "https://github.com/huggingface/transformers/pull/16494",
"diff_url": "https://github.com/huggingface/transformers/pull/16494.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16494.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16493/comments | https://api.github.com/repos/huggingface/transformers/issues/16493/events | https://github.com/huggingface/transformers/pull/16493 | 1,186,617,004 | PR_kwDOCUB6oc41UjQ2 | 16,493 | Add length to PreTrainedTokenizer train_new_from_iterator | {
"login": "dctelus",
"id": 93535080,
"node_id": "U_kgDOBZM7aA",
"avatar_url": "https://avatars.githubusercontent.com/u/93535080?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dctelus",
"html_url": "https://github.com/dctelus",
"followers_url": "https://api.github.com/users/dctelus/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
Adds better progress to PreTrainedTokenizerFast training from iterator
## 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/bl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16493/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16493",
"html_url": "https://github.com/huggingface/transformers/pull/16493",
"diff_url": "https://github.com/huggingface/transformers/pull/16493.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16493.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16492/comments | https://api.github.com/repos/huggingface/transformers/issues/16492/events | https://github.com/huggingface/transformers/pull/16492 | 1,186,542,819 | PR_kwDOCUB6oc41UTdM | 16,492 | Add support for exporting GPT-J to ONNX-TRT | {
"login": "tomerip",
"id": 59172869,
"node_id": "MDQ6VXNlcjU5MTcyODY5",
"avatar_url": "https://avatars.githubusercontent.com/u/59172869?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tomerip",
"html_url": "https://github.com/tomerip",
"followers_url": "https://api.github.com/users/tomeri... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Added a function to handle the repeat, commenting on each step."
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | This change enables exporting GPT-J to ONNX without having any `Sequence*` ops which are currently unsupported in TensorRT ONNX parser. It works by using a sequence of "`view`, `repeat`, `view`" instead of using `repeat_interleave`.
# What does this PR do?
Fixes #15640
## Who can review?
@patil-suraj | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16492/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16492",
"html_url": "https://github.com/huggingface/transformers/pull/16492",
"diff_url": "https://github.com/huggingface/transformers/pull/16492.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16492.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16491/comments | https://api.github.com/repos/huggingface/transformers/issues/16491/events | https://github.com/huggingface/transformers/pull/16491 | 1,186,286,342 | PR_kwDOCUB6oc41Tcsi | 16,491 | TF: unpack inputs on Convbert, GPTJ, LED, and templates | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | MEMBER | null | # What does this PR do?
This PR implements the `@unpack_inputs` decorator on Convbert, GPTJ, LED, and templates, as per https://github.com/huggingface/transformers/issues/16051.
The diff is big, but the changes are all trivial:
1. Replace `input_processing()` calls by the `@unpack_inputs` decorator
2. Replace `... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16491/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16491",
"html_url": "https://github.com/huggingface/transformers/pull/16491",
"diff_url": "https://github.com/huggingface/transformers/pull/16491.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16491.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16490/comments | https://api.github.com/repos/huggingface/transformers/issues/16490/events | https://github.com/huggingface/transformers/pull/16490 | 1,186,012,147 | PR_kwDOCUB6oc41Sl0D | 16,490 | make tuple annotation more specific to avoid failures during symbolic_trace | {
"login": "chenbohua3",
"id": 19526090,
"node_id": "MDQ6VXNlcjE5NTI2MDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/19526090?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chenbohua3",
"html_url": "https://github.com/chenbohua3",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"@chenbohua3 We're happy to merge this, please let us know whenever you're ready!",
"@Rocketknight1 Thank you very much. I'm also happy to merge this pr. Should I do anything else? Since this is my first pr to transformers repo:)",
... | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | This pr fixes the failure appeared during `symbolic_trace due` to the missing annotation of Tuple.
Before this pr, if we symbolic trace the bert model like:
```
from transformers import BertTokenizer, BertModel
from transformers.utils.fx import symbolic_trace
tokenizer = BertTokenizer.from_pretrained('bert-bas... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16490/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/16490/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16490",
"html_url": "https://github.com/huggingface/transformers/pull/16490",
"diff_url": "https://github.com/huggingface/transformers/pull/16490.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16490.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16489/comments | https://api.github.com/repos/huggingface/transformers/issues/16489/events | https://github.com/huggingface/transformers/issues/16489 | 1,185,772,791 | I_kwDOCUB6oc5GrXT3 | 16,489 | segformer variants | {
"login": "JunMa11",
"id": 19947331,
"node_id": "MDQ6VXNlcjE5OTQ3MzMx",
"avatar_url": "https://avatars.githubusercontent.com/u/19947331?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JunMa11",
"html_url": "https://github.com/JunMa11",
"followers_url": "https://api.github.com/users/JunMa1... | [] | closed | false | null | [] | [
"Hi,\r\n\r\nThanks for your interest in SegFormer! If you want to use the pre-trained model, you can load any checkpoint from the [hub](https://huggingface.co/models?other=segformer), like so:\r\n\r\n```\r\nfrom transformers import SegformerForSemanticSegmentation\r\n\r\nmodel = SegformerForSemanticSegmentation.fro... | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | Dear @NielsRogge,
Thanks for re-implementing the `segformer`. I have two questions:
1. The default setting is `segformer-b0`. If I want to use `segformer-b3`, I only need to modify the two parameters: `depths` and `hidden_sizes`, right?
2. I want to use the pre-trained model for small images (256x256), how sho... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16489/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16488/comments | https://api.github.com/repos/huggingface/transformers/issues/16488/events | https://github.com/huggingface/transformers/pull/16488 | 1,185,623,428 | PR_kwDOCUB6oc41RSIi | 16,488 | TF GPT-J Type hints and TF decorator | {
"login": "Dahlbomii",
"id": 101373053,
"node_id": "U_kgDOBgrUfQ",
"avatar_url": "https://avatars.githubusercontent.com/u/101373053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Dahlbomii",
"html_url": "https://github.com/Dahlbomii",
"followers_url": "https://api.github.com/users/Dahlbo... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Looks great, thank you!"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | @Rocketknight1 | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16488/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16488",
"html_url": "https://github.com/huggingface/transformers/pull/16488",
"diff_url": "https://github.com/huggingface/transformers/pull/16488.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16488.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16487/comments | https://api.github.com/repos/huggingface/transformers/issues/16487/events | https://github.com/huggingface/transformers/pull/16487 | 1,185,458,358 | PR_kwDOCUB6oc41Qsgo | 16,487 | Do not initialize `torch.distributed` process group if one is already initailized | {
"login": "Yard1",
"id": 10364161,
"node_id": "MDQ6VXNlcjEwMzY0MTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/10364161?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Yard1",
"html_url": "https://github.com/Yard1",
"followers_url": "https://api.github.com/users/Yard1/follow... | [] | closed | false | null | [] | [
"cc @sgugger ",
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
If a `torch.distributed` process group is already initialized, `TrainingArguments` will not initialize one by itself. This allows for the user to create their own custom process groups if needed.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merg... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16487/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16487",
"html_url": "https://github.com/huggingface/transformers/pull/16487",
"diff_url": "https://github.com/huggingface/transformers/pull/16487.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16487.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16486/comments | https://api.github.com/repos/huggingface/transformers/issues/16486/events | https://github.com/huggingface/transformers/issues/16486 | 1,185,431,292 | I_kwDOCUB6oc5GqD78 | 16,486 | MarianMT: doubling batch_size has no effect on time taken | {
"login": "kgarg8",
"id": 30385849,
"node_id": "MDQ6VXNlcjMwMzg1ODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/30385849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kgarg8",
"html_url": "https://github.com/kgarg8",
"followers_url": "https://api.github.com/users/kgarg8/fo... | [] | 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... | [
"@patil-suraj Any updates on this issue?",
"Hey @kgarg8,\r\n\r\nWhy should doubling the batch size reduce the time in half exactly. Time measurements strongly depend on the hardware that is being used. What hardware do you use here?",
"Well, my GPU can support double the batch size. So, I can process double the... | 1,648 | 1,652 | 1,652 | NONE | null | ## Environment info
- `transformers` version: 4.15.0
- Platform: Linux-5.4.0-97-generic-x86_64-with-debian-bullseye-sid
- Python version: 3.6.13
- PyTorch version (GPU?): 1.10.1 (True)
- Tensorflow version (GPU?): 2.6.2 (False)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- J... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16486/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16485/comments | https://api.github.com/repos/huggingface/transformers/issues/16485/events | https://github.com/huggingface/transformers/pull/16485 | 1,185,382,995 | PR_kwDOCUB6oc41QcQO | 16,485 | Add global_attention_mask to gen_kwargs in Seq2SeqTrainer.prediction_step | {
"login": "JohnGiorgi",
"id": 8917831,
"node_id": "MDQ6VXNlcjg5MTc4MzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8917831?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JohnGiorgi",
"html_url": "https://github.com/JohnGiorgi",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"Not expert enough in `generate` to review this and @patrickvonplaten is on vacation, so waiting for @patil-suraj review :-)\r\n\r\nThanks a lot for your PR!",
"Hi @JohnGiorgi and @patrickvonplaten,\r\n\r\nusing `model.generate(...)... | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Certain Seq2Seq models (e.g. [LED](https://huggingface.co/allenai/led-base-16384)-based models such as [PRIMERA](https://huggingface.co/allenai/PRIMERA)) need to pass the `global_attention_mask` to `model.generate()` so that global attention is computed for particular tokens when decoding. Th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16485/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16485",
"html_url": "https://github.com/huggingface/transformers/pull/16485",
"diff_url": "https://github.com/huggingface/transformers/pull/16485.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16485.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16484/comments | https://api.github.com/repos/huggingface/transformers/issues/16484/events | https://github.com/huggingface/transformers/issues/16484 | 1,185,337,490 | I_kwDOCUB6oc5GptCS | 16,484 | Cannot save TFDebertaV2ForSequenceClassification as SavedModel via saved_model | {
"login": "maziyarpanahi",
"id": 5762953,
"node_id": "MDQ6VXNlcjU3NjI5NTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5762953?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/maziyarpanahi",
"html_url": "https://github.com/maziyarpanahi",
"followers_url": "https://api.github.... | [] | closed | false | {
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.com/users/gante/follow... | [
{
"login": "gante",
"id": 12240844,
"node_id": "MDQ6VXNlcjEyMjQwODQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/12240844?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gante",
"html_url": "https://github.com/gante",
"followers_url": "https://api.github.co... | [
"I've reproduced this issue - will discuss with the team what we can do to generally support SavedModel saving.",
"Hi @maziyarpanahi ! I've talked this over with the team and although we offer `SavedModel` support for saving, it doesn't work with all models and we're not sure how possible it'll be to update all o... | 1,648 | 1,652 | 1,652 | 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.17.0
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.13
- PyTorch version... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16484/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16483/comments | https://api.github.com/repos/huggingface/transformers/issues/16483/events | https://github.com/huggingface/transformers/pull/16483 | 1,185,318,651 | PR_kwDOCUB6oc41QObh | 16,483 | Raise diff tolerance value for TFViTMAEModelTest | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | COLLABORATOR | null | # What does this PR do?
For now, change the tol from `1e-5` to `2e-5` in `TFViTMAEModelTest.test_pt_tf_model_equivalence` to avoid being flaky. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16483/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16483",
"html_url": "https://github.com/huggingface/transformers/pull/16483",
"diff_url": "https://github.com/huggingface/transformers/pull/16483.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16483.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16482/comments | https://api.github.com/repos/huggingface/transformers/issues/16482/events | https://github.com/huggingface/transformers/issues/16482 | 1,185,307,922 | I_kwDOCUB6oc5Gpl0S | 16,482 | Training MarianTokenizer with sentencepiece | {
"login": "Lednik7",
"id": 52196169,
"node_id": "MDQ6VXNlcjUyMTk2MTY5",
"avatar_url": "https://avatars.githubusercontent.com/u/52196169?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lednik7",
"html_url": "https://github.com/Lednik7",
"followers_url": "https://api.github.com/users/Lednik... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,648 | 1,668 | 1,652 | NONE | null | i tried to run:
```
import sentencepiece as spm
import io
from transformers import MarianTokenizer
import json
model_en = io.BytesIO()
spm.SentencePieceTrainer.train(input='texts_en.txt',
vocab_size=125036,
max_sentence_length=512,
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16482/reactions",
"total_count": 3,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/huggingface/transformers/issues/16482/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16481/comments | https://api.github.com/repos/huggingface/transformers/issues/16481/events | https://github.com/huggingface/transformers/pull/16481 | 1,185,296,150 | PR_kwDOCUB6oc41QJ7F | 16,481 | Nit: MCSCOCO -> MSCOCO | {
"login": "AdityaKane2001",
"id": 64411306,
"node_id": "MDQ6VXNlcjY0NDExMzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/64411306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AdityaKane2001",
"html_url": "https://github.com/AdityaKane2001",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | 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/16481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16481/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16481",
"html_url": "https://github.com/huggingface/transformers/pull/16481",
"diff_url": "https://github.com/huggingface/transformers/pull/16481.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16481.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16480/comments | https://api.github.com/repos/huggingface/transformers/issues/16480/events | https://github.com/huggingface/transformers/issues/16480 | 1,185,199,195 | I_kwDOCUB6oc5GpLRb | 16,480 | run_clm.py crashes server. | {
"login": "ShivamSharma2705",
"id": 94197666,
"node_id": "U_kgDOBZ1Xog",
"avatar_url": "https://avatars.githubusercontent.com/u/94197666?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShivamSharma2705",
"html_url": "https://github.com/ShivamSharma2705",
"followers_url": "https://api.gith... | [] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.\n\nPlease note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md) a... | 1,648 | 1,652 | 1,652 | NONE | null | I was running the run_clm.py script with deepspeed for finetuning gpt2-small on a 300GB data. I had provided 5 GPUs for the process, but as soon as the preprocessing of the data was completed the server crashed and I had to get it restarted. Can you point me to where we need to make changes to the script to support fin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16479/comments | https://api.github.com/repos/huggingface/transformers/issues/16479/events | https://github.com/huggingface/transformers/issues/16479 | 1,185,109,225 | I_kwDOCUB6oc5Go1Tp | 16,479 | Embedding size mismatch when hyperparameter search | {
"login": "boxorange",
"id": 49205846,
"node_id": "MDQ6VXNlcjQ5MjA1ODQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/49205846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/boxorange",
"html_url": "https://github.com/boxorange",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You can't use a pretrained model with a different vocab size without the `ignore_mismatched_sizes=True` option as the weights shapes don't match. If you remove the line `tokenizer=tokenizer`, you should be able to load the pretrained model, then resize its embeddings for your added tokens.\r\n\r\nBut in general, i... | 1,648 | 1,652 | 1,652 | 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.17.0
- Platform: Linux
- Python version: 3.9.4
- PyTorch version (GPU?): 1.10.2
- Using GPU in script?: Y... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16479/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16478/comments | https://api.github.com/repos/huggingface/transformers/issues/16478/events | https://github.com/huggingface/transformers/pull/16478 | 1,185,102,035 | PR_kwDOCUB6oc41PgqE | 16,478 | Fix example test and test_fetcher for 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 | [] | [
"Confirmed this fixes the oversight in `test_fetcher` and fixes the actual example since the example tests actually ran (and passed) here. Since this is a failure on master merging without review but happy to address comments in a follow-up PR!",
"_The documentation is not available anymore as the PR was closed o... | 1,648 | 1,648 | 1,648 | COLLABORATOR | null | # What does this PR do?
#16475 introduced a failure in the example tests that went undetected because the test_fetcher had the wrong path for the example test. This PR fixes both. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16478/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16478",
"html_url": "https://github.com/huggingface/transformers/pull/16478",
"diff_url": "https://github.com/huggingface/transformers/pull/16478.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16478.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16477/comments | https://api.github.com/repos/huggingface/transformers/issues/16477/events | https://github.com/huggingface/transformers/pull/16477 | 1,184,988,807 | PR_kwDOCUB6oc41PIup | 16,477 | Add TF vision model code samples | {
"login": "ydshieh",
"id": 2521628,
"node_id": "MDQ6VXNlcjI1MjE2Mjg=",
"avatar_url": "https://avatars.githubusercontent.com/u/2521628?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ydshieh",
"html_url": "https://github.com/ydshieh",
"followers_url": "https://api.github.com/users/ydshieh/... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._"
] | 1,648 | 1,648 | 1,648 | COLLABORATOR | null | # What does this PR do?
Add:
- TF_VISION_BASE_MODEL_SAMPLE
- TF_VISION_SEQ_CLASS_SAMPLE
I tested them manually (not through doctest).
(I will add code samples for TF speech models in another PR) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16477/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16477",
"html_url": "https://github.com/huggingface/transformers/pull/16477",
"diff_url": "https://github.com/huggingface/transformers/pull/16477.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16477.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16476/comments | https://api.github.com/repos/huggingface/transformers/issues/16476/events | https://github.com/huggingface/transformers/pull/16476 | 1,184,979,002 | PR_kwDOCUB6oc41PGqL | 16,476 | Moved find_pruneable_heads_and_indices and no_init_weight to pytorch_… | {
"login": "davidegavio",
"id": 19225432,
"node_id": "MDQ6VXNlcjE5MjI1NDMy",
"avatar_url": "https://avatars.githubusercontent.com/u/19225432?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/davidegavio",
"html_url": "https://github.com/davidegavio",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,648 | 1,648 | 1,648 | NONE | null | …utils from modeling_utils
# 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.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16476/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16476",
"html_url": "https://github.com/huggingface/transformers/pull/16476",
"diff_url": "https://github.com/huggingface/transformers/pull/16476.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16476.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16475/comments | https://api.github.com/repos/huggingface/transformers/issues/16475/events | https://github.com/huggingface/transformers/pull/16475 | 1,184,667,452 | PR_kwDOCUB6oc41OEQZ | 16,475 | [MNLI example] Prevent overwriting matched with mismatched metrics | {
"login": "eldarkurtic",
"id": 8884008,
"node_id": "MDQ6VXNlcjg4ODQwMDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8884008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eldarkurtic",
"html_url": "https://github.com/eldarkurtic",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"The CI failure is unrelated to this PR (actually investigating it right now), so we can merge safely :-)"
] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | # What does this PR do?
Fixes https://github.com/huggingface/transformers/issues/16474.
The fix appends `_mm` to the metrics for `mnli-mm` evaluation dataset to prevent overwriting eval metrics from the `mnli` dataset, and writes them together in `eval_results.json` and `all_results.json`. The MNLI-metrics look lik... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16475/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16475",
"html_url": "https://github.com/huggingface/transformers/pull/16475",
"diff_url": "https://github.com/huggingface/transformers/pull/16475.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16475.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16474/comments | https://api.github.com/repos/huggingface/transformers/issues/16474/events | https://github.com/huggingface/transformers/issues/16474 | 1,184,659,243 | I_kwDOCUB6oc5GnHcr | 16,474 | MNLI metrics overwritten | {
"login": "eldarkurtic",
"id": 8884008,
"node_id": "MDQ6VXNlcjg4ODQwMDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/8884008?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eldarkurtic",
"html_url": "https://github.com/eldarkurtic",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [] | 1,648 | 1,648 | 1,648 | CONTRIBUTOR | null | ## Description
When running the https://github.com/huggingface/transformers/blob/main/examples/pytorch/text-classification/run_glue.py example for the MNLI dataset, eval metrics calculated for the `validation_mismatched` dataset are overwriting the previously calculated metrics for the standard validation dataset.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16474/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16473/comments | https://api.github.com/repos/huggingface/transformers/issues/16473/events | https://github.com/huggingface/transformers/pull/16473 | 1,184,623,633 | PR_kwDOCUB6oc41N61U | 16,473 | Add TAPEX | {
"login": "NielsRogge",
"id": 48327001,
"node_id": "MDQ6VXNlcjQ4MzI3MDAx",
"avatar_url": "https://avatars.githubusercontent.com/u/48327001?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NielsRogge",
"html_url": "https://github.com/NielsRogge",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"_The documentation is not available anymore as the PR was closed or merged._",
"`make fixup` is complaining:\r\n\r\n```\r\nexamples/research_projects/tapex/run_wikitablequestions_with_tapex.py:50:1: F401 'wikisql_utils._TYPE_CONVERTER' imported but unused\r\nexamples/research_projects/tapex/run_wikitablequestion... | 1,648 | 1,649 | 1,649 | CONTRIBUTOR | null | # What does this PR do?
Remember [TAPAS](https://huggingface.co/docs/transformers/model_doc/tapas), the table QA model by Google AI? Microsoft has now released TAPEX, a seq2seq model that outperforms TAPAS and is actually much simpler: table QA is just treated as a seq2seq problem.
As the weights can be directly ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16473/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16473/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16473",
"html_url": "https://github.com/huggingface/transformers/pull/16473",
"diff_url": "https://github.com/huggingface/transformers/pull/16473.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16473.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16472/comments | https://api.github.com/repos/huggingface/transformers/issues/16472/events | https://github.com/huggingface/transformers/pull/16472 | 1,184,578,389 | PR_kwDOCUB6oc41NxNd | 16,472 | Fix blenderbot conversion script | {
"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 | [] | [
"The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_16472). All of your documentation changes will be reflected on that endpoint."
] | 1,648 | 1,648 | 1,648 | MEMBER | null | # What does this PR do?
Fixes blenderbot conversion script. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16472/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/16472",
"html_url": "https://github.com/huggingface/transformers/pull/16472",
"diff_url": "https://github.com/huggingface/transformers/pull/16472.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/16472.patch",
"merged_at... |
https://api.github.com/repos/huggingface/transformers/issues/16471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16471/comments | https://api.github.com/repos/huggingface/transformers/issues/16471/events | https://github.com/huggingface/transformers/issues/16471 | 1,184,479,775 | I_kwDOCUB6oc5Gmbof | 16,471 | RuntimeError: Empty or `None` reference sentence found. | {
"login": "Gare-Ng",
"id": 51749469,
"node_id": "MDQ6VXNlcjUxNzQ5NDY5",
"avatar_url": "https://avatars.githubusercontent.com/u/51749469?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Gare-Ng",
"html_url": "https://github.com/Gare-Ng",
"followers_url": "https://api.github.com/users/Gare-N... | [] | closed | false | null | [] | [
"Hi @Gare-Ng ,\r\n\r\n> I organize the data as I'm told in readme. Although in readme it says that it should be jsonl file, I find that jsonl file won't work and just rename it as json works\r\n\r\nThe file format is expected to be `jsonl` but the scripts expect the file extension to be `.json`.\r\n\r\nI think the ... | 1,648 | 1,651 | 1,651 | 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.18.0.dev0
- Platform: Windows-10-10.0.22000-SP0
- Python version: 3.7.11
- PyTorch version (GPU?): 1.11.0... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16471/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/16470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/16470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/16470/comments | https://api.github.com/repos/huggingface/transformers/issues/16470/events | https://github.com/huggingface/transformers/issues/16470 | 1,184,430,943 | I_kwDOCUB6oc5GmPtf | 16,470 | Flax LM scripts doesn't scale-up on TPU Pod. | {
"login": "agemagician",
"id": 6087313,
"node_id": "MDQ6VXNlcjYwODczMTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6087313?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/agemagician",
"html_url": "https://github.com/agemagician",
"followers_url": "https://api.github.com/us... | [] | closed | false | null | [] | [
"So, I think we have figured out the problem with flax team :\r\nhttps://github.com/google/flax/discussions/2017\r\n\r\nThe main problem that you send to the shard function the global batch for all hosts and nodes.\r\nIn the examples, it should send only local batch size per host.",
"I believe something like that... | 1,648 | 1,652 | 1,652 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 4.18.0.dev0
- Platform: Linux-5.8.0-1035-gcp-x86_64-with-glibc2.29
- Python version: 3.8.10
- Huggingface_hub version: 0.4.0
- PyTorch version (GPU?): 1.11.0+cu102 (False)
- Tensorflow version (GPU?): 2.8.0 (False)
- Flax version (CPU?/GPU?/TPU?): 0.4.1 (cpu)
- Jax ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/16470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/16470/timeline | completed | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.