Synthesized Data for NLP Tasks
Project description
nlp-synt-data
Synthesized Data for Natural Language Processing
Synthesized Data
PromptGenerator
generate
prompts_dict = {
"a": ["promptA0", "promptA1"],
"b": ["promptB0", "promptB1"],
"c": ["promptC0", "promptC1"],
"d": ["promptD0", "promptD1"],
"e": ["promptE0", "promptE1"],
}
PromptGenerator.generate(prompts_dict, [["c","e"],["a","b","d"]])
[('c#0_e#0', 'promptC0 promptE0'), ('c#0_e#1', 'promptC0 promptE1'), ('c#1_e#0', 'promptC1 promptE0'), ('c#1_e#1', 'promptC1 promptE1'), ('a#0_b#0_d#0', 'promptA0 promptB0 promptD0'), ('a#0_b#0_d#1', 'promptA0 promptB0 promptD1'), ('a#0_b#1_d#0', 'promptA0 promptB1
promptD0'), ('a#0_b#1_d#1', 'promptA0 promptB1 promptD1'), ('a#1_b#0_d#0', 'promptA1 promptB0 promptD0'), ('a#1_b#0_d#1', 'promptA1 promptB0 promptD1'), ('a#1_b#1_d#0', 'promptA1 promptB1 promptD0'), ('a#1_b#1_d#1', 'promptA1 promptB1 promptD1')]
get
PromptGenerator.get("c#0_e#0", prompts_dict)
promptC0 promptE0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nlp_synt_data-0.0.1.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nlp_synt_data-0.0.1.tar.gz.
File metadata
- Download URL: nlp_synt_data-0.0.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7cf9836f08b362aa0c8b089d54b6bf117bf79e7fb31f77ec5d6dc8e98e1d32e
|
|
| MD5 |
f18ca291d628575f0f965c2a50548ccc
|
|
| BLAKE2b-256 |
9ec5100109364b21a344d52840b2f25b0c8f8f9387240d017d4dd7463720449b
|
File details
Details for the file nlp_synt_data-0.0.1-py3-none-any.whl.
File metadata
- Download URL: nlp_synt_data-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6af43aa6b04b8e1ed67546b91806131d4292b6e49e733ab60e28006d39d458cf
|
|
| MD5 |
d0fcf8cd3e2bf84f4645557983f555c9
|
|
| BLAKE2b-256 |
5287c46556602d6c1b178512583029f55992e7d4960a21162b4cb00f1f871733
|