Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/LongWriter
/ get_input_embeddings
Method
get_input_embeddings
train/patch/modeling_chatglm.py:668–669 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
666
dtype=config.torch_dtype, **init_kwargs)
667
668
def
get_input_embeddings(self):
669
return
self.embedding.word_embeddings
670
671
def
forward(
672
self,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected