Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liana313 authored Nov 13, 2024
1 parent 2f0e09e commit a128ea7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ lm = LM(model="ollama/llama3.2")
Here's an example of creating an `LM` object to use `Meta-Llama-3-8B-Instruct` on vLLM
```
from lotus.models import LM
lm = LM(model='hosted_vllm/meta-llama/Meta-Llama-3-8B-Instruct', api_base='http://localhost:8000/v1')
lm = LM(model='hosted_vllm/meta-llama/Meta-Llama-3-8B-Instruct',
api_base='http://localhost:8000/v1',
max_ctx_len=8000,
max_tokens=1000)
```

## Helpful Examples
For helpful examples of LOTUS operators, please refer to the `examples` folder, as well as the documentation.
For helpful examples of LOTUS operators, please refer to the `examples` folder, as well as the documentation.

0 comments on commit a128ea7

Please sign in to comment.