Skip to main content

Model

co model#

View and experiment with models.

Options

-h, --help help for model

co model choose-best#

Get the likelihood of a string.

co model choose-best [model_name] [query] [options...] [flags]

Options

-h, --help help for choose-best
--mode string mode of choose best, one of PREPEND_OPTION|APPEND_OPTION (default "APPEND_OPTION")

co model embed#

Get embeddings from a model.

co model embed [model_name] [texts...] [flags]

Options

-h, --help help for embed

co model generate#

Generate from a model.

co model generate [model_name] [prompt] [flags]

Options

--frequency-penalty float32 frequency penalty
-h, --help help for generate
-k, --k int k value
-t, --max-tokens int number of tokens to return (default 30)
-p, --p float32 p value
--presence-penalty float32 presence penalty
--return-likelihoods string return likelihoods
--stop-sequences string stop sequences
--temperature float32 temperature of request (default 1)

co model likelihood#

Get the likelihood of a string and of each of its tokens.

co model likelihood [model_name] [text] [flags]

Options

-h, --help help for likelihood

co model list#

List names of available models.

co model list [flags]

Options

-h, --help help for list

co model similarity-rank#

Rank the similarities of space separated targets to an anchor.

co model similarity-rank [model_name] [anchor] [targets...] [flags]

Options

-h, --help help for similarity-rank

co model similarity#

Measure the similarity between two strings.

co model similarity [model_name] [anchor] [target] [flags]

Options

-h, --help help for similarity