Ankur Goyal
Ankur Goyal
# What does this PR do? This PR adds a `LayoutLMForQuestionAnswering` class that follows the implementations of `LayoutLMv2ForQuestionAnswering` and `LayoutLMv3ForQuestionAnswering`, so that `LayoutLM` can be fine-tuned for the question answering...
### System Info - `transformers` version: 4.21.1 - Platform: macOS-12.4-arm64-arm-64bit - Python version: 3.10.5 - Huggingface_hub version: 0.8.1 - PyTorch version (GPU?): 1.12.1 (False) - Tensorflow version (GPU?): not installed...
# What does this PR do? This PR extends VisualQuestionAnsweringPipeline to accept `words` and `boxes` as input, passes them into the tokenizer/model (along with the question), and post-processes their `QuestionAnsweringModelOutput`...
### System Info In the text_generation docs (https://huggingface.co/docs/transformers/main_classes/text_generation), `use_cache` does not show up as its own line in the list of parameters. I think this is a small typo due...
### Describe the bug If you create a `DataFrame` with a certain number of `max_rows`, it still shows all of the original rows. I found https://github.com/gradio-app/gradio/issues/1201, which says they're not...
### Describe the bug If something errors out in a block, it crashes trying to access `show_error` (which I believe exists on the `Interface` object). ### Is there an existing...
Fixes #48 by simply piping stderr and stdout to /dev/null.
- [x] I have searched to see if a similar issue already exists. **Is your feature request related to a problem? Please describe.** I'm working on a gradio demo that...
### Feature request PR https://github.com/huggingface/transformers/pull/18414 has a number of TODOs left over which we'd like to track as follow up tasks. ## Pipeline - [x] Add support for documents which...
Version: Deno 1.39.4 Here is a trivial notebook:  `a` is defined, but in a previous cell: 