Skip to content

Commit

Permalink
Update README.md for the gate_pipeline_batch_completions flag (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamini authored Oct 9, 2024
1 parent d9a0291 commit 1f9a3c9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 11_classify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ Train a new classifier with just a prompt. No data needed -- but add data to boo
In this example, we build a classifier to remove low quality training data.

```python
from lamini import LaminiClassifier
import lamini

llm = LaminiClassifier()
lamini.gate_pipeline_batch_completions = True

# Instatiate Classifier object to pass prompts to the LLM on the compute server
llm = lamini.LaminiClassifier()

prompts={
"correct": "Questions with correct answers.",
Expand Down

0 comments on commit 1f9a3c9

Please sign in to comment.