Readme
This model doesn't have a readme.
pip install replicateREPLICATE_API_TOKEN environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>Find your API token in your account settings.
import replicateRun ruben-svensson/llama2-aqua-test1 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"ruben-svensson/llama2-aqua-test1:c2aa14c1804195352588a27e0a1c7aef1db863fd36ba014d07896c18954cbbe4",
input={
"debug": False,
"top_k": 50,
"top_p": 0.9,
"temperature": 0.75,
"max_new_tokens": 128,
"min_new_tokens": -1
}
)
# The ruben-svensson/llama2-aqua-test1 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/ruben-svensson/llama2-aqua-test1/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 costs approximately $0.0012 to run on Replicate, or 833 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 2 seconds.
This model doesn't have a readme.