Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
A simple and efficient BERT model training and deployment framework.
BAND:BERT Application aNd Deployment
探索本项目的文档 »
查看Demo
·
报告Bug
·
提出新特性
·
问题交流
Encoding/Embedding is a upstream task of encoding any inputs in the form of text, image, audio, video, transactional data to fixed length vector. Embeddings are quite popular in the field of NLP, there has been various Embeddings models being proposed in recent years by researchers, some of the famous one are bert, xlnet, word2vec etc. The goal of this repo is to build one stop solution for all embeddings techniques available, here we are starting with popular text embeddings for now and later on we aim to add as much technique for image, audio, video inputs also.
Finally, embedding-as-service
help you to encode any given text to fixed length vector from supported embeddings and models.
Install the band via pip
.
$ pip install band -U
Note that the code MUST be running on Python >= 3.6. Again module does not support Python 2!
For more information about dataset, see
Dataset Name | Language | TASK | Description |
---|---|---|---|
ChnSentiCorp | CN | Text Classification | Binary Classification |
LCQMC | CN | Question Answer Match | Binary Classification |
MSRA_NER | CN | Named Entity Recognition | Sequence Labeling |
Toxic | EN | Text Classification | Multi-label Multi-label |
Thucnews | CN | Text Classification | Multi-class Classification |
SQUAD | EN | Machine Reading Comprehension | Span |
DRCD | CN | Machine Reading Comprehension | Span |
CMRC | CN | Machine Reading Comprehension | Span |
GLUE | EN |
For more information about pretrained models, see
FAQs
BERT Application
We found that band demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.