Skip to content

Commit

Permalink
update yaml and and pinned versions (#2)
Browse files Browse the repository at this point in the history
Co-authored-by: Melanie Beck <[email protected]>
  • Loading branch information
melaniebeck and Melanie Beck authored Apr 7, 2022
1 parent d392616 commit e25199c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
17 changes: 3 additions & 14 deletions .project-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,7 +21,6 @@ tasks:
memory: 8
environment:
TASK_TYPE: CREATE/RUN_JOB
kernel: python3

- type: run_job
entity_label: install_dependencies
Expand All @@ -44,7 +37,6 @@ tasks:
memory: 8
environment:
TASK_TYPE: CREATE/RUN_JOB
kernel: python3

- type: run_job
entity_label: download_data_and_models
Expand All @@ -56,7 +48,6 @@ tasks:
script: apps/launch_wikiqa.py
environment_variables:
TASK_TYPE: START_APPLICATION
kernel: python3
cpu: 2
memory: 8

Expand All @@ -66,7 +57,6 @@ tasks:
script: apps/launch_model_explorer.py
environment_variables:
TASK_TYPE: START_APPLICATION
kernel: python3
cpu: 1
memory: 1

Expand All @@ -76,6 +66,5 @@ tasks:
script: apps/launch_data_visualizer.py
environment_variables:
TASK_TYPE: START_APPLICATION
kernel: python3
cpu: 1
memory: 1
15 changes: 8 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e25199c

Please sign in to comment.