Skip to main content

BAND:BERT Application aNd Deployment

A simple and efficient BERT model training and deployment framework.

Contributors Forks Stargazers Issues MIT License


Logo

BAND

BAND:BERT Application aNd Deployment
探索本项目的文档 »

查看Demo · 报告Bug · 提出新特性 · 问题交流

What is it

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.

💾 Installation

▴ Back to top

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!

⚡ ️Getting Started

▴ Back to top

Dataset

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

Current Pretrained Models

For more information about pretrained models, see

Metadata

Release files for band 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for band 0.3.3
File Size Uploaded
band-0.3.3.tar.gz 33.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for band 0.3.3
File Interpreter ABI Platform
band-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 75.5 kB

Release files / band-0.3.3.tar.gz

Download URL band-0.3.3.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2c29b458ce29e680f18bf7fed38b33e069b3748cbfdd794542ff1e5a5639bd68
BLAKE2b-256 checksum
How to use checksums
779088904e7eb73fa42d8e84a7d19b261bb8b2edb20a8b11933f05d5a34cd244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.7.0

Release files / band-0.3.3-py3-none-any.whl

Download URL band-0.3.3-py3-none-any.whl
Size 42.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f34663486995cfe9e8c8cd65a8bdb82b3a05f6e260fe290750f27e82f2215375
BLAKE2b-256 checksum
How to use checksums
3de0448383d7ec49e9d6971730dd096ab6160948a599bf69cc01cd89b687dea7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page