Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
king-menin committed Feb 11, 2021
1 parent 01719e1 commit face0b6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
17 changes: 16 additions & 1 deletion examples/Finetune_RuGPTs_with_HF.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"source": [
"# Finetune RuGPTs in huggingface\n",
"How to finetune RuGPTs models with huggingface. Example for RuGPT3Small. Nfor other models it will take more GPU memory.\n",
"\n",
"This notebook is valid for all RuGPTs models except RuGPT3XL.\n",
"## Install env"
]
},
Expand Down Expand Up @@ -293,9 +295,22 @@
},
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.8"
}
},
"nbformat": 4,
"nbformat_minor": 0
"nbformat_minor": 1
}
17 changes: 16 additions & 1 deletion examples/Generate_text_with_RuGPTs_HF.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"source": [
"# Generate text with RuGPTs in huggingface\n",
"How to generate text with pretrained RuGPTs models with huggingface.\n",
"\n",
"This notebook is valid for all RuGPTs models except RuGPT3XL.\n",
"## Install env"
]
},
Expand Down Expand Up @@ -299,9 +301,22 @@
},
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.8"
}
},
"nbformat": 4,
"nbformat_minor": 0
"nbformat_minor": 1
}

0 comments on commit face0b6

Please sign in to comment.