Charles Kabui
commited on
Commit
·
6d407f0
1
Parent(s):
8404c62
start analysis
Browse files- README.md +3 -3
- data/preview.ipynb +0 -0
- model/{README.ipynb → preview.ipynb} +11 -6
README.md
CHANGED
|
@@ -22,6 +22,6 @@ git remote -v
|
|
| 22 |
|
| 23 |
origin https://huggingface.co/spaces/mckabue/document-similarity-search-using-visual-layout-features (push)
|
| 24 |
```
|
| 25 |
-
https://github.com/git-lfs/git-lfs/issues/3231
|
| 26 |
-
https://dev.to/hashcode01/add-a-second-remote-origin-to-git-35a7
|
| 27 |
-
https://stackoverflow.com/a/49692403/3563013
|
|
|
|
| 22 |
|
| 23 |
origin https://huggingface.co/spaces/mckabue/document-similarity-search-using-visual-layout-features (push)
|
| 24 |
```
|
| 25 |
+
- https://github.com/git-lfs/git-lfs/issues/3231
|
| 26 |
+
- https://dev.to/hashcode01/add-a-second-remote-origin-to-git-35a7
|
| 27 |
+
- https://stackoverflow.com/a/49692403/3563013
|
data/preview.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model/{README.ipynb → preview.ipynb}
RENAMED
|
@@ -16,13 +16,22 @@
|
|
| 16 |
],
|
| 17 |
"source": [
|
| 18 |
"import sys\n",
|
| 19 |
-
"\n",
|
| 20 |
"sys.path.insert(0, '..')\n",
|
| 21 |
"\n",
|
| 22 |
"%load_ext autoreload\n",
|
| 23 |
"%autoreload 2"
|
| 24 |
]
|
| 25 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
{
|
| 27 |
"cell_type": "markdown",
|
| 28 |
"metadata": {},
|
|
@@ -746,8 +755,6 @@
|
|
| 746 |
}
|
| 747 |
],
|
| 748 |
"source": [
|
| 749 |
-
"import pandas as pd\n",
|
| 750 |
-
"\n",
|
| 751 |
"metrics_df = pd.read_json('./trained_model/metrics.json', orient=\"records\", lines=True)\n",
|
| 752 |
"mdf = metrics_df.sort_values(\"iteration\")\n",
|
| 753 |
"mdf.head(10).T"
|
|
@@ -772,8 +779,6 @@
|
|
| 772 |
}
|
| 773 |
],
|
| 774 |
"source": [
|
| 775 |
-
"from utils.plot_metrics import plot_metrics\n",
|
| 776 |
-
"\n",
|
| 777 |
"plot_metrics([\n",
|
| 778 |
" [\n",
|
| 779 |
" (mdf[\"iteration\"], mdf[\"total_loss\"], \"total_loss\", 'red'),\n",
|
|
@@ -805,7 +810,7 @@
|
|
| 805 |
"name": "python",
|
| 806 |
"nbconvert_exporter": "python",
|
| 807 |
"pygments_lexer": "ipython3",
|
| 808 |
-
"version": "3.
|
| 809 |
}
|
| 810 |
},
|
| 811 |
"nbformat": 4,
|
|
|
|
| 16 |
],
|
| 17 |
"source": [
|
| 18 |
"import sys\n",
|
|
|
|
| 19 |
"sys.path.insert(0, '..')\n",
|
| 20 |
"\n",
|
| 21 |
"%load_ext autoreload\n",
|
| 22 |
"%autoreload 2"
|
| 23 |
]
|
| 24 |
},
|
| 25 |
+
{
|
| 26 |
+
"cell_type": "code",
|
| 27 |
+
"execution_count": null,
|
| 28 |
+
"metadata": {},
|
| 29 |
+
"outputs": [],
|
| 30 |
+
"source": [
|
| 31 |
+
"import pandas as pd\n",
|
| 32 |
+
"from utils.plot_metrics import plot_metrics"
|
| 33 |
+
]
|
| 34 |
+
},
|
| 35 |
{
|
| 36 |
"cell_type": "markdown",
|
| 37 |
"metadata": {},
|
|
|
|
| 755 |
}
|
| 756 |
],
|
| 757 |
"source": [
|
|
|
|
|
|
|
| 758 |
"metrics_df = pd.read_json('./trained_model/metrics.json', orient=\"records\", lines=True)\n",
|
| 759 |
"mdf = metrics_df.sort_values(\"iteration\")\n",
|
| 760 |
"mdf.head(10).T"
|
|
|
|
| 779 |
}
|
| 780 |
],
|
| 781 |
"source": [
|
|
|
|
|
|
|
| 782 |
"plot_metrics([\n",
|
| 783 |
" [\n",
|
| 784 |
" (mdf[\"iteration\"], mdf[\"total_loss\"], \"total_loss\", 'red'),\n",
|
|
|
|
| 810 |
"name": "python",
|
| 811 |
"nbconvert_exporter": "python",
|
| 812 |
"pygments_lexer": "ipython3",
|
| 813 |
+
"version": "3.10.13"
|
| 814 |
}
|
| 815 |
},
|
| 816 |
"nbformat": 4,
|