6
6
- ' evaluation_runs.sql'
7
7
- ' inferences.sql'
8
8
- ' charts.py'
9
+ - ' context_snapshots.sql'
10
+ - ' context_usage.sql'
9
11
- ' .github/workflows/validation_run_trigger.yaml'
10
12
pull_request :
11
13
paths :
12
14
- ' evaluation_runs.sql'
13
15
- ' inferences.sql'
14
16
- ' charts.py'
17
+ - ' context_snapshots.sql'
18
+ - ' context_usage.sql'
15
19
- ' .github/workflows/validation_run_trigger.yaml'
16
20
17
21
jobs :
@@ -28,13 +32,25 @@ jobs:
28
32
run : sqlite3 inferences.sqlite < evaluation_runs.sql
29
33
30
34
- name : Restore inferences
31
- run : sqlite3 inferences.sqlite < inferences.sql
35
+ run : sqlite3 inferences.sqlite < inferences.sql
36
+
37
+ - name : Restore context snapshots
38
+ run : sqlite3 inferences.sqlite < context_snapshots.sql
39
+
40
+ - name : Restore details of context usage
41
+ run : sqlite3 inferences.sqlite < context_usage.sql
32
42
33
43
- name : Run charts.py
34
- run : python charts.py
44
+ run : python3 charts.py
35
45
36
46
- name : Run neural-results-chart.py
37
- run : python neural-results-chart.py --input neural-results.csv --output neural-results.png
47
+ run : python3 neural-results-chart.py --input neural-results.csv --output neural-results.png
48
+
49
+ - name : Run context history for sense1
50
+ run : python3 ctxkhistochart.py --input inferences.sqlite --output sense-annotated1-context-usage.png --filename /ultratree/language-model/sense-annotated1.sqlite
51
+
52
+ - name : Run context history for unannotated1
53
+ run : python3 ctxkhistochart.py --input inferences.sqlite --output unannotated-context-usage.png --filename /ultratree/language-model/unannotated-model1.sqlite
38
54
39
55
- name : Commit and Push Changes
40
56
env :
53
69
git add noun_loss_vs_time.png
54
70
git add neural-results.png
55
71
git add plain_models_loss_vs_size.png
56
- git add exotic_models_loss_vs_size.png
72
+ git add exotic_models_loss_vs_size.png
73
+ git add sense-annotated1-context-usage.png
74
+ git add unannotated-context-usage.png
57
75
git commit -m "Add generated images [skip ci]" || echo "No changes to commit"
58
76
git push https://${{ secrets.GH_PAT }}@github.com/${{ github.repository }}.git
0 commit comments