Skip to main content

Intent and Slot Filling Bi-Model

train(train_file = "data/train_dev", test_file = "data/test", vocab_intent_file = "data/vocab.intent", vocab_slot_file = "data/vocab.slot", device = torch.device("cuda" if torch.cuda.is_available() else "cpu"), total_epoch = 50, max_len = 50, batch = 16, learning_rate = 0.001, DROPOUT = 0.2, embedding_size = 300, lstm_hidden_size = 200)

5 files would be generated after training: model_intent_best.pt model_slot_best.pt word_dict.pickle slot_dict.pickle intent_dict.pickle

predict(sentence="find nonstop flights from salt lake city to new york on saturday april ninth.", data_path="/Users/chenzichu/Desktop/slot-filling/package/slot_ZC", device = torch.device("cuda" if torch.cuda.is_available() else "cpu"), max_len = 50, batch = 16, DROPOUT = 0.2, embedding_size = 300, lstm_hidden_size = 200)

Metadata

Release files for slot-filling-ZC 0.2.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 slot-filling-ZC 0.2.4
File Size Uploaded Provenance Actions
slot-filling-ZC-0.2.4.tar.gz 10.4 kB Without provenance Details for slot-filling-ZC-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for slot-filling-ZC 0.2.4
File Interpreter ABI Platform Actions
slot_filling_ZC-0.2.4-py3-none-any.whl Python 3 none any Details for slot_filling_ZC-0.2.4-py3-none-any.whl

Total release size: 140.8 kB

Release files / slot-filling-ZC-0.2.4.tar.gz

Download URL slot-filling-ZC-0.2.4.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3fdcdf7314a11ed1d45976aea0d641a564e398a6380a167af7442201324dd356
BLAKE2b-256 checksum
How to use checksums
f11e6dbe23920dbfd7146f35eccdc32ba1a1e8f6c6b7b6fda4ca31c69017b8f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / slot_filling_ZC-0.2.4-py3-none-any.whl

Download URL slot_filling_ZC-0.2.4-py3-none-any.whl
Size 130.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98712bd9f62283e427ece7d27c938e5e5613c7802f272bbd92d0037ae0ffe494
BLAKE2b-256 checksum
How to use checksums
761c05ada66ec6453a1d59ec9422208f77ec8468a4497f2db9996ce3220cd878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Security for slot-filling-ZC 0.2.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