# Custom Fine-tune names

**URL:** <https://community.openai.com/t/custom-fine-tune-names/15787>\
**Category:** Announcements\
**Created:** [March 5, 2022, 2:22am UTC](https://community.openai.com/t/custom-fine-tune-names/15787 "2022-03-05T02:22:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![luke](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/luke/32/29_2.png) [@luke](https://community.openai.com/u/luke)\
**Post date:** [March 5, 2022, 2:22am UTC](https://community.openai.com/t/custom-fine-tune-names/15787/1 "2022-03-05T02:22:28Z")

</div>

Hi everyone! Quick update, we’ve added the ability to customize your fine-tune model names with a [suffix parameter](https://beta.openai.com/docs/guides/fine-tuning/customize-your-model-name).

```auto
openai api fine_tunes.create -t test.jsonl -m ada --suffix "custom model name"

```

Would create a model named:

```auto
ada:ft-your-org:custom-model-name-2022-02-15-04-21-04

```

Have a great weekend!

(PS remember to upgrade first: pip install --upgrade openai)

---

<div class="post-metadata">

**Author:** ![daveshapautomator](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/daveshapautomator/32/8779_2.png) [@daveshapautomator](https://community.openai.com/u/daveshapautomator)\
**Post date:** [March 5, 2022, 2:06pm UTC](https://community.openai.com/t/custom-fine-tune-names/15787/2 "2022-03-05T14:06:30Z")

</div>

Whooo, I remember asking for this feature, thank you!

---

<div class="post-metadata">

**Author:** ![PaulBellow](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/paulbellow/32/597962_2.png) [@PaulBellow](https://community.openai.com/u/PaulBellow)\
**Post date:** [March 5, 2022, 11:24pm UTC](https://community.openai.com/t/custom-fine-tune-names/15787/3 "2022-03-05T23:24:28Z")

</div>

Thanks so much. I _almost_ had the long-names memorized! haha

Keep up the great work!

---

<div class="post-metadata">

**Author:** ![antonio.ciolino](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/antonio.ciolino/32/4230_2.png) [@antonio.ciolino](https://community.openai.com/u/antonio.ciolino)\
**Post date:** [March 7, 2022, 1:19am UTC](https://community.openai.com/t/custom-fine-tune-names/15787/4 "2022-03-07T01:19:09Z")

</div>

Phew! Thank you for the update!

---

<div class="post-metadata">

**Author:** ![daveshapautomator](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/daveshapautomator/32/8779_2.png) [@daveshapautomator](https://community.openai.com/u/daveshapautomator)\
**Post date:** [March 11, 2022, 7:29am UTC](https://community.openai.com/t/custom-fine-tune-names/15787/5 "2022-03-11T07:29:19Z")

</div>

Does this only work in the CLI? Would it work using the REST API? Or does the CLI use the REST API? I was only able to find the suffix mentioned in this context in one location in the github repo:

> <https://github.com/openai/openai-python/blob/54852345065612bebfe26ad3d02cff1794abcafc/openai/cli.py>

I see the suffix mentioned here: [OpenAI API](https://beta.openai.com/docs/api-reference/fine-tunes/create#fine-tunes/create-suffix)

In short, would the following snippet work?

```auto
payload = {'training_file': fileid, 'model': model, 'suffix': suffix}
resp = requests.request(method='POST', url='https://api.openai.com/v1/fine-tunes', json=payload, headers=header, timeout=45)

```

UPDATE: I answered my own question. Yes, the above code worked! 😃

---

<div class="post-metadata">

**Author:** ![galileo.returns](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/galileo.returns/32/157673_2.png) [@galileo.returns](https://community.openai.com/u/galileo.returns)\
**Post date:** [June 19, 2023, 2:57pm UTC](https://community.openai.com/t/custom-fine-tune-names/15787/6 "2023-06-19T14:57:57Z")

</div>

Hi, is there a way to rename an existing fine-tuned model ?

---

<div class="post-metadata">

**Author:** ![Thiago](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/thiago/32/14086_2.png) [@Thiago](https://community.openai.com/u/Thiago)\
**Post date:** [June 25, 2023, 2:11am UTC](https://community.openai.com/t/custom-fine-tune-names/15787/7 "2023-06-25T02:11:17Z")

</div>

Thank you! Seems very interesting.
