Skip to content

Semantic utils - dense encodings and some metric operations

License

Notifications You must be signed in to change notification settings

INGEOTEC/semantic-utils

Repository files navigation

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.

About

Semantic utils - dense encodings and some metric operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published