hamelsmu / test

  • Public
  • 0 runs
  • L40S

Input

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

Find your API token in your account settings.

Run hamelsmu/test using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.

curl -s -X POST \
  -H "Authorization: Bearer $REPLICATE_API_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Prefer: wait" \
  -d $'{
    "version": "6cd259b26fe632985540d64adeb6061df57bcb546b03d902d7d380aeafb45480",
    "input": {
      "top_k": 50,
      "top_p": 0.95,
      "do_sample": true,
      "temperature": 0.7,
      "max_new_tokens": 512,
      "prompt_template": "### System:\\nBelow is an instruction that describes a task. Write a response that appropriately completes the request.\\n\\n### Instruction:\\nTranslate the input from English to Hinglish\\n\\n### Input:\\n{prompt}\\n\\n### Response:\\n "
    }
  }' \
  https://api.replicate.com/v1/predictions

To learn more, take a look at Replicate’s HTTP API reference docs.

Output

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

Run time and cost

This model runs on Nvidia L40S GPU hardware. We don't yet have enough runs of this model to provide performance information.

Readme

This model doesn't have a readme.