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/8521 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8521/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8521/comments | https://api.github.com/repos/huggingface/transformers/issues/8521/events | https://github.com/huggingface/transformers/issues/8521 | 742,481,553 | MDU6SXNzdWU3NDI0ODE1NTM= | 8,521 | Tagged versions of model in new model hub don't work | {
"login": "brandenchan",
"id": 33759007,
"node_id": "MDQ6VXNlcjMzNzU5MDA3",
"avatar_url": "https://avatars.githubusercontent.com/u/33759007?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/brandenchan",
"html_url": "https://github.com/brandenchan",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [
"Looking into it right now (cc @Pierrci)",
"looks like we were supporting lightweight tags but not annotated ones. ",
"Should be fixed: https://huggingface.co/deepset/roberta-base-squad2/tree/v2.0",
"That fixed the problem! Thanks very much",
"Thanks, and please keep the feedback coming! <3"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Our model, deepset/roberta-base-squad2 was originally uploaded under the old style model hub.
I have committed a new version of the deepset/roberta-base-squad2 model onto the model hub using the new git based system introduced in transformers 3.5.0. I have 2 tags (v1.0 and v2.0) that I have also pushed to the repo. ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8521/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8521/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8520 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8520/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8520/comments | https://api.github.com/repos/huggingface/transformers/issues/8520/events | https://github.com/huggingface/transformers/pull/8520 | 742,465,173 | MDExOlB1bGxSZXF1ZXN0NTIwNTk0MDk0 | 8,520 | Model sharing doc: more tweaks | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [] | closed | false | null | [] | [
"feel free to merge this when it's a good time!"
] | 1,605 | 1,605 | 1,605 | MEMBER | null | cc @Pierrci | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8520/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8520",
"html_url": "https://github.com/huggingface/transformers/pull/8520",
"diff_url": "https://github.com/huggingface/transformers/pull/8520.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8520.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8519 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8519/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8519/comments | https://api.github.com/repos/huggingface/transformers/issues/8519/events | https://github.com/huggingface/transformers/issues/8519 | 742,402,860 | MDU6SXNzdWU3NDI0MDI4NjA= | 8,519 | MLflowCallback to log run_name argument | {
"login": "HenryMaguire",
"id": 2844109,
"node_id": "MDQ6VXNlcjI4NDQxMDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2844109?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HenryMaguire",
"html_url": "https://github.com/HenryMaguire",
"followers_url": "https://api.github.com... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | {
"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... | [
"Please don't hesitate to suggest a PR, `run_name` is there just for this reason!",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"It will be useful to have this, and it will organ... | 1,605 | 1,643 | 1,611 | NONE | null | # 🚀 Feature request
When using the MLflowCallback (set as default for Trainer), I would like to log the `run_name` argument passed to TrainingArguments as the Run Name on the MLflow dashboard. Currently runs are being logged as nameless.
E.g. see below.
` is 178), it converts them to other characters (in this example, to the plain '2', with `ord('2')` being 50).
That is, with `tokenizer = AutoTokenizer.from_pretrained('xlm-roberta-l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8517/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8516 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8516/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8516/comments | https://api.github.com/repos/huggingface/transformers/issues/8516/events | https://github.com/huggingface/transformers/pull/8516 | 742,314,800 | MDExOlB1bGxSZXF1ZXN0NTIwNDcwMzE3 | 8,516 | SWA | {
"login": "josh-cooper",
"id": 41467557,
"node_id": "MDQ6VXNlcjQxNDY3NTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/41467557?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/josh-cooper",
"html_url": "https://github.com/josh-cooper",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | NONE | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this with a d... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8516/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8516",
"html_url": "https://github.com/huggingface/transformers/pull/8516",
"diff_url": "https://github.com/huggingface/transformers/pull/8516.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8516.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8515 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8515/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8515/comments | https://api.github.com/repos/huggingface/transformers/issues/8515/events | https://github.com/huggingface/transformers/pull/8515 | 742,299,562 | MDExOlB1bGxSZXF1ZXN0NTIwNDYwNTAx | 8,515 | Adding the prepare_seq2seq_batch function to ProphetNet | {
"login": "forest1988",
"id": 2755894,
"node_id": "MDQ6VXNlcjI3NTU4OTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2755894?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/forest1988",
"html_url": "https://github.com/forest1988",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"For fixing the check_code_quality failure, I run `make style` in the repository, but it tries to re-format so many files.\r\nShould I check some settings for `black`?",
"I changed the environment and made it work again according to the instructions, and it seems that formatting with black works appropriately. So... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
I tried to use ProphetNet with Seq2SeqTrainer, but it failed.
The error message told me: this is because the collator uses `prepare_seq2seq_batch()` in `_encode()`, but `prepare_seq2seq_batch()` is not implemented in ProphetNet Tokenizer.
I've gotten kind advices in the HuggingFace forum,... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8515/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8515",
"html_url": "https://github.com/huggingface/transformers/pull/8515",
"diff_url": "https://github.com/huggingface/transformers/pull/8515.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8515.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8514 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8514/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8514/comments | https://api.github.com/repos/huggingface/transformers/issues/8514/events | https://github.com/huggingface/transformers/issues/8514 | 742,265,651 | MDU6SXNzdWU3NDIyNjU2NTE= | 8,514 | How to pretrain the model (like Roberta) again? | {
"login": "drxmy",
"id": 39789137,
"node_id": "MDQ6VXNlcjM5Nzg5MTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/39789137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drxmy",
"html_url": "https://github.com/drxmy",
"followers_url": "https://api.github.com/users/drxmy/follow... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"The authors of the Transformers library wrote a script for this. You can find it under the examples folder -> language modeling [here](https://github.com/huggingface/transformers/tree/master/examples/language-modeling#robertabertdistilbert-and-masked-language-modeling). ",
"> The authors of the Transformers libr... | 1,605 | 1,611 | 1,611 | NONE | null | I don't want to pretrain the model from scratch. I have some dataset related to my task. I want to pretrain the model from transformers the second time. Could someone give me some advice on how to do it or which document to read? Thank you! | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8514/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8513 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8513/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8513/comments | https://api.github.com/repos/huggingface/transformers/issues/8513/events | https://github.com/huggingface/transformers/issues/8513 | 742,205,852 | MDU6SXNzdWU3NDIyMDU4NTI= | 8,513 | Using Pretrained BERT model to add additional words that are not recognized by the model | {
"login": "geo47",
"id": 1557880,
"node_id": "MDQ6VXNlcjE1NTc4ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/1557880?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/geo47",
"html_url": "https://github.com/geo47",
"followers_url": "https://api.github.com/users/geo47/follower... | [] | closed | false | null | [] | [
"You don't need to do either of those things! You should add tokens to your tokenizer by leveraging the `add_tokens()` method, and then resize your model's embedding matrix.\r\n\r\nThen, you should train your model on a dataset that has those entities so that it understands the meaning of these entities. It seems t... | 1,605 | 1,605 | 1,605 | NONE | null | Hello,
I want some help regarding adding additional words in the existing BERT model. I have two quires kindly guide me:
I am working on NER task for a domain:
There are few words (not sure the exact numbers) that BERT recognized as [UNK], but those entities are required for the model to recognize. The pretrai... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8513/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8512 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8512/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8512/comments | https://api.github.com/repos/huggingface/transformers/issues/8512/events | https://github.com/huggingface/transformers/issues/8512 | 742,152,232 | MDU6SXNzdWU3NDIxNTIyMzI= | 8,512 | Issue while model sharing and uploading on huggingface | {
"login": "saburbutt",
"id": 33926182,
"node_id": "MDQ6VXNlcjMzOTI2MTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/33926182?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/saburbutt",
"html_url": "https://github.com/saburbutt",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"You cannot save directly remotely like this (though it could be nice to be able to do this in the future, cc @madlag).\r\n\r\nYou need to first create a repo with `transformers-cli repo create`, or directly on the website.\r\n\r\nThen clone it locally and add your files, then push.\r\n\r\nHopefully #8520 makes it ... | 1,605 | 1,614 | 1,605 | NONE | null |
The model I am using (Bert, XLNet ...): Roberta for questionanswering
I am trying to follow the tutorial given in https://huggingface.co/transformers/model_sharing.html and while I am able to load my model in the local repository, I am unable to save my model and tokenizer using "model.save_pretrained("https://hug... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8512/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8511 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8511/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8511/comments | https://api.github.com/repos/huggingface/transformers/issues/8511/events | https://github.com/huggingface/transformers/issues/8511 | 742,073,991 | MDU6SXNzdWU3NDIwNzM5OTE= | 8,511 | Adding Confusion matrix support in Trainer | {
"login": "prajjwal1",
"id": 24690051,
"node_id": "MDQ6VXNlcjI0NjkwMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/24690051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prajjwal1",
"html_url": "https://github.com/prajjwal1",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Hi there! We love contributions, but metrics should now be implemented directly in the datasets library, not inside Transformers. So you should check there if it does not already exist, and if not, suggest a Pr on that repository :-)",
"Okay then, I will close it."
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | I want to add confusion matrix support in Trainer. It would be a useful addition. The only dependency would be `sklearn` which this library already uses for metrics. It can allow users to better understand about predictions coming from model. @sgugger Let me know if this is something you want to add.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8511/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8510 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8510/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8510/comments | https://api.github.com/repos/huggingface/transformers/issues/8510/events | https://github.com/huggingface/transformers/issues/8510 | 742,039,909 | MDU6SXNzdWU3NDIwMzk5MDk= | 8,510 | Finetune TFBertForMaskedLM model.fit() ValueError | {
"login": "MarsSu0618",
"id": 72376532,
"node_id": "MDQ6VXNlcjcyMzc2NTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/72376532?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarsSu0618",
"html_url": "https://github.com/MarsSu0618",
"followers_url": "https://api.github.com/use... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Maybe @jplu has an idea!",
"Hello @MarsSu0618 \r\n\r\nThe bad news is that it is currently not possible to train an LM from scratch or fine tune it with `.fit()`. The good one is that we are heavily working on it and should be feasible soon.\r\n\r\nSorry for the inconvenience.",
"@jplu \r\nSo i can not fine tu... | 1,605 | 1,614 | 1,614 | NONE | null | ## The Problem
I have been trying to train TFBertForMaskedLM model with tensorflow. But when i use model.fit() always encounter some question.Hope someone can help and propose some solution.
## Reference Paper and sample output
The Paper title is "Conditional Bert for Contextual Augmentation". In short, just chang... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8510/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8509 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8509/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8509/comments | https://api.github.com/repos/huggingface/transformers/issues/8509/events | https://github.com/huggingface/transformers/pull/8509 | 741,920,203 | MDExOlB1bGxSZXF1ZXN0NTIwMTUxMjc3 | 8,509 | Model templates encoder only | {
"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 | [] | [
"Thank you both for your reviews!"
] | 1,605 | 1,605 | 1,605 | MEMBER | null | Only merge the encoder part, not the encoder-decoder part of #7636.
Will work on a decoder in the future.
Applied your comments @sgugger @patrickvonplaten, but opened a new PR on a new branch so that we can keep the old one for reference when integrating the encoder-decoder model. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8509/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8509",
"html_url": "https://github.com/huggingface/transformers/pull/8509",
"diff_url": "https://github.com/huggingface/transformers/pull/8509.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8509.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8508 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8508/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8508/comments | https://api.github.com/repos/huggingface/transformers/issues/8508/events | https://github.com/huggingface/transformers/issues/8508 | 741,916,532 | MDU6SXNzdWU3NDE5MTY1MzI= | 8,508 | TPU issue: possible memory leak in eval loop | {
"login": "zcain117",
"id": 14796584,
"node_id": "MDQ6VXNlcjE0Nzk2NTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/14796584?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zcain117",
"html_url": "https://github.com/zcain117",
"followers_url": "https://api.github.com/users/zca... | [] | closed | false | null | [] | [
"The problem is that you are aggregating all your predictions on the TPU host, with a big evaluation set. You should use the `eval_accumulation_steps` argument to pass the predictions back to the CPU every, let's say 20 evaluation steps for instance to avoid the OOM.",
"Thanks for the response!\r\nI started a ver... | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | I am running into a HBM OOM during the eval loop of xlnet (`--model_name_or_path xlnet-large-cased`) when running on TPUs. No matter which batch size I use, the behavior is the same:
1. training loop succeeds
2. eval loop starts, makes it about halfway, then the TPU runs out of HBM memory and eval loop dies
All th... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8508/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8507 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8507/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8507/comments | https://api.github.com/repos/huggingface/transformers/issues/8507/events | https://github.com/huggingface/transformers/issues/8507 | 741,894,466 | MDU6SXNzdWU3NDE4OTQ0NjY= | 8,507 | Fill-mask pipeline removes space after token prediction when loading pre-training model based on roberta-base | {
"login": "ironflood",
"id": 11771531,
"node_id": "MDQ6VXNlcjExNzcxNTMx",
"avatar_url": "https://avatars.githubusercontent.com/u/11771531?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ironflood",
"html_url": "https://github.com/ironflood",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"Could this be reopened. I'm facing the same issue.",
"@sk- Same. Still getting this with `distilroberta-base`",
"Could you solve it... | 1,605 | 1,706 | 1,611 | NONE | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Linux-4.15.0-122-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.5
- PyTorch version (GPU?): 1.7.0+cu101 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: False
- Using distributed or parallel set-up in scr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8507/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8506 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8506/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8506/comments | https://api.github.com/repos/huggingface/transformers/issues/8506/events | https://github.com/huggingface/transformers/issues/8506 | 741,855,259 | MDU6SXNzdWU3NDE4NTUyNTk= | 8,506 | DPR model: FileNotFoundError: Couldn't find file | {
"login": "danyaljj",
"id": 2441454,
"node_id": "MDQ6VXNlcjI0NDE0NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2441454?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danyaljj",
"html_url": "https://github.com/danyaljj",
"followers_url": "https://api.github.com/users/danya... | [] | closed | false | null | [] | [
"Thanks for reporting !\r\nIndeed the index was renamed recently. I fixed it, it should be good now",
"Got it. Upon re-trying the code, it works fine. "
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | I am using DPR model:
```python
from transformers import DPRQuestionEncoderTokenizer, DPRQuestionEncoder
from datasets import load_dataset
question_tokenizer = DPRQuestionEncoderTokenizer.from_pretrained('facebook/dpr-question_encoder-single-nq-base')
question_encoder = DPRQuestionEncoder.from_pretrained('face... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8506/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8505 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8505/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8505/comments | https://api.github.com/repos/huggingface/transformers/issues/8505/events | https://github.com/huggingface/transformers/issues/8505 | 741,855,059 | MDU6SXNzdWU3NDE4NTUwNTk= | 8,505 | Unexpected behavior when using PubMedBERT with AutoModelForMaskedLM | {
"login": "rahuln",
"id": 3958904,
"node_id": "MDQ6VXNlcjM5NTg5MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/3958904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rahuln",
"html_url": "https://github.com/rahuln",
"followers_url": "https://api.github.com/users/rahuln/foll... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"I know it's an old issue but I just came across this page.\r\n\r\nThe original PubMedBERT checkpoint didn't have the mask prediction he... | 1,605 | 1,658 | 1,611 | CONTRIBUTOR | null | ## Information
I'm getting some strange behavior when using `AutoModelForMaskedLM` with PubMedBERT to impute masked tokens. The screenshot below shows a simple example where I would expect PubMedBERT to give reasonable values, but the suggested tokens are really strange. As shown just below this, `bert-base-uncased`... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8505/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8505/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8504 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8504/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8504/comments | https://api.github.com/repos/huggingface/transformers/issues/8504/events | https://github.com/huggingface/transformers/issues/8504 | 741,830,285 | MDU6SXNzdWU3NDE4MzAyODU= | 8,504 | Failed to push model repo | {
"login": "mymusise",
"id": 6883957,
"node_id": "MDQ6VXNlcjY4ODM5NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6883957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mymusise",
"html_url": "https://github.com/mymusise",
"followers_url": "https://api.github.com/users/mymus... | [] | closed | false | {
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.github.com/users/julien-... | [
{
"login": "julien-c",
"id": 326577,
"node_id": "MDQ6VXNlcjMyNjU3Nw==",
"avatar_url": "https://avatars.githubusercontent.com/u/326577?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/julien-c",
"html_url": "https://github.com/julien-c",
"followers_url": "https://api.gith... | [
"And `git-lfs` is already installed in my local.\r\n```bash\r\n$ git lfs install\r\nUpdated git hooks.\r\nGit LFS initialized.\r\n```\r\n\r\nWhat should I do?",
"Well, it's magical. It works if I clone it again. But this time is different from the first time.\r\n\r\n- The first time, the model file seems not comp... | 1,605 | 1,643 | 1,605 | CONTRIBUTOR | null | Hi, when I upload my model to hub as the [new document](https://huggingface.co/transformers/model_sharing.html) say, I got this error:
```
Delta compression using up to 16 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 1.07 GiB | 3.08 MiB/s, done.
Total 4 (delta 0), reused 1 (delta 0)... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8504/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8503 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8503/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8503/comments | https://api.github.com/repos/huggingface/transformers/issues/8503/events | https://github.com/huggingface/transformers/issues/8503 | 741,786,838 | MDU6SXNzdWU3NDE3ODY4Mzg= | 8,503 | Training the TFGPT2LMHeadModel with model.fit produces error | {
"login": "bjourne",
"id": 142475,
"node_id": "MDQ6VXNlcjE0MjQ3NQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/142475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bjourne",
"html_url": "https://github.com/bjourne",
"followers_url": "https://api.github.com/users/bjourne/fo... | [] | closed | false | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [
{
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users... | [
"Hello!\r\n\r\nYour way of computing the loss is wrong. I suggest you to look at how we compute it [here](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_tf_gpt2.py#L650) and [here](https://github.com/huggingface/transformers/blob/master/src/transformers/modeling_tf_utils.py#L125).... | 1,605 | 1,618 | 1,618 | NONE | null | MWE:
```python
from transformers.modeling_tf_gpt2 import TFGPT2LMHeadModel
from transformers.configuration_gpt2 import GPT2Config
from tensorflow.data import Dataset
import tensorflow as tf
data = tf.random.uniform(shape=[10000], dtype = tf.int32, maxval = 100)
src = tf.constant(data)
def split_input_target(c... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8503/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8503/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8502 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8502/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8502/comments | https://api.github.com/repos/huggingface/transformers/issues/8502/events | https://github.com/huggingface/transformers/issues/8502 | 741,736,946 | MDU6SXNzdWU3NDE3MzY5NDY= | 8,502 | TF T5-small with output hidden state and attention not owrking | {
"login": "pathikchamaria",
"id": 51734126,
"node_id": "MDQ6VXNlcjUxNzM0MTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/51734126?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pathikchamaria",
"html_url": "https://github.com/pathikchamaria",
"followers_url": "https://api.gi... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hello!\r\n\r\nUnfortunately this is a known bug we have with few of the TF models. We are currently reworking all the TF models to solve this issue among others.",
"@jplu I tried the same thing with Pytorch model also. It is also giving error. Any idea if I can get the attentions with pytorch?",
"You get the ... | 1,605 | 1,620 | 1,610 | NONE | null | - `transformers` version: 2.11
- Platform: Multiple
- Python version: multiple
### Who can help
T5: @patrickvonplaten
tensorflow: @jplu
## Information
Model I am using (Bert, XLNet ...): T5
The problem arises when t5-small is loaded from pretrain with output_hidden_states=True, output_attentions=True... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8502/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8501 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8501/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8501/comments | https://api.github.com/repos/huggingface/transformers/issues/8501/events | https://github.com/huggingface/transformers/issues/8501 | 741,717,309 | MDU6SXNzdWU3NDE3MTczMDk= | 8,501 | Why is the XLM-RoBERTa sometimes producing a standalone start of the word character (the special underscore with ord = 9601) | {
"login": "konstantinmiller",
"id": 2629945,
"node_id": "MDQ6VXNlcjI2Mjk5NDU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2629945?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/konstantinmiller",
"html_url": "https://github.com/konstantinmiller",
"followers_url": "https://ap... | [] | closed | false | null | [] | [
"Ah, I guess I figured that out. Does it happen when the training data set of the tokenizer never had this token at the beginning of a word but only inside a word?"
] | 1,605 | 1,607 | 1,607 | NONE | null | I'm using the `transformers` library 3.4.0.
The XLM-RoBERTa tokenizer produces in certain cases standalone start of the word characters. Is that intended?
For example:
```
tokenizer.tokenize('amerikanische')
['▁', 'amerikanische']
```
while
```
tokenizer.tokenize('englische')
['▁englische']
```
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8501/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8501/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8500 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8500/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8500/comments | https://api.github.com/repos/huggingface/transformers/issues/8500/events | https://github.com/huggingface/transformers/pull/8500 | 741,710,834 | MDExOlB1bGxSZXF1ZXN0NTE5OTc2NTEw | 8,500 | Fix doc bug | {
"login": "mymusise",
"id": 6883957,
"node_id": "MDQ6VXNlcjY4ODM5NTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/6883957?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mymusise",
"html_url": "https://github.com/mymusise",
"followers_url": "https://api.github.com/users/mymus... | [] | closed | false | null | [] | [
"Thanks for the fix!"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Fix the example of Trainer, hope it help.
@sgugger
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8500/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8500",
"html_url": "https://github.com/huggingface/transformers/pull/8500",
"diff_url": "https://github.com/huggingface/transformers/pull/8500.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8500.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8499 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8499/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8499/comments | https://api.github.com/repos/huggingface/transformers/issues/8499/events | https://github.com/huggingface/transformers/issues/8499 | 741,699,107 | MDU6SXNzdWU3NDE2OTkxMDc= | 8,499 | Unable to install Transformers | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"f... | [] | closed | false | null | [] | [
"I guess the issue is that you're using `anaconda` here. Until version v4.0.0, we're not entirely compatible with anaconda as SentencePiece is not on a conda channel.\r\n\r\nIn the meantime, we recommend installing `transformers` in a pip virtual env:\r\n\r\n```shell-script\r\npython -m venv .env\r\nsource .env/bin... | 1,605 | 1,655 | 1,605 | NONE | null | Hi all - I'm unable to install transformers from source. I need this for a project, it's really annoying not be able to use your amazing work. Could you please help me? :) Thank you so much.
**Issue**
pip install is blocked at **sentencepiece-0.1.91** install and crashes
**What I tried**
- I tried to find a wor... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8499/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8498 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8498/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8498/comments | https://api.github.com/repos/huggingface/transformers/issues/8498/events | https://github.com/huggingface/transformers/pull/8498 | 741,690,925 | MDExOlB1bGxSZXF1ZXN0NTE5OTU5Nzg1 | 8,498 | Model sharing doc | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
This PR expands the model sharing doc with some instructions specific to colab.
Unrelated: some fixes in marian.rst that I thought I had pushed directly to master but had not. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8498/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8498",
"html_url": "https://github.com/huggingface/transformers/pull/8498",
"diff_url": "https://github.com/huggingface/transformers/pull/8498.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8498.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8497 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8497/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8497/comments | https://api.github.com/repos/huggingface/transformers/issues/8497/events | https://github.com/huggingface/transformers/issues/8497 | 741,688,291 | MDU6SXNzdWU3NDE2ODgyOTE= | 8,497 | Error when loading a model cloned without git-lfs is quite cryptic | {
"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... | [
{
"id": 2648621985,
"node_id": "MDU6TGFiZWwyNjQ4NjIxOTg1",
"url": "https://api.github.com/repos/huggingface/transformers/labels/Feature%20request",
"name": "Feature request",
"color": "FBCA04",
"default": false,
"description": "Request for a new feature"
}
] | closed | false | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [
{
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "htt... | [
"Yep, they way I would go about this would be to programmatically check whether the file is text-only (non-binary) and between 100 and 200 bytes. If it is (and we expected a weights file), it's probably a lfs pointer file.",
"This issue has been automatically marked as stale because it has not had recent activity... | 1,605 | 1,631 | 1,631 | MEMBER | null | # 🚀 Error message request
If you forget to install git-LFS (e.g. on Google Colab) and you just do:
```python
!git clone https://huggingface.co/facebook/bart-base
from transformers import AutoModel
model = AutoModel.from_pretrained('./bart-base')
```
The cloning seems to work well but the model weights are... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8497/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8496 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8496/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8496/comments | https://api.github.com/repos/huggingface/transformers/issues/8496/events | https://github.com/huggingface/transformers/pull/8496 | 741,672,876 | MDExOlB1bGxSZXF1ZXN0NTE5OTQ0NjAw | 8,496 | Created ModelCard for Hel-ach-en MT model | {
"login": "Pogayo",
"id": 39183794,
"node_id": "MDQ6VXNlcjM5MTgzNzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/39183794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Pogayo",
"html_url": "https://github.com/Pogayo",
"followers_url": "https://api.github.com/users/Pogayo/fo... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"This is really cool @Pogayo, thanks for sharing.\r\n\r\nIf you can, please consider adding sample inputs for the inference widget, either in DefaultWidget.ts (see https://huggingface.co/docs#how-can-i-control-my-models-widgets-example-inputs) or in this model card.\r\n\r\nWill also add Acholi to the list in https:... | 1,605 | 1,605 | 1,605 | 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/8496/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8496/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8496",
"html_url": "https://github.com/huggingface/transformers/pull/8496",
"diff_url": "https://github.com/huggingface/transformers/pull/8496.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8496.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8495 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8495/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8495/comments | https://api.github.com/repos/huggingface/transformers/issues/8495/events | https://github.com/huggingface/transformers/issues/8495 | 741,646,503 | MDU6SXNzdWU3NDE2NDY1MDM= | 8,495 | Allow tensorflow tensors as input to Tokenizer | {
"login": "rbrthogan",
"id": 9214671,
"node_id": "MDQ6VXNlcjkyMTQ2NzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9214671?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rbrthogan",
"html_url": "https://github.com/rbrthogan",
"followers_url": "https://api.github.com/users/rb... | [] | closed | false | null | [] | [
"I believe @jplu has already used TF Serving. Do you know if it's possible to include tokenization in it?",
"Hello!\r\n\r\nUnfortunately it is currently not possible to integrate our tokenizer directly inside a model due to some TensorFlow limitations. Nevertheless, there might be a solution by trying to create ... | 1,605 | 1,631 | 1,605 | NONE | null | Firstly thanks so much for all the amazing work!
I'm trying to package a model for use in TF Serving. The problem is that everywhere I see this done, the tokenisation step happens outside of the server. I want to include this step inside the server so the user can just provide raw text as the input and not need to k... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8495/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/8495/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8494 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8494/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8494/comments | https://api.github.com/repos/huggingface/transformers/issues/8494/events | https://github.com/huggingface/transformers/issues/8494 | 741,552,250 | MDU6SXNzdWU3NDE1NTIyNTA= | 8,494 | error occurs when trainning transformer-xl by ddp | {
"login": "ismymajia",
"id": 17922949,
"node_id": "MDQ6VXNlcjE3OTIyOTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/17922949?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ismymajia",
"html_url": "https://github.com/ismymajia",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,605 | 1,611 | 1,611 | NONE | null | my env is as below:
- `transformers` version: 3.4.0
- Platform: 1Ubuntu-18.04
- Python version: 3.6.9
- PyTorch version (GPU?): 1.6.0+cu101 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up in script?: <fill in>
I am trainning the ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8494/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8493 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8493/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8493/comments | https://api.github.com/repos/huggingface/transformers/issues/8493/events | https://github.com/huggingface/transformers/issues/8493 | 741,521,290 | MDU6SXNzdWU3NDE1MjEyOTA= | 8,493 | I meet the zero gradient descent | {
"login": "Sniper970119",
"id": 30463691,
"node_id": "MDQ6VXNlcjMwNDYzNjkx",
"avatar_url": "https://avatars.githubusercontent.com/u/30463691?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sniper970119",
"html_url": "https://github.com/Sniper970119",
"followers_url": "https://api.github.c... | [] | closed | false | null | [] | [
"Hi @Sniper970119 do you mind posting this on the forum rather? It's here: https://discuss.huggingface.co\r\n\r\nWe are trying to focus the issues on bug reports and features/model requests.\r\n\r\nThanks a lot.",
"> \r\n> \r\n> Hi @Sniper970119 do you mind posting this on the forum rather? It's here: https://dis... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | I want use transformers to do text classification, I want code myself rather than use `TFBertForSequenceClassification`,so I write the model with `TFBertModel` and `tf.keras.laters.Dense`,but this is no gradient descent in my code, I try to find what wrong with my code but I can't. So I submit this issues to ask for s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8493/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8492 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8492/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8492/comments | https://api.github.com/repos/huggingface/transformers/issues/8492/events | https://github.com/huggingface/transformers/pull/8492 | 741,511,540 | MDExOlB1bGxSZXF1ZXN0NTE5ODExMzc4 | 8,492 | Rework some TF tests | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Rework some TF tests to make them compliant with dict returns, and simplify some of them. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8492/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8492",
"html_url": "https://github.com/huggingface/transformers/pull/8492",
"diff_url": "https://github.com/huggingface/transformers/pull/8492.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8492.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8491 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8491/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8491/comments | https://api.github.com/repos/huggingface/transformers/issues/8491/events | https://github.com/huggingface/transformers/pull/8491 | 741,491,150 | MDExOlB1bGxSZXF1ZXN0NTE5Nzk0MzQy | 8,491 | Fix check scripts for Windows | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"It doesn't make any change on Linux, and you've tested it on Windows. Could we get someone using MacOS to double-check it doesn't break anything for them before merging?",
"I think @LysandreJik is on MacOS?",
"I'm actually between Manjaro and EndeavourOS, but I'll check on a Mac."
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
The current check-X scripts are reading/writing with `os.linesep` as the newline separator. On Windows it makes the overwritten files in CRLF instead of LF. Same logic is applied on Mac with CR. Now, Python will always use LF to read and write in the files. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8491/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8491/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8491",
"html_url": "https://github.com/huggingface/transformers/pull/8491",
"diff_url": "https://github.com/huggingface/transformers/pull/8491.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8491.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8490 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8490/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8490/comments | https://api.github.com/repos/huggingface/transformers/issues/8490/events | https://github.com/huggingface/transformers/pull/8490 | 741,473,603 | MDExOlB1bGxSZXF1ZXN0NTE5Nzc5NzUz | 8,490 | New TF loading weights | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"I have added a lot of comments in the method to make it clearer, I removed a small part of the code that was due to the moment where I was updating to the new names in same time. @LysandreJik @sgugger it should be easier to understand now.",
"It's a lot clearer, thanks. There are still unaddressed comments howev... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This PR improves the way we load the TensorFlow weights. Before we had to go through the instantiated model + the checkpoint twice:
- once for loading the weights from the checkpoints into the instantiated model
- once for computing the missing and unexpected keys
Now both are done simul... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8490/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8490",
"html_url": "https://github.com/huggingface/transformers/pull/8490",
"diff_url": "https://github.com/huggingface/transformers/pull/8490.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8490.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8489 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8489/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8489/comments | https://api.github.com/repos/huggingface/transformers/issues/8489/events | https://github.com/huggingface/transformers/pull/8489 | 741,467,565 | MDExOlB1bGxSZXF1ZXN0NTE5Nzc0ODM1 | 8,489 | Fix typo in roberta-base-squad2-v2 model card | {
"login": "antoniolanza1996",
"id": 40452030,
"node_id": "MDQ6VXNlcjQwNDUyMDMw",
"avatar_url": "https://avatars.githubusercontent.com/u/40452030?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/antoniolanza1996",
"html_url": "https://github.com/antoniolanza1996",
"followers_url": "https://... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Simply adding `-v2` for Haystack API model loading. Furthermore, I've also changed `model` in `model_name_or_path` due to breaking change in Haystack (https://github.com/deepset-ai/haystack/pull/510).
## Who can review?
Model Cards: @julien-c | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8489/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8489",
"html_url": "https://github.com/huggingface/transformers/pull/8489",
"diff_url": "https://github.com/huggingface/transformers/pull/8489.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8489.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8488 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8488/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8488/comments | https://api.github.com/repos/huggingface/transformers/issues/8488/events | https://github.com/huggingface/transformers/pull/8488 | 741,445,821 | MDExOlB1bGxSZXF1ZXN0NTE5NzU2OTcx | 8,488 | [WIP] T5v1.1 & MT5 | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Maybe wrong model config for T5.1.1. For instance, T5.1.1.small should have num_layers=8 and num_heads=6.\r\n\r\nSee https://github.com/google-research/text-to-text-transfer-transformer/blob/master/t5/models/gin/models/t5.1.1.small.gin",
"> Maybe wrong model config for T5.1.1. For instance, T5.1.1.small should h... | 1,605 | 1,605 | 1,605 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8488/reactions",
"total_count": 13,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 5,
"confused": 0,
"heart": 4,
"rocket": 4,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8488/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8488",
"html_url": "https://github.com/huggingface/transformers/pull/8488",
"diff_url": "https://github.com/huggingface/transformers/pull/8488.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8488.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8487 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8487/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8487/comments | https://api.github.com/repos/huggingface/transformers/issues/8487/events | https://github.com/huggingface/transformers/issues/8487 | 741,432,522 | MDU6SXNzdWU3NDE0MzI1MjI= | 8,487 | `log_history` does not contain metrics anymore | {
"login": "PhilipMay",
"id": 229382,
"node_id": "MDQ6VXNlcjIyOTM4Mg==",
"avatar_url": "https://avatars.githubusercontent.com/u/229382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipMay",
"html_url": "https://github.com/PhilipMay",
"followers_url": "https://api.github.com/users/Phil... | [] | closed | false | null | [] | [
"`evaluate` calls `log` which appends the results to `log_history`. So the code is there. Without a reproducer to investigate, there is nothing we can do to help.",
"Here is the demo code that shows the bug: https://colab.research.google.com/drive/1dEzkDoMampL-VVrQeO924HQmHXffya0Z?usp=sharing\r\n\r\nThe last line... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | Since version 3.5.0 the `log_history` of the trainer does not contain the metrics anymore. Version 3.4.0 works...
My trainer uses a `compute_metrics` callback. It avaluates after each epoch. At version 3.4.0 after the training I am extracting the last epoch results: `trainer.state.log_history[-1]` to log the metrics... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8487/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8486 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8486/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8486/comments | https://api.github.com/repos/huggingface/transformers/issues/8486/events | https://github.com/huggingface/transformers/issues/8486 | 741,390,993 | MDU6SXNzdWU3NDEzOTA5OTM= | 8,486 | Gradient accumulation averages over gradients | {
"login": "MarktHart",
"id": 9414924,
"node_id": "MDQ6VXNlcjk0MTQ5MjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9414924?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarktHart",
"html_url": "https://github.com/MarktHart",
"followers_url": "https://api.github.com/users/Ma... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi @MarktHart do you mind posting this on the forum rather? It's here: https://discuss.huggingface.co\r\n\r\nWe are trying to focus the issues on bug reports and features/model requests.\r\n\r\nThanks a lot.",
"This issue has been automatically marked as stale because it has not had recent activity. It will be c... | 1,605 | 1,611 | 1,611 | NONE | null | https://github.com/huggingface/transformers/blob/121c24efa4453e4e726b5f0b2cf7095b14b7e74e/src/transformers/trainer.py#L1118
So I have been looking at this for the past day and a half. Please explain to me. Gradient accumulation should accumulate the gradient, not average it, right? That makes this scaling plain wron... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8486/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8485 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8485/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8485/comments | https://api.github.com/repos/huggingface/transformers/issues/8485/events | https://github.com/huggingface/transformers/pull/8485 | 741,300,497 | MDExOlB1bGxSZXF1ZXN0NTE5NjM3ODMz | 8,485 | Prediction loop: work with batches of variable length (fixed per batch) | {
"login": "JulesGM",
"id": 3231217,
"node_id": "MDQ6VXNlcjMyMzEyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3231217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JulesGM",
"html_url": "https://github.com/JulesGM",
"followers_url": "https://api.github.com/users/JulesGM/... | [] | closed | false | null | [] | [
"Please feel free to modify this in any shape or form of course.",
"This will cause a regression for code expecting a NumPy output, obviously :/",
"I don't have much time, if any, to dedicate to this. If you're not interested by the idea, it's completely fine, I will close.",
"I think @jplu is redesigning the... | 1,605 | 1,605 | 1,605 | NONE | null | In the current form, the `prediction_loop` doesn't handle batches with samples of varying lengths (but fixed length per batch). This patch adds this capability.
This is great because it can save a lot of time during training and inference, where using the full length every time is a big sacrifice, knowing self-attenti... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8485/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8485",
"html_url": "https://github.com/huggingface/transformers/pull/8485",
"diff_url": "https://github.com/huggingface/transformers/pull/8485.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8485.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8484 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8484/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8484/comments | https://api.github.com/repos/huggingface/transformers/issues/8484/events | https://github.com/huggingface/transformers/issues/8484 | 741,286,414 | MDU6SXNzdWU3NDEyODY0MTQ= | 8,484 | automodel | {
"login": "RochelleChoenni",
"id": 32510841,
"node_id": "MDQ6VXNlcjMyNTEwODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/32510841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RochelleChoenni",
"html_url": "https://github.com/RochelleChoenni",
"followers_url": "https://api... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | 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 s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8484/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8483 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8483/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8483/comments | https://api.github.com/repos/huggingface/transformers/issues/8483/events | https://github.com/huggingface/transformers/issues/8483 | 741,285,771 | MDU6SXNzdWU3NDEyODU3NzE= | 8,483 | transformers.TFTrainer: Does not support batches with sequences of variable lengths? | {
"login": "JulesGM",
"id": 3231217,
"node_id": "MDQ6VXNlcjMyMzEyMTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/3231217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JulesGM",
"html_url": "https://github.com/JulesGM",
"followers_url": "https://api.github.com/users/JulesGM/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Created pull request https://github.com/huggingface/transformers/pull/8485",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n",
"Hello @JulesGM \r\nRegarding [#8483](https://github.com... | 1,605 | 1,620 | 1,611 | NONE | null | Hello,
It seems like `np.append` in `TFTrainer.prediction_loop` is the only thing that prevent TFTrainer from being able to deal with batches of variable sequence length (between the batches, not inside the batches themselves). Indeed, `np.append` requires the batches to be of the same sequence length.
Alternatives:... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8483/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8482 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8482/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8482/comments | https://api.github.com/repos/huggingface/transformers/issues/8482/events | https://github.com/huggingface/transformers/pull/8482 | 741,261,812 | MDExOlB1bGxSZXF1ZXN0NTE5NjA2MDAz | 8,482 | TAPAS tokenizer & tokenizer tests | {
"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 | [] | [
"Thank you! \r\n\r\n❗ This is a preliminary review, I'm not finished with it. 2 important things for now:\r\n\r\n1) I am also testing the Colab demo's with this branch. Currently I'm getting an error when providing `answer_coordinates` and `answer_texts` to the tokenizer: \r\n\r\nSQA: https://colab.research.google.... | 1,605 | 1,651 | 1,605 | MEMBER | null | This PR aims to implement the tokenizer API for the TAPAS model, as well as the tests. It is based on `tapas-style` which contains all the changes done by black & isort on top of the `nielsrogge/tapas_v3` branch in https://github.com/huggingface/transformers/pull/8113.
The API is akin to our other tokenizers': it is... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8482/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8482",
"html_url": "https://github.com/huggingface/transformers/pull/8482",
"diff_url": "https://github.com/huggingface/transformers/pull/8482.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8482.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8481 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8481/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8481/comments | https://api.github.com/repos/huggingface/transformers/issues/8481/events | https://github.com/huggingface/transformers/pull/8481 | 741,259,270 | MDExOlB1bGxSZXF1ZXN0NTE5NjA0MDAw | 8,481 | TAPAS Tokenizer & tokenizer tests | {
"login": "LysandreJik",
"id": 30755778,
"node_id": "MDQ6VXNlcjMwNzU1Nzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/30755778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LysandreJik",
"html_url": "https://github.com/LysandreJik",
"followers_url": "https://api.github.com/... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | MEMBER | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8481/timeline | null | true | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8481",
"html_url": "https://github.com/huggingface/transformers/pull/8481",
"diff_url": "https://github.com/huggingface/transformers/pull/8481.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8481.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/8480 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8480/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8480/comments | https://api.github.com/repos/huggingface/transformers/issues/8480/events | https://github.com/huggingface/transformers/issues/8480 | 741,208,845 | MDU6SXNzdWU3NDEyMDg4NDU= | 8,480 | Error when upload models: "LFS: Client error" | {
"login": "danyaljj",
"id": 2441454,
"node_id": "MDQ6VXNlcjI0NDE0NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2441454?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danyaljj",
"html_url": "https://github.com/danyaljj",
"followers_url": "https://api.github.com/users/danya... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Since `git push` by itself is not so informative, I retried it with more verbose output (sorry for the long output): \r\n```\r\n$ GIT_TRACE=1 GIT_CURL_VERBOSE=1 git push\r\n18:07:20.246678 git.c:440 trace: built-in: git push\r\n18:07:20.247908 run-command.c:663 trace: run_command: GIT_DIR=.git ... | 1,605 | 1,611 | 1,611 | CONTRIBUTOR | null | I am using the most recent release to upload a model.
Like the new instructions suggested, I am using git to upload my files:
```bash
$ git add --all
Encountered 1 file(s) that may not have been copied correctly on Windows:
pytorch_model.bin
$ git status
On branch main
Your branch is up to date with 'ori... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8480/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8479 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8479/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8479/comments | https://api.github.com/repos/huggingface/transformers/issues/8479/events | https://github.com/huggingface/transformers/pull/8479 | 741,189,946 | MDExOlB1bGxSZXF1ZXN0NTE5NTQ4NjQ4 | 8,479 | Fix SqueezeBERT for masked language model | {
"login": "forresti",
"id": 2020010,
"node_id": "MDQ6VXNlcjIwMjAwMTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2020010?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/forresti",
"html_url": "https://github.com/forresti",
"followers_url": "https://api.github.com/users/forre... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This corrects a mistake in the implementation of SqueezeBertForMaskedLM.
Fixes #8277
## Before submitting
- [x] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md#start-contributing-pull-requests),
Pull Request sectio... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8479/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8479",
"html_url": "https://github.com/huggingface/transformers/pull/8479",
"diff_url": "https://github.com/huggingface/transformers/pull/8479.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8479.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8478 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8478/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8478/comments | https://api.github.com/repos/huggingface/transformers/issues/8478/events | https://github.com/huggingface/transformers/pull/8478 | 741,183,012 | MDExOlB1bGxSZXF1ZXN0NTE5NTQzMzQz | 8,478 | [s2s] finetune.py: specifying generation min_length | {
"login": "danyaljj",
"id": 2441454,
"node_id": "MDQ6VXNlcjI0NDE0NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/2441454?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/danyaljj",
"html_url": "https://github.com/danyaljj",
"followers_url": "https://api.github.com/users/danya... | [] | closed | false | null | [] | [
"LGTM, but will break CI. no idea why it's not running.\r\nYou will need to update the tests. I bet `pytest examples/seq2seq/test_seq2seq_examples.py` will fail ( you should fix that).\r\n",
"Yeah, here is the error I am seeing. \r\n\r\n```\r\n$ pytest examples/seq2seq/test_seq2seq_examples.py\r\ncomet_ml is inst... | 1,605 | 1,606 | 1,606 | CONTRIBUTOR | null | # What does this PR do?
Adds an argument to `finetune.py` to specify min length for text generation.
Related to:
https://github.com/huggingface/transformers/issues/5142#issuecomment-724938595
https://github.com/huggingface/transformers/issues/7796#issuecomment-709348940
## Who can review?
@patrickvonpl... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8478/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8478",
"html_url": "https://github.com/huggingface/transformers/pull/8478",
"diff_url": "https://github.com/huggingface/transformers/pull/8478.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8478.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8477 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8477/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8477/comments | https://api.github.com/repos/huggingface/transformers/issues/8477/events | https://github.com/huggingface/transformers/issues/8477 | 741,170,843 | MDU6SXNzdWU3NDExNzA4NDM= | 8,477 | How to print out the probability for each bean search result in gpt2 text generator? | {
"login": "beibeic",
"id": 12088194,
"node_id": "MDQ6VXNlcjEyMDg4MTk0",
"avatar_url": "https://avatars.githubusercontent.com/u/12088194?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/beibeic",
"html_url": "https://github.com/beibeic",
"followers_url": "https://api.github.com/users/beibei... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Take a look at https://github.com/huggingface/transformers/issues/5164",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.\n"
] | 1,605 | 1,611 | 1,611 | NONE | null | # 🚀 I want to see the probability for the text result generated by gpt2 model
<!-- A clear and concise description of the feature proposal.
Please provide a link to the paper and code in case they exist. -->
See a sample code as below, when we used a pre-trained model, can we also print out the probabili... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8477/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8476 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8476/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8476/comments | https://api.github.com/repos/huggingface/transformers/issues/8476/events | https://github.com/huggingface/transformers/issues/8476 | 741,166,156 | MDU6SXNzdWU3NDExNjYxNTY= | 8,476 | Trainer runs out of memory when computing eval score | {
"login": "soufianeelalami",
"id": 16280778,
"node_id": "MDQ6VXNlcjE2MjgwNzc4",
"avatar_url": "https://avatars.githubusercontent.com/u/16280778?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soufianeelalami",
"html_url": "https://github.com/soufianeelalami",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"I'm not sure what the bug is: by requiring the complete predictions for your `compute_metrics` function, you are asking for an array of 4,057 by 200 by vocab_size (which for the base CamemBERT model is 30,522 I believe). This does not fit easily in RAM.\r\n",
"Is there another way to compute the metrics (or an e... | 1,605 | 1,660 | 1,605 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.5.0
- Platform: Linux-3.10.0-1127.19.1.el7.x86_64-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8476/reactions",
"total_count": 4,
"+1": 4,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8476/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8475 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8475/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8475/comments | https://api.github.com/repos/huggingface/transformers/issues/8475/events | https://github.com/huggingface/transformers/pull/8475 | 741,134,454 | MDExOlB1bGxSZXF1ZXN0NTE5NTAyNTg3 | 8,475 | Update deploy-docs dependencies on CI to enable Flax | {
"login": "mfuntowicz",
"id": 2241520,
"node_id": "MDQ6VXNlcjIyNDE1MjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2241520?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mfuntowicz",
"html_url": "https://github.com/mfuntowicz",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | MEMBER | null | Signed-off-by: Morgan Funtowicz <morgan@huggingface.co> | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8475/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8475",
"html_url": "https://github.com/huggingface/transformers/pull/8475",
"diff_url": "https://github.com/huggingface/transformers/pull/8475.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8475.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8474 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8474/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8474/comments | https://api.github.com/repos/huggingface/transformers/issues/8474/events | https://github.com/huggingface/transformers/pull/8474 | 741,102,627 | MDExOlB1bGxSZXF1ZXN0NTE5NDc2ODUw | 8,474 | Fix on "examples/language-modeling" to support more datasets | {
"login": "zeyuyun1",
"id": 43428393,
"node_id": "MDQ6VXNlcjQzNDI4Mzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/43428393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zeyuyun1",
"html_url": "https://github.com/zeyuyun1",
"followers_url": "https://api.github.com/users/zey... | [] | closed | false | null | [] | [
"Great fix, thanks!"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Fix on "run_clm.py", "run_mlm.py", "run_plm.py", so that they can support datasets with more than one features. Before they will fail on datasets with more than one features.
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is goin... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8474/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8474",
"html_url": "https://github.com/huggingface/transformers/pull/8474",
"diff_url": "https://github.com/huggingface/transformers/pull/8474.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8474.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8473 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8473/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8473/comments | https://api.github.com/repos/huggingface/transformers/issues/8473/events | https://github.com/huggingface/transformers/issues/8473 | 741,070,726 | MDU6SXNzdWU3NDEwNzA3MjY= | 8,473 | Support fp16 for inference | {
"login": "urimerhav",
"id": 9450187,
"node_id": "MDQ6VXNlcjk0NTAxODc=",
"avatar_url": "https://avatars.githubusercontent.com/u/9450187?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/urimerhav",
"html_url": "https://github.com/urimerhav",
"followers_url": "https://api.github.com/users/ur... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I imagine this only happens when the `generate()` method is used under the hood? ",
"Hi there! It's true you can't just do `model.half()` for generation. There is nothing in Trainer/Seq2SeqTrainer right now for FP16-inference, only training, but we're looking at it right now through #8403. So stay tuned!",
"T... | 1,605 | 1,633 | 1,614 | NONE | null | # 🚀 Feature request - support fp16 inference
Right now most models support mixed precision for model training, but not for inference. Naively calling `model= model.haf()` makes the model generate junk instead of valid results for text generation, even though mixed-precision works fine in training.
If there's a ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8473/reactions",
"total_count": 7,
"+1": 7,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8473/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8472 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8472/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8472/comments | https://api.github.com/repos/huggingface/transformers/issues/8472/events | https://github.com/huggingface/transformers/issues/8472 | 741,068,616 | MDU6SXNzdWU3NDEwNjg2MTY= | 8,472 | GPT2 (pre-trained not fine-tuned) only generates additional special tokens | {
"login": "al3xpapangelis",
"id": 68122121,
"node_id": "MDQ6VXNlcjY4MTIyMTIx",
"avatar_url": "https://avatars.githubusercontent.com/u/68122121?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/al3xpapangelis",
"html_url": "https://github.com/al3xpapangelis",
"followers_url": "https://api.gi... | [] | closed | false | null | [] | [
"@g-karthik ",
"Was able to reproduce this as well.\r\n\r\nFrom the observation, I suspect the random weights being initialized for the added tokens in the final `Linear` and/or `SequenceSummary` head are such that no matter what hidden state is sent in, a special token gets the highest final scalar score. Haven'... | 1,605 | 1,698 | 1,605 | NONE | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Darwin-19.6.0-x86_64-i386-64bit
- Python version: 3.6.3
- PyTorch version (GPU?): 1.7.0 (False)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: No
- Using distributed or parallel set-up in script?: No
### Who can help
@pa... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8472/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8471 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8471/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8471/comments | https://api.github.com/repos/huggingface/transformers/issues/8471/events | https://github.com/huggingface/transformers/issues/8471 | 740,936,088 | MDU6SXNzdWU3NDA5MzYwODg= | 8,471 | TFBertForTokenClassification scoring only O labels on a NER task | {
"login": "Zast996",
"id": 62074263,
"node_id": "MDQ6VXNlcjYyMDc0MjYz",
"avatar_url": "https://avatars.githubusercontent.com/u/62074263?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zast996",
"html_url": "https://github.com/Zast996",
"followers_url": "https://api.github.com/users/Zast99... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discusss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,605 | 1,605 | 1,605 | NONE | null | I'm using TFBertForTokenClassification to perform a NER task on the annotated corpus fo NER:
[https://www.kaggle.com/abhinavwalia95/entity-annotated-corpus](https://www.kaggle.com/abhinavwalia95/entity-annotated-corpus).
The problem is that the O-Labels are the majority of all labels, then the accuracy is quite high ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8471/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8470 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8470/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8470/comments | https://api.github.com/repos/huggingface/transformers/issues/8470/events | https://github.com/huggingface/transformers/pull/8470 | 740,902,522 | MDExOlB1bGxSZXF1ZXN0NTE5MzEyMjM0 | 8,470 | Add pretraining loss computation for TF Bert pretraining | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the loss computation for the pretraining TF BERT model. The loss computation test is also more robust on variable call signature lengths. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8470/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8470",
"html_url": "https://github.com/huggingface/transformers/pull/8470",
"diff_url": "https://github.com/huggingface/transformers/pull/8470.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8470.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8469 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8469/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8469/comments | https://api.github.com/repos/huggingface/transformers/issues/8469/events | https://github.com/huggingface/transformers/issues/8469 | 740,896,538 | MDU6SXNzdWU3NDA4OTY1Mzg= | 8,469 | Pegasus models load very slowly or do not load at all on initial execution of from_pretrained() when Python is spawned from within a Node.js process | {
"login": "wehriam",
"id": 81482,
"node_id": "MDQ6VXNlcjgxNDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/81482?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wehriam",
"html_url": "https://github.com/wehriam",
"followers_url": "https://api.github.com/users/wehriam/follower... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"maybe @julien-c or @Pierrci can answer this question better",
"This seems very environment-specific. @wehriam in case paid support is an option, we have a technical support program in beta at api-enterprise@huggingface.co (cc @clmnt @jeffboudier)",
"This issue has been automatically marked as stale because it ... | 1,605 | 1,611 | 1,611 | NONE | null | ## Description
We are using Node.js to coordinate processes, including a Python web server that loads a pretrained model in CPU mode.
The model files are downloaded and cached prior to execution during a container build process.
On initial execution, it appears the model stalls while loading the primary weight... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8469/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/8469/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8468 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8468/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8468/comments | https://api.github.com/repos/huggingface/transformers/issues/8468/events | https://github.com/huggingface/transformers/pull/8468 | 740,844,418 | MDExOlB1bGxSZXF1ZXN0NTE5MjYzNDMw | 8,468 | Example NER script predicts on tokenized dataset | {
"login": "sarnoult",
"id": 31313050,
"node_id": "MDQ6VXNlcjMxMzEzMDUw",
"avatar_url": "https://avatars.githubusercontent.com/u/31313050?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sarnoult",
"html_url": "https://github.com/sarnoult",
"followers_url": "https://api.github.com/users/sar... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | The new run_ner.py script (relying on datasets) tries to run prediction on the input test set `datasets["test"]`, but it should really input the tokenized set `tokenized_datasets["test"]`
# What does this PR do?
Fix an error with run_ner.py at the prediction step on a custom dataset
<!-- Your PR will be rep... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8468/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8468",
"html_url": "https://github.com/huggingface/transformers/pull/8468",
"diff_url": "https://github.com/huggingface/transformers/pull/8468.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8468.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8467 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8467/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8467/comments | https://api.github.com/repos/huggingface/transformers/issues/8467/events | https://github.com/huggingface/transformers/issues/8467 | 740,837,112 | MDU6SXNzdWU3NDA4MzcxMTI= | 8,467 | Fine tuning a classification model with engineered features | {
"login": "rogeriobromfman",
"id": 23483574,
"node_id": "MDQ6VXNlcjIzNDgzNTc0",
"avatar_url": "https://avatars.githubusercontent.com/u/23483574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rogeriobromfman",
"html_url": "https://github.com/rogeriobromfman",
"followers_url": "https://api... | [] | closed | false | null | [] | [
"Hello, thanks for opening an issue! We try to keep the github issues for bugs/feature requests.\r\nCould you ask your question on the [forum](https://discuss.huggingface.co) instead?\r\n\r\nThanks!"
] | 1,605 | 1,605 | 1,605 | NONE | null | # 🚀 Feature request
When fine-tuning a BERT model for text classification, it would be useful to be able to add some engineered features to improve accuracy.
## Motivation
For example:
- if there are any dates on the text (based on NER);
- if the text starts with a punctuation;
- if the font size is l... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8467/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8466 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8466/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8466/comments | https://api.github.com/repos/huggingface/transformers/issues/8466/events | https://github.com/huggingface/transformers/pull/8466 | 740,809,139 | MDExOlB1bGxSZXF1ZXN0NTE5MjMzODU2 | 8,466 | Fix TF next sentence output | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Make the loss optional in the TF next sentence prediction output. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8466/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8466",
"html_url": "https://github.com/huggingface/transformers/pull/8466",
"diff_url": "https://github.com/huggingface/transformers/pull/8466.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8466.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8465 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8465/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8465/comments | https://api.github.com/repos/huggingface/transformers/issues/8465/events | https://github.com/huggingface/transformers/issues/8465 | 740,798,832 | MDU6SXNzdWU3NDA3OTg4MzI= | 8,465 | Pytorch Vs Onnx: Pytorch is faster and provides different output | {
"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... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"I also got different results 🤦",
"I have figured out the problem, but I don't have the solution.\r\nWhen you use a single sample per batch it works correctly, but when you use more than one sample per batch, the results are totally different.",
"@mfuntowicz and @LysandreJik , it will be great if you could sh... | 1,605 | 1,614 | 1,614 | CONTRIBUTOR | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101 (True)
- Tensorflow version (GPU?): 2.3.0 (True)
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No
###... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8465/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/8465/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8464 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8464/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8464/comments | https://api.github.com/repos/huggingface/transformers/issues/8464/events | https://github.com/huggingface/transformers/pull/8464 | 740,792,864 | MDExOlB1bGxSZXF1ZXN0NTE5MjIwMjUz | 8,464 | Add model card for ai4bharat/indic-bert | {
"login": "divkakwani",
"id": 2513455,
"node_id": "MDQ6VXNlcjI1MTM0NTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/2513455?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/divkakwani",
"html_url": "https://github.com/divkakwani",
"followers_url": "https://api.github.com/users... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [
"really cool, thanks for sharing"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This PR adds model card for IndicBERT model (shortcut name: `ai4bharat/indic-bert`)
## 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/tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8464/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8464",
"html_url": "https://github.com/huggingface/transformers/pull/8464",
"diff_url": "https://github.com/huggingface/transformers/pull/8464.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8464.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8463 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8463/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8463/comments | https://api.github.com/repos/huggingface/transformers/issues/8463/events | https://github.com/huggingface/transformers/pull/8463 | 740,770,679 | MDExOlB1bGxSZXF1ZXN0NTE5MjAxNjU3 | 8,463 | Better regex expression for extracting language code in tokenization_marian.py | {
"login": "soumyac1999",
"id": 33203398,
"node_id": "MDQ6VXNlcjMzMjAzMzk4",
"avatar_url": "https://avatars.githubusercontent.com/u/33203398?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/soumyac1999",
"html_url": "https://github.com/soumyac1999",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
},
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
... | closed | false | null | [] | [
"cc @patrickvonplaten ",
"No, 2 character language codes are not covered. However `>>.{2}<<|>>.{3}<<|>>.{3}\\_.{4}<<` can be used.\r\n\r\nI can try writing tests. Is these somewhere where I could find an exhaustive set of language codes? I had written the regex to cover the 194 language code in `'Helsinki-NLP/opu... | 1,605 | 1,614 | 1,614 | NONE | null | # Better regex expression for extracting language code in tokenization_marian.py
In `tokenization_marian.py`, the regex `>>.+<<` is used to extract the language token from the sentences leading to the following incorrect tokenization.
```
Example Sentence:
>>hin<< We use cout<< function to print a line in C++.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8463/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8463",
"html_url": "https://github.com/huggingface/transformers/pull/8463",
"diff_url": "https://github.com/huggingface/transformers/pull/8463.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8463.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8462 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8462/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8462/comments | https://api.github.com/repos/huggingface/transformers/issues/8462/events | https://github.com/huggingface/transformers/pull/8462 | 740,748,367 | MDExOlB1bGxSZXF1ZXN0NTE5MTgyODcz | 8,462 | Add next sentence prediction loss computation | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This PR adds the loss computation for the next sentence prediction task in TF BERT and MobileBERT. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8462/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8462",
"html_url": "https://github.com/huggingface/transformers/pull/8462",
"diff_url": "https://github.com/huggingface/transformers/pull/8462.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8462.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8461 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8461/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8461/comments | https://api.github.com/repos/huggingface/transformers/issues/8461/events | https://github.com/huggingface/transformers/issues/8461 | 740,709,364 | MDU6SXNzdWU3NDA3MDkzNjQ= | 8,461 | multiple hard-coded paths in transformers/file_utils.py | {
"login": "rabeehkarimimahabadi",
"id": 73364383,
"node_id": "MDQ6VXNlcjczMzY0Mzgz",
"avatar_url": "https://avatars.githubusercontent.com/u/73364383?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rabeehkarimimahabadi",
"html_url": "https://github.com/rabeehkarimimahabadi",
"followers_url... | [] | closed | false | null | [] | [
"will report this in datasets repo. "
] | 1,605 | 1,605 | 1,605 | NONE | null | Hi
I need to run the codes on a machine not having access to internet, I am running finetune_trainer.py on a dataset from datasets repo, due to these hardcoded paths I cannot get the code running without access to internet, could you please make any hard-coded path a parameter, so if user do not have access to interne... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8461/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8460 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8460/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8460/comments | https://api.github.com/repos/huggingface/transformers/issues/8460/events | https://github.com/huggingface/transformers/pull/8460 | 740,704,981 | MDExOlB1bGxSZXF1ZXN0NTE5MTQ2NzIy | 8,460 | Fix TF Longformer | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Fix TF Longformer model outputs. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8460/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8460",
"html_url": "https://github.com/huggingface/transformers/pull/8460",
"diff_url": "https://github.com/huggingface/transformers/pull/8460.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8460.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8459 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8459/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8459/comments | https://api.github.com/repos/huggingface/transformers/issues/8459/events | https://github.com/huggingface/transformers/issues/8459 | 740,679,846 | MDU6SXNzdWU3NDA2Nzk4NDY= | 8,459 | Question Answering Documentation Example Bug | {
"login": "iremnasir",
"id": 51764807,
"node_id": "MDQ6VXNlcjUxNzY0ODA3",
"avatar_url": "https://avatars.githubusercontent.com/u/51764807?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iremnasir",
"html_url": "https://github.com/iremnasir",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi! That sounds good, do you want to open a PR?",
"Yes, I am on it. Thanks!\r\n",
"+1\r\nany updates?",
"@iremnasir can you please let me know how exactly you managed to solve it? I am having the same issue. \r\n: 1.7.0 (... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8459/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/8459/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8458 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8458/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8458/comments | https://api.github.com/repos/huggingface/transformers/issues/8458/events | https://github.com/huggingface/transformers/pull/8458 | 740,647,359 | MDExOlB1bGxSZXF1ZXN0NTE5MDk4NDQ2 | 8,458 | Fix logging in the examples | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [
"The five examples scripts mentioned above all already use the huggingface logger, and already set it to the correct verbosity level. Seeing as the example scripts are *examples*, they really should be as straightforward as possible, and should not repeat unnecessary statements.\r\n\r\nPlease update the following f... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This PR updates all the examples to use the Transformers logging util. Before no logs was displayed. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8458/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8458",
"html_url": "https://github.com/huggingface/transformers/pull/8458",
"diff_url": "https://github.com/huggingface/transformers/pull/8458.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8458.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8457 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8457/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8457/comments | https://api.github.com/repos/huggingface/transformers/issues/8457/events | https://github.com/huggingface/transformers/pull/8457 | 740,599,904 | MDExOlB1bGxSZXF1ZXN0NTE5MDYwMjkw | 8,457 | Correct mark down grammar in readme file | {
"login": "wlhgtc",
"id": 16603773,
"node_id": "MDQ6VXNlcjE2NjAzNzcz",
"avatar_url": "https://avatars.githubusercontent.com/u/16603773?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wlhgtc",
"html_url": "https://github.com/wlhgtc",
"followers_url": "https://api.github.com/users/wlhgtc/fo... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"This issue has been automatically marked as stale and been closed because it has not had recent activity. Thank you for your contributions.\n\nIf you think this still needs to be addressed please comment on this thread."
] | 1,605 | 1,614 | 1,614 | CONTRIBUTOR | null | I correct the mark down grammar about WWM readme, in order to keep all things right. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8457/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8457/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8457",
"html_url": "https://github.com/huggingface/transformers/pull/8457",
"diff_url": "https://github.com/huggingface/transformers/pull/8457.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8457.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8456 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8456/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8456/comments | https://api.github.com/repos/huggingface/transformers/issues/8456/events | https://github.com/huggingface/transformers/issues/8456 | 740,525,316 | MDU6SXNzdWU3NDA1MjUzMTY= | 8,456 | ValueError: No gradients provided for any variable: ['tf_bert_for_masked_lm_6/bert/embeddings/word_embeddings/weight:0', 'tf_bert_for_masked_lm_6/bert/embeddings/position_embeddings/embeddings:0'...... | {
"login": "MarsSu0618",
"id": 72376532,
"node_id": "MDQ6VXNlcjcyMzc2NTMy",
"avatar_url": "https://avatars.githubusercontent.com/u/72376532?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MarsSu0618",
"html_url": "https://github.com/MarsSu0618",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"change other questions.",
"How did u solve this issue?",
"How did u solve this problem? I got same problem like yours"
] | 1,605 | 1,621 | 1,605 | NONE | null | Hi! Everyone.
I encounter some problems with TFBertForMaskedLM.
I modify TFBertForMaskedLM layer according to "Condition-Bert Contextual Augmentation" paper.
In short, my dataset sentences have 5 labels, then change type_token_ids to label_ids.
so, i change bert.embeddings.token_type_embeddings .
my model cod... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8456/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8455 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8455/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8455/comments | https://api.github.com/repos/huggingface/transformers/issues/8455/events | https://github.com/huggingface/transformers/issues/8455 | 740,515,573 | MDU6SXNzdWU3NDA1MTU1NzM= | 8,455 | Can't down models from huggingface.cn! | {
"login": "havetry",
"id": 49902228,
"node_id": "MDQ6VXNlcjQ5OTAyMjI4",
"avatar_url": "https://avatars.githubusercontent.com/u/49902228?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/havetry",
"html_url": "https://github.com/havetry",
"followers_url": "https://api.github.com/users/havetr... | [] | closed | false | null | [] | [
"Duplicate of #8449 "
] | 1,605 | 1,605 | 1,605 | 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 s... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8455/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8455/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8454 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8454/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8454/comments | https://api.github.com/repos/huggingface/transformers/issues/8454/events | https://github.com/huggingface/transformers/issues/8454 | 740,506,768 | MDU6SXNzdWU3NDA1MDY3Njg= | 8,454 | Add POINTER model | {
"login": "dreasysnail",
"id": 2461039,
"node_id": "MDQ6VXNlcjI0NjEwMzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/2461039?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dreasysnail",
"html_url": "https://github.com/dreasysnail",
"followers_url": "https://api.github.com/us... | [
{
"id": 1843244711,
"node_id": "MDU6TGFiZWwxODQzMjQ0NzEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/New%20model",
"name": "New model",
"color": "fbca04",
"default": false,
"description": ""
}
] | open | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Thanks @patrickvonplaten for taking this. It's nice to work with you again :)",
"Really interesting approach :hugs: \r\n\r\n@dreasysnail Do you think it is possible to pre-train a model from scratch on **one** GPU in a reasonable time? Could you say something about your used hardware setup and training time for ... | 1,605 | 1,631 | null | CONTRIBUTOR | null | # 🌟 New model addition
## Model description
[POINTER](https://github.com/dreasysnail/POINTER) is a progressive and non-autoregressive text generation pre-training approach, published on EMNLP 2020 by Microsoft Research. POINTER generates fluent text in a progressive and parallel manner. With empirical logarithmi... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8454/reactions",
"total_count": 7,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 2,
"confused": 0,
"heart": 2,
"rocket": 2,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/8454/timeline | null | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8453 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8453/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8453/comments | https://api.github.com/repos/huggingface/transformers/issues/8453/events | https://github.com/huggingface/transformers/issues/8453 | 740,457,445 | MDU6SXNzdWU3NDA0NTc0NDU= | 8,453 | _pickle.PicklingError: Can't pickle typing.Union[str, NoneType]: it's not the same object as typing.Union | {
"login": "JeremySun1224",
"id": 45678423,
"node_id": "MDQ6VXNlcjQ1Njc4NDIz",
"avatar_url": "https://avatars.githubusercontent.com/u/45678423?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JeremySun1224",
"html_url": "https://github.com/JeremySun1224",
"followers_url": "https://api.githu... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Maybe @sgugger has an idea",
"This is a duplicate of #8212 which gives the workaround (install python 3.7) while waiting for the new release of datasets, which will fix that bug.",
"Maybe we should do a quick patch release of `datasets` just for this one @lhoestq?",
"It seems an issue ´till Python 3.6 on Pic... | 1,605 | 1,611 | 1,611 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version:3.4.0
- Platform:linux
- Python version:3.6
- PyTorch version (GPU?):1.6 cuda10
- Tensorflow version (G... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8453/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/huggingface/transformers/issues/8453/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8452 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8452/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8452/comments | https://api.github.com/repos/huggingface/transformers/issues/8452/events | https://github.com/huggingface/transformers/issues/8452 | 740,445,596 | MDU6SXNzdWU3NDA0NDU1OTY= | 8,452 | Fine-tuning GPT: problems with padding | {
"login": "ioana-blue",
"id": 17202292,
"node_id": "MDQ6VXNlcjE3MjAyMjky",
"avatar_url": "https://avatars.githubusercontent.com/u/17202292?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ioana-blue",
"html_url": "https://github.com/ioana-blue",
"followers_url": "https://api.github.com/use... | [] | closed | false | null | [] | [
"Another suspicious flag in the config for GPT is `predict_special_tokens` which is set to `True` (no such thing for GPT2 config). I did a grep on this flag and it seems to be present only in the config class and not used anywhere else. Somewhat strange. ",
"I might have found a problem in my scripts/code. I've b... | 1,605 | 1,685 | 1,614 | NONE | null | ## Environment info
<!-- You can run the command `transformers-cli env` and copy-and-paste its output below.
Don't forget to fill out the missing fields in that output! -->
- `transformers` version: 3.4.0
- Platform: Linux-3.10.0-957.el7.x86_64-x86_64-with-glibc2.10
- Python version: 3.8.3
- PyTorch v... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8452/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8452/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8451 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8451/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8451/comments | https://api.github.com/repos/huggingface/transformers/issues/8451/events | https://github.com/huggingface/transformers/issues/8451 | 740,442,985 | MDU6SXNzdWU3NDA0NDI5ODU= | 8,451 | config.attention_head_size for structured pruning out-of-box | {
"login": "dsindex",
"id": 8259057,
"node_id": "MDQ6VXNlcjgyNTkwNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8259057?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dsindex",
"html_url": "https://github.com/dsindex",
"followers_url": "https://api.github.com/users/dsindex/... | [] | closed | false | null | [] | [
"@dsindex FYI, I am working on creating a PR including this feature for the effort of #8083 .",
"@ykim362 great! closing issue here."
] | 1,605 | 1,605 | 1,605 | NONE | null | # 🚀 Feature request
## Motivation
for structured pruning like `fastformers`, https://github.com/microsoft/fastformers#pruning-models ,
we should modify the source code of transformers for `attention_head_size.
for example,
1. configuration_bert.py
https://github.com/microsoft/fastformers/blob/main/src/... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8451/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8451/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8450 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8450/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8450/comments | https://api.github.com/repos/huggingface/transformers/issues/8450/events | https://github.com/huggingface/transformers/issues/8450 | 740,420,659 | MDU6SXNzdWU3NDA0MjA2NTk= | 8,450 | A layman wants to train DistilBERT | {
"login": "WalterZhong",
"id": 38905736,
"node_id": "MDQ6VXNlcjM4OTA1NzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/38905736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WalterZhong",
"html_url": "https://github.com/WalterZhong",
"followers_url": "https://api.github.com/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"[https://github.com/google-research/bert](url)\r\n\r\nIn this url, I find some files.\r\n\r\n\r\nBut I don't whether they are the data which used to be the training data of distilbert.\r\nAnd the distilber... | 1,605 | 1,611 | 1,611 | NONE | null | I want to train DistilBERT, but I don't know how to get the training data.
In the article, it describes the training data as a concatenation of Toronto Book Corpus and English Wikipedia (same training data as the English version of BERT). So how can I get it?
\r\n\r\nwith training_args.strategy.scope():\r\n model = TFBertForTokenClassification.from_pretrained(bert_model,\r\n ... | 1,605 | 1,605 | 1,605 | NONE | null | - `transformers` version: 3.5.0
- Platform: jupyter notebook
- Python version: 3.6.9
- Tensorflow version (GPU?): 2.3.1
- Using GPU in script?: Single RTX 2080TI
- Model: "distilbert-base-multilingual-cased"
with tf.device('/device:GPU:0'):
model.compile(optimizer=optimizer, loss=loss_fn)
model.fit(tr... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8448/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8447 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8447/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8447/comments | https://api.github.com/repos/huggingface/transformers/issues/8447/events | https://github.com/huggingface/transformers/issues/8447 | 740,168,649 | MDU6SXNzdWU3NDAxNjg2NDk= | 8,447 | Model name 'facebook/rag-sequence-base/*' not found when running examples/rag/finetune.sh | {
"login": "sabetAI",
"id": 28828395,
"node_id": "MDQ6VXNlcjI4ODI4Mzk1",
"avatar_url": "https://avatars.githubusercontent.com/u/28828395?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sabetAI",
"html_url": "https://github.com/sabetAI",
"followers_url": "https://api.github.com/users/sabetA... | [] | closed | false | null | [] | [
"Hi, I have a related issue. This happen to `\"facebook/rag-token-base\"` and `\"facebook/rag-token-nq\"` and `\"facebook/rag-sequence-nq\"` as well.\r\n\r\nBasic loading failed (was able to do it until around 2 days ago -- I use version 3.5.0)\r\nBoth\r\n\r\n`tokenizer = RagTokenizer.from_pretrained(\"facebook/ra... | 1,605 | 1,606 | 1,605 | NONE | null | ## Environment info
- `transformers` version: 3.3.1
- Platform: Linux-4.15.0-38-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.6.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Using GPU in script?: True
- Using distributed or parallel set-up in scri... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8447/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/8447/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8446 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8446/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8446/comments | https://api.github.com/repos/huggingface/transformers/issues/8446/events | https://github.com/huggingface/transformers/pull/8446 | 740,127,389 | MDExOlB1bGxSZXF1ZXN0NTE4NjY4Njcw | 8,446 | using multi_gpu consistently | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | As discussed [here](https://github.com/huggingface/transformers/pull/8341#issuecomment-722705833) this PR replaces
* `multiple_gpu`
* `multigpu`
with `multi_gpu` for consistency
There is no functionality change otherwise.
I did repo-wide:
```
find . -type d -name ".git" -prune -o -type f -exec perl -pi -e '... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8446/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8446",
"html_url": "https://github.com/huggingface/transformers/pull/8446",
"diff_url": "https://github.com/huggingface/transformers/pull/8446.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8446.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8445 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8445/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8445/comments | https://api.github.com/repos/huggingface/transformers/issues/8445/events | https://github.com/huggingface/transformers/pull/8445 | 740,127,323 | MDExOlB1bGxSZXF1ZXN0NTE4NjY4NjE4 | 8,445 | [marian.rst] remove combined lines | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [
"I already did that in a commit to master, thanks for fixing too! :-)"
] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8445/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8445",
"html_url": "https://github.com/huggingface/transformers/pull/8445",
"diff_url": "https://github.com/huggingface/transformers/pull/8445.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8445.patch",
"merged_at": n... | |
https://api.github.com/repos/huggingface/transformers/issues/8444 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8444/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8444/comments | https://api.github.com/repos/huggingface/transformers/issues/8444/events | https://github.com/huggingface/transformers/pull/8444 | 740,070,005 | MDExOlB1bGxSZXF1ZXN0NTE4NjIxMTM2 | 8,444 | Add missing import | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
Fix a missing import for TF auto. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8444/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8444",
"html_url": "https://github.com/huggingface/transformers/pull/8444",
"diff_url": "https://github.com/huggingface/transformers/pull/8444.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8444.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8443 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8443/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8443/comments | https://api.github.com/repos/huggingface/transformers/issues/8443/events | https://github.com/huggingface/transformers/issues/8443 | 740,047,270 | MDU6SXNzdWU3NDAwNDcyNzA= | 8,443 | Dropout p is changing after loading | {
"login": "burakisikli",
"id": 982014,
"node_id": "MDQ6VXNlcjk4MjAxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/982014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/burakisikli",
"html_url": "https://github.com/burakisikli",
"followers_url": "https://api.github.com/user... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Hi, this is not the best way to update the dropout value as it will get overridden by the configuration value on load.\r\n\r\nThe classifier in `BertForSequenceClassification` is a linear layer, that has no dropout. If you want to change the dropout which is applied before the linear layer, you should update the `... | 1,605 | 1,610 | 1,610 | NONE | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.6.9
- PyTorch version (GPU?): 1.7.0+cu101 (True)
- Tensorflow version (GPU?): 2.3.0 (True)
- Using GPU in script?:
- Using distributed or parallel set-up in script?: No
### ... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8443/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8442 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8442/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8442/comments | https://api.github.com/repos/huggingface/transformers/issues/8442/events | https://github.com/huggingface/transformers/issues/8442 | 740,002,461 | MDU6SXNzdWU3NDAwMDI0NjE= | 8,442 | Models fine-tuned with gradient checkpointing (=True) fails to export to ONXX | {
"login": "samru-rai",
"id": 64474512,
"node_id": "MDQ6VXNlcjY0NDc0NTEy",
"avatar_url": "https://avatars.githubusercontent.com/u/64474512?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/samru-rai",
"html_url": "https://github.com/samru-rai",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"Indeed, I see why this would fail. I don't have access to your notebook, but as a temporary workaround you could do:\r\n\r\n```py\r\nmodel.save_pretrained(\"here\")\r\nmodel = ModelClass.from_pretrained(\"here\", gradient_checkpointing=False)\r\n```\r\n\r\nYou should be able to convert that model to ONNX then.",
... | 1,605 | 1,610 | 1,610 | NONE | null | ## Environment info
- `transformers` version: 3.5.0
- Platform: Linux-5.4.0-52-generic-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.9
- PyTorch version (GPU?): 1.7.0 (True)
- Tensorflow version (GPU?): 2.3.1 (False)
- Using GPU in script?: False
- Using distributed or parallel set-up in script?: False
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8442/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8441 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8441/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8441/comments | https://api.github.com/repos/huggingface/transformers/issues/8441/events | https://github.com/huggingface/transformers/issues/8441 | 739,954,560 | MDU6SXNzdWU3Mzk5NTQ1NjA= | 8,441 | CUDA out of memory (ALBERT)!! | {
"login": "ppyu",
"id": 32732750,
"node_id": "MDQ6VXNlcjMyNzMyNzUw",
"avatar_url": "https://avatars.githubusercontent.com/u/32732750?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ppyu",
"html_url": "https://github.com/ppyu",
"followers_url": "https://api.github.com/users/ppyu/followers"... | [] | closed | false | null | [] | [
"Hi there. Questions like this should be asked on the forum. In your code example, you are using different variable names for each of your three call, so it's logical to get more memory consumption. Python will only release the memory if you reuse the same variable name.",
"Hi,friends.\r\n`you are using different... | 1,605 | 1,605 | 1,605 | NONE | null | # ❓ Questions & Help
While using `albert-base-v2` to train my model, I got the following problem:
```
#first call
outputs = self.albert(input_ids,
attention_mask=attention_mask,
token_type_ids=token_type_ids,
position_ids... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8441/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8440 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8440/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8440/comments | https://api.github.com/repos/huggingface/transformers/issues/8440/events | https://github.com/huggingface/transformers/pull/8440 | 739,948,596 | MDExOlB1bGxSZXF1ZXN0NTE4NTIwNzk5 | 8,440 | Question template | {
"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 | [] | [
"<img width=\"1402\" alt=\"image\" src=\"https://user-images.githubusercontent.com/7353373/98936078-c3bcb600-24e4-11eb-9ae3-6894af553004.png\">\r\n\r\nFor some reason I don't see the \"Question and Help\" option when I try to open an issue @sgugger @LysandreJik ",
"Mmm, guess the metadata at the top doesn't like ... | 1,605 | 1,605 | 1,605 | COLLABORATOR | null | # What does this PR do?
This PR updates the question template to insist a bit more on users using the forum for questions. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8440/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8440",
"html_url": "https://github.com/huggingface/transformers/pull/8440",
"diff_url": "https://github.com/huggingface/transformers/pull/8440.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8440.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8439 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8439/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8439/comments | https://api.github.com/repos/huggingface/transformers/issues/8439/events | https://github.com/huggingface/transformers/pull/8439 | 739,907,146 | MDExOlB1bGxSZXF1ZXN0NTE4NDg3MTcz | 8,439 | Model sharing rst | {
"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 | [] | [
"Merging it now with Julien's offline approval."
] | 1,605 | 1,605 | 1,605 | MEMBER | null | Update the model sharing RST for the new model versioning. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8439/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8439",
"html_url": "https://github.com/huggingface/transformers/pull/8439",
"diff_url": "https://github.com/huggingface/transformers/pull/8439.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8439.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8438 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8438/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8438/comments | https://api.github.com/repos/huggingface/transformers/issues/8438/events | https://github.com/huggingface/transformers/issues/8438 | 739,893,503 | MDU6SXNzdWU3Mzk4OTM1MDM= | 8,438 | login to huggingface forum | {
"login": "srulikbd",
"id": 35503583,
"node_id": "MDQ6VXNlcjM1NTAzNTgz",
"avatar_url": "https://avatars.githubusercontent.com/u/35503583?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/srulikbd",
"html_url": "https://github.com/srulikbd",
"followers_url": "https://api.github.com/users/sru... | [] | closed | false | null | [] | [
"Maybe @julien-c or @Pierrci knows!",
"can you try again, just in case it was an intermittent issue?",
"Wonderful, i login with another email and it works. Thanks."
] | 1,605 | 1,605 | 1,605 | NONE | null | hey.
I'm not sure where to post it, so my apologise in advance.
I'm trying to login to huggingface forum, but it return me the message: "Unauthorized".
what can I do?
(I created a user..)
thanks. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8438/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8437 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8437/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8437/comments | https://api.github.com/repos/huggingface/transformers/issues/8437/events | https://github.com/huggingface/transformers/pull/8437 | 739,848,228 | MDExOlB1bGxSZXF1ZXN0NTE4NDM4MTQw | 8,437 | [T5Tokenizer] fix t5 token type ids | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8437/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8437",
"html_url": "https://github.com/huggingface/transformers/pull/8437",
"diff_url": "https://github.com/huggingface/transformers/pull/8437.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8437.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8436 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8436/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8436/comments | https://api.github.com/repos/huggingface/transformers/issues/8436/events | https://github.com/huggingface/transformers/pull/8436 | 739,819,087 | MDExOlB1bGxSZXF1ZXN0NTE4NDEzMzU2 | 8,436 | Windows dev section in the contributing file | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This PR adds a section for people who wants to contribute from a Windows environment. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8436/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/8436/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8436",
"html_url": "https://github.com/huggingface/transformers/pull/8436",
"diff_url": "https://github.com/huggingface/transformers/pull/8436.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8436.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8435 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8435/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8435/comments | https://api.github.com/repos/huggingface/transformers/issues/8435/events | https://github.com/huggingface/transformers/pull/8435 | 739,815,048 | MDExOlB1bGxSZXF1ZXN0NTE4NDA5OTk4 | 8,435 | [T5 Tokenizer] Fix t5 special tokens | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [] | closed | false | null | [] | [
"Fixes #7796 "
] | 1,605 | 1,605 | 1,605 | MEMBER | null | # What does this PR do?
<!--
Congratulations! You've made it this far! You're not quite done yet though.
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
Then, please replace this w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8435/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8435",
"html_url": "https://github.com/huggingface/transformers/pull/8435",
"diff_url": "https://github.com/huggingface/transformers/pull/8435.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8435.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8434 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8434/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8434/comments | https://api.github.com/repos/huggingface/transformers/issues/8434/events | https://github.com/huggingface/transformers/pull/8434 | 739,803,612 | MDExOlB1bGxSZXF1ZXN0NTE4NDAwMzg0 | 8,434 | Support serialized tokenizer in AutoTokenizer | {
"login": "gkonstanty",
"id": 3730708,
"node_id": "MDQ6VXNlcjM3MzA3MDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/3730708?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkonstanty",
"html_url": "https://github.com/gkonstanty",
"followers_url": "https://api.github.com/users... | [] | closed | false | null | [] | [
"I'm having an issue that could be fixed by this PR. I trained a BPETokinizer using the Tokenizers library, uploaded the tokenizer generated JSON file to [my HF repository](https://huggingface.co/jonatasgrosman/bartuque-bart-large-mefmt/blob/main/vocab.json) and this command:\r\n\r\n```python\r\nfrom transformers i... | 1,605 | 1,619 | 1,619 | NONE | null | # What does this PR do?
Addresses issue: https://github.com/huggingface/transformers/issues/7293
With these changes, the `AutoTokenizer.from_pretrained()` supports also loading a tokenizer, which was saved with [🤗 Tokenizers](https://github.com/huggingface/tokenizers) library.
Example:
```python
from tokenize... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8434/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/8434/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8434",
"html_url": "https://github.com/huggingface/transformers/pull/8434",
"diff_url": "https://github.com/huggingface/transformers/pull/8434.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8434.patch",
"merged_at": n... |
https://api.github.com/repos/huggingface/transformers/issues/8433 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8433/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8433/comments | https://api.github.com/repos/huggingface/transformers/issues/8433/events | https://github.com/huggingface/transformers/pull/8433 | 739,778,809 | MDExOlB1bGxSZXF1ZXN0NTE4Mzc5NjA1 | 8,433 | Replaced unnecessary iadd operations on lists in tokenization_utils.py with proper list methods | {
"login": "bombs-kim",
"id": 11001573,
"node_id": "MDQ6VXNlcjExMDAxNTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/11001573?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bombs-kim",
"html_url": "https://github.com/bombs-kim",
"followers_url": "https://api.github.com/users/... | [] | closed | false | null | [] | [
"Thanks for the quick reviews both of you!\r\n\r\n@LysandreJik \r\nI just searched the whole code and I found many more list append operations than updates through `__iadd__`. So I actually think that for consistency over the whole project scope, it may be better to use list append whenever it's applicable. If you ... | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # Replaced unnecessary iadd operations on lists in tokenization_utils.py with proper list methods
@mfuntowicz
Previously, unnecessarily many list objects are created because of list updates through iadd operations.
This is bad for the following reasons.
* It slows down the program.
* It's a substandard style.
... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8433/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8433",
"html_url": "https://github.com/huggingface/transformers/pull/8433",
"diff_url": "https://github.com/huggingface/transformers/pull/8433.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8433.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8432 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8432/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8432/comments | https://api.github.com/repos/huggingface/transformers/issues/8432/events | https://github.com/huggingface/transformers/pull/8432 | 739,748,175 | MDExOlB1bGxSZXF1ZXN0NTE4MzU0NzQx | 8,432 | Add auto next sentence prediction | {
"login": "jplu",
"id": 959590,
"node_id": "MDQ6VXNlcjk1OTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/959590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jplu",
"html_url": "https://github.com/jplu",
"followers_url": "https://api.github.com/users/jplu/followers",
... | [] | closed | false | null | [] | [] | 1,605 | 1,605 | 1,605 | CONTRIBUTOR | null | # What does this PR do?
This PR adds auto models for the next sentence prediction task.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8432/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8432",
"html_url": "https://github.com/huggingface/transformers/pull/8432",
"diff_url": "https://github.com/huggingface/transformers/pull/8432.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8432.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8431 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8431/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8431/comments | https://api.github.com/repos/huggingface/transformers/issues/8431/events | https://github.com/huggingface/transformers/issues/8431 | 739,716,272 | MDU6SXNzdWU3Mzk3MTYyNzI= | 8,431 | Get Scores for each NE Label | {
"login": "Stimmot",
"id": 29411999,
"node_id": "MDQ6VXNlcjI5NDExOTk5",
"avatar_url": "https://avatars.githubusercontent.com/u/29411999?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Stimmot",
"html_url": "https://github.com/Stimmot",
"followers_url": "https://api.github.com/users/Stimmo... | [] | closed | false | null | [] | [
"Maybe @sgugger or @jplu have an idea",
"`seqeval` can return you more information, for instance the version in the Datasets library returns all the metrics per label IIRC. The code is [here](https://github.com/huggingface/datasets/blob/8005fed0887236804a07bfdc7dc69298e15dac7c/metrics/seqeval/seqeval.py#L96), you... | 1,604 | 1,605 | 1,605 | NONE | null | I'm running the run_ner.py script to use the bert-base-german-cased transformer model in the token classification task to train it on custom NE labels and make predictions for German documents. I have 11 labels in total.
I wondered if there is any way to get prediction results (meaning loss, accuracy, precision, etc... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8431/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8430 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8430/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8430/comments | https://api.github.com/repos/huggingface/transformers/issues/8430/events | https://github.com/huggingface/transformers/issues/8430 | 739,531,342 | MDU6SXNzdWU3Mzk1MzEzNDI= | 8,430 | RAG: Explanation on Retriever Variables. | {
"login": "shamanez",
"id": 16892570,
"node_id": "MDQ6VXNlcjE2ODkyNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/16892570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shamanez",
"html_url": "https://github.com/shamanez",
"followers_url": "https://api.github.com/users/sha... | [] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"Hey @shamanez - could you please forward this question to the forum: https://discuss.huggingface.co/ . We try to keep the issues for bug reports."
] | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | Can you please explain what these terms in the RAG retrieval mean?
1. config.index_name
2. config.index_path | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8430/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8429 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8429/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8429/comments | https://api.github.com/repos/huggingface/transformers/issues/8429/events | https://github.com/huggingface/transformers/pull/8429 | 739,529,059 | MDExOlB1bGxSZXF1ZXN0NTE4MTczNTUw | 8,429 | [examples] better PL version check | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [] | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | `pkg_resources.require(f"{pkg}>={min_ver}")` does a great job of checking the minimal required versions at runtime, but I wasn't aware that it checks that the dependencies meet their requirements too! So I started getting a false alarm about needing `pytorch-lightning=1.0.4` when I already had a higher version.
The... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8429/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8429",
"html_url": "https://github.com/huggingface/transformers/pull/8429",
"diff_url": "https://github.com/huggingface/transformers/pull/8429.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8429.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8428 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8428/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8428/comments | https://api.github.com/repos/huggingface/transformers/issues/8428/events | https://github.com/huggingface/transformers/pull/8428 | 739,508,433 | MDExOlB1bGxSZXF1ZXN0NTE4MTU3MzAy | 8,428 | Add missing tasks to `pipeline` docstring | {
"login": "bryant1410",
"id": 3905501,
"node_id": "MDQ6VXNlcjM5MDU1MDE=",
"avatar_url": "https://avatars.githubusercontent.com/u/3905501?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bryant1410",
"html_url": "https://github.com/bryant1410",
"followers_url": "https://api.github.com/users... | [
{
"id": 1838412367,
"node_id": "MDU6TGFiZWwxODM4NDEyMzY3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/model%20card",
"name": "model card",
"color": "92d5f4",
"default": false,
"description": "Related to pretrained model cards"
}
] | closed | false | null | [] | [] | 1,604 | 1,605 | 1,605 | CONTRIBUTOR | null | I added missing tasks to `pipeline` docstring.
Also, I fixed some typos I found. | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8428/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8428",
"html_url": "https://github.com/huggingface/transformers/pull/8428",
"diff_url": "https://github.com/huggingface/transformers/pull/8428.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8428.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8427 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8427/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8427/comments | https://api.github.com/repos/huggingface/transformers/issues/8427/events | https://github.com/huggingface/transformers/issues/8427 | 739,364,906 | MDU6SXNzdWU3MzkzNjQ5MDY= | 8,427 | Set num_beams=4 for all Helsinki-NLP models | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [
{
"id": 2039044877,
"node_id": "MDU6TGFiZWwyMDM5MDQ0ODc3",
"url": "https://api.github.com/repos/huggingface/transformers/labels/marian",
"name": "marian",
"color": "30cc95",
"default": false,
"description": ""
}
] | closed | false | {
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"followers_url": "https://... | [
{
"login": "patrickvonplaten",
"id": 23423619,
"node_id": "MDQ6VXNlcjIzNDIzNjE5",
"avatar_url": "https://avatars.githubusercontent.com/u/23423619?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/patrickvonplaten",
"html_url": "https://github.com/patrickvonplaten",
"follo... | [
"I can do the change! Will wait until the new git model hub is merged and then apply it :-) ",
"Thanks!\n",
"Should be decently easy to do it @patrickvonplaten let me know when you get to it :)",
"This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no... | 1,604 | 1,610 | 1,610 | CONTRIBUTOR | null | Currently it is 6. Empirically, I tested 77 random models and num_beams=4 was about 50% faster and on average slightly higher BLEU (22.5 vs 22.4).
We also have @jorgtied 's approval for the change.
On slack, he wrote
> Again, no systematic evaluation - more like a feeling. I had the impression that 1 or 2 is w... | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8427/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8426 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8426/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8426/comments | https://api.github.com/repos/huggingface/transformers/issues/8426/events | https://github.com/huggingface/transformers/issues/8426 | 739,308,783 | MDU6SXNzdWU3MzkzMDg3ODM= | 8,426 | Wrong files names in model list for "xlm-roberta-large-finetuned-conll03-german" | {
"login": "padmalcom",
"id": 3961950,
"node_id": "MDQ6VXNlcjM5NjE5NTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/3961950?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/padmalcom",
"html_url": "https://github.com/padmalcom",
"followers_url": "https://api.github.com/users/pa... | [] | closed | false | null | [] | [
"Hi, what do you mean they're incorrect? Are you having issues loading the files in your `transformers` objects?",
"Hi, click on [https://huggingface.co/xlm-roberta-large-finetuned-conll03-german](https://huggingface.co/xlm-roberta-large-finetuned-conll03-german) and then on _List all files in model_ and move the... | 1,604 | 1,604 | 1,604 | NONE | null | Hi, the names of the model files for "xlm-roberta-large-finetuned-conll03-german" are incorrect and have to model name as prefix.
Example:
xlm-roberta-large-finetuned-conll03-german-config.json instead of config.json
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8426/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8425 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8425/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8425/comments | https://api.github.com/repos/huggingface/transformers/issues/8425/events | https://github.com/huggingface/transformers/pull/8425 | 739,306,488 | MDExOlB1bGxSZXF1ZXN0NTE3OTkyMjYz | 8,425 | Check all models are in an auto class | {
"login": "sgugger",
"id": 35901082,
"node_id": "MDQ6VXNlcjM1OTAxMDgy",
"avatar_url": "https://avatars.githubusercontent.com/u/35901082?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sgugger",
"html_url": "https://github.com/sgugger",
"followers_url": "https://api.github.com/users/sgugge... | [] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | COLLABORATOR | null | # What does this PR do?
Following up from @patrickvonplaten fixes, this PR adds a script to check all models are in an auto class. This way we will get a CI error if a newly added model ends up forgotten :-) | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8425/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8425",
"html_url": "https://github.com/huggingface/transformers/pull/8425",
"diff_url": "https://github.com/huggingface/transformers/pull/8425.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8425.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8424 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8424/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8424/comments | https://api.github.com/repos/huggingface/transformers/issues/8424/events | https://github.com/huggingface/transformers/issues/8424 | 739,298,069 | MDU6SXNzdWU3MzkyOTgwNjk= | 8,424 | Electra multi-gpu pretraining. | {
"login": "652994331",
"id": 51428350,
"node_id": "MDQ6VXNlcjUxNDI4MzUw",
"avatar_url": "https://avatars.githubusercontent.com/u/51428350?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/652994331",
"html_url": "https://github.com/652994331",
"followers_url": "https://api.github.com/users/... | [
{
"id": 1314768611,
"node_id": "MDU6TGFiZWwxMzE0NzY4NjEx",
"url": "https://api.github.com/repos/huggingface/transformers/labels/wontfix",
"name": "wontfix",
"color": "ffffff",
"default": true,
"description": null
}
] | closed | false | null | [] | [
"That would depend of the training script. All of our models are `nn.Module`s so all can be trained on multi-GPU, it just depends on the script. What script are you using?",
"@LysandreJik Hi, thanks for your reply, i am not pretty sure about script, what I am doing now is using TensorFlow google Electra, but it ... | 1,604 | 1,610 | 1,610 | NONE | null | Hi, I am pretraining the Electra model with my own data, for now, I am pretraining using one GPU in my machine. Can we use multi GPUs to pretrain Electra? Thanks for your reply
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8424/timeline | completed | null | null |
https://api.github.com/repos/huggingface/transformers/issues/8423 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8423/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8423/comments | https://api.github.com/repos/huggingface/transformers/issues/8423/events | https://github.com/huggingface/transformers/pull/8423 | 739,245,173 | MDExOlB1bGxSZXF1ZXN0NTE3OTQxNzAw | 8,423 | Fix bart shape comment | {
"login": "sshleifer",
"id": 6045025,
"node_id": "MDQ6VXNlcjYwNDUwMjU=",
"avatar_url": "https://avatars.githubusercontent.com/u/6045025?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sshleifer",
"html_url": "https://github.com/sshleifer",
"followers_url": "https://api.github.com/users/ss... | [] | closed | false | null | [] | [] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | fixes #8384
Before transpose , shape of x and encoder_hidden_states are both (BS, seq_len, model_dim) to me.
| {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8423/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8423",
"html_url": "https://github.com/huggingface/transformers/pull/8423",
"diff_url": "https://github.com/huggingface/transformers/pull/8423.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8423.patch",
"merged_at": 1... |
https://api.github.com/repos/huggingface/transformers/issues/8422 | https://api.github.com/repos/huggingface/transformers | https://api.github.com/repos/huggingface/transformers/issues/8422/labels{/name} | https://api.github.com/repos/huggingface/transformers/issues/8422/comments | https://api.github.com/repos/huggingface/transformers/issues/8422/events | https://github.com/huggingface/transformers/pull/8422 | 739,241,861 | MDExOlB1bGxSZXF1ZXN0NTE3OTM4OTk5 | 8,422 | [docs] [testing] gpu decorators table | {
"login": "stas00",
"id": 10676103,
"node_id": "MDQ6VXNlcjEwNjc2MTAz",
"avatar_url": "https://avatars.githubusercontent.com/u/10676103?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stas00",
"html_url": "https://github.com/stas00",
"followers_url": "https://api.github.com/users/stas00/fo... | [] | closed | false | null | [] | [
"Thanks Stas!"
] | 1,604 | 1,604 | 1,604 | CONTRIBUTOR | null | This PR adds a table of gpu requirement decorators that perhaps is easier to grasp quickly in addition to the prose version.
(based on the discussion [here](https://github.com/huggingface/transformers/pull/8341#issuecomment-723705104))
@sgugger | {
"url": "https://api.github.com/repos/huggingface/transformers/issues/8422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/huggingface/transformers/issues/8422/timeline | null | false | {
"url": "https://api.github.com/repos/huggingface/transformers/pulls/8422",
"html_url": "https://github.com/huggingface/transformers/pull/8422",
"diff_url": "https://github.com/huggingface/transformers/pull/8422.diff",
"patch_url": "https://github.com/huggingface/transformers/pull/8422.patch",
"merged_at": 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.