diff --git a/docs/api-inference/tasks/table-question-answering.md b/docs/api-inference/tasks/table-question-answering.md index b645a76e3..55608ed25 100644 --- a/docs/api-inference/tasks/table-question-answering.md +++ b/docs/api-inference/tasks/table-question-answering.md @@ -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: diff --git a/scripts/api-inference/package.json b/scripts/api-inference/package.json index f86db5d55..12695c2b7 100644 --- a/scripts/api-inference/package.json +++ b/scripts/api-inference/package.json @@ -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", diff --git a/scripts/api-inference/pnpm-lock.yaml b/scripts/api-inference/pnpm-lock.yaml index 8c4c0336c..665ac25c5 100644 --- a/scripts/api-inference/pnpm-lock.yaml +++ b/scripts/api-inference/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@huggingface/tasks': - specifier: ^0.13.8 - version: 0.13.8 + specifier: ^0.13.9 + version: 0.13.9 '@types/node': specifier: ^22.5.0 version: 22.5.0 @@ -186,8 +186,8 @@ packages: cpu: [x64] os: [win32] - '@huggingface/tasks@0.13.8': - resolution: {integrity: sha512-ozfDHYzdHXoinlHmcIhlvTicipmVB01YVGSb8vT94m+NrDDYQHsyihh3ZvJ0MiKfgQi7KDpzKiGfPFP2BjxxDg==} + '@huggingface/tasks@0.13.9': + resolution: {integrity: sha512-HlkhTxe0SeiZ1YkzXOReD2nWrEXcFfLi8TWrc62MUguFnNmqq9Ni5zOiG4kYghqfi6ZeCGNDTL63ah++tjbDwQ==} '@jridgewell/resolve-uri@3.1.2': resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} @@ -404,7 +404,7 @@ snapshots: '@esbuild/win32-x64@0.23.1': optional: true - '@huggingface/tasks@0.13.8': {} + '@huggingface/tasks@0.13.9': {} '@jridgewell/resolve-uri@3.1.2': {}