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

LLM: add dolly-v1 and dolly-v2 to gpu pytorch model example #9153

Merged
merged 4 commits into from
Oct 13, 2023

Conversation

JinBridger
Copy link
Contributor

Description

Add dolly-v1 and dolly-v2 to GPU PyTorch model example.

@plusbang plusbang added the llm label Oct 13, 2023
Copy link
Contributor

@plusbang plusbang left a comment

Choose a reason for hiding this comment

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


# Load model
model = AutoModelForCausalLM.from_pretrained(model_path,
trust_remote_code=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

add some blank spaces to align

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@plusbang plusbang left a comment

Choose a reason for hiding this comment

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

LGTM

@plusbang plusbang merged commit c720745 into intel-analytics:main Oct 13, 2023
29 checks passed
@JinBridger JinBridger deleted the add_dolly_gpu_example branch November 1, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants