Connect a model
Huggingface example
curl --request POST \
--url https://api.scorable.ai/v1/models/ \
--header 'Authorization: Api-Key $SCORABLE_API_KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"name": "huggingface/meta-llama/Meta-Llama-3-8B",
"url": "https://my-endpoint.huggingface.cloud",
"default_key": "$HF_KEY"
}
'skill = client.evaluators.create(
name="My model test", prompt="Hello, my model!", model="huggingface/meta-llama/Meta-Llama-3-8B"
)Last updated