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

updated the main config #120

Closed
wants to merge 2 commits into from

Conversation

VivekSinghDS
Copy link
Contributor

No description provided.

test_suite = LLMTestSuite(tests, prompts, ground_truths, model_preds)
# TODO: Save Unit Test Results
test_suite.save_test_results('unit_test_results.csv')
pass
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
pass

Copy link
Contributor

@benjaminye benjaminye left a comment

Choose a reason for hiding this comment

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

looks good! just take out pass

Copy link
Contributor

@benjaminye benjaminye left a comment

Choose a reason for hiding this comment

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

@VivekSinghDS, there has been a bit of change in the repo. See PR #118. We have migrated toolkit.py from the parent directory into llmtune/cli/toolkit.py. You need to copy your changes in that file -- really sorry for the inconvenience.

To test your code, you just need to run (in a virtual environment) pip install -e . and do llmtune [--config-path <your_config_path>] where stuff in [ ] are optional.

In addition, we have adopted ruff as our linter and formatter. Please pip install ruff and run these before PR:

  1. ruff check --fix
  2. ruff format

# TODO: Run Unit Tests
test_suite = LLMTestSuite(tests, prompts, ground_truths, model_preds)
# TODO: Save Unit Test Results
test_suite.save_test_results('unit_test_results.csv')
Copy link
Contributor

Choose a reason for hiding this comment

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

could we remove hardcode here?

@benjaminye benjaminye mentioned this pull request Apr 8, 2024
@benjaminye
Copy link
Contributor

Closed as it is superseded by #131

@benjaminye benjaminye closed this Apr 11, 2024
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.

3 participants