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

feat(openchallenges): generate challenge headlines using AWS Bedrock #2281

Merged
merged 11 commits into from
Nov 1, 2023

Conversation

tschaffter
Copy link
Member

@tschaffter tschaffter commented Oct 26, 2023

Closes #2280

Changelog

  • Add Python script to the project openchallenges-notebook
  • Update existing notebook to generate challenge headlines with AWS Bedrock (deprecated)

Notes

  • VS Code notebooks are painfully slow to run. From a brief search, this may happen when using VS Code over SSH. To investigate further. Instead, I created a Python script to generate the headlines.

Preview

Run the script

nx prepare openchallenges-notebook
cd apps/openchallenges/notebook
poetry run python src/challenge_headline/challenge_headline_llm.py

Headlines

  {
    "id": 1,
    "slug": "network-topology-and-parameter-inference",
    "name": "Network Topology and Parameter Inference",
    "headline": "",
    "headline_alternatives": [
      "1. Optimize methods to estimate biology model parameters",
      "2. Develop optimization for accurate biology model predictions ",
      "3. Apply optimization to estimate parameters in Systems Biology",
      "4. Select experiments to optimize Systems Biology model accuracy",
      "5. Perturbation prediction through optimization of Systems Biology models"
    ]
  },
  {
    "id": 2,
    "slug": "breast-cancer-prognosis",
    "name": "Breast Cancer Prognosis",
    "headline": "",
    "headline_alternatives": [
      "1. Predict breast cancer survival from clinical and genomic data",
      "2. Assess models for breast cancer prognosis using clinical and molecular data ",
      "3. Evaluate computational models for breast cancer survival prediction",
      "4. Benchmark algorithms to predict breast cancer prognosis ",
      "5. Assess accuracy of models predicting breast cancer patient survival"
    ]
  },
...

@tschaffter tschaffter self-assigned this Oct 26, 2023
@tschaffter tschaffter changed the title feat(openchallenges): generate challenge headlines using LLMs on AWS feat(openchallenges): generate challenge headlines using AWS Bedrock Oct 26, 2023
@tschaffter tschaffter marked this pull request as ready for review November 1, 2023 20:50
@tschaffter tschaffter merged commit e01dcf7 into Sage-Bionetworks:main Nov 1, 2023
7 checks passed
@tschaffter tschaffter deleted the aws-llm branch November 1, 2023 22:55
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.

[Task] Generate challenge headlines using AWS Bedrock
1 participant