Riku.AI
  • Welcome to Riku.AI
  • Fundamentals of Riku
    • Connecting Keys
      • Connecting Aleph Alpha Keys
      • Connecting Muse API Keys
      • Connecting OpenAI Keys
      • Connecting Cohere Keys
      • Connecting AI21 Keys
  • Basics of AI
    • Defining Key Terms
    • Winning with Text Based AI
    • Prompt Building 101
    • Common Issues & Errors
    • Ethical Considerations
  • Exporting Prompts
    • Single Endpoint Export
      • Getting Prompt IDs
      • Structuring the Request
      • Understanding Input Fields
      • Full Example Export
  • Technology Overview
    • OpenAI
    • Cohere
    • AI21
    • EleutherAI
    • Aleph Alpha
    • Muse API
  • Importing Fine-tunes
    • Introduction to Fine-tuning
      • Importing from OpenAI
      • Importing from Cohere
      • Importing from AI21
  • Riku's Playground
    • Creating Prompts
    • Saving & Sharing Prompts
    • Community Showcase
    • Private Prompts
    • Execute Prompts
    • Code Export
Powered by GitBook
On this page
  1. Importing Fine-tunes
  2. Introduction to Fine-tuning

Importing from AI21

PreviousImporting from CohereNextCreating Prompts

Last updated 2 years ago

AI21 allow you to create fine-tunes for all of their standard models. You can currently do this on the Cohere website by selecting a file and uploading it, code isn't required. We are working on building a no-code friendly UX for this directly within Riku but for now, if you have created a fine-tune with AI21, you can import those models into Riku for your use.

To get started with importing your AI21 fine-tuned models into Riku, you will need to go to the AI21 dashboard which you can get to . Once you are in the dashboard of AI21, you can see the models in the menu on the left. Look for the fine-tuned model which you want to import into Riku and select it.

Once we have selected the model which we want to import, we can click the API button in the top of the AI21 dashboard. We can then change this to curl and we can look at the URL. We want to take note of two things here. Firstly, we want to copy the fine-tune id. This is the string before /complete. We also want to note down which of the AI21 models this has been fine-tuned with. For this example, the answer is j1-large.

Write a name for the fine-tune that you recognize, this is just internal for you and for you to remember what the model does and nothing more. Then take the fine-tune ID that we got previously from AI21 and enter it into the second input. Finally, we need to put in the AI21 model which we noted in the previous step. When you are sure you have entered everything correctly, hit save.

If you then go to the Playground in Riku and change the technology to Fine-tuned Models you will see that the new fine-tune will appear and you can select it.

There we have it! It is that simple to add an AI21 fine-tune to your RIku account. You can then use that model in the playground, create saved prompts with it and even create public share links for others to use. I hope this guide has been useful!

Within Riku, click on your API Settings tab or directly click . See the Fine-tune Models option and select AI21 from the dropdown and hit the button to load the popup.

here
here
For this example, we will take the blog-writer-v2
Copy the string before /complete and take note of which AI21 model was used.