MCPcopy Create free account
hub / github.com/bruno686/VisPlay / construct_processor

Method construct_processor

configuration_utils.py:1488–1497  ·  view source on GitHub ↗
(self, vocab_size: int, device)

Source from the content-addressed store, hash-verified

1486 )
1487
1488 def construct_processor(self, vocab_size: int, device) -> "WatermarkLogitsProcessor":
1489 return WatermarkLogitsProcessor(
1490 vocab_size=vocab_size,
1491 device=device,
1492 greenlist_ratio=self.greenlist_ratio,
1493 bias=self.bias,
1494 hashing_key=self.hashing_key,
1495 seeding_scheme=self.seeding_scheme,
1496 context_width=self.context_width,
1497 )
1498
1499
1500@dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected