MCPcopy Create free account
hub / github.com/Agent-RL/ReCall / __init__

Method __init__

src/flashrag/retriever/encoder.py:148–152  ·  view source on GitHub ↗
(self, model_name, model_path)

Source from the content-addressed store, hash-verified

146 """ClipEncoder class for encoding queries using CLIP."""
147
148 def __init__(self, model_name, model_path):
149
150 self.model_name = model_name
151 self.model_path = model_path
152 self.load_clip_model()
153
154 def load_clip_model(self):
155 from transformers import AutoModel, AutoProcessor

Callers

nothing calls this directly

Calls 1

load_clip_modelMethod · 0.95

Tested by

no test coverage detected