Spaces:
Running
Running
Added training metrics for NLI
Browse files- app.py +4 -4
- events.out.tfevents.NLI-Conventional.1 +3 -0
- events.out.tfevents.NLI-Lora.0 +3 -0
app.py
CHANGED
@@ -117,7 +117,7 @@ def displayMetricStatsTextTCLora():
|
|
117 |
return metrics
|
118 |
|
119 |
def displayMetricStatsTextNLINoLora():
|
120 |
-
file_name = 'events.out.tfevents.
|
121 |
event_acc = event_accumulator.EventAccumulator(file_name,
|
122 |
size_guidance={
|
123 |
event_accumulator.COMPRESSED_HISTOGRAMS: 500,
|
@@ -139,7 +139,7 @@ def displayMetricStatsTextNLINoLora():
|
|
139 |
return metrics
|
140 |
|
141 |
def displayMetricStatsTextNLILora():
|
142 |
-
file_name = 'events.out.tfevents.
|
143 |
event_acc = event_accumulator.EventAccumulator(file_name,
|
144 |
size_guidance={
|
145 |
event_accumulator.COMPRESSED_HISTOGRAMS: 500,
|
@@ -364,8 +364,8 @@ with gr.Blocks(
|
|
364 |
nli_btn.click(fn=AlbertnoLORA_fn, inputs=[nli_p1,nli_p2], outputs=NLIOut1)
|
365 |
nli_btn.click(fn=AlbertwithLORA_fn, inputs=[nli_p1,nli_p2], outputs=NLIOut2)
|
366 |
btnNLIStats.click(fn=displayMetricStatsUntrained, outputs=NLIUntrained)
|
367 |
-
|
368 |
-
|
369 |
|
370 |
|
371 |
with gr.Tab("Semantic Text Similarity"):
|
|
|
117 |
return metrics
|
118 |
|
119 |
def displayMetricStatsTextNLINoLora():
|
120 |
+
file_name = 'events.out.tfevents.NLI-Conventional.1'
|
121 |
event_acc = event_accumulator.EventAccumulator(file_name,
|
122 |
size_guidance={
|
123 |
event_accumulator.COMPRESSED_HISTOGRAMS: 500,
|
|
|
139 |
return metrics
|
140 |
|
141 |
def displayMetricStatsTextNLILora():
|
142 |
+
file_name = 'events.out.tfevents.NLI-Lora.0'
|
143 |
event_acc = event_accumulator.EventAccumulator(file_name,
|
144 |
size_guidance={
|
145 |
event_accumulator.COMPRESSED_HISTOGRAMS: 500,
|
|
|
364 |
nli_btn.click(fn=AlbertnoLORA_fn, inputs=[nli_p1,nli_p2], outputs=NLIOut1)
|
365 |
nli_btn.click(fn=AlbertwithLORA_fn, inputs=[nli_p1,nli_p2], outputs=NLIOut2)
|
366 |
btnNLIStats.click(fn=displayMetricStatsUntrained, outputs=NLIUntrained)
|
367 |
+
btnNLIStats.click(fn=displayMetricStatsTextNLINoLora, outputs=NLINoLoraStats)
|
368 |
+
btnNLIStats.click(fn=displayMetricStatsTextNLILora, outputs=NLILoraStats)
|
369 |
|
370 |
|
371 |
with gr.Tab("Semantic Text Similarity"):
|
events.out.tfevents.NLI-Conventional.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:585469d35004795e2f912b636de17c017c93d4ec92eeff8321b36f55b3274ecd
|
3 |
+
size 5917
|
events.out.tfevents.NLI-Lora.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cef207dc50598ef2a31346d2589727881d7222398371178759b9a361191f0123
|
3 |
+
size 6217
|