Skip to content
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

Using the real model name instead of hard code "model" #231

Merged
merged 4 commits into from
Sep 15, 2023
Merged

Using the real model name instead of hard code "model" #231

merged 4 commits into from
Sep 15, 2023

Conversation

davidshtian
Copy link
Contributor

The model config using the hard code "model" as model name, which is not flexible and cannot distinct the real model. The fix used model.name_or_path property for the model name. Thanks~

@JingyaHuang JingyaHuang self-assigned this Sep 15, 2023
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Copy link
Collaborator

@JingyaHuang JingyaHuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @davidshtian, thanks for contributing! The PR looks awesome.

Let me run the tests offline, will merge it if every test goes well.

@JingyaHuang JingyaHuang merged commit b538488 into huggingface:main Sep 15, 2023
4 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants