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

Minhtrung23fix pylint #44

Open
wants to merge 105 commits into
base: dev
Choose a base branch
from

Commits on Sep 1, 2024

  1. Create ci.yml

    minhtrung23 committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    4acbe2e View commit details
    Browse the repository at this point in the history
  2. Update __main__.py

    minhtrung23 committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    0c7f00c View commit details
    Browse the repository at this point in the history
  3. Update conf.py

    minhtrung23 committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    3146375 View commit details
    Browse the repository at this point in the history
  4. Update __main__.py

    minhtrung23 committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    8ed731d View commit details
    Browse the repository at this point in the history
  5. Update cli.py

    minhtrung23 committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    2e7b702 View commit details
    Browse the repository at this point in the history
  6. Update test_execution.py

    minhtrung23 committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    8884e74 View commit details
    Browse the repository at this point in the history
  7. Update test_wrapper.py

    minhtrung23 committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    e98cf5a View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    871ffd2 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2024

  1. Configuration menu
    Copy the full SHA
    b259286 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b6563df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5920fa8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a1a7b2e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2e658d3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    075d5c5 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Configuration menu
    Copy the full SHA
    c6f8769 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22519f4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    73ca80f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b2c7b95 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d5441be View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a7bd907 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    2749bc5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40c9143 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    981e446 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc7f6b5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    442e72f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5860b17 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0185b8e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6c08ec1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5e05d5a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4eb2711 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5182b82 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c1564d5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    59a0102 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d71867c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ce64b6e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    74dd703 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    2c66631 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ecc972a View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    40b4564 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    13a67b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb77293 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d77012 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    37c1dbc View commit details
    Browse the repository at this point in the history
  5. Create __summarization.py

    minhtrung23 committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    6b1de0a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a4b8ad3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    52e2d88 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Update __summarization.py

    minhtrung23 committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    5cc2351 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    318af4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac6f066 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a33661b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    85f6968 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a624040 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    7303e71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab0bb53 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    954a3d2 View commit details
    Browse the repository at this point in the history
  4. Create __reasoning.py

    minhtrung23 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    87b5d96 View commit details
    Browse the repository at this point in the history
  5. Create __math.py

    minhtrung23 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    a6d0a48 View commit details
    Browse the repository at this point in the history
  6. Create __translation.py

    minhtrung23 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    7d0487f View commit details
    Browse the repository at this point in the history
  7. Create run.py

    minhtrung23 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    78177f6 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. Update __main__.py

    minhtrung23 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    417aec1 View commit details
    Browse the repository at this point in the history
  2. Update generation.py

    minhtrung23 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    f506a93 View commit details
    Browse the repository at this point in the history
  3. Update cli.py

    minhtrung23 committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    41e6938 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Update cli.py (final

    minhtrung23 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    4f8d096 View commit details
    Browse the repository at this point in the history
  2. Update __main__.py

    minhtrung23 committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    bdf4eb4 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Update __main__.py

    minhtrung23 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    4926fb1 View commit details
    Browse the repository at this point in the history
  2. Update cli.py

    minhtrung23 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    802f5ea View commit details
    Browse the repository at this point in the history
  3. Update generation.py

    minhtrung23 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c572e4a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f05c477 View commit details
    Browse the repository at this point in the history
  5. Update __init__.py

    minhtrung23 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    5edc38b View commit details
    Browse the repository at this point in the history
  6. Update dataset.py

    minhtrung23 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    85f3010 View commit details
    Browse the repository at this point in the history
  7. Update parser.py

    minhtrung23 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    30ee3c5 View commit details
    Browse the repository at this point in the history
  8. Update loader.py

    Moved 
    from modelscope import MsDataset 
    from modelscope.utils.config_ds import MS_DATASETS_CACHE 
    to the top of the file.
    minhtrung23 committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    6a34843 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8561e41 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Update __init__.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    a3d57ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a030063 View commit details
    Browse the repository at this point in the history
  3. Update base.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    58b338d View commit details
    Browse the repository at this point in the history
  4. Update basic_metrics.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    ec9940e View commit details
    Browse the repository at this point in the history
  5. Update bias.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    0ac4e53 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    87a188d View commit details
    Browse the repository at this point in the history
  7. Update ir.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    3b0e577 View commit details
    Browse the repository at this point in the history
  8. Update language.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    f87645a View commit details
    Browse the repository at this point in the history
  9. Update name_detector.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    4f03d8e View commit details
    Browse the repository at this point in the history
  10. Update post_process.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    71776ba View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    00f50c0 View commit details
    Browse the repository at this point in the history
  12. Update reasoning.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    27894d5 View commit details
    Browse the repository at this point in the history
  13. Update summary.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    64375a8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6e154c1 View commit details
    Browse the repository at this point in the history
  15. Update toxicity.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    ccf4066 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7a16b6a View commit details
    Browse the repository at this point in the history
  17. Update utils.py

    minhtrung23 committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    7b7dff9 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Update __information_retrieval.py

    src\melt\tools\pipelines\__information_retrieval.py:6:0: R0914: Too many local variables (35/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    ebc23b8 View commit details
    Browse the repository at this point in the history
  2. Update __language_modeling.py

    src\melt\tools\pipelines\__language_modeling.py:5:0: R0914: Too many local variables (21/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    b9adaa0 View commit details
    Browse the repository at this point in the history
  3. Update __math.py

    src\melt\tools\pipelines\__math.py:5:0: R0914: Too many local variables (25/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    cf395b0 View commit details
    Browse the repository at this point in the history
  4. Update __multiple_choice.py

    src\melt\tools\pipelines\__multiple_choice.py:6:0: R0914: Too many local variables (36/15) (too-many-locals)
    src\melt\tools\pipelines\__multiple_choice.py:6:0: R0915: Too many statements (58/50) (too-many-statements)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    20f2985 View commit details
    Browse the repository at this point in the history
  5. Update __multiple_choice_sentiment.py

    src\melt\tools\pipelines\__multiple_choice_sentiment.py:6:0: R0914: Too many local variables (28/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    d1e1124 View commit details
    Browse the repository at this point in the history
  6. Update __multiple_choice_text_classification.py

    src\melt\tools\pipelines\__multiple_choice_text_classification.py:6:0: R0914: Too many local variables (28/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    0608ed8 View commit details
    Browse the repository at this point in the history
  7. Update __multiple_choice_toxicity.py

    src\melt\tools\pipelines\__multiple_choice_toxicity.py:5:0: R0914: Too many local variables (28/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    e18305f View commit details
    Browse the repository at this point in the history
  8. Update __question_answering.py

    src\melt\tools\pipelines\__question_answering.py:5:0: R0914: Too many local variables (21/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    fb2d800 View commit details
    Browse the repository at this point in the history
  9. Update __question_answering_without_context.py

    src\melt\tools\pipelines\__question_answering_without_context.py:6:0: R0914: Too many local variables (25/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    6b2f1b1 View commit details
    Browse the repository at this point in the history
  10. Update __reasoning.py

    src\melt\tools\pipelines\__reasoning.py:5:0: R0914: Too many local variables (24/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    ada86ff View commit details
    Browse the repository at this point in the history
  11. Update __summarization.py

    src\melt\tools\pipelines\__summarization.py:6:0: R0914: Too many local variables (22/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    fd584a5 View commit details
    Browse the repository at this point in the history
  12. Update __translation.py

    src\melt\tools\pipelines\__translation.py:5:0: R0914: Too many local variables (20/15) (too-many-locals)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    922c2ed View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c8d28a8 View commit details
    Browse the repository at this point in the history
  14. Update pipelines.py

    src\melt\tools\pipelines\pipelines.py:32:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)        
    src\melt\tools\pipelines\pipelines.py:38:12: C0103: Variable name "GenerationConfig" doesn't conform to snake_case naming style (invalid-name)
    src\melt\tools\pipelines\pipelines.py:40:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)        
    src\melt\tools\pipelines\pipelines.py:43:12: C0103: Variable name "LLM_TEMPLATE" doesn't conform to snake_case naming style (invalid-name)
    src\melt\tools\pipelines\pipelines.py:45:13: W1514: Using open without explicitly specifying an encoding (unspecified-encoding)        
    src\melt\tools\pipelines\pipelines.py:51:12: C0103: Variable name "METRIC_CONFIG" doesn't conform to snake_case naming style (invalid-name)
    src\melt\tools\pipelines\pipelines.py:93:31: E1120: No value for argument 'config' in constructor call (no-value-for-parameter)
    src\melt\tools\pipelines\pipelines.py:98:8: R1705: Unnecessary "elif" after "return", remove the leading "el" from "elif" (no-else-return)
    src\melt\tools\pipelines\pipelines.py:95:4: R0911: Too many return statements (12/6) (too-many-return-statements)
    src\melt\tools\pipelines\pipelines.py:95:4: R0912: Too many branches (13/12) (too-many-branches)
    src\melt\tools\pipelines\pipelines.py:146:4: C0116: Missing function or method docstring (missing-function-docstring)
    src\melt\tools\pipelines\pipelines.py:146:4: R0913: Too many arguments (8/5) (too-many-arguments)
    src\melt\tools\pipelines\pipelines.py:156:8: W0201: Attribute 'generation_results_file' defined outside __init__ (attribute-defined-outside-init)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    ffe2e69 View commit details
    Browse the repository at this point in the history
  15. Update pipelines.py

    src\melt\tools\pipelines\pipelines.py:88:31: E1120: No value for argument 'config' in constructor call (no-value-for-parameter)        
    src\melt\tools\pipelines\pipelines.py:112:4: R0913: Too many arguments (8/5) (too-many-arguments)
    minhtrung23 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    cb97c86 View commit details
    Browse the repository at this point in the history