cURL
curl --request DELETE \ --url https://app.empower.dev/api/v1/lora/{name} \ --header 'Authorization: Bearer <token>'
{ "name": "custom_mistral_7b_lora", "unit_price": 123, "active_deployment": { "base_model_name": "meta-llama/Llama-2-7b-chat-hf", "created_at": 1706652711, "creator": { "actor_type": "USER", "api_key": { "name": "<string>" }, "user": { "first_name": "<string>", "last_name": "<string>", "email": "<string>", "profile_image_url": "<string>" } }, "model_name": "IlyaGusev/saiga_mistral_7b_lora", "model_source": "HF_HUB", "hf_revision": "c1b0db933684edbfe29a06fa47eb19cc48025e93" } }
Delete a LoRA
Delete the specific LoRA.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Name of the LoRA
Lora is deleted successfully.
Name of the LoRA, used as the unique identifier.
"custom_mistral_7b_lora"
Current active deployment of the LoRA.
Show child attributes
Name of the base model the LoRA is based on.
"meta-llama/Llama-2-7b-chat-hf"
Unix timestamp of when the deployment is created.
1706652711
Creator of the deployment.
USER
API_KEY
OFFICIAL
Information of the api key, valid when actor_type is API_KEY.
Information of the user actor, valid when actor_type is USER.
Full name of the model. For Hugging Face model, use the Hugging Face repository id as the name.
"IlyaGusev/saiga_mistral_7b_lora"
Source of the model, currently only HF_HUB (Hugging Face hub) is supported.
HF_HUB
Hugging Face repository revision, valid for Hugging Face models only.
"c1b0db933684edbfe29a06fa47eb19cc48025e93"