我想要一天分享一點「LLM從底層堆疊的技術」,並且每篇文章長度控制在三分鐘以內,讓大家不會壓力太大,但是又能夠每天成長一點。
先列出目前擁有的材料:
您還可以存取模型資訊、取消作業以及刪除微調模型,為此,請仔細啟動維護功能:
from openai import OpenAI
client = OpenAI()
maintenance = False
if maintenance is True:
# List 10 fine-tuning jobs
client.fine_tuning.jobs.list(limit = 10)
# Retrieve the state of a fine-tune
client.fine_tuning.jobs.retrieve("ftjob-your job")
# Cancel a job
client.fine_tuning.jobs.cancel("ftjob-your job")
# List up to 10 events from a fine-tuning job
client.fine_tuning.jobs.list_events(fine_tuning_job_id = "ftjob-your job", limit = 10)
# Delete a fine-tuned model
client.models.delete("your model")
更多 OpenAI 的服務見:https://platform.openai.com/docs/ guides/fine-tuning/