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
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)
| File | Size | Uploaded | |
|---|---|---|---|
| Kheiron-1.0.4.tar.gz | 10.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Kheiron-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
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
|