Skip to main content

Text classifier, based on the BERT and a Bayesian neural network, which can train on small labeled texts and doubt its decision

Project description

Text classifier, based on the BERT and a Bayesian neural network, which can train on small labeled texts and doubt its decision.

The goal of this project is developing of simple and power text classifier based on transfer learning and bayesian neural networks.

A transfer learning (particulary, well-known BERT model) helps to generate special contextual embeddings for text tokens, which provide a better discrimination ability in feature space, than classical word embeddings. Therefore we can use smaller labeled data for training of final classifier.

Bayesian neural network in final classifier models uncertainty in data, owing to this fact probabilities of recognized classes returned by this network are more fair, and bayesian neural network is more robust to overfitting.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

impartial-text-cls-0.0.4.tar.gz (26.0 kB view details)

Uploaded Source

File details

Details for the file impartial-text-cls-0.0.4.tar.gz.

File metadata

  • Download URL: impartial-text-cls-0.0.4.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for impartial-text-cls-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c2023f1b016c57e3de3c79922d9589adba86f5dfb8f570a74aa8f1ce5eaa5d8c
MD5 7308827cc75e6f86a14de02b2f84d465
BLAKE2b-256 59a9975a61da1c996e1f5a5c8b3e512241971cadac7e4cf062fcc49849ae0bd3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page