MCPcopy Index your code
hub / github.com/YunwenTechnology/QueryGeneration / initialize_from_context

Function initialize_from_context

train/modeling.py:700–710  ·  view source on GitHub ↗

same signature as sample_step

(initial_context, ignore_ids, news_config, p_for_topp=0.95, do_topk=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sampleFunction · 0.85

Calls 2

get_shape_listFunction · 0.90
sample_stepFunction · 0.85

Tested by

no test coverage detected