Skip to content

Commit dbc5d76

Browse files
authored
Fix LTR notebook rendering in GH (#462)
1 parent 1db1c11 commit dbc5d76

File tree

1 file changed

+2
-353
lines changed

1 file changed

+2
-353
lines changed

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

Lines changed: 2 additions & 353 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@
11961196
"provenance": []
11971197
},
11981198
"kernelspec": {
1199-
"display_name": "Python 3.12.3 64-bit",
1199+
"display_name": ".venv",
12001200
"language": "python",
12011201
"name": "python3"
12021202
},
@@ -1210,358 +1210,7 @@
12101210
"name": "python",
12111211
"nbconvert_exporter": "python",
12121212
"pygments_lexer": "ipython3",
1213-
"version": "3.12.3"
1214-
},
1215-
"vscode": {
1216-
"interpreter": {
1217-
"hash": "b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e"
1218-
}
1219-
},
1220-
"widgets": {
1221-
"application/vnd.jupyter.widget-state+json": {
1222-
"0ab8ee0c2e1a42658ecbf01b0b28cf92": {
1223-
"model_module": "@jupyter-widgets/base",
1224-
"model_module_version": "1.2.0",
1225-
"model_name": "LayoutModel",
1226-
"state": {
1227-
"_model_module": "@jupyter-widgets/base",
1228-
"_model_module_version": "1.2.0",
1229-
"_model_name": "LayoutModel",
1230-
"_view_count": null,
1231-
"_view_module": "@jupyter-widgets/base",
1232-
"_view_module_version": "1.2.0",
1233-
"_view_name": "LayoutView",
1234-
"align_content": null,
1235-
"align_items": null,
1236-
"align_self": null,
1237-
"border": null,
1238-
"bottom": null,
1239-
"display": null,
1240-
"flex": null,
1241-
"flex_flow": null,
1242-
"grid_area": null,
1243-
"grid_auto_columns": null,
1244-
"grid_auto_flow": null,
1245-
"grid_auto_rows": null,
1246-
"grid_column": null,
1247-
"grid_gap": null,
1248-
"grid_row": null,
1249-
"grid_template_areas": null,
1250-
"grid_template_columns": null,
1251-
"grid_template_rows": null,
1252-
"height": null,
1253-
"justify_content": null,
1254-
"justify_items": null,
1255-
"left": null,
1256-
"margin": null,
1257-
"max_height": null,
1258-
"max_width": null,
1259-
"min_height": null,
1260-
"min_width": null,
1261-
"object_fit": null,
1262-
"object_position": null,
1263-
"order": null,
1264-
"overflow": null,
1265-
"overflow_x": null,
1266-
"overflow_y": null,
1267-
"padding": null,
1268-
"right": null,
1269-
"top": null,
1270-
"visibility": null,
1271-
"width": null
1272-
}
1273-
},
1274-
"549645ca4e7b48ef86cffdaa5507c56c": {
1275-
"model_module": "@jupyter-widgets/controls",
1276-
"model_module_version": "1.5.0",
1277-
"model_name": "ProgressStyleModel",
1278-
"state": {
1279-
"_model_module": "@jupyter-widgets/controls",
1280-
"_model_module_version": "1.5.0",
1281-
"_model_name": "ProgressStyleModel",
1282-
"_view_count": null,
1283-
"_view_module": "@jupyter-widgets/base",
1284-
"_view_module_version": "1.2.0",
1285-
"_view_name": "StyleView",
1286-
"bar_color": null,
1287-
"description_width": ""
1288-
}
1289-
},
1290-
"594c5ebcb9624b63b128536a46594211": {
1291-
"model_module": "@jupyter-widgets/controls",
1292-
"model_module_version": "1.5.0",
1293-
"model_name": "HTMLModel",
1294-
"state": {
1295-
"_dom_classes": [],
1296-
"_model_module": "@jupyter-widgets/controls",
1297-
"_model_module_version": "1.5.0",
1298-
"_model_name": "HTMLModel",
1299-
"_view_count": null,
1300-
"_view_module": "@jupyter-widgets/controls",
1301-
"_view_module_version": "1.5.0",
1302-
"_view_name": "HTMLView",
1303-
"description": "",
1304-
"description_tooltip": null,
1305-
"layout": "IPY_MODEL_0ab8ee0c2e1a42658ecbf01b0b28cf92",
1306-
"placeholder": "",
1307-
"style": "IPY_MODEL_84206a53779249fbb34c78edb17fd1e0",
1308-
"value": " 4233/4233 [05:50<00:00, 11.77it/s]"
1309-
}
1310-
},
1311-
"7ed336be71e74521a596a7d624c1e7d1": {
1312-
"model_module": "@jupyter-widgets/base",
1313-
"model_module_version": "1.2.0",
1314-
"model_name": "LayoutModel",
1315-
"state": {
1316-
"_model_module": "@jupyter-widgets/base",
1317-
"_model_module_version": "1.2.0",
1318-
"_model_name": "LayoutModel",
1319-
"_view_count": null,
1320-
"_view_module": "@jupyter-widgets/base",
1321-
"_view_module_version": "1.2.0",
1322-
"_view_name": "LayoutView",
1323-
"align_content": null,
1324-
"align_items": null,
1325-
"align_self": null,
1326-
"border": null,
1327-
"bottom": null,
1328-
"display": null,
1329-
"flex": null,
1330-
"flex_flow": null,
1331-
"grid_area": null,
1332-
"grid_auto_columns": null,
1333-
"grid_auto_flow": null,
1334-
"grid_auto_rows": null,
1335-
"grid_column": null,
1336-
"grid_gap": null,
1337-
"grid_row": null,
1338-
"grid_template_areas": null,
1339-
"grid_template_columns": null,
1340-
"grid_template_rows": null,
1341-
"height": null,
1342-
"justify_content": null,
1343-
"justify_items": null,
1344-
"left": null,
1345-
"margin": null,
1346-
"max_height": null,
1347-
"max_width": null,
1348-
"min_height": null,
1349-
"min_width": null,
1350-
"object_fit": null,
1351-
"object_position": null,
1352-
"order": null,
1353-
"overflow": null,
1354-
"overflow_x": null,
1355-
"overflow_y": null,
1356-
"padding": null,
1357-
"right": null,
1358-
"top": null,
1359-
"visibility": null,
1360-
"width": null
1361-
}
1362-
},
1363-
"84206a53779249fbb34c78edb17fd1e0": {
1364-
"model_module": "@jupyter-widgets/controls",
1365-
"model_module_version": "1.5.0",
1366-
"model_name": "DescriptionStyleModel",
1367-
"state": {
1368-
"_model_module": "@jupyter-widgets/controls",
1369-
"_model_module_version": "1.5.0",
1370-
"_model_name": "DescriptionStyleModel",
1371-
"_view_count": null,
1372-
"_view_module": "@jupyter-widgets/base",
1373-
"_view_module_version": "1.2.0",
1374-
"_view_name": "StyleView",
1375-
"description_width": ""
1376-
}
1377-
},
1378-
"8c393bd522f6427f9978a89bc7dbdf3b": {
1379-
"model_module": "@jupyter-widgets/base",
1380-
"model_module_version": "1.2.0",
1381-
"model_name": "LayoutModel",
1382-
"state": {
1383-
"_model_module": "@jupyter-widgets/base",
1384-
"_model_module_version": "1.2.0",
1385-
"_model_name": "LayoutModel",
1386-
"_view_count": null,
1387-
"_view_module": "@jupyter-widgets/base",
1388-
"_view_module_version": "1.2.0",
1389-
"_view_name": "LayoutView",
1390-
"align_content": null,
1391-
"align_items": null,
1392-
"align_self": null,
1393-
"border": null,
1394-
"bottom": null,
1395-
"display": null,
1396-
"flex": null,
1397-
"flex_flow": null,
1398-
"grid_area": null,
1399-
"grid_auto_columns": null,
1400-
"grid_auto_flow": null,
1401-
"grid_auto_rows": null,
1402-
"grid_column": null,
1403-
"grid_gap": null,
1404-
"grid_row": null,
1405-
"grid_template_areas": null,
1406-
"grid_template_columns": null,
1407-
"grid_template_rows": null,
1408-
"height": null,
1409-
"justify_content": null,
1410-
"justify_items": null,
1411-
"left": null,
1412-
"margin": null,
1413-
"max_height": null,
1414-
"max_width": null,
1415-
"min_height": null,
1416-
"min_width": null,
1417-
"object_fit": null,
1418-
"object_position": null,
1419-
"order": null,
1420-
"overflow": null,
1421-
"overflow_x": null,
1422-
"overflow_y": null,
1423-
"padding": null,
1424-
"right": null,
1425-
"top": null,
1426-
"visibility": null,
1427-
"width": null
1428-
}
1429-
},
1430-
"a6d4eb3325444f28b11ba02c3d01ed83": {
1431-
"model_module": "@jupyter-widgets/controls",
1432-
"model_module_version": "1.5.0",
1433-
"model_name": "HTMLModel",
1434-
"state": {
1435-
"_dom_classes": [],
1436-
"_model_module": "@jupyter-widgets/controls",
1437-
"_model_module_version": "1.5.0",
1438-
"_model_name": "HTMLModel",
1439-
"_view_count": null,
1440-
"_view_module": "@jupyter-widgets/controls",
1441-
"_view_module_version": "1.5.0",
1442-
"_view_name": "HTMLView",
1443-
"description": "",
1444-
"description_tooltip": null,
1445-
"layout": "IPY_MODEL_7ed336be71e74521a596a7d624c1e7d1",
1446-
"placeholder": "",
1447-
"style": "IPY_MODEL_ee1a6943af1e49e6a8851f27c9811c32",
1448-
"value": "100%"
1449-
}
1450-
},
1451-
"bff504814b434aec90b2cf020b08cfa9": {
1452-
"model_module": "@jupyter-widgets/controls",
1453-
"model_module_version": "1.5.0",
1454-
"model_name": "FloatProgressModel",
1455-
"state": {
1456-
"_dom_classes": [],
1457-
"_model_module": "@jupyter-widgets/controls",
1458-
"_model_module_version": "1.5.0",
1459-
"_model_name": "FloatProgressModel",
1460-
"_view_count": null,
1461-
"_view_module": "@jupyter-widgets/controls",
1462-
"_view_module_version": "1.5.0",
1463-
"_view_name": "ProgressView",
1464-
"bar_style": "success",
1465-
"description": "",
1466-
"description_tooltip": null,
1467-
"layout": "IPY_MODEL_8c393bd522f6427f9978a89bc7dbdf3b",
1468-
"max": 4233,
1469-
"min": 0,
1470-
"orientation": "horizontal",
1471-
"style": "IPY_MODEL_549645ca4e7b48ef86cffdaa5507c56c",
1472-
"value": 4233
1473-
}
1474-
},
1475-
"e95447129da74d9ebc4c1d99165bd534": {
1476-
"model_module": "@jupyter-widgets/base",
1477-
"model_module_version": "1.2.0",
1478-
"model_name": "LayoutModel",
1479-
"state": {
1480-
"_model_module": "@jupyter-widgets/base",
1481-
"_model_module_version": "1.2.0",
1482-
"_model_name": "LayoutModel",
1483-
"_view_count": null,
1484-
"_view_module": "@jupyter-widgets/base",
1485-
"_view_module_version": "1.2.0",
1486-
"_view_name": "LayoutView",
1487-
"align_content": null,
1488-
"align_items": null,
1489-
"align_self": null,
1490-
"border": null,
1491-
"bottom": null,
1492-
"display": null,
1493-
"flex": null,
1494-
"flex_flow": null,
1495-
"grid_area": null,
1496-
"grid_auto_columns": null,
1497-
"grid_auto_flow": null,
1498-
"grid_auto_rows": null,
1499-
"grid_column": null,
1500-
"grid_gap": null,
1501-
"grid_row": null,
1502-
"grid_template_areas": null,
1503-
"grid_template_columns": null,
1504-
"grid_template_rows": null,
1505-
"height": null,
1506-
"justify_content": null,
1507-
"justify_items": null,
1508-
"left": null,
1509-
"margin": null,
1510-
"max_height": null,
1511-
"max_width": null,
1512-
"min_height": null,
1513-
"min_width": null,
1514-
"object_fit": null,
1515-
"object_position": null,
1516-
"order": null,
1517-
"overflow": null,
1518-
"overflow_x": null,
1519-
"overflow_y": null,
1520-
"padding": null,
1521-
"right": null,
1522-
"top": null,
1523-
"visibility": null,
1524-
"width": null
1525-
}
1526-
},
1527-
"ee1a6943af1e49e6a8851f27c9811c32": {
1528-
"model_module": "@jupyter-widgets/controls",
1529-
"model_module_version": "1.5.0",
1530-
"model_name": "DescriptionStyleModel",
1531-
"state": {
1532-
"_model_module": "@jupyter-widgets/controls",
1533-
"_model_module_version": "1.5.0",
1534-
"_model_name": "DescriptionStyleModel",
1535-
"_view_count": null,
1536-
"_view_module": "@jupyter-widgets/base",
1537-
"_view_module_version": "1.2.0",
1538-
"_view_name": "StyleView",
1539-
"description_width": ""
1540-
}
1541-
},
1542-
"f9cdfbc3972a4b84a557507567ca2965": {
1543-
"model_module": "@jupyter-widgets/controls",
1544-
"model_module_version": "1.5.0",
1545-
"model_name": "HBoxModel",
1546-
"state": {
1547-
"_dom_classes": [],
1548-
"_model_module": "@jupyter-widgets/controls",
1549-
"_model_module_version": "1.5.0",
1550-
"_model_name": "HBoxModel",
1551-
"_view_count": null,
1552-
"_view_module": "@jupyter-widgets/controls",
1553-
"_view_module_version": "1.5.0",
1554-
"_view_name": "HBoxView",
1555-
"box_style": "",
1556-
"children": [
1557-
"IPY_MODEL_a6d4eb3325444f28b11ba02c3d01ed83",
1558-
"IPY_MODEL_bff504814b434aec90b2cf020b08cfa9",
1559-
"IPY_MODEL_594c5ebcb9624b63b128536a46594211"
1560-
],
1561-
"layout": "IPY_MODEL_e95447129da74d9ebc4c1d99165bd534"
1562-
}
1563-
}
1564-
}
1213+
"version": "3.11.4"
15651214
}
15661215
},
15671216
"nbformat": 4,

0 commit comments

Comments
 (0)