Open fxnnxc opened 11 months ago
It has been updated to the youngju branch.
--using-threshold
: Set the final output to 1-dimension and apply sigmoid.--threshold
: Any prediction above the threshold is considered true.+) Using the Thresholds-Method requires a way to determine the threshold value.
MeanPooledMLPProber
: Average representation of all tokensLastPooledMLPProber
: Representation of the last tokenTokenWiseMLPProber
: Average of logits over all tokens+) For debugging, default values have been specified for all arguments.
The first and the last tokens are EOS tokens ([0] and [-1]). Please use [-2] to get the exact last token.
# 8 length tokens
[EOS] [EOS] [EOS] Today weather is good [EOS]
[EOS] [EOS] [EOS] [EOS] Today is good [EOS]
P-pipeline framework
The base prober is the mean pooling prober. You can implement any forward logic by inherit
MLPProber