Skip to main content
Module

x/bertml/mod.ts

Use common pre-trained ML models in Deno!
Latest
import * as bertml from "https://deno.land/x/bertml@v0.1.0-alpha2/mod.ts";

Classes

A structure for holding a conversation and its history.

A class for managing conversations.

A class for interacting with the conversation model.

c
Model
abstract

Provides an abstraction for creating models that run on the same native thread (but don't block the JS thread).

A model for finding the part of speech of words in a centain.

A model used for finding the answer within a context for inputs.

A model used to calculate the given sentiment of inputs.

A model for generating text off of a given input.

A model for translating text from any of the given source languages to any of the given target languages.

A model for creating custom labels and checking to see if these labels can be matched on certain inputs.

Enums

Describes the spectrum that the sentiment points towards.

Interfaces

An entity that describes the part of speech of a word.

A query for the prediction.

Describes the sentiment of a given input.