Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated 6 months ago
0
Follow
Hi. Is there any reason that
Hi. Is there any reason that
Inactive
0
Follow
At a glance
J
Jeffrey Kim
6 months ago
Β·
Hi. Is there any reason that
HuggingFaceLLM
gets its parameter as
model_name
? But other LLMs like
OpenAI
gets their parameter as
model
. I think it is inconsistent and can be confusing who use it.
W
J
2 comments
Share
Open in Discord
W
WhiteFang_Jr
6 months ago
Hey, thankyou for the suggestion!
I believe this has been done as there is already a
model
keyword in the
HuggingFaceLLM
.
You can get more clarity by checking the code below
https://github.com/run-llama/llama_index/blob/5901897fb9bc841b2c318109075d5687d10e6200/llama-index-integrations/llms/llama-index-llms-huggingface/llama_index/llms/huggingface/base.py#L237C17-L237C22
J
Jeffrey Kim
6 months ago
Thanks for the reply
Add a reply
Sign up and join the conversation on Discord
Join on Discord