DataNexus
DataNexus is a simple to use Python module that you can use in your projects to get transcripts, datasets, etc. The module also allows you to extract character lines from transcripts witch makes it easyer for you to be able to do finetunning of a GPT2 model as an example.
Key feactures
- Downloading of Datasets and Transcripts
- Extract Characters from Transcripts
Installation
To get started:
pip install datanexus
Usage
⚠️ | Full documenation link to come in the future and the code may be unstable as in testing!
Downloading of Datasets/Transcripts
from datanexus import datanexus
datanexus = datanexus()
datasets = datanexus.download_dataset('ironman.txt')
print(datasets)
Extract character's from transcripts
You will need to create a folder called Models to sucessfully extract the character information
from datanexus import datanexus
character = datanexus.save_character('ironman.txt', 'Tony Stark:', 'Tony.txt')
print(character)
Showing all of the possible datasets
This function will show all of the possible datasets that is usable
from datanexus import datanexus
datasets = datanexus.possible_models()
for dataset in datasets:
print(dataset)
Support
If you have any question or any issues then feel free to create an issue on Github.
Feel free to join The Workshop discord server and send me a ping (_Ethan_)
Release files for datanexus 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datanexus-0.0.8.tar.gz | 2.7 kB | Details |
Release files / datanexus-0.0.8.tar.gz
| Download URL | datanexus-0.0.8.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
93a0cf9a41fce22c683e113f8517866e5ad30ebd7ca19307a504ddbbf2263750
|
|
BLAKE2b-256 checksum How to use checksums |
54ed176f25de24f517c5020081011df52adc5f2588013857bcab8c52511f89d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|