Skip to main content

TextSlinger text prediction toolkit.

Project description

Python library for making text predictions using a language model.

**** Setting up a Python environment **** These instructions are the same as those in the classify-aac which actually does training of models. But the same environment should also work for evaluation using the models (though you may only need a subset of the packages). This was tested on cheetah on 9/14/24.

If you don't have anaconda installed in your user account you'll first need to do that. See: https://docs.anaconda.com/anaconda/install/linux/

% conda create -n aacllm python=3.10 % conda activate aacllm % conda install pytorch torchvision torchaudio pytorch-cuda cuda mpi4py -c pytorch -c nvidia % pip install 'git+https://github.com/potamides/uniformers.git#egg=uniformers' % pip install --upgrade transformers % pip install kenlm==0.1 --global-option="--max_order=12" % pip install rbloom bitsandbytes requests nlpaug ipywidgets psutil datasets sentencepiece protobuf evaluate scikit-learn deepspeed accelerate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textslinger-0.1.1.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textslinger-0.1.1-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file textslinger-0.1.1.tar.gz.

File metadata

  • Download URL: textslinger-0.1.1.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for textslinger-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dd2e39fc65920903f826de3f6bbce94404b6e0a26fe0af0d76ed9391d9c8c02d
MD5 c66b22f229e88e20a98b7874eaf347f2
BLAKE2b-256 37c333566c1b16fdf716be02cf2d9171da26ec489c68e37a405eb1da2c530621

See more details on using hashes here.

File details

Details for the file textslinger-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: textslinger-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for textslinger-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6147d43330456e64d2a6f37bedfe4a60dc2ed1afbf75e1f7697364500c8f9be
MD5 517bd766c4afdd3e4581372512c47220
BLAKE2b-256 94fdfb7912b10585c2537055678b69757e88ef54cf6466032b16583a32fa1060

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page