Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/huggingface/transformers
/ src_lens
Method
src_lens
examples/seq2seq/utils.py:138–139 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
136
137
@property
138
def
src_lens(self):
# Can delete?
139
return
lmap(len, self.source)
140
141
@property
142
def
tgt_lens(self):
Callers
nothing calls this directly
Calls
1
lmap
Function · 0.70
Tested by
no test coverage detected