Skip to main content

KeyBartAdapter

A neural model that extends KeyBart with adapter layers.

Usage

pip instal KeyBartAdapter
from models import KeyBartAdapter
model = KeyBartAdapter(256)

Huggingface

Trained checkpoints on huggingface: link

Inference

from transformers import AutoTokenizer
from transformers import Text2TextGenerationPipeline

tokenizer = AutoTokenizer.from_pretrained("bloomberg/KeyBART")
pipe = Text2TextGenerationPipeline(model=model,tokenizer=tokenizer)
abstract = '''Non-referential face image quality assessment methods have gained popularity as a pre-filtering step on face recognition systems. In most of them, the quality score is usually designed with face matching in mind. However, a small amount of work has been done on measuring their impact and usefulness on Presentation Attack Detection (PAD). In this paper, we study the effect of quality assessment methods on filtering bona fide and attack samples, their impact on PAD systems, and how the performance of such systems is improved when training on a filtered (by quality) dataset. On a Vision Transformer PAD algorithm, a reduction of 20% of the training dataset by removing lower quality samples allowed us to improve the BPCER by 3% in a cross-dataset test.'''
pipe(abstract)

Metadata

Release files for KeyBartAdapter 0.1.12

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

Source distribution (sdist)

Source distribution for KeyBartAdapter 0.1.12
File Size Uploaded Provenance Actions
KeyBartAdapter-0.1.12.tar.gz 9.8 kB Without provenance Details for KeyBartAdapter-0.1.12.tar.gz

Built distribution (wheel)

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

Total release size: 21.1 kB

Release files / KeyBartAdapter-0.1.12.tar.gz

Download URL KeyBartAdapter-0.1.12.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e10a99202061a439828cc4a4fb425117c0bb04bf4450f7415ea9ae4f317b247e
BLAKE2b-256 checksum
How to use checksums
6386d95033b8c44f6dc11765e89308244110bcbc80cc5d2d8257b2676a4355d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.15

Release files / KeyBartAdapter-0.1.12-py3-none-any.whl

Download URL KeyBartAdapter-0.1.12-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8d2a7892c68df6166d1aef61cf7562e87f17cc7c214541005f505c3198e2b36
BLAKE2b-256 checksum
How to use checksums
ae00ae2eb41f9df220d70dc6d0894c8abd6b8df6842de3682aebc41431bff336
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.15

Security for KeyBartAdapter 0.1.12

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.

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