titocosta / meditron

Meditron-7B-v1.0 from Meditron's open-source suite of medical LLMs.

  • Public
  • 1.7K runs
  • GitHub
  • Paper

Run titocosta/meditron with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Prompt
prompt_template
string
<|im_start|>system {system_message}<|im_end|> <|im_start|>question {prompt}<|im_end|> <|im_start|>answer
Prompt template
system_message
string
You are a helpful AI assistant trained in the medical domain
System message
max_new_tokens
integer
512
The maximum number of tokens the model should generate as output.
temperature
number
0.2
Model temperature
top_p
number
0.95
Top P
top_k
integer
50
Top K

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "array",
  "items": {
    "type": "string"
  },
  "title": "Output",
  "x-cog-array-type": "iterator",
  "x-cog-array-display": "concatenate"
}