encoderfile 0.6.2

Distribute and run transformer encoders with a single file.
Documentation
1
2
3
4
5
6
7
8
9
10
11
---Generated by Encoderfile ❤️
---Remember: Lua is 1-indexed!

---Postprocess sequence classification logits
---Must return 2D tensor of shape [batch_size, n_labels]
---@input Tensor 2D tensor of shape [batch_size, n_labels]
---@return Tensor
function Postprocess(arr)
    ---Replace with your logic here
    return arr
end