Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZBayes/basic_rag
/ vec_model.py
File
vec_model.py
src/models/vec_model/vec_model.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
torch
2
import
torch.nn
as
nn
3
import
torch.nn.functional
as
F
4
from
loguru
import
logger
Callers
nothing calls this directly
Calls
2
VectorizeModel
Class · 0.85
predict_vec
Method · 0.80
Tested by
no test coverage detected