trl-internal-testing/tiny-BartModel

`trl-internal-testing/tiny-BartModel` powered by Hugging Face Inference Toolkit - [Original Model Card](https://huggingface.co/trl-internal-testing/tiny-BartModel) - [`feature-extraction` Task on Hug…

azureFoundry/HuggingFace/trl-internal-testing-tiny-bartmodel@2

`trl-internal-testing/tiny-BartModel` powered by Hugging Face Inference Toolkit

- [Original Model Card](https://huggingface.co/trl-internal-testing/tiny-BartModel) - [`feature-extraction` Task on Hugging Face](https://huggingface.co/tasks/feature-extraction)

### 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":"Today is a sunny day and I will get some ice cream."}' ```

### Supported Parameters

- **inputs** (string or string[]): Either the text to create the embeddings for, or a list of texts. - **normalize** (boolean): Whether to normalize the embedding to be generated or not. - **prompt_name** (string): The name of the prompt that should be used by for encoding. If not set, no prompt will be applied. Must be a key in the sentence-transformers configuration prompts dictionary. For example if prompt_name is "query" and the prompts is {"query": "query: ", …}, then the sentence "What is the capital of France?" will be encoded as "query: What is the capital of France?" because the prompt text will be prepended before any text to encode. - **truncate** (boolean): Whether to truncate the input to match the max allowed input tokens or not. - **truncation_direction** (enum): Possible values: Left, Right.

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

Specifications & capabilities

Input
text
Output
embeddings
Published model ID
tiny-BartModel
Capabilities
embeddings

Provider specifications & access

1–2 / 2

trl-internal-testing/tiny-BartModel ↗

source model id
HuggingFace/trl-internal-testing-tiny-bartmodel@1
hosting
foundry-managed-compute
platforms
  • Microsoft Foundry
license
unknown
architecture
input_modalities
  • text
output_modalities
  • embeddings
capabilities

    trl-internal-testing/tiny-BartModel ↗

    source model id
    HuggingFace/trl-internal-testing-tiny-bartmodel@2
    hosting
    foundry-managed-compute
    platforms
    • Microsoft Foundry
    license
    unknown
    architecture
    input_modalities
    • text
    output_modalities
    • embeddings
    capabilities

      Original sources

      1–5 / 5

      Hugging Face · trl-internal-testing/tiny-BartModel ↗

      Microsoft Foundry · Model page ↗

      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