pip install 'litgpt[all]'
from litgpt import LLM
llm = LLM.load("microsoft/phi-2")
text = llm.generate("Fix the spelling: Every fall, the familly goes to the mountains.")
print(text)
# Corrected Sentence: Every fall, the family goes to the mountains. ▪Github
▪Docs
▪Video
https://t.me/deep_learning_proj
