Spaces:
Running
on
Zero
Running
on
Zero
File size: 975 Bytes
886d8e9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
---
title: Petals
---
To use Open Interpreter with a model from Petals, set the `model` flag to begin with `petals/`:
<CodeGroup>
```bash Terminal
interpreter --model petals/petals-team/StableBeluga2
```
```python Python
from interpreter import interpreter
interpreter.llm.model = "petals/petals-team/StableBeluga2"
interpreter.chat()
```
</CodeGroup>
# Pre-Requisites
Ensure you have petals installed:
```bash Terminal
pip install git+https://github.com/bigscience-workshop/petals
```
# Supported Models
We support any model on [Petals:](https://github.com/bigscience-workshop/petals)
<CodeGroup>
```bash Terminal
interpreter --model petals/petals-team/StableBeluga2
interpreter --model petals/huggyllama/llama-65b
```
```python Python
interpreter.llm.model = "petals/petals-team/StableBeluga2"
interpreter.llm.model = "petals/huggyllama/llama-65b"
```
</CodeGroup>
# Required Environment Variables
No environment variables are required to use these models. |