tanay/layoutlm-custom

`tanay/layoutlm-custom` powered by Hugging Face Inference Toolkit - [Original Model Card](https://huggingface.co/tanay/layoutlm-custom) - [`token-classification` Task on Hugging Face](https://hugging…

azureFoundry/HuggingFace/tanay-layoutlm-custom@2

`tanay/layoutlm-custom` powered by Hugging Face Inference Toolkit

- [Original Model Card](https://huggingface.co/tanay/layoutlm-custom) - [`token-classification` Task on Hugging Face](https://huggingface.co/tasks/token-classification)

### Send Request

You can use cURL or any REST Client to send a request to the AzureML endpoint with your AzureML token.

```bash curl <AZUREML_ENDPOINT_URL> \ -X POST \ -H "Authorization: Bearer <AZUREML_TOKEN>" \ -H "Content-Type: application/json" \ -d '{"inputs":"My name is Sarah Jessica Parker but you can call me Jessica"}' ```

### Supported Parameters

- **inputs** (string): The input text data - **parameters** (object): - **ignore_labels** (string[]): A list of labels to ignore - **stride** (integer): The number of overlapping tokens between chunks when splitting the input text. - **aggregation_strategy** (string): One of the following: - **none**: Do not aggregate tokens - **simple**: Group consecutive tokens with the same label in a single entity. - **first**: Similar to "simple", also preserves word integrity (use the label predicted for the first token in a word). - **average**: Similar to "simple", also preserves word integrity (uses the label with the highest score, averaged across the word’s tokens). - **max**: Similar to "simple", also preserves word integrity (uses the label with the highest score across the word’s tokens).

Check the full API Specification at [the Hugging Face Inference documentation](https://huggingface.co/docs/inference-providers/tasks/token-classification#api-specification).

Specifications & capabilities

Published model ID
layoutlm-custom

Provider specifications & access

1–1 / 1

tanay/layoutlm-custom ↗

source model id
HuggingFace/tanay-layoutlm-custom@2
hosting
foundry-managed-compute
platforms
  • Microsoft Foundry
license
unknown
architecture
input_modalities
    output_modalities
      capabilities

        Original sources

        1–4 / 4

        Hugging Face · tanay/layoutlm-custom ↗

        Microsoft Foundry · Model page ↗

        Microsoft Foundry · Model documentation ↗

        Microsoft Foundry · Catalog ↗

        Source links

        1–1 / 1

        Explore more models

        Models

        Loading
        EVIDENCE / COMPARISON

        Benchmarks

        Explore every benchmark

        Loading

        These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

        Install TensorTrace