You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm traying to test this code on Colab but I get error
fromlidaimportllmtext_gen=llm(provider="hf", model="uukuguy/speechless-llama2-hermes-orca-platypus-13b", device_map="auto")
lida=Manager(llm=text_gen)
# now you can call lida methods as above e.g.sumamry=lida.summarize("data/cars.csv")
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-33-d4854b320f88> in <cell line: 2>()
1 from lida import llm
----> 2 text_gen = llm(provider="hf", model="uukuguy/speechless-llama2-hermes-orca-platypus-13b", device_map="auto")
3 lida = Manager(llm=text_gen)
4 # now you can call lida methods as above e.g.
5 sumamry = lida.summarize("data/cars.csv")
/usr/local/lib/python3.10/dist-packages/llmx/generators/text/textgen.py in llm(provider, **kwargs)
73 from .hf_textgen import HFTextGenerator
74
---> 75 return HFTextGenerator(provider=provider, models=models, **kwargs)
76
77 else:
TypeError: llmx.generators.text.hf_textgen.HFTextGenerator() got multiple values for keyword argument 'provider'
The text was updated successfully, but these errors were encountered:
I'm traying to test this code on Colab but I get error
The text was updated successfully, but these errors were encountered: