Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon authored Jul 2, 2024
1 parent a29608b commit 2de8aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ Load and use any of the [20+ LLMs](#choose-from-20-llms):
from litgpt import LLM

llm = LLM.load("microsoft/phi-2")
text = llm.generate("Correct the spelling: Every summer, the familly enjoys a trip to the mountains.")
text = llm.generate("Fix the spelling: Every fall, the familly goes to the mountains.")
print(text)
# Corrected Sentence: Every summer, the family enjoys a vacation to the mountains.
# Corrected Sentence: Every fall, the family goes to the mountains.
```

 
Expand Down

0 comments on commit 2de8aee

Please sign in to comment.