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
e25b667e
Commit
e25b667e
authored
4 weeks ago
by
Мазур Грета Евгеньевна
Browse files
Options
Download
Patches
Plain Diff
micro zapusk no cross
parent
4d51791d
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ipynb_checkpoints/micro_no_cross-checkpoint.py
+2
-1
.ipynb_checkpoints/micro_no_cross-checkpoint.py
with
2 additions
and
1 deletion
+2
-1
.ipynb_checkpoints/micro_no_cross-checkpoint.py
+
2
−
1
View file @
e25b667e
...
...
@@ -180,6 +180,7 @@ plt.show()
# tokenizer.save_pretrained('./fine-tuned-bert-lora_new')
# Сохранение модели, адаптеров LoRA и токенизатора
model
.
save_pretrained
(
'./micro_no_cross_fine_tuned'
)
# Сохраняет модель и её веса
model
.
save_adapter
(
'./micro_no_cross_fine_tuned'
)
# Сохраняет адаптеры LoRA
tokenizer
.
save_pretrained
(
'./micro_no_cross_fine_tuned'
)
# Сохраняет токенизатор
model
.
save_adapter
(
'./micro_no_cross_fine_tuned'
)
# Сохраняет адаптеры LoRA
print
(
"Все сохранено"
)
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