From e25199cf698fc35f869c86f399ef62d53946f248 Mon Sep 17 00:00:00 2001 From: Melanie Beck Date: Wed, 6 Apr 2022 21:25:06 -0500 Subject: [PATCH] update yaml and and pinned versions (#2) Co-authored-by: Melanie Beck --- .project-metadata.yaml | 17 +++-------------- requirements.txt | 15 ++++++++------- 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/.project-metadata.yaml b/.project-metadata.yaml index c4f0dfe..406c36b 100644 --- a/.project-metadata.yaml +++ b/.project-metadata.yaml @@ -2,20 +2,14 @@ name: Deep Learning for Question Answering description: Automated question answering applications using Transformer neural networks author: Cloudera Inc. specification_version: 1.0 -prototype_version: 1.0 -date: "2021-01-12" -api_version: 1 +prototype_version: 2.0 +date: "2022-04-04" runtimes: - editor: Workbench - kernel: Python 3.6 + kernel: Python 3.9 edition: Standard -engine_images: - - image_name: engine - tags: - - 14 - tasks: - type: create_job name: Install dependencies @@ -27,7 +21,6 @@ tasks: memory: 8 environment: TASK_TYPE: CREATE/RUN_JOB - kernel: python3 - type: run_job entity_label: install_dependencies @@ -44,7 +37,6 @@ tasks: memory: 8 environment: TASK_TYPE: CREATE/RUN_JOB - kernel: python3 - type: run_job entity_label: download_data_and_models @@ -56,7 +48,6 @@ tasks: script: apps/launch_wikiqa.py environment_variables: TASK_TYPE: START_APPLICATION - kernel: python3 cpu: 2 memory: 8 @@ -66,7 +57,6 @@ tasks: script: apps/launch_model_explorer.py environment_variables: TASK_TYPE: START_APPLICATION - kernel: python3 cpu: 1 memory: 1 @@ -76,6 +66,5 @@ tasks: script: apps/launch_data_visualizer.py environment_variables: TASK_TYPE: START_APPLICATION - kernel: python3 cpu: 1 memory: 1 diff --git a/requirements.txt b/requirements.txt index 9b834f5..1b24dd4 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,10 @@ -torch==1.6.0 -torchvision==0.7.0 -transformers==2.11.0 -tensorboardX==2.1 -tensorboard==2.3.0 -streamlit==0.66.0 +torch==1.11.0 +torchvision==0.12.0 +transformers==4.17.0 +tensorboardX==2.5 +tensorboard==2.8.0 +sentencepiece==0.1.96 +streamlit==1.8.1 wikipedia==1.4.0 -rank_bm25==0.2.1 +rank_bm25==0.2.2 -e . # installs local qa package in "edit" mode \ No newline at end of file