-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add example for base model dequantization/upscaling #3924
Conversation
base_model_name = "microsoft/phi-2" | ||
dequantized_path = "microsoft-phi-2-dequantized" | ||
save_path = "/home/ray/" + dequantized_path | ||
hfhub_repo_id = "arnavgrg/" + dequantized_path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nonblocking:
Maybe we should use a placeholder instead of "arnavgrg/". Maybe something like:
{HF_USER}/
+ dequantized_path`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed! Will update
from ludwig.api import LudwigModel | ||
from ludwig.utils.hf_utils import upload_folder_to_hfhub | ||
|
||
hf_username = whoami().get("name") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not know that this was a thing. If this works like it's supposed to, then this is sick!
No description provided.