MCPcopy Create free account
hub / github.com/NeuralMMO/baselines / _get_embedding

Method _get_embedding

curriculum_generation/task_encoder.py:66–88  ·  view source on GitHub ↗

Compute the embeddings of tasks. Args: prompts: List of tasks defined as prompts. Returns: A list of embeddings corresponding to input tasks.

(self, prompts: List[str])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

__init__Method · 0.95
get_task_embeddingMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected