Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
proekt
obuch
Commits
f8871fd6
Commit
f8871fd6
authored
5 days ago
by
Мазур Грета Евгеньевна
Browse files
Options
Download
Patches
Plain Diff
pereobuch
parent
0f5e5ee8
master
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.ipynb_checkpoints/pereobuch-checkpoint.py
+1
-1
.ipynb_checkpoints/pereobuch-checkpoint.py
pereobuch.py
+1
-1
pereobuch.py
with
2 additions
and
2 deletions
+2
-2
.ipynb_checkpoints/pereobuch-checkpoint.py
+
1
−
1
View file @
f8871fd6
...
...
@@ -894,7 +894,7 @@ def main():
train_dataset
=
train_dataset
,
eval_dataset
=
val_dataset
,
compute_metrics
=
compute_metrics
,
callbacks
=
[
EarlyStoppingCallback
(
early_stopping_patience
=
2
)]
callbacks
=
[
EarlyStoppingCallback
(
early_stopping_patience
=
2
)]
,
label_names
=
[
"labels_safety"
,
"labels_attack"
]
)
...
...
This diff is collapsed.
Click to expand it.
pereobuch.py
+
1
−
1
View file @
f8871fd6
...
...
@@ -894,7 +894,7 @@ def main():
train_dataset
=
train_dataset
,
eval_dataset
=
val_dataset
,
compute_metrics
=
compute_metrics
,
callbacks
=
[
EarlyStoppingCallback
(
early_stopping_patience
=
2
)]
callbacks
=
[
EarlyStoppingCallback
(
early_stopping_patience
=
2
)]
,
label_names
=
[
"labels_safety"
,
"labels_attack"
]
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets