jyoung105 / pixtral-12b

(Updated 8 months ago)

  • Public
  • 334 runs
  • A100 (80GB)
Iterate in playground

Input

pip install replicate
Set the REPLICATE_API_TOKEN environment variable:
export REPLICATE_API_TOKEN=<paste-your-token-here>

Find your API token in your account settings.

Import the client:
import replicate

Run jyoung105/pixtral-12b using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

output = replicate.run(
    "jyoung105/pixtral-12b:e37909273d44c874648119b2e6178ec20596203fc2694902cbc70de201475821",
    input={
        "prompt": "Describe this image.",
        "max_tokens": 500,
        "temperature": 0
    }
)
print(output)

To learn more, take a look at the guide on getting started with Python.

Output

No output yet! Press "Submit" to start a prediction.

Run time and cost

This model costs approximately $0.0024 to run on Replicate, or 416 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 A100 (80GB) GPU hardware. Predictions typically complete within 2 seconds.

Readme

This model doesn't have a readme.