RedPajama-INCITE-7B-Base
model to complete the phrase “Space robots are”.
For the full API reference go to API Reference.
Pre-requisites
- Make sure you have Python installed in your CLI.
- Obtain an API key from Together to access the Inference API by signing up.
Install the Library
Launch your terminal and install or update the Together CLI by executing the following command:Authenticate
The API Key can be configured by setting theTOGETHER_API_KEY
environment variable, like this:
Query a chat model
Query a chat model by running the following command.--no-stream
.
Query a language or code model
To run a completion for a language or code model, use thecompletions
method in the CLI.
--no-stream
.
Query an image model
To query an image model, use theimages
method in the CLI.
--no-show
.