MCPcopy Create free account
hub / github.com/csunny/algorithm / get_tokens_and_segments

Function get_tokens_and_segments

nlp/bert.py:9–16  ·  view source on GitHub ↗

Get tokens of the BERT input sqeuence and their segment IDs

(tokens_a, tokens_b=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected