Skip to content

Commit

Permalink
update README.md (#968)
Browse files Browse the repository at this point in the history
added a reminder and a python script in starter code to request access
and log in to huggingface before running mistral7b samples.
  • Loading branch information
silviachen46 authored Jun 16, 2024
1 parent 0c1935a commit 49146d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 49146d5

Please sign in to comment.