Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/api-inference/tasks/table-question-answering.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ To use the JavaScript client, see `huggingface.js`'s [package reference](https:/
| **        table*** | _object_ | The table to serve as context for the questions |
| **        question*** | _string_ | The question to be answered about the table |
| **parameters** | _object_ | |
| **        padding** | _enum_ | Possible values: do_not_pad, longest, max_length. |
| **        sequential** | _boolean_ | Whether to do inference sequentially or as a batch. Batching is faster, but models like SQA require the inference to be done sequentially to extract relations within sequences, given their conversational nature. |
| **        truncation** | _boolean_ | Activates and controls truncation. |


Some options can be configured by passing headers to the Inference API. Here are the available headers:
Expand Down
2 changes: 1 addition & 1 deletion scripts/api-inference/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@huggingface/tasks": "^0.13.8",
"@huggingface/tasks": "^0.13.9",
"@types/node": "^22.5.0",
"handlebars": "^4.7.8",
"node": "^20.17.0",
Expand Down
10 changes: 5 additions & 5 deletions scripts/api-inference/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading