Inference

You can generate predictions from your models on your data by deploying it to an endpoint. SambaStudio provides two in-platform experiences for generating predictions:

  1. The Try It experience, for use with non-generative tasks, which is described in this document.

  2. The Playground experience for generative tuning tasks. See the Playground document for detailed information and instructions on using the Playground for generative inference.

Task inference

For non-generative tasks, the Try It feature provides an in-platform prediction generation experience. To use the Try It feature and generate predictions, your endpoint must have reached the Live status. Follow the steps below to use the Try It feature to generate predictions.

See the Create and use endpoints document for information on how to use endpoints in the platform.

  1. From an Endpoint window, click the Try It button.

    Try it button
    Figure 1. Try It button
    1. The Try It window will open.

  2. Input text into the Try It window to use the following options:

    1. Click the Run button to view a response relative to the endpoint’s task.

    2. Click the Curl command, CLI Command, and Python SDK buttons to view how to make a request programmatically for each option.

    3. Click the copy icon to copy the selected command to your clipboard.

      Try It Curl
      Figure 2. Try It with inputted text and curl command