from lida import llm , Manager
from llmx.generators.text.hf_textgen import HFTextGenerator
text_gen = HFTextGenerator(provider="hf", models="uukuguy/speechless-llama2-hermes-orca-platypus-13b",device_map="auto")
print("success loading the model") # the falcon7b caused error out oom it need larger gpu allocation
lida = Manager(llm=text_gen)
sumamry = lida.summarize("order.csv") # summirize the dataset