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 nateraw/axolotl-trainer using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"nateraw/axolotl-trainer:2805a0dd68b361a3a77fcbbcca4590ef5165b4c668ce790571c3ff820e360fc4",
input={
"top_k": 50,
"top_p": 0.95,
"do_sample": True,
"temperature": 0.7,
"max_new_tokens": 512,
"prompt_template": "{prompt}"
}
)
# The nateraw/axolotl-trainer 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/nateraw/axolotl-trainer/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 L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.