Skip to content

Commit 4b1f4dc

Browse files
authored
Fix some link in the LTR notebook. (#182)
1 parent ea994c3 commit 4b1f4dc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

notebooks/search/08-learning-to-rank.ipynb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
"source": [
99
"# How to train and deploy Learning To Rank\n",
1010
"\n",
11-
"TODO: udpate the link to elastic/elasticsearch-labs instead of my fork before merging.\n",
12-
"\n",
13-
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/elastic/elasticsearch-labs/blob/ltr-notebook/notebooks/search/08-learning-to-rank.ipynb)\n",
11+
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/elastic/elasticsearch-labs/blob/main/notebooks/search/08-learning-to-rank.ipynb)\n",
1412
"\n",
1513
"In this notebook we will see an example on how to train a Learning To Rank model using [XGBoost](https://xgboost.ai/) and how to deploy it to be used as a rescorer in Elasticsearch.\n",
1614
"\n",
@@ -119,7 +117,7 @@
119117
"\n",
120118
"In this example notebook we will use a dataset derived from [MSRD](https://github.com/metarank/msrd/tree/master) (Movie Search Ranking Dataset).\n",
121119
"\n",
122-
"The dataset is available [here](https://github.com/elastic/elasticsearch-labs/tree/main/ltr-notebook/notebooks/search/sample_data/learning-to-rank/) and contains the following files:\n",
120+
"The dataset is available [here](https://github.com/elastic/elasticsearch-labs/tree/main/notebooks/search/sample_data/learning-to-rank/) and contains the following files:\n",
123121
"\n",
124122
"- **movies_corpus.jsonl.gz**: The movies dataset which will be indexed.\n",
125123
"- **movies_judgements.tsv.gz**: A file containing relevance judgments for a set of queries.\n",
@@ -136,7 +134,7 @@
136134
"source": [
137135
"from urllib.parse import urljoin\n",
138136
"\n",
139-
"DATASET_BASE_URL = \"https://raw.githubusercontent.com/elastic/elasticsearch-labs/ltr-notebook/notebooks/search/sample_data/learning-to-rank/\"\n",
137+
"DATASET_BASE_URL = \"https://raw.githubusercontent.com/elastic/elasticsearch-labs/main/notebooks/search/sample_data/learning-to-rank/\"\n",
140138
"\n",
141139
"CORPUS_URL = urljoin(DATASET_BASE_URL, \"movies-corpus.jsonl.gz\")\n",
142140
"JUDGEMENTS_FILE_URL = urljoin(DATASET_BASE_URL, \"movies-judgments.tsv.gz\")\n",

0 commit comments

Comments
 (0)