Biobertology
Ready to use BioBert pytorch weights for HuggingFace pytorch BertModel.
To load the model:
from biobertology import get_biobert, get_tokenizer
biobert = get_biobert(model_dir=None, download=True)
tokenizer = get_tokenizer()
Example of fine tuning biobert here.
How was it converted to pytorch?
Model weights have been downloaded from here and converted
by following the commands described here.pytorch
Specifically, using the command:
pytorch_transformers bert biobert_v1.1_pubmed/model.ckpt-1000000 biobert_v1.1_pubmed/bert_config.json biobert_v1.1_pubmed/pytorch_model.bin
followed by the renaming of the config file:
mv biobert_v1.1_pubmed/bert_config.json biobert_v1.1_pubmed/config.json
all of the other files inside the original weights file have been deleted.
Metadata
Release files for biobert-pytorch 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| biobert-pytorch-0.9.tar.gz | 2.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| biobert_pytorch-0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / biobert-pytorch-0.9.tar.gz
| Download URL | biobert-pytorch-0.9.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72ffa7c22a349f6a08c82cee134bbf051dff2461b2cf03152b75331ca85ccbc9
|
|
BLAKE2b-256 checksum How to use checksums |
6440dde1f2c0ff18f08b7ef8a772b4462931bf01efef32e04f8f014c4a22f14f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.7
|
Release files / biobert_pytorch-0.9-py3-none-any.whl
| Download URL | biobert_pytorch-0.9-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
955346b34c3ad4460ccce9fbe993eae256f5a2e1695b1a09592e4594b444de93
|
|
BLAKE2b-256 checksum How to use checksums |
115ad277c8f18208c8a605c7d33b960b7573f2cb4df0062c041ab77de9a8fc29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.7
|
Security for biobert-pytorch 0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.