Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@energetic-ai/model-embeddings-en
Advanced tools
Pre-trained English-language model weights for `@energetic-ai/embeddings`.
Pre-trained English-language model weights for @energetic-ai/embeddings
.
This package contains pre-trained English-language model weights for @energetic-ai/embeddings
.
npm install @energetic-ai/model-embeddings-en
To use this, simply import modelSource
from this package and pass it to initModel()
in @energetic-ai/embeddings
:
import { initModel } from "@energetic-ai/embeddings";
import { modelSource } from "@energetic-ai/model-embeddings-en";
(async () => {
const model = await initModel(modelSource);
const embeddings = await model.embed(["hello", "world"]);
console.log(embeddings);
})();
See the examples directory for examples.
This repository uses Lerna to manage packages, and Vitest to run tests.
Run tests with this method:
npm run test
This package is derived from the Universal Sentence Encoder Lite model weights, which are also Apache 2.0 licensed.
FAQs
Pre-trained English-language model weights for `@energetic-ai/embeddings`.
The npm package @energetic-ai/model-embeddings-en receives a total of 642 weekly downloads. As such, @energetic-ai/model-embeddings-en popularity was classified as not popular.
We found that @energetic-ai/model-embeddings-en demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.