Skip to content

Commit

Permalink
Update __all__
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrilvallez committed Oct 1, 2024
1 parent a7762a0 commit 152569e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/transformers/models/glm/configuration_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,6 @@ def __init__(
tie_word_embeddings=tie_word_embeddings,
**kwargs,
)


__all__ = ["GlmConfig"]
3 changes: 3 additions & 0 deletions src/transformers/models/glm/modeling_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1386,3 +1386,6 @@ def forward(
hidden_states=outputs.hidden_states,
attentions=outputs.attentions,
)


__all__ = ["GlmModel", "GlmForCausalLM", "GlmForSequenceClassification", "GlmForTokenClassification"]

0 comments on commit 152569e

Please sign in to comment.