-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.project-metadata.yaml
70 lines (62 loc) · 1.96 KB
/
.project-metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: Deep Learning for Question Answering
description: Automated question answering applications using Transformer neural networks
author: Cloudera Inc.
specification_version: 1.0
prototype_version: 2.0
date: "2022-04-04"
runtimes:
- editor: PBJ Workbench
kernel: Python 3.9
edition: Standard
tasks:
- type: create_job
name: Install dependencies
entity_label: install_dependencies
script: cml/install_dependencies.py
arguments: None
short_summary: Create job to install dependencies.
cpu: 1
memory: 8
environment:
TASK_TYPE: CREATE/RUN_JOB
- type: run_job
entity_label: install_dependencies
short_summary: Running install dependencies job.
- type: create_job
name: Download Data and Models
entity_label: download_data_and_models
script: cml/download_data_and_models.py
arguments: None
short_summary: Create job to download data and models.
long_summary: Create job to download SQUAD2.0 data and 5 pre-trained transformer models required by the Applications. SQUAD2 data is downloaded to the /data/squad subdirectory. Transformer models are cached to a hidden directory and are never accessed directly.
cpu: 1
memory: 8
environment:
TASK_TYPE: CREATE/RUN_JOB
- type: run_job
entity_label: download_data_and_models
short_summary: Run job to download data and models.
- type: start_application
name: WikiQA
subdomain: wikiqa
script: apps/launch_wikiqa.py
environment_variables:
TASK_TYPE: START_APPLICATION
cpu: 2
memory: 8
- type: start_application
name: QA Model Explorer
subdomain: modelexplorer
script: apps/launch_model_explorer.py
environment_variables:
TASK_TYPE: START_APPLICATION
cpu: 1
memory: 1
- type: start_application
name: QA Data Explorer
subdomain: dataexplorer
script: apps/launch_data_visualizer.py
environment_variables:
TASK_TYPE: START_APPLICATION
cpu: 1
memory: 1