From 49146d5d30c3afc573a79fe37b02e9b58977285b Mon Sep 17 00:00:00 2001 From: silvia Date: Sun, 16 Jun 2024 16:29:39 +0800 Subject: [PATCH] update README.md (#968) added a reminder and a python script in starter code to request access and log in to huggingface before running mistral7b samples. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index e1392f2ac..aeb1126b6 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,12 @@ is to ensure that there is a well-defined interface between their output and user-defined code. **Outlines** provides ways to control the generation of language models to make their output more predictable. +Before using mistral models, request access on huggingface [here](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2). +``` python +# login to access mistral model +from huggingface_hub import login +login() +``` ### Multiple choices You can reduce the completion to a choice between multiple possibilities: