MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / __init__

Method __init__

trinity/common/models/tinker_model.py:19–27  ·  view source on GitHub ↗
(
        self,
        config: InferenceModelConfig,
    )

Source from the content-addressed store, hash-verified

17
18class TinkerModel(BaseInferenceModel):
19 def __init__(
20 self,
21 config: InferenceModelConfig,
22 ) -> None:
23 super().__init__(config)
24 self.model_version = -1
25 self.synchronizer = Synchronizer.get_actor(namespace=ray.get_runtime_context().namespace)
26 self.model = None
27 self.model_path = config.model_path
28
29 async def _initialize_tokenizer(self) -> None:
30 """Initialize the tokenizer."""

Callers

nothing calls this directly

Calls 1

get_actorMethod · 0.45

Tested by

no test coverage detected