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

Added causal LM support #472

Merged
merged 1 commit into from
Jul 20, 2023
Merged

Added causal LM support #472

merged 1 commit into from
Jul 20, 2023

Conversation

Tyrest
Copy link
Contributor

@Tyrest Tyrest commented Jul 19, 2023

Added support for causal LMs such as open llama, gpt2, and Llama 2.

@Tyrest
Copy link
Contributor Author

Tyrest commented Jul 19, 2023

This addresses issue #388

@Tyrest Tyrest requested a review from rajasbansal July 19, 2023 21:46
Copy link
Contributor

@rajasbansal rajasbansal left a comment

Choose a reason for hiding this comment

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

lgtm

pipeline,
)
from transformers.models.auto.modeling_auto import (
MODEL_FOR_CAUSAL_LM_MAPPING,
Copy link
Contributor

Choose a reason for hiding this comment

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

this is really great that this exists in huggingface itself! We don't need to update this ourselves. Thanks for finding this

@Tyrest Tyrest merged commit 375ca65 into main Jul 20, 2023
@Tyrest Tyrest deleted the huggingface-causal-LM-support branch July 20, 2023 18:06
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.

2 participants