Easy fine-tuning for BERT models
Project description
bert-for-sequence-classification
Pipeline for easy fine-tuning of BERT architecture for sequence classification
Quick Start
Installation
- Install the library
pip install bert-for-sequence-classification
- If you want to train you model on GPU, please install pytorch version compatible with your device.
To find the version compatible with the cuda installed on your GPU, check
Pytorch website.
You can learn CUDA version installed on your device by typing nvidia-smi
in console or
!nvidia-smi
in a notebook cell.
CLI Use
bert-clf-train --path_to_config <path to yaml file>\
Example config file can be found here
Jupyter notebook
Example notebook can be found here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for bert-for-sequence-classification-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b7a9a24d45cbd2a07594886960fbbc421f75d7f672ce3f24ac7fc6f7e8f00a |
|
MD5 | b1e5949824d2a9a69f93cf1111ba37e8 |
|
BLAKE2b-256 | ce2df75ee3d20517822d8eae90aeb94acd5b0f511aa9029bb8025225564bc396 |