conda create -n "semantic"
conda install -n semantic -c conda-forge sentence-transformers h5py
- Install julia
- Initialize environment
JULIA_PROJECT=. JULIA_NUM_THREADS=auto julia -e 'using Pkg; Pkg.initialize()'
run
JULIA_PROJECT=. JULIA_NUM_THREADS=auto julia -L metric.jl
you should call the desired functions inside the Julia REPL
The encoder uses SBERT models.