{"id":1220,"date":"2023-01-03T09:18:14","date_gmt":"2023-01-03T09:18:14","guid":{"rendered":"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/"},"modified":"2025-05-28T06:32:35","modified_gmt":"2025-05-28T06:32:35","slug":"how-can-i-train-my-own-open-ai","status":"publish","type":"kbx_knowledgebase","link":"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/","title":{"rendered":"How can I Fine Tune or Train my own OpenAI?"},"content":{"rendered":"<p><strong>To train Open AI<\/strong><\/p>\n<ul>\n<li>\n<ul>\n<li>a. To train or fine tune a model, 1st you need to:\n<ol>\n<li>Gather the necessary data you want to train with<\/li>\n<li>Format the data correctly according to OpenAI API requirements (Download sample data format to see how it works). A dataset should have a at least 500 rows to offer useful results. According to the OpenAI documentation, numbers of 3,000 and 5,000 rows are recommended.<\/li>\n<li>Upload the data to OpenAI in .JSONL format<\/li>\n<li>Train an existing OpenAI model(select from the Bot OpenAI settings page) with your data<\/li>\n<\/ol>\n<\/li>\n<li>b. Once you have your JSONL file ready, please go to the Training model section. Upload your training file in .JSONL format.<\/li>\n<li>c. Once you upload your training file, it will return a file id and the training will start once you click the Create FT Model button. Set a suffix (to recognize the model yourself later) and base model in the popup and create.<\/li>\n<li>d. Once the training is done and the file is ready, it will return the fine tuned model. It will be listed under the Fine Tuned Models List, the status will be shown as &#8220;Succeeded&#8221; and you will also get a FT(Fine Tuned) Model ID (to copy to the settings page).<\/li>\n<li>e. You can create multiple Fine Tuned models following the above procedure. Copy the Fine Tuned model ID you want to use.<\/li>\n<li>f. Go to the main Bot OpenAI settings page and paste the Fine Tuned model ID to the Custom Fine Tuned Model field and save. Now the bot will start responding according to the Training data.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><strong>Example:<\/strong><\/p>\n<p><code>{\"prompt\": \"puppy A is happy\", \"completion\": \"emotional state of puppy A\"}<\/code><br \/>\n<code>{\"prompt\": \"puppy B is sad\", \"completion\": \"emotional state of puppy B\"}<\/code><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/wpbot.pro\/myfile.jsonl\" download=\"\">Right click and Save the Example jsonl file<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To train Open AI a. To train or fine tune a model, 1st you need to: Gather the necessary data [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"kbx_category":[23],"kbx_tag":[],"class_list":["post-1220","kbx_knowledgebase","type-kbx_knowledgebase","status-publish","hentry","kbx_category-open-ai"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How can I Fine Tune or Train my own OpenAI? - WPBot Pro Docs<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How can I Fine Tune or Train my own OpenAI? - WPBot Pro Docs\" \/>\n<meta property=\"og:description\" content=\"To train Open AI a. To train or fine tune a model, 1st you need to: Gather the necessary data [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/\" \/>\n<meta property=\"og:site_name\" content=\"WPBot Pro Docs\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-28T06:32:35+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/how-can-i-train-my-own-open-ai\\\/\",\"url\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/how-can-i-train-my-own-open-ai\\\/\",\"name\":\"How can I Fine Tune or Train my own OpenAI? - WPBot Pro Docs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/#website\"},\"datePublished\":\"2023-01-03T09:18:14+00:00\",\"dateModified\":\"2025-05-28T06:32:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/how-can-i-train-my-own-open-ai\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/how-can-i-train-my-own-open-ai\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/how-can-i-train-my-own-open-ai\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledgebase\",\"item\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How can I Fine Tune or Train my own OpenAI?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/#website\",\"url\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/\",\"name\":\"Get the #1 ChatBot for WordPress \u2013 WPBot\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/#\\\/schema\\\/person\\\/770bebd298cfb4e7525960a804bfd88d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/#\\\/schema\\\/person\\\/770bebd298cfb4e7525960a804bfd88d\",\"name\":\"WPBot\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/chatbot-for-wordpress-wpbot-logo-1.png\",\"url\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/chatbot-for-wordpress-wpbot-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/chatbot-for-wordpress-wpbot-logo-1.png\",\"width\":202,\"height\":70,\"caption\":\"WPBot\"},\"logo\":{\"@id\":\"https:\\\/\\\/wpbot.pro\\\/docs\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/chatbot-for-wordpress-wpbot-logo-1.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How can I Fine Tune or Train my own OpenAI? - WPBot Pro Docs","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/","og_locale":"en_US","og_type":"article","og_title":"How can I Fine Tune or Train my own OpenAI? - WPBot Pro Docs","og_description":"To train Open AI a. To train or fine tune a model, 1st you need to: Gather the necessary data [&hellip;]","og_url":"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/","og_site_name":"WPBot Pro Docs","article_modified_time":"2025-05-28T06:32:35+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/","url":"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/","name":"How can I Fine Tune or Train my own OpenAI? - WPBot Pro Docs","isPartOf":{"@id":"https:\/\/wpbot.pro\/docs\/#website"},"datePublished":"2023-01-03T09:18:14+00:00","dateModified":"2025-05-28T06:32:35+00:00","breadcrumb":{"@id":"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpbot.pro\/docs\/knowledgebase\/how-can-i-train-my-own-open-ai\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpbot.pro\/docs\/"},{"@type":"ListItem","position":2,"name":"Knowledgebase","item":"https:\/\/wpbot.pro\/docs\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"How can I Fine Tune or Train my own OpenAI?"}]},{"@type":"WebSite","@id":"https:\/\/wpbot.pro\/docs\/#website","url":"https:\/\/wpbot.pro\/docs\/","name":"Get the #1 ChatBot for WordPress \u2013 WPBot","description":"","publisher":{"@id":"https:\/\/wpbot.pro\/docs\/#\/schema\/person\/770bebd298cfb4e7525960a804bfd88d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpbot.pro\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/wpbot.pro\/docs\/#\/schema\/person\/770bebd298cfb4e7525960a804bfd88d","name":"WPBot","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/09\/chatbot-for-wordpress-wpbot-logo-1.png","url":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/09\/chatbot-for-wordpress-wpbot-logo-1.png","contentUrl":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/09\/chatbot-for-wordpress-wpbot-logo-1.png","width":202,"height":70,"caption":"WPBot"},"logo":{"@id":"https:\/\/wpbot.pro\/docs\/wp-content\/uploads\/2024\/09\/chatbot-for-wordpress-wpbot-logo-1.png"}}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/1220","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase"}],"about":[{"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/types\/kbx_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/comments?post=1220"}],"version-history":[{"count":2,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/1220\/revisions"}],"predecessor-version":[{"id":1275,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_knowledgebase\/1220\/revisions\/1275"}],"wp:attachment":[{"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/media?parent=1220"}],"wp:term":[{"taxonomy":"kbx_category","embeddable":true,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_category?post=1220"},{"taxonomy":"kbx_tag","embeddable":true,"href":"https:\/\/wpbot.pro\/docs\/wp-json\/wp\/v2\/kbx_tag?post=1220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}