| dragon_publish | R Documentation |
Uploads a run's model as a repo on the Hugging Face Hub, ready for any
hosted inference: a dedicated Inference Endpoint behind
dragon_backend_server(), transformers-cli, or any tool that loads a
model by repo id. The repo is created if it does not exist.
dragon_publish(
run,
repo,
what = c("merged", "adapter"),
private = FALSE,
commit_message = NULL
)
run |
A |
repo |
A repo id, |
what |
What to push. |
private |
Create the repo as private. |
commit_message |
Defaults to a message naming the run and the stage. |
The repo URL, invisibly.
if (interactive()) {
dragon_publish(run, "yourname/support-agent-0.5b")
dragon_publish(run, "yourname/support-agent-0.5b-adapter", what = "adapter")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.