Skip to main content

distilbert_sst_2_int8

Creates, updates, deletes, gets or lists a distilbert_sst_2_int8 resource.

Overview

Namedistilbert_sst_2_int8
TypeResource
Idcloudflare.ai.distilbert_sst_2_int8

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
workers_ai_post_run_cf_huggingface_distilbert_sst_2_int8insertaccount_id, textqueueRequest, tagsRuns inference on the @cf/huggingface/distilbert-sst-2-int8 model.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
queueRequeststring
tagsstring

INSERT examples

Runs inference on the @cf/huggingface/distilbert-sst-2-int8 model.

INSERT INTO cloudflare.ai.distilbert_sst_2_int8 (
text,
account_id,
queueRequest,
tags
)
SELECT
'{{ text }}' /* required */,
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;