Quickstart
Last updated
Last updated
The Forefront API provides a simple interface for developers to use open-source models in their applications.
This quickstart tutorial will help get your local development environment setup, fine-tune your first model, and start using it in your application.
If you are an experienced developer or want to just dive into using the Forefront API, check out the .
Through this tutorial, you will learn:
How to install the latest SDKs
Some of the basic concepts of the Forefront API
How to fine-tune your first model
How to inference your model
If you run into any challenges or have questions getting started, please .
First, create a or . Next, go to the and click "Generate API key". Make sure to save this somewhere safe and do not share it with anyone.
Forefront provides a custom Node.js and Python library which makes working with the Forefront API simple and efficient. Install the SDK in your preferred language:
For the purpose of this tutorial, we'll file-tune Mistral-7B on 1,000 samples from the Open-Hermes-2.5 dataset.
Start by downloading the dataset:
Now that you have fine-tuned your first model and ran it, it's time to explore what else is possible:
Before continuing, you can alternatively fine-tune via the UI in the .
For more detailed information on our models and the API, see our .
Visit the for in-depth example API use-cases, as well as code snippets for common tasks.
Wondering what OpenAI's models are capable of? Check out our library of .
Want to try the API without writing any code? Start experimenting in the .
Keep our in mind as you start building.