Skip to main content

Kheiron

Kheiron: Train and evaluate libary for Pytorch model.

Author: Trong-Dat Ngo.


Examples

Text classification
options = TrainingOptions(task='text-classification',
                          train_batch_size=8,
                          eval_batch_size=8,
                          metric_for_best_model='macro_f1',
                          greater_is_better=True,
                          track_metrics=True)

trainer = Trainer(model=model,
                  opts=options,
                  train_set=tokenized_sets['train'],
                  eval_set=tokenized_sets['test'],
                  collate_fn=data_collator)

trainer.train()
Token classification
Sammarization
Translation

Metadata

Release files for Kheiron 1.0.4

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

Source distribution (sdist)

Source distribution for Kheiron 1.0.4
File Size Uploaded Provenance Actions
Kheiron-1.0.4.tar.gz 10.9 kB Without provenance Details for Kheiron-1.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 24.2 kB

Release files / Kheiron-1.0.4.tar.gz

Download URL Kheiron-1.0.4.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
512642170f1db8f2f9673b1d5409f91ca07ab0b0e286566b6b9dbf713410941c
BLAKE2b-256 checksum
How to use checksums
179ad8f3d660a243f29a5a444d89a695db28f6aec66055006b8fbe21b3e48913
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.26.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.62.3 CPython/3.8.10

Release files / Kheiron-1.0.4-py3-none-any.whl

Download URL Kheiron-1.0.4-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
157d19eaad06639bf160da541b50a82e2b69c88256367696f153fc3702fd2b90
BLAKE2b-256 checksum
How to use checksums
9504161174f2723bb2d4f63907e27714f5a3cf414d9bcf5db25647ead16678a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.26.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.62.3 CPython/3.8.10

Security for Kheiron 1.0.4

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