Readme
This model doesn't have a readme.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run cbh123/bfirsh-slackbot using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"cbh123/bfirsh-slackbot:dce9d09743c2f044937adcf80611753ed6df0e81af7739fcaa9e960eb32d6a62",
input={
"debug": False,
"top_k": 50,
"top_p": 0.9,
"temperature": 0.75,
"system_prompt": "You are a helpful assistant.",
"max_new_tokens": 128,
"min_new_tokens": -1
}
)
# The cbh123/bfirsh-slackbot model can stream output as it's running.
# The predict method returns an iterator, and you can iterate over that output.
for item in output:
# https://replicate.com/cbh123/bfirsh-slackbot/api#output-schema
print(item, end="")
To learn more, take a look at the guide on getting started with Python.
No output yet! Press "Submit" to start a prediction.
This model runs on Nvidia A100 (80GB) GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.