How will this help?
Anyscale offers API endpoints for models like Llama-2, Mistral-7B, CodeLlama, and more. You can use these endpoints to evaluate the performance of these models using UpTrain. Before we start you will need an Anyscale API key. You can get it hereHow to integrate?
First, let’s import the necessary packages and define Anyscale API KeyThe model name should start with
anyscale/ for UpTrain to recognize you are using models hosted on Anyscale.For example if you are using mistralai/Mistral-7B-Instruct-v0.1 via Anyscale, the model name should be anyscale/mistralai/Mistral-7B-Instruct-v0.1Remember to add “anyscale/” at the beginning of the model name to let UpTrain know that you are using an AnyScale model.
- Context Relevance: Since the context has information on the most popular sport globally, UpTrain has rated the context to be relevant to the question.
- Factual Accuracy: Since the facts mentioned in the response are grounded to the context, UpTrain has rated the response as factually accurate.
Tutorial
Open this tutorial in GitHub
Have Questions?
Join our community for any questions or requests

