This release is a pre-release and may not be stable for production use.
Portuguese Variety Identifier
A classifier for distinguishing between European and Brazilian Portuguese.
Development Environment
1. Set Up a Virtual Environment
To create a virtual environment using Conda, run the following commands:
conda create --name .conda python=3.11
conda activate .conda
2. Install Dependencies
Install the necessary dependencies by running:
pip install -e .
Training
Training scripts are located in the train folder. For example, to find the best hyperparameters for the BERT model, run:
sh scripts/train/search_bert.sh
Evaluation
To evaluate the trained models, execute the evaluation script:
sh scripts/eval/run.sh
Metadata
Release files for pt-vid 0.1.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pt_vid-0.1.dev1.tar.gz | 22.1 kB | Without provenance | Details for pt_vid-0.1.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pt_vid-0.1.dev1-py3-none-any.whl | Python 3 | none | any | Details for pt_vid-0.1.dev1-py3-none-any.whl |
Total release size: 48.3 kB
Release files / pt_vid-0.1.dev1.tar.gz
| Download URL | pt_vid-0.1.dev1.tar.gz |
|---|---|
| Size | 22.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cf517d494ae0e18f1ad93daf53f37de0eb691a0689c40d944c1cede26b88dc0
|
|
BLAKE2b-256 checksum How to use checksums |
7dcee648b158b49b38e0232479b129854c646fd37643ec59af0cc4c96678f5dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / pt_vid-0.1.dev1-py3-none-any.whl
| Download URL | pt_vid-0.1.dev1-py3-none-any.whl |
|---|---|
| Size | 26.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
10eff7fc885adc0127adfa2e0fdebbbccc3cfab651e934c5331278db84d17630
|
|
BLAKE2b-256 checksum How to use checksums |
d65bec28bc0d5864be45efba121fa62f36b80d5feafc2978c60426cf3b53b32f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for pt-vid 0.1.dev1
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.