Skip to main content

haloop

PyPI Version

Haloop is a speech agent toolkit. Haloop provides:

  • hai program to initialize models;
  • hac program for acoustic model training;
  • hal for RNN language model training and evaluation;
  • hala for causal attention model training;
  • hat for agent testing.

The package can be installed from PyPI:

pip install haloop

Pretrained models

hat can be used with Ukrainian GPT-2 models from our paper GPT-2 Metadata Pretraining Towards Instruction Finetuning for Ukrainian.

You will need to install and download:

pip install bitsandbytes sentencepiece

wget https://a.wilab.org.ua/gpt/wiki.model  # sentencepiece tokenizer
wget https://a.wilab.org.ua/gpt/ckpt10m.pt  # model checkpoint for GPT-2 Large

Now, kick off the REPL:

hat --spm wiki.model ckpt10m.pt

Citing

Please cite:

@inproceedings{kyrylov-chaplynskyi-2023-gpt,
    title = "{GPT}-2 Metadata Pretraining Towards Instruction Finetuning for {U}krainian",
    author = "Kyrylov, Volodymyr  and
      Chaplynskyi, Dmytro",
    booktitle = "Proceedings of the Second Ukrainian Natural Language Processing Workshop (UNLP)",
    month = may,
    year = "2023",
    address = "Dubrovnik, Croatia",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2023.unlp-1.4",
    pages = "32--39",
    abstract = "We explore pretraining unidirectional language models on 4B tokens from the largest curated corpus of Ukrainian, UberText 2.0. We enrich document text by surrounding it with weakly structured metadata, such as title, tags, and publication year, enabling metadata-conditioned text generation and text-conditioned metadata prediction at the same time. We pretrain GPT-2 Small, Medium and Large models each on single GPU, reporting training times, BPC on BrUK and BERTScore on titles for 1000 News from the Future. Next, we venture to formatting POS and NER datasets as instructions, and train low-rank attention adapters, performing these tasks as constrained text generation. We release our models for the community at https://github.com/proger/uk4b.",
}

Reading

Speech Discrimination by Dynamic Programming, T. K. Vintsyuk (1968)

Metadata

Release files for haloop 0.0.10

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

Source distribution (sdist)

Source distribution for haloop 0.0.10
File Size Uploaded
haloop-0.0.10.tar.gz 49.9 kB Details

Built distribution (wheel)

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

Total release size: 106.8 kB

Release files / haloop-0.0.10.tar.gz

Download URL haloop-0.0.10.tar.gz
Size 49.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c66cc237583ea1a0d08993dd6f5991d2d3b79988bb408559ec40f41636dd5915
BLAKE2b-256 checksum
How to use checksums
1ef8a144239ec966c1f03a7b1c5fd2be613d52e07bfcb425a210490335df01bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / haloop-0.0.10-py3-none-any.whl

Download URL haloop-0.0.10-py3-none-any.whl
Size 56.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08f09ef152b03945329d41df48557589c4be19e77b5b70a7a3bbcee48e5c3cee
BLAKE2b-256 checksum
How to use checksums
eaa2113f3275196a6735a03453a6ce5e61e2d0f0d451dbfe661a1f3707296ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.0.10 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

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