Spaces:
Running
Running
update milestone-3 notebook
Browse files- CS670_milestone_3_AyeThuzar.ipynb +1530 -79
CS670_milestone_3_AyeThuzar.ipynb
CHANGED
@@ -2410,6 +2410,1308 @@
|
|
2410 |
"_view_name": "StyleView",
|
2411 |
"description_width": ""
|
2412 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2413 |
}
|
2414 |
}
|
2415 |
}
|
@@ -2544,9 +3846,9 @@
|
|
2544 |
"base_uri": "https://localhost:8080/"
|
2545 |
},
|
2546 |
"id": "W79jQrLDVa5y",
|
2547 |
-
"outputId": "
|
2548 |
},
|
2549 |
-
"execution_count":
|
2550 |
"outputs": [
|
2551 |
{
|
2552 |
"output_type": "stream",
|
@@ -2572,6 +3874,40 @@
|
|
2572 |
}
|
2573 |
]
|
2574 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2575 |
{
|
2576 |
"cell_type": "markdown",
|
2577 |
"source": [
|
@@ -2638,13 +3974,71 @@
|
|
2638 |
"\n",
|
2639 |
"from transformers import logging\n",
|
2640 |
"\n",
|
2641 |
-
"logging.set_verbosity_warning()\n"
|
|
|
|
|
|
|
|
|
2642 |
],
|
2643 |
"metadata": {
|
2644 |
-
"id": "FxZeFFTlFvz1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2645 |
},
|
2646 |
-
"execution_count":
|
2647 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2648 |
},
|
2649 |
{
|
2650 |
"cell_type": "markdown",
|
@@ -5661,7 +7055,7 @@
|
|
5661 |
{
|
5662 |
"cell_type": "code",
|
5663 |
"source": [
|
5664 |
-
"model = DistilBertForSequenceClassification.from_pretrained(model_name, num_labels=
|
5665 |
"\n"
|
5666 |
],
|
5667 |
"metadata": {
|
@@ -5669,9 +7063,9 @@
|
|
5669 |
"base_uri": "https://localhost:8080/"
|
5670 |
},
|
5671 |
"id": "cR-q_5PuUt0x",
|
5672 |
-
"outputId": "
|
5673 |
},
|
5674 |
-
"execution_count":
|
5675 |
"outputs": [
|
5676 |
{
|
5677 |
"output_type": "stream",
|
@@ -5712,9 +7106,9 @@
|
|
5712 |
"colab": {
|
5713 |
"base_uri": "https://localhost:8080/"
|
5714 |
},
|
5715 |
-
"outputId": "
|
5716 |
},
|
5717 |
-
"execution_count":
|
5718 |
"outputs": [
|
5719 |
{
|
5720 |
"output_type": "execute_result",
|
@@ -5751,13 +7145,13 @@
|
|
5751 |
" )\n",
|
5752 |
" )\n",
|
5753 |
" (pre_classifier): Linear(in_features=768, out_features=768, bias=True)\n",
|
5754 |
-
" (classifier): Linear(in_features=768, out_features=
|
5755 |
" (dropout): Dropout(p=0.2, inplace=False)\n",
|
5756 |
")"
|
5757 |
]
|
5758 |
},
|
5759 |
"metadata": {},
|
5760 |
-
"execution_count":
|
5761 |
}
|
5762 |
]
|
5763 |
},
|
@@ -5785,16 +7179,13 @@
|
|
5785 |
"colab": {
|
5786 |
"base_uri": "https://localhost:8080/"
|
5787 |
},
|
5788 |
-
"outputId": "
|
5789 |
},
|
5790 |
-
"execution_count":
|
5791 |
"outputs": [
|
5792 |
{
|
5793 |
-
"metadata": {
|
5794 |
-
"tags": null
|
5795 |
-
},
|
5796 |
-
"name": "stdout",
|
5797 |
"output_type": "stream",
|
|
|
5798 |
"text": [
|
5799 |
"tensor([[ 101, 1015, 1012, ..., 16503, 2063, 102],\n",
|
5800 |
" [ 101, 1015, 1012, ..., 3341, 2012, 102],\n",
|
@@ -5818,16 +7209,13 @@
|
|
5818 |
"colab": {
|
5819 |
"base_uri": "https://localhost:8080/"
|
5820 |
},
|
5821 |
-
"outputId": "
|
5822 |
},
|
5823 |
-
"execution_count":
|
5824 |
"outputs": [
|
5825 |
{
|
5826 |
-
"metadata": {
|
5827 |
-
"tags": null
|
5828 |
-
},
|
5829 |
-
"name": "stdout",
|
5830 |
"output_type": "stream",
|
|
|
5831 |
"text": [
|
5832 |
"tensor([[ 101, 1015, 1012, ..., 16503, 2063, 102],\n",
|
5833 |
" [ 101, 1015, 1012, ..., 3341, 2012, 102],\n",
|
@@ -5864,46 +7252,46 @@
|
|
5864 |
"colab": {
|
5865 |
"base_uri": "https://localhost:8080/"
|
5866 |
},
|
5867 |
-
"outputId": "
|
5868 |
},
|
5869 |
-
"execution_count":
|
5870 |
"outputs": [
|
5871 |
{
|
5872 |
"output_type": "stream",
|
5873 |
"name": "stdout",
|
5874 |
"text": [
|
5875 |
-
"tensor([[
|
5876 |
-
" [
|
5877 |
-
" [
|
5878 |
-
" [
|
5879 |
-
" [
|
5880 |
-
" [
|
5881 |
-
" [
|
5882 |
-
" [
|
5883 |
-
" [
|
5884 |
-
" [
|
5885 |
-
" [
|
5886 |
-
" [
|
5887 |
-
" [
|
5888 |
-
" [
|
5889 |
-
" [
|
5890 |
-
" [
|
5891 |
-
"tensor([[
|
5892 |
-
" [
|
5893 |
-
" [
|
5894 |
-
" [
|
5895 |
-
" [
|
5896 |
-
" [
|
5897 |
-
" [
|
5898 |
-
" [
|
5899 |
-
" [
|
5900 |
-
" [
|
5901 |
-
" [
|
5902 |
-
" [
|
5903 |
-
" [
|
5904 |
-
" [
|
5905 |
-
" [
|
5906 |
-
" [
|
5907 |
"tensor([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1])\n",
|
5908 |
"--------\n",
|
5909 |
"tensor([0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1])\n",
|
@@ -5942,9 +7330,9 @@
|
|
5942 |
"colab": {
|
5943 |
"base_uri": "https://localhost:8080/"
|
5944 |
},
|
5945 |
-
"outputId": "
|
5946 |
},
|
5947 |
-
"execution_count":
|
5948 |
"outputs": [
|
5949 |
{
|
5950 |
"output_type": "stream",
|
@@ -6533,9 +7921,9 @@
|
|
6533 |
"colab": {
|
6534 |
"base_uri": "https://localhost:8080/"
|
6535 |
},
|
6536 |
-
"outputId": "
|
6537 |
},
|
6538 |
-
"execution_count":
|
6539 |
"outputs": [
|
6540 |
{
|
6541 |
"output_type": "stream",
|
@@ -6565,7 +7953,7 @@
|
|
6565 |
"metadata": {
|
6566 |
"id": "KefqatP-YDSC"
|
6567 |
},
|
6568 |
-
"execution_count":
|
6569 |
"outputs": []
|
6570 |
},
|
6571 |
{
|
@@ -6577,7 +7965,7 @@
|
|
6577 |
"metadata": {
|
6578 |
"id": "Km8eScKJl4VP"
|
6579 |
},
|
6580 |
-
"execution_count":
|
6581 |
"outputs": []
|
6582 |
},
|
6583 |
{
|
@@ -6611,26 +7999,26 @@
|
|
6611 |
"colab": {
|
6612 |
"base_uri": "https://localhost:8080/"
|
6613 |
},
|
6614 |
-
"outputId": "
|
6615 |
},
|
6616 |
-
"execution_count":
|
6617 |
"outputs": [
|
6618 |
{
|
6619 |
"output_type": "stream",
|
6620 |
"name": "stdout",
|
6621 |
"text": [
|
6622 |
-
"tensor([[
|
6623 |
-
" [
|
6624 |
-
" [
|
6625 |
-
" [
|
6626 |
-
" [
|
6627 |
-
" [
|
6628 |
-
"tensor([[
|
6629 |
-
" [
|
6630 |
-
" [
|
6631 |
-
" [
|
6632 |
-
" [
|
6633 |
-
" [
|
6634 |
"tensor([1, 1, 1, 1, 1, 1])\n",
|
6635 |
"--------\n",
|
6636 |
"tensor([1, 1, 0, 1, 1, 1])\n",
|
@@ -6641,6 +8029,69 @@
|
|
6641 |
}
|
6642 |
]
|
6643 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6644 |
{
|
6645 |
"cell_type": "markdown",
|
6646 |
"source": [
|
|
|
2410 |
"_view_name": "StyleView",
|
2411 |
"description_width": ""
|
2412 |
}
|
2413 |
+
},
|
2414 |
+
"6483b3fa828d4a02afbccd42bb5969bb": {
|
2415 |
+
"model_module": "@jupyter-widgets/controls",
|
2416 |
+
"model_name": "VBoxModel",
|
2417 |
+
"model_module_version": "1.5.0",
|
2418 |
+
"state": {
|
2419 |
+
"_dom_classes": [],
|
2420 |
+
"_model_module": "@jupyter-widgets/controls",
|
2421 |
+
"_model_module_version": "1.5.0",
|
2422 |
+
"_model_name": "VBoxModel",
|
2423 |
+
"_view_count": null,
|
2424 |
+
"_view_module": "@jupyter-widgets/controls",
|
2425 |
+
"_view_module_version": "1.5.0",
|
2426 |
+
"_view_name": "VBoxView",
|
2427 |
+
"box_style": "",
|
2428 |
+
"children": [
|
2429 |
+
"IPY_MODEL_8f0333ec39f24f0d9a75b19b6463532e",
|
2430 |
+
"IPY_MODEL_44b533e6171442468ca19a95c0337624",
|
2431 |
+
"IPY_MODEL_10b398d4e2e742f0b40da2a19b73907a",
|
2432 |
+
"IPY_MODEL_5c105e2ea7324d5ba92b2e35c84594b4"
|
2433 |
+
],
|
2434 |
+
"layout": "IPY_MODEL_f67aba8de146433ab60aee99a70d9a4b"
|
2435 |
+
}
|
2436 |
+
},
|
2437 |
+
"41a33bdcf71a4c14aa714e3021cad88c": {
|
2438 |
+
"model_module": "@jupyter-widgets/controls",
|
2439 |
+
"model_name": "HTMLModel",
|
2440 |
+
"model_module_version": "1.5.0",
|
2441 |
+
"state": {
|
2442 |
+
"_dom_classes": [],
|
2443 |
+
"_model_module": "@jupyter-widgets/controls",
|
2444 |
+
"_model_module_version": "1.5.0",
|
2445 |
+
"_model_name": "HTMLModel",
|
2446 |
+
"_view_count": null,
|
2447 |
+
"_view_module": "@jupyter-widgets/controls",
|
2448 |
+
"_view_module_version": "1.5.0",
|
2449 |
+
"_view_name": "HTMLView",
|
2450 |
+
"description": "",
|
2451 |
+
"description_tooltip": null,
|
2452 |
+
"layout": "IPY_MODEL_f8c0ca13948542f5b21a632603af8023",
|
2453 |
+
"placeholder": "",
|
2454 |
+
"style": "IPY_MODEL_ed46fa4a74d84fb1a1f304c9cb1509e2",
|
2455 |
+
"value": "<center> <img\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.svg\nalt='Hugging Face'> <br> Copy a token from <a\nhref=\"https://huggingface.co/settings/tokens\" target=\"_blank\">your Hugging Face\ntokens page</a> and paste it below. <br> Immediately click login after copying\nyour token or it might be stored in plain text in this notebook file. </center>"
|
2456 |
+
}
|
2457 |
+
},
|
2458 |
+
"390aa758fec54775886423d2fb4442c5": {
|
2459 |
+
"model_module": "@jupyter-widgets/controls",
|
2460 |
+
"model_name": "PasswordModel",
|
2461 |
+
"model_module_version": "1.5.0",
|
2462 |
+
"state": {
|
2463 |
+
"_dom_classes": [],
|
2464 |
+
"_model_module": "@jupyter-widgets/controls",
|
2465 |
+
"_model_module_version": "1.5.0",
|
2466 |
+
"_model_name": "PasswordModel",
|
2467 |
+
"_view_count": null,
|
2468 |
+
"_view_module": "@jupyter-widgets/controls",
|
2469 |
+
"_view_module_version": "1.5.0",
|
2470 |
+
"_view_name": "PasswordView",
|
2471 |
+
"continuous_update": true,
|
2472 |
+
"description": "Token:",
|
2473 |
+
"description_tooltip": null,
|
2474 |
+
"disabled": false,
|
2475 |
+
"layout": "IPY_MODEL_d4f40bfa04a8419c9713a3c30370c76e",
|
2476 |
+
"placeholder": "",
|
2477 |
+
"style": "IPY_MODEL_92866437f4324f67be43beff093e07d7",
|
2478 |
+
"value": ""
|
2479 |
+
}
|
2480 |
+
},
|
2481 |
+
"7f44b27d085f40fe831d22f41509c495": {
|
2482 |
+
"model_module": "@jupyter-widgets/controls",
|
2483 |
+
"model_name": "CheckboxModel",
|
2484 |
+
"model_module_version": "1.5.0",
|
2485 |
+
"state": {
|
2486 |
+
"_dom_classes": [],
|
2487 |
+
"_model_module": "@jupyter-widgets/controls",
|
2488 |
+
"_model_module_version": "1.5.0",
|
2489 |
+
"_model_name": "CheckboxModel",
|
2490 |
+
"_view_count": null,
|
2491 |
+
"_view_module": "@jupyter-widgets/controls",
|
2492 |
+
"_view_module_version": "1.5.0",
|
2493 |
+
"_view_name": "CheckboxView",
|
2494 |
+
"description": "Add token as git credential?",
|
2495 |
+
"description_tooltip": null,
|
2496 |
+
"disabled": false,
|
2497 |
+
"indent": true,
|
2498 |
+
"layout": "IPY_MODEL_bc5baf3339b44703994aedad3614a373",
|
2499 |
+
"style": "IPY_MODEL_5580a8a01c9a471ab019d19b2f1a6083",
|
2500 |
+
"value": true
|
2501 |
+
}
|
2502 |
+
},
|
2503 |
+
"3fc5cf6b4b084158ba291d04e98de95b": {
|
2504 |
+
"model_module": "@jupyter-widgets/controls",
|
2505 |
+
"model_name": "ButtonModel",
|
2506 |
+
"model_module_version": "1.5.0",
|
2507 |
+
"state": {
|
2508 |
+
"_dom_classes": [],
|
2509 |
+
"_model_module": "@jupyter-widgets/controls",
|
2510 |
+
"_model_module_version": "1.5.0",
|
2511 |
+
"_model_name": "ButtonModel",
|
2512 |
+
"_view_count": null,
|
2513 |
+
"_view_module": "@jupyter-widgets/controls",
|
2514 |
+
"_view_module_version": "1.5.0",
|
2515 |
+
"_view_name": "ButtonView",
|
2516 |
+
"button_style": "",
|
2517 |
+
"description": "Login",
|
2518 |
+
"disabled": false,
|
2519 |
+
"icon": "",
|
2520 |
+
"layout": "IPY_MODEL_bea80930642e415c98942e19d6961bea",
|
2521 |
+
"style": "IPY_MODEL_bf2e0c7574924a9da3235a2813eb85a1",
|
2522 |
+
"tooltip": ""
|
2523 |
+
}
|
2524 |
+
},
|
2525 |
+
"f6ead9021492479db0a0883636a68be7": {
|
2526 |
+
"model_module": "@jupyter-widgets/controls",
|
2527 |
+
"model_name": "HTMLModel",
|
2528 |
+
"model_module_version": "1.5.0",
|
2529 |
+
"state": {
|
2530 |
+
"_dom_classes": [],
|
2531 |
+
"_model_module": "@jupyter-widgets/controls",
|
2532 |
+
"_model_module_version": "1.5.0",
|
2533 |
+
"_model_name": "HTMLModel",
|
2534 |
+
"_view_count": null,
|
2535 |
+
"_view_module": "@jupyter-widgets/controls",
|
2536 |
+
"_view_module_version": "1.5.0",
|
2537 |
+
"_view_name": "HTMLView",
|
2538 |
+
"description": "",
|
2539 |
+
"description_tooltip": null,
|
2540 |
+
"layout": "IPY_MODEL_9c596e6599a543f89b0aa58b2f040337",
|
2541 |
+
"placeholder": "",
|
2542 |
+
"style": "IPY_MODEL_21884c9b23cb49edb5319f8b4dbc09fa",
|
2543 |
+
"value": "\n<b>Pro Tip:</b> If you don't already have one, you can create a dedicated\n'notebooks' token with 'write' access, that you can then easily reuse for all\nnotebooks. </center>"
|
2544 |
+
}
|
2545 |
+
},
|
2546 |
+
"f67aba8de146433ab60aee99a70d9a4b": {
|
2547 |
+
"model_module": "@jupyter-widgets/base",
|
2548 |
+
"model_name": "LayoutModel",
|
2549 |
+
"model_module_version": "1.2.0",
|
2550 |
+
"state": {
|
2551 |
+
"_model_module": "@jupyter-widgets/base",
|
2552 |
+
"_model_module_version": "1.2.0",
|
2553 |
+
"_model_name": "LayoutModel",
|
2554 |
+
"_view_count": null,
|
2555 |
+
"_view_module": "@jupyter-widgets/base",
|
2556 |
+
"_view_module_version": "1.2.0",
|
2557 |
+
"_view_name": "LayoutView",
|
2558 |
+
"align_content": null,
|
2559 |
+
"align_items": "center",
|
2560 |
+
"align_self": null,
|
2561 |
+
"border": null,
|
2562 |
+
"bottom": null,
|
2563 |
+
"display": "flex",
|
2564 |
+
"flex": null,
|
2565 |
+
"flex_flow": "column",
|
2566 |
+
"grid_area": null,
|
2567 |
+
"grid_auto_columns": null,
|
2568 |
+
"grid_auto_flow": null,
|
2569 |
+
"grid_auto_rows": null,
|
2570 |
+
"grid_column": null,
|
2571 |
+
"grid_gap": null,
|
2572 |
+
"grid_row": null,
|
2573 |
+
"grid_template_areas": null,
|
2574 |
+
"grid_template_columns": null,
|
2575 |
+
"grid_template_rows": null,
|
2576 |
+
"height": null,
|
2577 |
+
"justify_content": null,
|
2578 |
+
"justify_items": null,
|
2579 |
+
"left": null,
|
2580 |
+
"margin": null,
|
2581 |
+
"max_height": null,
|
2582 |
+
"max_width": null,
|
2583 |
+
"min_height": null,
|
2584 |
+
"min_width": null,
|
2585 |
+
"object_fit": null,
|
2586 |
+
"object_position": null,
|
2587 |
+
"order": null,
|
2588 |
+
"overflow": null,
|
2589 |
+
"overflow_x": null,
|
2590 |
+
"overflow_y": null,
|
2591 |
+
"padding": null,
|
2592 |
+
"right": null,
|
2593 |
+
"top": null,
|
2594 |
+
"visibility": null,
|
2595 |
+
"width": "50%"
|
2596 |
+
}
|
2597 |
+
},
|
2598 |
+
"f8c0ca13948542f5b21a632603af8023": {
|
2599 |
+
"model_module": "@jupyter-widgets/base",
|
2600 |
+
"model_name": "LayoutModel",
|
2601 |
+
"model_module_version": "1.2.0",
|
2602 |
+
"state": {
|
2603 |
+
"_model_module": "@jupyter-widgets/base",
|
2604 |
+
"_model_module_version": "1.2.0",
|
2605 |
+
"_model_name": "LayoutModel",
|
2606 |
+
"_view_count": null,
|
2607 |
+
"_view_module": "@jupyter-widgets/base",
|
2608 |
+
"_view_module_version": "1.2.0",
|
2609 |
+
"_view_name": "LayoutView",
|
2610 |
+
"align_content": null,
|
2611 |
+
"align_items": null,
|
2612 |
+
"align_self": null,
|
2613 |
+
"border": null,
|
2614 |
+
"bottom": null,
|
2615 |
+
"display": null,
|
2616 |
+
"flex": null,
|
2617 |
+
"flex_flow": null,
|
2618 |
+
"grid_area": null,
|
2619 |
+
"grid_auto_columns": null,
|
2620 |
+
"grid_auto_flow": null,
|
2621 |
+
"grid_auto_rows": null,
|
2622 |
+
"grid_column": null,
|
2623 |
+
"grid_gap": null,
|
2624 |
+
"grid_row": null,
|
2625 |
+
"grid_template_areas": null,
|
2626 |
+
"grid_template_columns": null,
|
2627 |
+
"grid_template_rows": null,
|
2628 |
+
"height": null,
|
2629 |
+
"justify_content": null,
|
2630 |
+
"justify_items": null,
|
2631 |
+
"left": null,
|
2632 |
+
"margin": null,
|
2633 |
+
"max_height": null,
|
2634 |
+
"max_width": null,
|
2635 |
+
"min_height": null,
|
2636 |
+
"min_width": null,
|
2637 |
+
"object_fit": null,
|
2638 |
+
"object_position": null,
|
2639 |
+
"order": null,
|
2640 |
+
"overflow": null,
|
2641 |
+
"overflow_x": null,
|
2642 |
+
"overflow_y": null,
|
2643 |
+
"padding": null,
|
2644 |
+
"right": null,
|
2645 |
+
"top": null,
|
2646 |
+
"visibility": null,
|
2647 |
+
"width": null
|
2648 |
+
}
|
2649 |
+
},
|
2650 |
+
"ed46fa4a74d84fb1a1f304c9cb1509e2": {
|
2651 |
+
"model_module": "@jupyter-widgets/controls",
|
2652 |
+
"model_name": "DescriptionStyleModel",
|
2653 |
+
"model_module_version": "1.5.0",
|
2654 |
+
"state": {
|
2655 |
+
"_model_module": "@jupyter-widgets/controls",
|
2656 |
+
"_model_module_version": "1.5.0",
|
2657 |
+
"_model_name": "DescriptionStyleModel",
|
2658 |
+
"_view_count": null,
|
2659 |
+
"_view_module": "@jupyter-widgets/base",
|
2660 |
+
"_view_module_version": "1.2.0",
|
2661 |
+
"_view_name": "StyleView",
|
2662 |
+
"description_width": ""
|
2663 |
+
}
|
2664 |
+
},
|
2665 |
+
"d4f40bfa04a8419c9713a3c30370c76e": {
|
2666 |
+
"model_module": "@jupyter-widgets/base",
|
2667 |
+
"model_name": "LayoutModel",
|
2668 |
+
"model_module_version": "1.2.0",
|
2669 |
+
"state": {
|
2670 |
+
"_model_module": "@jupyter-widgets/base",
|
2671 |
+
"_model_module_version": "1.2.0",
|
2672 |
+
"_model_name": "LayoutModel",
|
2673 |
+
"_view_count": null,
|
2674 |
+
"_view_module": "@jupyter-widgets/base",
|
2675 |
+
"_view_module_version": "1.2.0",
|
2676 |
+
"_view_name": "LayoutView",
|
2677 |
+
"align_content": null,
|
2678 |
+
"align_items": null,
|
2679 |
+
"align_self": null,
|
2680 |
+
"border": null,
|
2681 |
+
"bottom": null,
|
2682 |
+
"display": null,
|
2683 |
+
"flex": null,
|
2684 |
+
"flex_flow": null,
|
2685 |
+
"grid_area": null,
|
2686 |
+
"grid_auto_columns": null,
|
2687 |
+
"grid_auto_flow": null,
|
2688 |
+
"grid_auto_rows": null,
|
2689 |
+
"grid_column": null,
|
2690 |
+
"grid_gap": null,
|
2691 |
+
"grid_row": null,
|
2692 |
+
"grid_template_areas": null,
|
2693 |
+
"grid_template_columns": null,
|
2694 |
+
"grid_template_rows": null,
|
2695 |
+
"height": null,
|
2696 |
+
"justify_content": null,
|
2697 |
+
"justify_items": null,
|
2698 |
+
"left": null,
|
2699 |
+
"margin": null,
|
2700 |
+
"max_height": null,
|
2701 |
+
"max_width": null,
|
2702 |
+
"min_height": null,
|
2703 |
+
"min_width": null,
|
2704 |
+
"object_fit": null,
|
2705 |
+
"object_position": null,
|
2706 |
+
"order": null,
|
2707 |
+
"overflow": null,
|
2708 |
+
"overflow_x": null,
|
2709 |
+
"overflow_y": null,
|
2710 |
+
"padding": null,
|
2711 |
+
"right": null,
|
2712 |
+
"top": null,
|
2713 |
+
"visibility": null,
|
2714 |
+
"width": null
|
2715 |
+
}
|
2716 |
+
},
|
2717 |
+
"92866437f4324f67be43beff093e07d7": {
|
2718 |
+
"model_module": "@jupyter-widgets/controls",
|
2719 |
+
"model_name": "DescriptionStyleModel",
|
2720 |
+
"model_module_version": "1.5.0",
|
2721 |
+
"state": {
|
2722 |
+
"_model_module": "@jupyter-widgets/controls",
|
2723 |
+
"_model_module_version": "1.5.0",
|
2724 |
+
"_model_name": "DescriptionStyleModel",
|
2725 |
+
"_view_count": null,
|
2726 |
+
"_view_module": "@jupyter-widgets/base",
|
2727 |
+
"_view_module_version": "1.2.0",
|
2728 |
+
"_view_name": "StyleView",
|
2729 |
+
"description_width": ""
|
2730 |
+
}
|
2731 |
+
},
|
2732 |
+
"bc5baf3339b44703994aedad3614a373": {
|
2733 |
+
"model_module": "@jupyter-widgets/base",
|
2734 |
+
"model_name": "LayoutModel",
|
2735 |
+
"model_module_version": "1.2.0",
|
2736 |
+
"state": {
|
2737 |
+
"_model_module": "@jupyter-widgets/base",
|
2738 |
+
"_model_module_version": "1.2.0",
|
2739 |
+
"_model_name": "LayoutModel",
|
2740 |
+
"_view_count": null,
|
2741 |
+
"_view_module": "@jupyter-widgets/base",
|
2742 |
+
"_view_module_version": "1.2.0",
|
2743 |
+
"_view_name": "LayoutView",
|
2744 |
+
"align_content": null,
|
2745 |
+
"align_items": null,
|
2746 |
+
"align_self": null,
|
2747 |
+
"border": null,
|
2748 |
+
"bottom": null,
|
2749 |
+
"display": null,
|
2750 |
+
"flex": null,
|
2751 |
+
"flex_flow": null,
|
2752 |
+
"grid_area": null,
|
2753 |
+
"grid_auto_columns": null,
|
2754 |
+
"grid_auto_flow": null,
|
2755 |
+
"grid_auto_rows": null,
|
2756 |
+
"grid_column": null,
|
2757 |
+
"grid_gap": null,
|
2758 |
+
"grid_row": null,
|
2759 |
+
"grid_template_areas": null,
|
2760 |
+
"grid_template_columns": null,
|
2761 |
+
"grid_template_rows": null,
|
2762 |
+
"height": null,
|
2763 |
+
"justify_content": null,
|
2764 |
+
"justify_items": null,
|
2765 |
+
"left": null,
|
2766 |
+
"margin": null,
|
2767 |
+
"max_height": null,
|
2768 |
+
"max_width": null,
|
2769 |
+
"min_height": null,
|
2770 |
+
"min_width": null,
|
2771 |
+
"object_fit": null,
|
2772 |
+
"object_position": null,
|
2773 |
+
"order": null,
|
2774 |
+
"overflow": null,
|
2775 |
+
"overflow_x": null,
|
2776 |
+
"overflow_y": null,
|
2777 |
+
"padding": null,
|
2778 |
+
"right": null,
|
2779 |
+
"top": null,
|
2780 |
+
"visibility": null,
|
2781 |
+
"width": null
|
2782 |
+
}
|
2783 |
+
},
|
2784 |
+
"5580a8a01c9a471ab019d19b2f1a6083": {
|
2785 |
+
"model_module": "@jupyter-widgets/controls",
|
2786 |
+
"model_name": "DescriptionStyleModel",
|
2787 |
+
"model_module_version": "1.5.0",
|
2788 |
+
"state": {
|
2789 |
+
"_model_module": "@jupyter-widgets/controls",
|
2790 |
+
"_model_module_version": "1.5.0",
|
2791 |
+
"_model_name": "DescriptionStyleModel",
|
2792 |
+
"_view_count": null,
|
2793 |
+
"_view_module": "@jupyter-widgets/base",
|
2794 |
+
"_view_module_version": "1.2.0",
|
2795 |
+
"_view_name": "StyleView",
|
2796 |
+
"description_width": ""
|
2797 |
+
}
|
2798 |
+
},
|
2799 |
+
"bea80930642e415c98942e19d6961bea": {
|
2800 |
+
"model_module": "@jupyter-widgets/base",
|
2801 |
+
"model_name": "LayoutModel",
|
2802 |
+
"model_module_version": "1.2.0",
|
2803 |
+
"state": {
|
2804 |
+
"_model_module": "@jupyter-widgets/base",
|
2805 |
+
"_model_module_version": "1.2.0",
|
2806 |
+
"_model_name": "LayoutModel",
|
2807 |
+
"_view_count": null,
|
2808 |
+
"_view_module": "@jupyter-widgets/base",
|
2809 |
+
"_view_module_version": "1.2.0",
|
2810 |
+
"_view_name": "LayoutView",
|
2811 |
+
"align_content": null,
|
2812 |
+
"align_items": null,
|
2813 |
+
"align_self": null,
|
2814 |
+
"border": null,
|
2815 |
+
"bottom": null,
|
2816 |
+
"display": null,
|
2817 |
+
"flex": null,
|
2818 |
+
"flex_flow": null,
|
2819 |
+
"grid_area": null,
|
2820 |
+
"grid_auto_columns": null,
|
2821 |
+
"grid_auto_flow": null,
|
2822 |
+
"grid_auto_rows": null,
|
2823 |
+
"grid_column": null,
|
2824 |
+
"grid_gap": null,
|
2825 |
+
"grid_row": null,
|
2826 |
+
"grid_template_areas": null,
|
2827 |
+
"grid_template_columns": null,
|
2828 |
+
"grid_template_rows": null,
|
2829 |
+
"height": null,
|
2830 |
+
"justify_content": null,
|
2831 |
+
"justify_items": null,
|
2832 |
+
"left": null,
|
2833 |
+
"margin": null,
|
2834 |
+
"max_height": null,
|
2835 |
+
"max_width": null,
|
2836 |
+
"min_height": null,
|
2837 |
+
"min_width": null,
|
2838 |
+
"object_fit": null,
|
2839 |
+
"object_position": null,
|
2840 |
+
"order": null,
|
2841 |
+
"overflow": null,
|
2842 |
+
"overflow_x": null,
|
2843 |
+
"overflow_y": null,
|
2844 |
+
"padding": null,
|
2845 |
+
"right": null,
|
2846 |
+
"top": null,
|
2847 |
+
"visibility": null,
|
2848 |
+
"width": null
|
2849 |
+
}
|
2850 |
+
},
|
2851 |
+
"bf2e0c7574924a9da3235a2813eb85a1": {
|
2852 |
+
"model_module": "@jupyter-widgets/controls",
|
2853 |
+
"model_name": "ButtonStyleModel",
|
2854 |
+
"model_module_version": "1.5.0",
|
2855 |
+
"state": {
|
2856 |
+
"_model_module": "@jupyter-widgets/controls",
|
2857 |
+
"_model_module_version": "1.5.0",
|
2858 |
+
"_model_name": "ButtonStyleModel",
|
2859 |
+
"_view_count": null,
|
2860 |
+
"_view_module": "@jupyter-widgets/base",
|
2861 |
+
"_view_module_version": "1.2.0",
|
2862 |
+
"_view_name": "StyleView",
|
2863 |
+
"button_color": null,
|
2864 |
+
"font_weight": ""
|
2865 |
+
}
|
2866 |
+
},
|
2867 |
+
"9c596e6599a543f89b0aa58b2f040337": {
|
2868 |
+
"model_module": "@jupyter-widgets/base",
|
2869 |
+
"model_name": "LayoutModel",
|
2870 |
+
"model_module_version": "1.2.0",
|
2871 |
+
"state": {
|
2872 |
+
"_model_module": "@jupyter-widgets/base",
|
2873 |
+
"_model_module_version": "1.2.0",
|
2874 |
+
"_model_name": "LayoutModel",
|
2875 |
+
"_view_count": null,
|
2876 |
+
"_view_module": "@jupyter-widgets/base",
|
2877 |
+
"_view_module_version": "1.2.0",
|
2878 |
+
"_view_name": "LayoutView",
|
2879 |
+
"align_content": null,
|
2880 |
+
"align_items": null,
|
2881 |
+
"align_self": null,
|
2882 |
+
"border": null,
|
2883 |
+
"bottom": null,
|
2884 |
+
"display": null,
|
2885 |
+
"flex": null,
|
2886 |
+
"flex_flow": null,
|
2887 |
+
"grid_area": null,
|
2888 |
+
"grid_auto_columns": null,
|
2889 |
+
"grid_auto_flow": null,
|
2890 |
+
"grid_auto_rows": null,
|
2891 |
+
"grid_column": null,
|
2892 |
+
"grid_gap": null,
|
2893 |
+
"grid_row": null,
|
2894 |
+
"grid_template_areas": null,
|
2895 |
+
"grid_template_columns": null,
|
2896 |
+
"grid_template_rows": null,
|
2897 |
+
"height": null,
|
2898 |
+
"justify_content": null,
|
2899 |
+
"justify_items": null,
|
2900 |
+
"left": null,
|
2901 |
+
"margin": null,
|
2902 |
+
"max_height": null,
|
2903 |
+
"max_width": null,
|
2904 |
+
"min_height": null,
|
2905 |
+
"min_width": null,
|
2906 |
+
"object_fit": null,
|
2907 |
+
"object_position": null,
|
2908 |
+
"order": null,
|
2909 |
+
"overflow": null,
|
2910 |
+
"overflow_x": null,
|
2911 |
+
"overflow_y": null,
|
2912 |
+
"padding": null,
|
2913 |
+
"right": null,
|
2914 |
+
"top": null,
|
2915 |
+
"visibility": null,
|
2916 |
+
"width": null
|
2917 |
+
}
|
2918 |
+
},
|
2919 |
+
"21884c9b23cb49edb5319f8b4dbc09fa": {
|
2920 |
+
"model_module": "@jupyter-widgets/controls",
|
2921 |
+
"model_name": "DescriptionStyleModel",
|
2922 |
+
"model_module_version": "1.5.0",
|
2923 |
+
"state": {
|
2924 |
+
"_model_module": "@jupyter-widgets/controls",
|
2925 |
+
"_model_module_version": "1.5.0",
|
2926 |
+
"_model_name": "DescriptionStyleModel",
|
2927 |
+
"_view_count": null,
|
2928 |
+
"_view_module": "@jupyter-widgets/base",
|
2929 |
+
"_view_module_version": "1.2.0",
|
2930 |
+
"_view_name": "StyleView",
|
2931 |
+
"description_width": ""
|
2932 |
+
}
|
2933 |
+
},
|
2934 |
+
"5f3f998c135e42809597b04aeffe1c75": {
|
2935 |
+
"model_module": "@jupyter-widgets/controls",
|
2936 |
+
"model_name": "LabelModel",
|
2937 |
+
"model_module_version": "1.5.0",
|
2938 |
+
"state": {
|
2939 |
+
"_dom_classes": [],
|
2940 |
+
"_model_module": "@jupyter-widgets/controls",
|
2941 |
+
"_model_module_version": "1.5.0",
|
2942 |
+
"_model_name": "LabelModel",
|
2943 |
+
"_view_count": null,
|
2944 |
+
"_view_module": "@jupyter-widgets/controls",
|
2945 |
+
"_view_module_version": "1.5.0",
|
2946 |
+
"_view_name": "LabelView",
|
2947 |
+
"description": "",
|
2948 |
+
"description_tooltip": null,
|
2949 |
+
"layout": "IPY_MODEL_10c8e03577394a44823570f84dbf7fb9",
|
2950 |
+
"placeholder": "",
|
2951 |
+
"style": "IPY_MODEL_0d4ed702344447239da9df287c454cc1",
|
2952 |
+
"value": "Connecting..."
|
2953 |
+
}
|
2954 |
+
},
|
2955 |
+
"10c8e03577394a44823570f84dbf7fb9": {
|
2956 |
+
"model_module": "@jupyter-widgets/base",
|
2957 |
+
"model_name": "LayoutModel",
|
2958 |
+
"model_module_version": "1.2.0",
|
2959 |
+
"state": {
|
2960 |
+
"_model_module": "@jupyter-widgets/base",
|
2961 |
+
"_model_module_version": "1.2.0",
|
2962 |
+
"_model_name": "LayoutModel",
|
2963 |
+
"_view_count": null,
|
2964 |
+
"_view_module": "@jupyter-widgets/base",
|
2965 |
+
"_view_module_version": "1.2.0",
|
2966 |
+
"_view_name": "LayoutView",
|
2967 |
+
"align_content": null,
|
2968 |
+
"align_items": null,
|
2969 |
+
"align_self": null,
|
2970 |
+
"border": null,
|
2971 |
+
"bottom": null,
|
2972 |
+
"display": null,
|
2973 |
+
"flex": null,
|
2974 |
+
"flex_flow": null,
|
2975 |
+
"grid_area": null,
|
2976 |
+
"grid_auto_columns": null,
|
2977 |
+
"grid_auto_flow": null,
|
2978 |
+
"grid_auto_rows": null,
|
2979 |
+
"grid_column": null,
|
2980 |
+
"grid_gap": null,
|
2981 |
+
"grid_row": null,
|
2982 |
+
"grid_template_areas": null,
|
2983 |
+
"grid_template_columns": null,
|
2984 |
+
"grid_template_rows": null,
|
2985 |
+
"height": null,
|
2986 |
+
"justify_content": null,
|
2987 |
+
"justify_items": null,
|
2988 |
+
"left": null,
|
2989 |
+
"margin": null,
|
2990 |
+
"max_height": null,
|
2991 |
+
"max_width": null,
|
2992 |
+
"min_height": null,
|
2993 |
+
"min_width": null,
|
2994 |
+
"object_fit": null,
|
2995 |
+
"object_position": null,
|
2996 |
+
"order": null,
|
2997 |
+
"overflow": null,
|
2998 |
+
"overflow_x": null,
|
2999 |
+
"overflow_y": null,
|
3000 |
+
"padding": null,
|
3001 |
+
"right": null,
|
3002 |
+
"top": null,
|
3003 |
+
"visibility": null,
|
3004 |
+
"width": null
|
3005 |
+
}
|
3006 |
+
},
|
3007 |
+
"0d4ed702344447239da9df287c454cc1": {
|
3008 |
+
"model_module": "@jupyter-widgets/controls",
|
3009 |
+
"model_name": "DescriptionStyleModel",
|
3010 |
+
"model_module_version": "1.5.0",
|
3011 |
+
"state": {
|
3012 |
+
"_model_module": "@jupyter-widgets/controls",
|
3013 |
+
"_model_module_version": "1.5.0",
|
3014 |
+
"_model_name": "DescriptionStyleModel",
|
3015 |
+
"_view_count": null,
|
3016 |
+
"_view_module": "@jupyter-widgets/base",
|
3017 |
+
"_view_module_version": "1.2.0",
|
3018 |
+
"_view_name": "StyleView",
|
3019 |
+
"description_width": ""
|
3020 |
+
}
|
3021 |
+
},
|
3022 |
+
"8f0333ec39f24f0d9a75b19b6463532e": {
|
3023 |
+
"model_module": "@jupyter-widgets/controls",
|
3024 |
+
"model_name": "LabelModel",
|
3025 |
+
"model_module_version": "1.5.0",
|
3026 |
+
"state": {
|
3027 |
+
"_dom_classes": [],
|
3028 |
+
"_model_module": "@jupyter-widgets/controls",
|
3029 |
+
"_model_module_version": "1.5.0",
|
3030 |
+
"_model_name": "LabelModel",
|
3031 |
+
"_view_count": null,
|
3032 |
+
"_view_module": "@jupyter-widgets/controls",
|
3033 |
+
"_view_module_version": "1.5.0",
|
3034 |
+
"_view_name": "LabelView",
|
3035 |
+
"description": "",
|
3036 |
+
"description_tooltip": null,
|
3037 |
+
"layout": "IPY_MODEL_13d6cc4b65724dcfb9b19745d3d02429",
|
3038 |
+
"placeholder": "",
|
3039 |
+
"style": "IPY_MODEL_1ae67ea98b9c4429b0ccf951ba958851",
|
3040 |
+
"value": "Token is valid (permission: write)."
|
3041 |
+
}
|
3042 |
+
},
|
3043 |
+
"44b533e6171442468ca19a95c0337624": {
|
3044 |
+
"model_module": "@jupyter-widgets/controls",
|
3045 |
+
"model_name": "LabelModel",
|
3046 |
+
"model_module_version": "1.5.0",
|
3047 |
+
"state": {
|
3048 |
+
"_dom_classes": [],
|
3049 |
+
"_model_module": "@jupyter-widgets/controls",
|
3050 |
+
"_model_module_version": "1.5.0",
|
3051 |
+
"_model_name": "LabelModel",
|
3052 |
+
"_view_count": null,
|
3053 |
+
"_view_module": "@jupyter-widgets/controls",
|
3054 |
+
"_view_module_version": "1.5.0",
|
3055 |
+
"_view_name": "LabelView",
|
3056 |
+
"description": "",
|
3057 |
+
"description_tooltip": null,
|
3058 |
+
"layout": "IPY_MODEL_2651ac59f2c74fda9a68b6ddcee5e8c6",
|
3059 |
+
"placeholder": "",
|
3060 |
+
"style": "IPY_MODEL_80e6e4f9676b47cb898cf07b4efd7784",
|
3061 |
+
"value": "Your token has been saved in your configured git credential helpers (store)."
|
3062 |
+
}
|
3063 |
+
},
|
3064 |
+
"10b398d4e2e742f0b40da2a19b73907a": {
|
3065 |
+
"model_module": "@jupyter-widgets/controls",
|
3066 |
+
"model_name": "LabelModel",
|
3067 |
+
"model_module_version": "1.5.0",
|
3068 |
+
"state": {
|
3069 |
+
"_dom_classes": [],
|
3070 |
+
"_model_module": "@jupyter-widgets/controls",
|
3071 |
+
"_model_module_version": "1.5.0",
|
3072 |
+
"_model_name": "LabelModel",
|
3073 |
+
"_view_count": null,
|
3074 |
+
"_view_module": "@jupyter-widgets/controls",
|
3075 |
+
"_view_module_version": "1.5.0",
|
3076 |
+
"_view_name": "LabelView",
|
3077 |
+
"description": "",
|
3078 |
+
"description_tooltip": null,
|
3079 |
+
"layout": "IPY_MODEL_3f0c671022994b1aadea7e1526d3bb97",
|
3080 |
+
"placeholder": "",
|
3081 |
+
"style": "IPY_MODEL_5a23fc7f26194179b93ee2548b41f247",
|
3082 |
+
"value": "Your token has been saved to /root/.cache/huggingface/token"
|
3083 |
+
}
|
3084 |
+
},
|
3085 |
+
"5c105e2ea7324d5ba92b2e35c84594b4": {
|
3086 |
+
"model_module": "@jupyter-widgets/controls",
|
3087 |
+
"model_name": "LabelModel",
|
3088 |
+
"model_module_version": "1.5.0",
|
3089 |
+
"state": {
|
3090 |
+
"_dom_classes": [],
|
3091 |
+
"_model_module": "@jupyter-widgets/controls",
|
3092 |
+
"_model_module_version": "1.5.0",
|
3093 |
+
"_model_name": "LabelModel",
|
3094 |
+
"_view_count": null,
|
3095 |
+
"_view_module": "@jupyter-widgets/controls",
|
3096 |
+
"_view_module_version": "1.5.0",
|
3097 |
+
"_view_name": "LabelView",
|
3098 |
+
"description": "",
|
3099 |
+
"description_tooltip": null,
|
3100 |
+
"layout": "IPY_MODEL_484268a9451c48be9f8ed51f55f0b726",
|
3101 |
+
"placeholder": "",
|
3102 |
+
"style": "IPY_MODEL_8d97b75c803d41b187aca0ce43d90f52",
|
3103 |
+
"value": "Login successful"
|
3104 |
+
}
|
3105 |
+
},
|
3106 |
+
"13d6cc4b65724dcfb9b19745d3d02429": {
|
3107 |
+
"model_module": "@jupyter-widgets/base",
|
3108 |
+
"model_name": "LayoutModel",
|
3109 |
+
"model_module_version": "1.2.0",
|
3110 |
+
"state": {
|
3111 |
+
"_model_module": "@jupyter-widgets/base",
|
3112 |
+
"_model_module_version": "1.2.0",
|
3113 |
+
"_model_name": "LayoutModel",
|
3114 |
+
"_view_count": null,
|
3115 |
+
"_view_module": "@jupyter-widgets/base",
|
3116 |
+
"_view_module_version": "1.2.0",
|
3117 |
+
"_view_name": "LayoutView",
|
3118 |
+
"align_content": null,
|
3119 |
+
"align_items": null,
|
3120 |
+
"align_self": null,
|
3121 |
+
"border": null,
|
3122 |
+
"bottom": null,
|
3123 |
+
"display": null,
|
3124 |
+
"flex": null,
|
3125 |
+
"flex_flow": null,
|
3126 |
+
"grid_area": null,
|
3127 |
+
"grid_auto_columns": null,
|
3128 |
+
"grid_auto_flow": null,
|
3129 |
+
"grid_auto_rows": null,
|
3130 |
+
"grid_column": null,
|
3131 |
+
"grid_gap": null,
|
3132 |
+
"grid_row": null,
|
3133 |
+
"grid_template_areas": null,
|
3134 |
+
"grid_template_columns": null,
|
3135 |
+
"grid_template_rows": null,
|
3136 |
+
"height": null,
|
3137 |
+
"justify_content": null,
|
3138 |
+
"justify_items": null,
|
3139 |
+
"left": null,
|
3140 |
+
"margin": null,
|
3141 |
+
"max_height": null,
|
3142 |
+
"max_width": null,
|
3143 |
+
"min_height": null,
|
3144 |
+
"min_width": null,
|
3145 |
+
"object_fit": null,
|
3146 |
+
"object_position": null,
|
3147 |
+
"order": null,
|
3148 |
+
"overflow": null,
|
3149 |
+
"overflow_x": null,
|
3150 |
+
"overflow_y": null,
|
3151 |
+
"padding": null,
|
3152 |
+
"right": null,
|
3153 |
+
"top": null,
|
3154 |
+
"visibility": null,
|
3155 |
+
"width": null
|
3156 |
+
}
|
3157 |
+
},
|
3158 |
+
"1ae67ea98b9c4429b0ccf951ba958851": {
|
3159 |
+
"model_module": "@jupyter-widgets/controls",
|
3160 |
+
"model_name": "DescriptionStyleModel",
|
3161 |
+
"model_module_version": "1.5.0",
|
3162 |
+
"state": {
|
3163 |
+
"_model_module": "@jupyter-widgets/controls",
|
3164 |
+
"_model_module_version": "1.5.0",
|
3165 |
+
"_model_name": "DescriptionStyleModel",
|
3166 |
+
"_view_count": null,
|
3167 |
+
"_view_module": "@jupyter-widgets/base",
|
3168 |
+
"_view_module_version": "1.2.0",
|
3169 |
+
"_view_name": "StyleView",
|
3170 |
+
"description_width": ""
|
3171 |
+
}
|
3172 |
+
},
|
3173 |
+
"2651ac59f2c74fda9a68b6ddcee5e8c6": {
|
3174 |
+
"model_module": "@jupyter-widgets/base",
|
3175 |
+
"model_name": "LayoutModel",
|
3176 |
+
"model_module_version": "1.2.0",
|
3177 |
+
"state": {
|
3178 |
+
"_model_module": "@jupyter-widgets/base",
|
3179 |
+
"_model_module_version": "1.2.0",
|
3180 |
+
"_model_name": "LayoutModel",
|
3181 |
+
"_view_count": null,
|
3182 |
+
"_view_module": "@jupyter-widgets/base",
|
3183 |
+
"_view_module_version": "1.2.0",
|
3184 |
+
"_view_name": "LayoutView",
|
3185 |
+
"align_content": null,
|
3186 |
+
"align_items": null,
|
3187 |
+
"align_self": null,
|
3188 |
+
"border": null,
|
3189 |
+
"bottom": null,
|
3190 |
+
"display": null,
|
3191 |
+
"flex": null,
|
3192 |
+
"flex_flow": null,
|
3193 |
+
"grid_area": null,
|
3194 |
+
"grid_auto_columns": null,
|
3195 |
+
"grid_auto_flow": null,
|
3196 |
+
"grid_auto_rows": null,
|
3197 |
+
"grid_column": null,
|
3198 |
+
"grid_gap": null,
|
3199 |
+
"grid_row": null,
|
3200 |
+
"grid_template_areas": null,
|
3201 |
+
"grid_template_columns": null,
|
3202 |
+
"grid_template_rows": null,
|
3203 |
+
"height": null,
|
3204 |
+
"justify_content": null,
|
3205 |
+
"justify_items": null,
|
3206 |
+
"left": null,
|
3207 |
+
"margin": null,
|
3208 |
+
"max_height": null,
|
3209 |
+
"max_width": null,
|
3210 |
+
"min_height": null,
|
3211 |
+
"min_width": null,
|
3212 |
+
"object_fit": null,
|
3213 |
+
"object_position": null,
|
3214 |
+
"order": null,
|
3215 |
+
"overflow": null,
|
3216 |
+
"overflow_x": null,
|
3217 |
+
"overflow_y": null,
|
3218 |
+
"padding": null,
|
3219 |
+
"right": null,
|
3220 |
+
"top": null,
|
3221 |
+
"visibility": null,
|
3222 |
+
"width": null
|
3223 |
+
}
|
3224 |
+
},
|
3225 |
+
"80e6e4f9676b47cb898cf07b4efd7784": {
|
3226 |
+
"model_module": "@jupyter-widgets/controls",
|
3227 |
+
"model_name": "DescriptionStyleModel",
|
3228 |
+
"model_module_version": "1.5.0",
|
3229 |
+
"state": {
|
3230 |
+
"_model_module": "@jupyter-widgets/controls",
|
3231 |
+
"_model_module_version": "1.5.0",
|
3232 |
+
"_model_name": "DescriptionStyleModel",
|
3233 |
+
"_view_count": null,
|
3234 |
+
"_view_module": "@jupyter-widgets/base",
|
3235 |
+
"_view_module_version": "1.2.0",
|
3236 |
+
"_view_name": "StyleView",
|
3237 |
+
"description_width": ""
|
3238 |
+
}
|
3239 |
+
},
|
3240 |
+
"3f0c671022994b1aadea7e1526d3bb97": {
|
3241 |
+
"model_module": "@jupyter-widgets/base",
|
3242 |
+
"model_name": "LayoutModel",
|
3243 |
+
"model_module_version": "1.2.0",
|
3244 |
+
"state": {
|
3245 |
+
"_model_module": "@jupyter-widgets/base",
|
3246 |
+
"_model_module_version": "1.2.0",
|
3247 |
+
"_model_name": "LayoutModel",
|
3248 |
+
"_view_count": null,
|
3249 |
+
"_view_module": "@jupyter-widgets/base",
|
3250 |
+
"_view_module_version": "1.2.0",
|
3251 |
+
"_view_name": "LayoutView",
|
3252 |
+
"align_content": null,
|
3253 |
+
"align_items": null,
|
3254 |
+
"align_self": null,
|
3255 |
+
"border": null,
|
3256 |
+
"bottom": null,
|
3257 |
+
"display": null,
|
3258 |
+
"flex": null,
|
3259 |
+
"flex_flow": null,
|
3260 |
+
"grid_area": null,
|
3261 |
+
"grid_auto_columns": null,
|
3262 |
+
"grid_auto_flow": null,
|
3263 |
+
"grid_auto_rows": null,
|
3264 |
+
"grid_column": null,
|
3265 |
+
"grid_gap": null,
|
3266 |
+
"grid_row": null,
|
3267 |
+
"grid_template_areas": null,
|
3268 |
+
"grid_template_columns": null,
|
3269 |
+
"grid_template_rows": null,
|
3270 |
+
"height": null,
|
3271 |
+
"justify_content": null,
|
3272 |
+
"justify_items": null,
|
3273 |
+
"left": null,
|
3274 |
+
"margin": null,
|
3275 |
+
"max_height": null,
|
3276 |
+
"max_width": null,
|
3277 |
+
"min_height": null,
|
3278 |
+
"min_width": null,
|
3279 |
+
"object_fit": null,
|
3280 |
+
"object_position": null,
|
3281 |
+
"order": null,
|
3282 |
+
"overflow": null,
|
3283 |
+
"overflow_x": null,
|
3284 |
+
"overflow_y": null,
|
3285 |
+
"padding": null,
|
3286 |
+
"right": null,
|
3287 |
+
"top": null,
|
3288 |
+
"visibility": null,
|
3289 |
+
"width": null
|
3290 |
+
}
|
3291 |
+
},
|
3292 |
+
"5a23fc7f26194179b93ee2548b41f247": {
|
3293 |
+
"model_module": "@jupyter-widgets/controls",
|
3294 |
+
"model_name": "DescriptionStyleModel",
|
3295 |
+
"model_module_version": "1.5.0",
|
3296 |
+
"state": {
|
3297 |
+
"_model_module": "@jupyter-widgets/controls",
|
3298 |
+
"_model_module_version": "1.5.0",
|
3299 |
+
"_model_name": "DescriptionStyleModel",
|
3300 |
+
"_view_count": null,
|
3301 |
+
"_view_module": "@jupyter-widgets/base",
|
3302 |
+
"_view_module_version": "1.2.0",
|
3303 |
+
"_view_name": "StyleView",
|
3304 |
+
"description_width": ""
|
3305 |
+
}
|
3306 |
+
},
|
3307 |
+
"484268a9451c48be9f8ed51f55f0b726": {
|
3308 |
+
"model_module": "@jupyter-widgets/base",
|
3309 |
+
"model_name": "LayoutModel",
|
3310 |
+
"model_module_version": "1.2.0",
|
3311 |
+
"state": {
|
3312 |
+
"_model_module": "@jupyter-widgets/base",
|
3313 |
+
"_model_module_version": "1.2.0",
|
3314 |
+
"_model_name": "LayoutModel",
|
3315 |
+
"_view_count": null,
|
3316 |
+
"_view_module": "@jupyter-widgets/base",
|
3317 |
+
"_view_module_version": "1.2.0",
|
3318 |
+
"_view_name": "LayoutView",
|
3319 |
+
"align_content": null,
|
3320 |
+
"align_items": null,
|
3321 |
+
"align_self": null,
|
3322 |
+
"border": null,
|
3323 |
+
"bottom": null,
|
3324 |
+
"display": null,
|
3325 |
+
"flex": null,
|
3326 |
+
"flex_flow": null,
|
3327 |
+
"grid_area": null,
|
3328 |
+
"grid_auto_columns": null,
|
3329 |
+
"grid_auto_flow": null,
|
3330 |
+
"grid_auto_rows": null,
|
3331 |
+
"grid_column": null,
|
3332 |
+
"grid_gap": null,
|
3333 |
+
"grid_row": null,
|
3334 |
+
"grid_template_areas": null,
|
3335 |
+
"grid_template_columns": null,
|
3336 |
+
"grid_template_rows": null,
|
3337 |
+
"height": null,
|
3338 |
+
"justify_content": null,
|
3339 |
+
"justify_items": null,
|
3340 |
+
"left": null,
|
3341 |
+
"margin": null,
|
3342 |
+
"max_height": null,
|
3343 |
+
"max_width": null,
|
3344 |
+
"min_height": null,
|
3345 |
+
"min_width": null,
|
3346 |
+
"object_fit": null,
|
3347 |
+
"object_position": null,
|
3348 |
+
"order": null,
|
3349 |
+
"overflow": null,
|
3350 |
+
"overflow_x": null,
|
3351 |
+
"overflow_y": null,
|
3352 |
+
"padding": null,
|
3353 |
+
"right": null,
|
3354 |
+
"top": null,
|
3355 |
+
"visibility": null,
|
3356 |
+
"width": null
|
3357 |
+
}
|
3358 |
+
},
|
3359 |
+
"8d97b75c803d41b187aca0ce43d90f52": {
|
3360 |
+
"model_module": "@jupyter-widgets/controls",
|
3361 |
+
"model_name": "DescriptionStyleModel",
|
3362 |
+
"model_module_version": "1.5.0",
|
3363 |
+
"state": {
|
3364 |
+
"_model_module": "@jupyter-widgets/controls",
|
3365 |
+
"_model_module_version": "1.5.0",
|
3366 |
+
"_model_name": "DescriptionStyleModel",
|
3367 |
+
"_view_count": null,
|
3368 |
+
"_view_module": "@jupyter-widgets/base",
|
3369 |
+
"_view_module_version": "1.2.0",
|
3370 |
+
"_view_name": "StyleView",
|
3371 |
+
"description_width": ""
|
3372 |
+
}
|
3373 |
+
},
|
3374 |
+
"93f98cafe9a54e49b1a6dae6031f9b8c": {
|
3375 |
+
"model_module": "@jupyter-widgets/controls",
|
3376 |
+
"model_name": "HBoxModel",
|
3377 |
+
"model_module_version": "1.5.0",
|
3378 |
+
"state": {
|
3379 |
+
"_dom_classes": [],
|
3380 |
+
"_model_module": "@jupyter-widgets/controls",
|
3381 |
+
"_model_module_version": "1.5.0",
|
3382 |
+
"_model_name": "HBoxModel",
|
3383 |
+
"_view_count": null,
|
3384 |
+
"_view_module": "@jupyter-widgets/controls",
|
3385 |
+
"_view_module_version": "1.5.0",
|
3386 |
+
"_view_name": "HBoxView",
|
3387 |
+
"box_style": "",
|
3388 |
+
"children": [
|
3389 |
+
"IPY_MODEL_caa56c9fb75f43b0974f9c02a933fe43",
|
3390 |
+
"IPY_MODEL_991929bba22647d79be683d2946ebeac",
|
3391 |
+
"IPY_MODEL_268104e667c64665be940dc048050040"
|
3392 |
+
],
|
3393 |
+
"layout": "IPY_MODEL_721f473c88c743ad8ababadc35bde1e9"
|
3394 |
+
}
|
3395 |
+
},
|
3396 |
+
"caa56c9fb75f43b0974f9c02a933fe43": {
|
3397 |
+
"model_module": "@jupyter-widgets/controls",
|
3398 |
+
"model_name": "HTMLModel",
|
3399 |
+
"model_module_version": "1.5.0",
|
3400 |
+
"state": {
|
3401 |
+
"_dom_classes": [],
|
3402 |
+
"_model_module": "@jupyter-widgets/controls",
|
3403 |
+
"_model_module_version": "1.5.0",
|
3404 |
+
"_model_name": "HTMLModel",
|
3405 |
+
"_view_count": null,
|
3406 |
+
"_view_module": "@jupyter-widgets/controls",
|
3407 |
+
"_view_module_version": "1.5.0",
|
3408 |
+
"_view_name": "HTMLView",
|
3409 |
+
"description": "",
|
3410 |
+
"description_tooltip": null,
|
3411 |
+
"layout": "IPY_MODEL_70cfa43583f54962bdc1cad4c32fc12a",
|
3412 |
+
"placeholder": "",
|
3413 |
+
"style": "IPY_MODEL_7d714e7e7fd9464a9239c926d4d4357d",
|
3414 |
+
"value": "pytorch_model.bin: 100%"
|
3415 |
+
}
|
3416 |
+
},
|
3417 |
+
"991929bba22647d79be683d2946ebeac": {
|
3418 |
+
"model_module": "@jupyter-widgets/controls",
|
3419 |
+
"model_name": "FloatProgressModel",
|
3420 |
+
"model_module_version": "1.5.0",
|
3421 |
+
"state": {
|
3422 |
+
"_dom_classes": [],
|
3423 |
+
"_model_module": "@jupyter-widgets/controls",
|
3424 |
+
"_model_module_version": "1.5.0",
|
3425 |
+
"_model_name": "FloatProgressModel",
|
3426 |
+
"_view_count": null,
|
3427 |
+
"_view_module": "@jupyter-widgets/controls",
|
3428 |
+
"_view_module_version": "1.5.0",
|
3429 |
+
"_view_name": "ProgressView",
|
3430 |
+
"bar_style": "success",
|
3431 |
+
"description": "",
|
3432 |
+
"description_tooltip": null,
|
3433 |
+
"layout": "IPY_MODEL_601ac88f59744374bfe70f6aa87473f3",
|
3434 |
+
"max": 267854125,
|
3435 |
+
"min": 0,
|
3436 |
+
"orientation": "horizontal",
|
3437 |
+
"style": "IPY_MODEL_414abfed64794b47830d125bbf89e39c",
|
3438 |
+
"value": 267854125
|
3439 |
+
}
|
3440 |
+
},
|
3441 |
+
"268104e667c64665be940dc048050040": {
|
3442 |
+
"model_module": "@jupyter-widgets/controls",
|
3443 |
+
"model_name": "HTMLModel",
|
3444 |
+
"model_module_version": "1.5.0",
|
3445 |
+
"state": {
|
3446 |
+
"_dom_classes": [],
|
3447 |
+
"_model_module": "@jupyter-widgets/controls",
|
3448 |
+
"_model_module_version": "1.5.0",
|
3449 |
+
"_model_name": "HTMLModel",
|
3450 |
+
"_view_count": null,
|
3451 |
+
"_view_module": "@jupyter-widgets/controls",
|
3452 |
+
"_view_module_version": "1.5.0",
|
3453 |
+
"_view_name": "HTMLView",
|
3454 |
+
"description": "",
|
3455 |
+
"description_tooltip": null,
|
3456 |
+
"layout": "IPY_MODEL_6af51f896d74438f9b7f931ae2e78bfd",
|
3457 |
+
"placeholder": "",
|
3458 |
+
"style": "IPY_MODEL_50c560a47cbb494bbf399efc4d464ce8",
|
3459 |
+
"value": " 268M/268M [00:11<00:00, 27.5MB/s]"
|
3460 |
+
}
|
3461 |
+
},
|
3462 |
+
"721f473c88c743ad8ababadc35bde1e9": {
|
3463 |
+
"model_module": "@jupyter-widgets/base",
|
3464 |
+
"model_name": "LayoutModel",
|
3465 |
+
"model_module_version": "1.2.0",
|
3466 |
+
"state": {
|
3467 |
+
"_model_module": "@jupyter-widgets/base",
|
3468 |
+
"_model_module_version": "1.2.0",
|
3469 |
+
"_model_name": "LayoutModel",
|
3470 |
+
"_view_count": null,
|
3471 |
+
"_view_module": "@jupyter-widgets/base",
|
3472 |
+
"_view_module_version": "1.2.0",
|
3473 |
+
"_view_name": "LayoutView",
|
3474 |
+
"align_content": null,
|
3475 |
+
"align_items": null,
|
3476 |
+
"align_self": null,
|
3477 |
+
"border": null,
|
3478 |
+
"bottom": null,
|
3479 |
+
"display": null,
|
3480 |
+
"flex": null,
|
3481 |
+
"flex_flow": null,
|
3482 |
+
"grid_area": null,
|
3483 |
+
"grid_auto_columns": null,
|
3484 |
+
"grid_auto_flow": null,
|
3485 |
+
"grid_auto_rows": null,
|
3486 |
+
"grid_column": null,
|
3487 |
+
"grid_gap": null,
|
3488 |
+
"grid_row": null,
|
3489 |
+
"grid_template_areas": null,
|
3490 |
+
"grid_template_columns": null,
|
3491 |
+
"grid_template_rows": null,
|
3492 |
+
"height": null,
|
3493 |
+
"justify_content": null,
|
3494 |
+
"justify_items": null,
|
3495 |
+
"left": null,
|
3496 |
+
"margin": null,
|
3497 |
+
"max_height": null,
|
3498 |
+
"max_width": null,
|
3499 |
+
"min_height": null,
|
3500 |
+
"min_width": null,
|
3501 |
+
"object_fit": null,
|
3502 |
+
"object_position": null,
|
3503 |
+
"order": null,
|
3504 |
+
"overflow": null,
|
3505 |
+
"overflow_x": null,
|
3506 |
+
"overflow_y": null,
|
3507 |
+
"padding": null,
|
3508 |
+
"right": null,
|
3509 |
+
"top": null,
|
3510 |
+
"visibility": null,
|
3511 |
+
"width": null
|
3512 |
+
}
|
3513 |
+
},
|
3514 |
+
"70cfa43583f54962bdc1cad4c32fc12a": {
|
3515 |
+
"model_module": "@jupyter-widgets/base",
|
3516 |
+
"model_name": "LayoutModel",
|
3517 |
+
"model_module_version": "1.2.0",
|
3518 |
+
"state": {
|
3519 |
+
"_model_module": "@jupyter-widgets/base",
|
3520 |
+
"_model_module_version": "1.2.0",
|
3521 |
+
"_model_name": "LayoutModel",
|
3522 |
+
"_view_count": null,
|
3523 |
+
"_view_module": "@jupyter-widgets/base",
|
3524 |
+
"_view_module_version": "1.2.0",
|
3525 |
+
"_view_name": "LayoutView",
|
3526 |
+
"align_content": null,
|
3527 |
+
"align_items": null,
|
3528 |
+
"align_self": null,
|
3529 |
+
"border": null,
|
3530 |
+
"bottom": null,
|
3531 |
+
"display": null,
|
3532 |
+
"flex": null,
|
3533 |
+
"flex_flow": null,
|
3534 |
+
"grid_area": null,
|
3535 |
+
"grid_auto_columns": null,
|
3536 |
+
"grid_auto_flow": null,
|
3537 |
+
"grid_auto_rows": null,
|
3538 |
+
"grid_column": null,
|
3539 |
+
"grid_gap": null,
|
3540 |
+
"grid_row": null,
|
3541 |
+
"grid_template_areas": null,
|
3542 |
+
"grid_template_columns": null,
|
3543 |
+
"grid_template_rows": null,
|
3544 |
+
"height": null,
|
3545 |
+
"justify_content": null,
|
3546 |
+
"justify_items": null,
|
3547 |
+
"left": null,
|
3548 |
+
"margin": null,
|
3549 |
+
"max_height": null,
|
3550 |
+
"max_width": null,
|
3551 |
+
"min_height": null,
|
3552 |
+
"min_width": null,
|
3553 |
+
"object_fit": null,
|
3554 |
+
"object_position": null,
|
3555 |
+
"order": null,
|
3556 |
+
"overflow": null,
|
3557 |
+
"overflow_x": null,
|
3558 |
+
"overflow_y": null,
|
3559 |
+
"padding": null,
|
3560 |
+
"right": null,
|
3561 |
+
"top": null,
|
3562 |
+
"visibility": null,
|
3563 |
+
"width": null
|
3564 |
+
}
|
3565 |
+
},
|
3566 |
+
"7d714e7e7fd9464a9239c926d4d4357d": {
|
3567 |
+
"model_module": "@jupyter-widgets/controls",
|
3568 |
+
"model_name": "DescriptionStyleModel",
|
3569 |
+
"model_module_version": "1.5.0",
|
3570 |
+
"state": {
|
3571 |
+
"_model_module": "@jupyter-widgets/controls",
|
3572 |
+
"_model_module_version": "1.5.0",
|
3573 |
+
"_model_name": "DescriptionStyleModel",
|
3574 |
+
"_view_count": null,
|
3575 |
+
"_view_module": "@jupyter-widgets/base",
|
3576 |
+
"_view_module_version": "1.2.0",
|
3577 |
+
"_view_name": "StyleView",
|
3578 |
+
"description_width": ""
|
3579 |
+
}
|
3580 |
+
},
|
3581 |
+
"601ac88f59744374bfe70f6aa87473f3": {
|
3582 |
+
"model_module": "@jupyter-widgets/base",
|
3583 |
+
"model_name": "LayoutModel",
|
3584 |
+
"model_module_version": "1.2.0",
|
3585 |
+
"state": {
|
3586 |
+
"_model_module": "@jupyter-widgets/base",
|
3587 |
+
"_model_module_version": "1.2.0",
|
3588 |
+
"_model_name": "LayoutModel",
|
3589 |
+
"_view_count": null,
|
3590 |
+
"_view_module": "@jupyter-widgets/base",
|
3591 |
+
"_view_module_version": "1.2.0",
|
3592 |
+
"_view_name": "LayoutView",
|
3593 |
+
"align_content": null,
|
3594 |
+
"align_items": null,
|
3595 |
+
"align_self": null,
|
3596 |
+
"border": null,
|
3597 |
+
"bottom": null,
|
3598 |
+
"display": null,
|
3599 |
+
"flex": null,
|
3600 |
+
"flex_flow": null,
|
3601 |
+
"grid_area": null,
|
3602 |
+
"grid_auto_columns": null,
|
3603 |
+
"grid_auto_flow": null,
|
3604 |
+
"grid_auto_rows": null,
|
3605 |
+
"grid_column": null,
|
3606 |
+
"grid_gap": null,
|
3607 |
+
"grid_row": null,
|
3608 |
+
"grid_template_areas": null,
|
3609 |
+
"grid_template_columns": null,
|
3610 |
+
"grid_template_rows": null,
|
3611 |
+
"height": null,
|
3612 |
+
"justify_content": null,
|
3613 |
+
"justify_items": null,
|
3614 |
+
"left": null,
|
3615 |
+
"margin": null,
|
3616 |
+
"max_height": null,
|
3617 |
+
"max_width": null,
|
3618 |
+
"min_height": null,
|
3619 |
+
"min_width": null,
|
3620 |
+
"object_fit": null,
|
3621 |
+
"object_position": null,
|
3622 |
+
"order": null,
|
3623 |
+
"overflow": null,
|
3624 |
+
"overflow_x": null,
|
3625 |
+
"overflow_y": null,
|
3626 |
+
"padding": null,
|
3627 |
+
"right": null,
|
3628 |
+
"top": null,
|
3629 |
+
"visibility": null,
|
3630 |
+
"width": null
|
3631 |
+
}
|
3632 |
+
},
|
3633 |
+
"414abfed64794b47830d125bbf89e39c": {
|
3634 |
+
"model_module": "@jupyter-widgets/controls",
|
3635 |
+
"model_name": "ProgressStyleModel",
|
3636 |
+
"model_module_version": "1.5.0",
|
3637 |
+
"state": {
|
3638 |
+
"_model_module": "@jupyter-widgets/controls",
|
3639 |
+
"_model_module_version": "1.5.0",
|
3640 |
+
"_model_name": "ProgressStyleModel",
|
3641 |
+
"_view_count": null,
|
3642 |
+
"_view_module": "@jupyter-widgets/base",
|
3643 |
+
"_view_module_version": "1.2.0",
|
3644 |
+
"_view_name": "StyleView",
|
3645 |
+
"bar_color": null,
|
3646 |
+
"description_width": ""
|
3647 |
+
}
|
3648 |
+
},
|
3649 |
+
"6af51f896d74438f9b7f931ae2e78bfd": {
|
3650 |
+
"model_module": "@jupyter-widgets/base",
|
3651 |
+
"model_name": "LayoutModel",
|
3652 |
+
"model_module_version": "1.2.0",
|
3653 |
+
"state": {
|
3654 |
+
"_model_module": "@jupyter-widgets/base",
|
3655 |
+
"_model_module_version": "1.2.0",
|
3656 |
+
"_model_name": "LayoutModel",
|
3657 |
+
"_view_count": null,
|
3658 |
+
"_view_module": "@jupyter-widgets/base",
|
3659 |
+
"_view_module_version": "1.2.0",
|
3660 |
+
"_view_name": "LayoutView",
|
3661 |
+
"align_content": null,
|
3662 |
+
"align_items": null,
|
3663 |
+
"align_self": null,
|
3664 |
+
"border": null,
|
3665 |
+
"bottom": null,
|
3666 |
+
"display": null,
|
3667 |
+
"flex": null,
|
3668 |
+
"flex_flow": null,
|
3669 |
+
"grid_area": null,
|
3670 |
+
"grid_auto_columns": null,
|
3671 |
+
"grid_auto_flow": null,
|
3672 |
+
"grid_auto_rows": null,
|
3673 |
+
"grid_column": null,
|
3674 |
+
"grid_gap": null,
|
3675 |
+
"grid_row": null,
|
3676 |
+
"grid_template_areas": null,
|
3677 |
+
"grid_template_columns": null,
|
3678 |
+
"grid_template_rows": null,
|
3679 |
+
"height": null,
|
3680 |
+
"justify_content": null,
|
3681 |
+
"justify_items": null,
|
3682 |
+
"left": null,
|
3683 |
+
"margin": null,
|
3684 |
+
"max_height": null,
|
3685 |
+
"max_width": null,
|
3686 |
+
"min_height": null,
|
3687 |
+
"min_width": null,
|
3688 |
+
"object_fit": null,
|
3689 |
+
"object_position": null,
|
3690 |
+
"order": null,
|
3691 |
+
"overflow": null,
|
3692 |
+
"overflow_x": null,
|
3693 |
+
"overflow_y": null,
|
3694 |
+
"padding": null,
|
3695 |
+
"right": null,
|
3696 |
+
"top": null,
|
3697 |
+
"visibility": null,
|
3698 |
+
"width": null
|
3699 |
+
}
|
3700 |
+
},
|
3701 |
+
"50c560a47cbb494bbf399efc4d464ce8": {
|
3702 |
+
"model_module": "@jupyter-widgets/controls",
|
3703 |
+
"model_name": "DescriptionStyleModel",
|
3704 |
+
"model_module_version": "1.5.0",
|
3705 |
+
"state": {
|
3706 |
+
"_model_module": "@jupyter-widgets/controls",
|
3707 |
+
"_model_module_version": "1.5.0",
|
3708 |
+
"_model_name": "DescriptionStyleModel",
|
3709 |
+
"_view_count": null,
|
3710 |
+
"_view_module": "@jupyter-widgets/base",
|
3711 |
+
"_view_module_version": "1.2.0",
|
3712 |
+
"_view_name": "StyleView",
|
3713 |
+
"description_width": ""
|
3714 |
+
}
|
3715 |
}
|
3716 |
}
|
3717 |
}
|
|
|
3846 |
"base_uri": "https://localhost:8080/"
|
3847 |
},
|
3848 |
"id": "W79jQrLDVa5y",
|
3849 |
+
"outputId": "993275fa-693f-409b-b9ee-4584f1138904"
|
3850 |
},
|
3851 |
+
"execution_count": 155,
|
3852 |
"outputs": [
|
3853 |
{
|
3854 |
"output_type": "stream",
|
|
|
3874 |
}
|
3875 |
]
|
3876 |
},
|
3877 |
+
{
|
3878 |
+
"cell_type": "code",
|
3879 |
+
"source": [
|
3880 |
+
"pip install huggingface_hub"
|
3881 |
+
],
|
3882 |
+
"metadata": {
|
3883 |
+
"colab": {
|
3884 |
+
"base_uri": "https://localhost:8080/"
|
3885 |
+
},
|
3886 |
+
"id": "ttRAPdYa5N0d",
|
3887 |
+
"outputId": "dc166ea5-081b-45b6-a766-341e7c7ad68a"
|
3888 |
+
},
|
3889 |
+
"execution_count": 156,
|
3890 |
+
"outputs": [
|
3891 |
+
{
|
3892 |
+
"output_type": "stream",
|
3893 |
+
"name": "stdout",
|
3894 |
+
"text": [
|
3895 |
+
"Requirement already satisfied: huggingface_hub in /usr/local/lib/python3.10/dist-packages (0.16.4)\n",
|
3896 |
+
"Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (3.12.2)\n",
|
3897 |
+
"Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (2023.6.0)\n",
|
3898 |
+
"Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (2.27.1)\n",
|
3899 |
+
"Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (4.65.0)\n",
|
3900 |
+
"Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (6.0.1)\n",
|
3901 |
+
"Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (4.7.1)\n",
|
3902 |
+
"Requirement already satisfied: packaging>=20.9 in /usr/local/lib/python3.10/dist-packages (from huggingface_hub) (23.1)\n",
|
3903 |
+
"Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (1.26.16)\n",
|
3904 |
+
"Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (2023.5.7)\n",
|
3905 |
+
"Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (2.0.12)\n",
|
3906 |
+
"Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface_hub) (3.4)\n"
|
3907 |
+
]
|
3908 |
+
}
|
3909 |
+
]
|
3910 |
+
},
|
3911 |
{
|
3912 |
"cell_type": "markdown",
|
3913 |
"source": [
|
|
|
3974 |
"\n",
|
3975 |
"from transformers import logging\n",
|
3976 |
"\n",
|
3977 |
+
"logging.set_verbosity_warning()\n",
|
3978 |
+
"\n",
|
3979 |
+
"from huggingface_hub import notebook_login\n",
|
3980 |
+
"\n",
|
3981 |
+
"notebook_login()"
|
3982 |
],
|
3983 |
"metadata": {
|
3984 |
+
"id": "FxZeFFTlFvz1",
|
3985 |
+
"colab": {
|
3986 |
+
"base_uri": "https://localhost:8080/",
|
3987 |
+
"height": 145,
|
3988 |
+
"referenced_widgets": [
|
3989 |
+
"6483b3fa828d4a02afbccd42bb5969bb",
|
3990 |
+
"41a33bdcf71a4c14aa714e3021cad88c",
|
3991 |
+
"390aa758fec54775886423d2fb4442c5",
|
3992 |
+
"7f44b27d085f40fe831d22f41509c495",
|
3993 |
+
"3fc5cf6b4b084158ba291d04e98de95b",
|
3994 |
+
"f6ead9021492479db0a0883636a68be7",
|
3995 |
+
"f67aba8de146433ab60aee99a70d9a4b",
|
3996 |
+
"f8c0ca13948542f5b21a632603af8023",
|
3997 |
+
"ed46fa4a74d84fb1a1f304c9cb1509e2",
|
3998 |
+
"d4f40bfa04a8419c9713a3c30370c76e",
|
3999 |
+
"92866437f4324f67be43beff093e07d7",
|
4000 |
+
"bc5baf3339b44703994aedad3614a373",
|
4001 |
+
"5580a8a01c9a471ab019d19b2f1a6083",
|
4002 |
+
"bea80930642e415c98942e19d6961bea",
|
4003 |
+
"bf2e0c7574924a9da3235a2813eb85a1",
|
4004 |
+
"9c596e6599a543f89b0aa58b2f040337",
|
4005 |
+
"21884c9b23cb49edb5319f8b4dbc09fa",
|
4006 |
+
"5f3f998c135e42809597b04aeffe1c75",
|
4007 |
+
"10c8e03577394a44823570f84dbf7fb9",
|
4008 |
+
"0d4ed702344447239da9df287c454cc1",
|
4009 |
+
"8f0333ec39f24f0d9a75b19b6463532e",
|
4010 |
+
"44b533e6171442468ca19a95c0337624",
|
4011 |
+
"10b398d4e2e742f0b40da2a19b73907a",
|
4012 |
+
"5c105e2ea7324d5ba92b2e35c84594b4",
|
4013 |
+
"13d6cc4b65724dcfb9b19745d3d02429",
|
4014 |
+
"1ae67ea98b9c4429b0ccf951ba958851",
|
4015 |
+
"2651ac59f2c74fda9a68b6ddcee5e8c6",
|
4016 |
+
"80e6e4f9676b47cb898cf07b4efd7784",
|
4017 |
+
"3f0c671022994b1aadea7e1526d3bb97",
|
4018 |
+
"5a23fc7f26194179b93ee2548b41f247",
|
4019 |
+
"484268a9451c48be9f8ed51f55f0b726",
|
4020 |
+
"8d97b75c803d41b187aca0ce43d90f52"
|
4021 |
+
]
|
4022 |
+
},
|
4023 |
+
"outputId": "24e185c0-54dc-4a14-9012-4f6edeeb4e07"
|
4024 |
},
|
4025 |
+
"execution_count": 157,
|
4026 |
+
"outputs": [
|
4027 |
+
{
|
4028 |
+
"output_type": "display_data",
|
4029 |
+
"data": {
|
4030 |
+
"text/plain": [
|
4031 |
+
"VBox(children=(HTML(value='<center> <img\\nsrc=https://huggingface.co/front/assets/huggingface_logo-noborder.sv…"
|
4032 |
+
],
|
4033 |
+
"application/vnd.jupyter.widget-view+json": {
|
4034 |
+
"version_major": 2,
|
4035 |
+
"version_minor": 0,
|
4036 |
+
"model_id": "6483b3fa828d4a02afbccd42bb5969bb"
|
4037 |
+
}
|
4038 |
+
},
|
4039 |
+
"metadata": {}
|
4040 |
+
}
|
4041 |
+
]
|
4042 |
},
|
4043 |
{
|
4044 |
"cell_type": "markdown",
|
|
|
7055 |
{
|
7056 |
"cell_type": "code",
|
7057 |
"source": [
|
7058 |
+
"model = DistilBertForSequenceClassification.from_pretrained(model_name, num_labels=2)\n",
|
7059 |
"\n"
|
7060 |
],
|
7061 |
"metadata": {
|
|
|
7063 |
"base_uri": "https://localhost:8080/"
|
7064 |
},
|
7065 |
"id": "cR-q_5PuUt0x",
|
7066 |
+
"outputId": "718cdac1-4a2c-4270-cc0e-bf7b0748ed7e"
|
7067 |
},
|
7068 |
+
"execution_count": 140,
|
7069 |
"outputs": [
|
7070 |
{
|
7071 |
"output_type": "stream",
|
|
|
7106 |
"colab": {
|
7107 |
"base_uri": "https://localhost:8080/"
|
7108 |
},
|
7109 |
+
"outputId": "7ad03693-57f7-4a9e-d603-47adcec1bd5b"
|
7110 |
},
|
7111 |
+
"execution_count": 141,
|
7112 |
"outputs": [
|
7113 |
{
|
7114 |
"output_type": "execute_result",
|
|
|
7145 |
" )\n",
|
7146 |
" )\n",
|
7147 |
" (pre_classifier): Linear(in_features=768, out_features=768, bias=True)\n",
|
7148 |
+
" (classifier): Linear(in_features=768, out_features=2, bias=True)\n",
|
7149 |
" (dropout): Dropout(p=0.2, inplace=False)\n",
|
7150 |
")"
|
7151 |
]
|
7152 |
},
|
7153 |
"metadata": {},
|
7154 |
+
"execution_count": 141
|
7155 |
}
|
7156 |
]
|
7157 |
},
|
|
|
7179 |
"colab": {
|
7180 |
"base_uri": "https://localhost:8080/"
|
7181 |
},
|
7182 |
+
"outputId": "1a62ef33-8cfe-48aa-c3a9-e82894afa8ef"
|
7183 |
},
|
7184 |
+
"execution_count": 142,
|
7185 |
"outputs": [
|
7186 |
{
|
|
|
|
|
|
|
|
|
7187 |
"output_type": "stream",
|
7188 |
+
"name": "stdout",
|
7189 |
"text": [
|
7190 |
"tensor([[ 101, 1015, 1012, ..., 16503, 2063, 102],\n",
|
7191 |
" [ 101, 1015, 1012, ..., 3341, 2012, 102],\n",
|
|
|
7209 |
"colab": {
|
7210 |
"base_uri": "https://localhost:8080/"
|
7211 |
},
|
7212 |
+
"outputId": "d713606f-d3e7-4bc8-b466-df8f6b23f19f"
|
7213 |
},
|
7214 |
+
"execution_count": 143,
|
7215 |
"outputs": [
|
7216 |
{
|
|
|
|
|
|
|
|
|
7217 |
"output_type": "stream",
|
7218 |
+
"name": "stdout",
|
7219 |
"text": [
|
7220 |
"tensor([[ 101, 1015, 1012, ..., 16503, 2063, 102],\n",
|
7221 |
" [ 101, 1015, 1012, ..., 3341, 2012, 102],\n",
|
|
|
7252 |
"colab": {
|
7253 |
"base_uri": "https://localhost:8080/"
|
7254 |
},
|
7255 |
+
"outputId": "18e9c962-2d18-4dd8-9a6c-aa0f0c5fc140"
|
7256 |
},
|
7257 |
+
"execution_count": 144,
|
7258 |
"outputs": [
|
7259 |
{
|
7260 |
"output_type": "stream",
|
7261 |
"name": "stdout",
|
7262 |
"text": [
|
7263 |
+
"tensor([[-1.5923, 1.0368],\n",
|
7264 |
+
" [-1.5923, 1.0368],\n",
|
7265 |
+
" [-1.5923, 1.0368],\n",
|
7266 |
+
" [-1.5923, 1.0368],\n",
|
7267 |
+
" [-1.5923, 1.0368],\n",
|
7268 |
+
" [-1.5923, 1.0368],\n",
|
7269 |
+
" [-1.5923, 1.0368],\n",
|
7270 |
+
" [-1.5924, 1.0367],\n",
|
7271 |
+
" [-1.5923, 1.0368],\n",
|
7272 |
+
" [-1.5923, 1.0368],\n",
|
7273 |
+
" [-1.5923, 1.0368],\n",
|
7274 |
+
" [-1.5924, 1.0367],\n",
|
7275 |
+
" [-1.5924, 1.0367],\n",
|
7276 |
+
" [-1.5923, 1.0368],\n",
|
7277 |
+
" [-1.5923, 1.0368],\n",
|
7278 |
+
" [-1.5924, 1.0367]])\n",
|
7279 |
+
"tensor([[0.0673, 0.9327],\n",
|
7280 |
+
" [0.0673, 0.9327],\n",
|
7281 |
+
" [0.0673, 0.9327],\n",
|
7282 |
+
" [0.0673, 0.9327],\n",
|
7283 |
+
" [0.0673, 0.9327],\n",
|
7284 |
+
" [0.0673, 0.9327],\n",
|
7285 |
+
" [0.0673, 0.9327],\n",
|
7286 |
+
" [0.0673, 0.9327],\n",
|
7287 |
+
" [0.0673, 0.9327],\n",
|
7288 |
+
" [0.0673, 0.9327],\n",
|
7289 |
+
" [0.0673, 0.9327],\n",
|
7290 |
+
" [0.0673, 0.9327],\n",
|
7291 |
+
" [0.0673, 0.9327],\n",
|
7292 |
+
" [0.0673, 0.9327],\n",
|
7293 |
+
" [0.0673, 0.9327],\n",
|
7294 |
+
" [0.0673, 0.9327]])\n",
|
7295 |
"tensor([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1])\n",
|
7296 |
"--------\n",
|
7297 |
"tensor([0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1])\n",
|
|
|
7330 |
"colab": {
|
7331 |
"base_uri": "https://localhost:8080/"
|
7332 |
},
|
7333 |
+
"outputId": "8798415e-8ecb-4650-b31f-c47b3cf51fcf"
|
7334 |
},
|
7335 |
+
"execution_count": 145,
|
7336 |
"outputs": [
|
7337 |
{
|
7338 |
"output_type": "stream",
|
|
|
7921 |
"colab": {
|
7922 |
"base_uri": "https://localhost:8080/"
|
7923 |
},
|
7924 |
+
"outputId": "79afdbed-1a03-44aa-91e0-d740ba403b6e"
|
7925 |
},
|
7926 |
+
"execution_count": 146,
|
7927 |
"outputs": [
|
7928 |
{
|
7929 |
"output_type": "stream",
|
|
|
7953 |
"metadata": {
|
7954 |
"id": "KefqatP-YDSC"
|
7955 |
},
|
7956 |
+
"execution_count": 147,
|
7957 |
"outputs": []
|
7958 |
},
|
7959 |
{
|
|
|
7965 |
"metadata": {
|
7966 |
"id": "Km8eScKJl4VP"
|
7967 |
},
|
7968 |
+
"execution_count": 148,
|
7969 |
"outputs": []
|
7970 |
},
|
7971 |
{
|
|
|
7999 |
"colab": {
|
8000 |
"base_uri": "https://localhost:8080/"
|
8001 |
},
|
8002 |
+
"outputId": "b72c9950-fd93-4dd8-da7e-4b14b6a6851f"
|
8003 |
},
|
8004 |
+
"execution_count": 149,
|
8005 |
"outputs": [
|
8006 |
{
|
8007 |
"output_type": "stream",
|
8008 |
"name": "stdout",
|
8009 |
"text": [
|
8010 |
+
"tensor([[-1.5923, 1.0368],\n",
|
8011 |
+
" [-1.5923, 1.0368],\n",
|
8012 |
+
" [-1.5925, 1.0366],\n",
|
8013 |
+
" [-1.5923, 1.0368],\n",
|
8014 |
+
" [-1.5923, 1.0368],\n",
|
8015 |
+
" [-1.5923, 1.0368]])\n",
|
8016 |
+
"tensor([[0.0673, 0.9327],\n",
|
8017 |
+
" [0.0673, 0.9327],\n",
|
8018 |
+
" [0.0673, 0.9327],\n",
|
8019 |
+
" [0.0673, 0.9327],\n",
|
8020 |
+
" [0.0673, 0.9327],\n",
|
8021 |
+
" [0.0673, 0.9327]])\n",
|
8022 |
"tensor([1, 1, 1, 1, 1, 1])\n",
|
8023 |
"--------\n",
|
8024 |
"tensor([1, 1, 0, 1, 1, 1])\n",
|
|
|
8029 |
}
|
8030 |
]
|
8031 |
},
|
8032 |
+
{
|
8033 |
+
"cell_type": "markdown",
|
8034 |
+
"source": [
|
8035 |
+
"## Share the tuned model to Hugging Face"
|
8036 |
+
],
|
8037 |
+
"metadata": {
|
8038 |
+
"id": "rdWo3Erg3Nbo"
|
8039 |
+
}
|
8040 |
+
},
|
8041 |
+
{
|
8042 |
+
"cell_type": "code",
|
8043 |
+
"source": [
|
8044 |
+
"model_cpu.push_to_hub(\"ayethuzar/tuned-for-patentability\")"
|
8045 |
+
],
|
8046 |
+
"metadata": {
|
8047 |
+
"colab": {
|
8048 |
+
"base_uri": "https://localhost:8080/",
|
8049 |
+
"height": 101,
|
8050 |
+
"referenced_widgets": [
|
8051 |
+
"93f98cafe9a54e49b1a6dae6031f9b8c",
|
8052 |
+
"caa56c9fb75f43b0974f9c02a933fe43",
|
8053 |
+
"991929bba22647d79be683d2946ebeac",
|
8054 |
+
"268104e667c64665be940dc048050040",
|
8055 |
+
"721f473c88c743ad8ababadc35bde1e9",
|
8056 |
+
"70cfa43583f54962bdc1cad4c32fc12a",
|
8057 |
+
"7d714e7e7fd9464a9239c926d4d4357d",
|
8058 |
+
"601ac88f59744374bfe70f6aa87473f3",
|
8059 |
+
"414abfed64794b47830d125bbf89e39c",
|
8060 |
+
"6af51f896d74438f9b7f931ae2e78bfd",
|
8061 |
+
"50c560a47cbb494bbf399efc4d464ce8"
|
8062 |
+
]
|
8063 |
+
},
|
8064 |
+
"id": "BItDY3Up6yma",
|
8065 |
+
"outputId": "88c62d08-dd32-449d-cc9f-5fa524e7c569"
|
8066 |
+
},
|
8067 |
+
"execution_count": 160,
|
8068 |
+
"outputs": [
|
8069 |
+
{
|
8070 |
+
"output_type": "display_data",
|
8071 |
+
"data": {
|
8072 |
+
"text/plain": [
|
8073 |
+
"pytorch_model.bin: 0%| | 0.00/268M [00:00<?, ?B/s]"
|
8074 |
+
],
|
8075 |
+
"application/vnd.jupyter.widget-view+json": {
|
8076 |
+
"version_major": 2,
|
8077 |
+
"version_minor": 0,
|
8078 |
+
"model_id": "93f98cafe9a54e49b1a6dae6031f9b8c"
|
8079 |
+
}
|
8080 |
+
},
|
8081 |
+
"metadata": {}
|
8082 |
+
},
|
8083 |
+
{
|
8084 |
+
"output_type": "execute_result",
|
8085 |
+
"data": {
|
8086 |
+
"text/plain": [
|
8087 |
+
"CommitInfo(commit_url='https://huggingface.co/ayethuzar/tuned-for-patentability/commit/5c336ab0841277420d783d479d6200536740747b', commit_message='Upload DistilBertForSequenceClassification', commit_description='', oid='5c336ab0841277420d783d479d6200536740747b', pr_url=None, pr_revision=None, pr_num=None)"
|
8088 |
+
]
|
8089 |
+
},
|
8090 |
+
"metadata": {},
|
8091 |
+
"execution_count": 160
|
8092 |
+
}
|
8093 |
+
]
|
8094 |
+
},
|
8095 |
{
|
8096 |
"cell_type": "markdown",
|
8097 |
"source": [
|