Skip to content

Docstrings Models#232

Merged
mali-git merged 26 commits intodocstringsfrom
docstrings_models
Aug 29, 2024
Merged

Docstrings Models#232
mali-git merged 26 commits intodocstringsfrom
docstrings_models

Conversation

@mali-git
Copy link
Copy Markdown
Member

@mali-git mali-git commented Aug 17, 2024

What does this PR do?

This PR adds docstrings to all model related modules, enhancing code documentation and readability.

General Changes

Breaking Changes

  • None

Checklist before submitting final PR

  • My PR is minimal and addresses one issue in isolation
  • I have merged the latest version of the target branch into this feature branch
  • I have reviewed my own code w.r.t. correct implementation, missing type hints, proper documentation, etc.
  • I have run a sample config for model training
  • I have checked that all tests run through (python tests/tests.py)
  • I have updated the internal changelog (CHANGELOG_DEV.md)

@mali-git mali-git requested a review from flxst August 17, 2024 10:34
@mali-git mali-git added the documentation Improvements or additions to documentation label Aug 17, 2024
@mali-git mali-git changed the title Docstrings models Docstrings odels Aug 17, 2024
@mali-git mali-git changed the title Docstrings odels Docstrings Models Aug 17, 2024
Copy link
Copy Markdown
Member

@flxst flxst left a comment

Choose a reason for hiding this comment

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

Added many suggestions for minor improvements

Comment thread src/modalities/models/coca/attention_pooling.py Outdated
Comment thread src/modalities/models/coca/coca_model.py Outdated
Comment thread src/modalities/models/coca/coca_model.py Outdated
Comment thread src/modalities/models/coca/coca_model.py Outdated
Comment thread src/modalities/models/coca/coca_model.py Outdated
Comment thread src/modalities/models/mamba/utils/generation.py
Comment thread src/modalities/models/vision_transformer/vision_transformer_model.py Outdated
Comment thread src/modalities/models/vision_transformer/vision_transformer_model.py Outdated
Comment thread src/modalities/models/vision_transformer/vision_transformer_model.py Outdated
Comment thread src/modalities/models/vision_transformer/vision_transformer_model.py Outdated
Co-authored-by: Felix Stollenwerk <felix.stollenwerk@ai.se>
@mali-git mali-git merged commit 573bf1b into docstrings Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants