Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 604 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 604 Bytes

A set of utitilies to work with semantic representations

Setup python environment

conda create -n "semantic"
conda install -n semantic -c conda-forge sentence-transformers h5py

Julia setup

  • 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

About the SBERT

The encoder uses SBERT models.