transformers

package
v1.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package transformers provides an interface to a Python server which computes multilingual sentence embeddings using UKPLab/sentence-transformers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Embedding

func Embedding(p string) ([]float32, error)

Embedding returns an embedding for p.

func Embeddings

func Embeddings(p []string) ([][]float32, error)

Embeddings returns embeddings for the sentences in p.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL