Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XiangLi1999/PrefixTuning
/ _step
Method
_step
seq2seq/finetune.py:152–182 ·
view source on GitHub ↗
(self, batch: dict)
Source
from the content-addressed store, hash-verified
source not stored for this graph (policy: none)
Callers
2
training_step
Method · 0.95
_generative_step
Method · 0.95
Calls
3
shift_tokens_right
Function · 0.90
label_smoothed_nll_loss
Function · 0.90
_shift_right
Method · 0.45
Tested by
no test coverage detected