MCPcopy Create free account
hub / github.com/MorvanZhou/NLP-Tutorials / mask

Method mask

GPT.py:68–87  ·  view source on GitHub ↗

abcd-- a011111 b001111 c000111 d000011 -000011 -000011 force head not to see afterward. eg. a is a embedding for a--- b is a embedding for ab-- c is a embedding for abc- later, b embedding will + b ano

(self, seqs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

callMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected