Skip to content

How to use local HF model in HuggingFaceLocalGenerator #7421

Closed Answered by LiShaoyu5
LiShaoyu5 asked this question in Questions
Discussion options

You must be logged in to vote

By doing:

from pathlib import Path
model = HuggingFaceLocalGenerator(model=Path("models/Qwen1.5-1.8B/"))

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LiShaoyu5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant