Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Hit-Girl
code
Commits
8a078b7e
Commit
8a078b7e
authored
Feb 15, 2022
by
Jerome Wuerf
Browse files
Change formatting of ranking score
parent
0488fa7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/src/prototype/retrieval/reranking.py
View file @
8a078b7e
...
...
@@ -129,7 +129,7 @@ class Reranking:
f
'
{
"__"
.
join
(
conclusion
[
"_id"
].
split
(
"_"
))
}
,'
+
f
'
{
"__"
.
join
(
premise
[
"_id"
].
split
(
"_"
))
}
'
,
len
(
trec_style_rows
),
f
'
{
conclusion
[
"final_reranking_score"
]
:
.
3
f
}
'
,
self
.
run_name
))
f
'
{
conclusion
[
"final_reranking_score"
]
:
.
2
f
}
'
,
self
.
run_name
))
encountered_premise_ids
.
add
(
premise
[
'_id'
])
break
rows_per_topic
[
topic_nrb
]
=
trec_style_rows
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment