Add re-ranker mode to support re-ranking experiments, hopefully we can reduce the loss

This commit is contained in:
William Jeynes
2026-03-06 17:27:09 +00:00
parent f14d112017
commit ef6330ec07
7 changed files with 189 additions and 58 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
"type": "commonjs",
"main": "run.ts",
"scripts": {
"dev": "npx tsx run.ts"
"dev": "npx tsx run.ts",
"rerank": "INPUT_FILE='../../data/rerank.jsonl' OUTPUT_FILE='../../data/reranked.jsonl' AGENT='verifier' MODE='verifier' npx tsx run.ts"
},
"dependencies": {
"@langchain/langgraph-sdk": "^1.6.2",