Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Data Augmentation for Metonymy Resolution
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
friebolin
Data Augmentation for Metonymy Resolution
Commits
d30ccb5b
Commit
d30ccb5b
authored
2 years ago
by
umlauf
Browse files
Options
Downloads
Patches
Plain Diff
loss
parent
bc603023
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/loss_visualization.py
+2
-2
2 additions, 2 deletions
Code/loss_visualization.py
Code/output_loss_epoch_data.txt
+3130
-0
3130 additions, 0 deletions
Code/output_loss_epoch_data.txt
with
3132 additions
and
2 deletions
Code/loss_visualization.py
+
2
−
2
View file @
d30ccb5b
...
...
@@ -3,7 +3,7 @@
import
matplotlib.pyplot
as
plt
import
re
with
open
(
"
output_
baselines_loss
.txt
"
,
"
r
"
)
as
f
:
with
open
(
"
output_
loss_epoch_data
.txt
"
,
"
r
"
)
as
f
:
loss_file
=
f
.
read
()
pattern
=
r
"
\((\d+\.\d+)
"
...
...
@@ -12,6 +12,6 @@ matches = re.findall(pattern, loss_file)
print
(
matches
)
plt
.
plot
(
matches
)
plt
.
plot
()
plt
.
show
()
This diff is collapsed.
Click to expand it.
Code/output_loss_epoch_data.txt
0 → 100644
+
3130
−
0
View file @
d30ccb5b
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment