Skip to main content

LingoQA dataset for pytorch

Test

codecov

How to use

from lingoqa_dataset.lingoqa_dataset import LingoQADataset, DatasetType
import torchvision.transforms as transforms
from torch.utils.data import DataLoader

dataset = LingoQADataset(
    DatasetType.EVALUATION, transforms=transforms.Resize((256, 512))
)
dataloader = DataLoader(dataset=dataset, batch_size=3, shuffle=True)
for data, question, answer in dataloader:
    pass

data

  • type: torch.Tensor
  • size : torch.Size([batch_size, 3 * number_of_images, height, width])
  • description : Images in the target sequences.

question

  • type: torch.Tuple(str)
  • size: batch_size
  • description : Questions in the batch.

answer

  • type: torch.Tuple(str)
  • size: batch_size
  • description : Answers in the batch.

Special thanks

LingoQA project from wayve.

Metadata

Release files for lingoqa-dataset 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lingoqa-dataset 0.2.0
File Size Uploaded Provenance Actions
lingoqa_dataset-0.2.0.tar.gz 3.1 kB Without provenance Details for lingoqa_dataset-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lingoqa-dataset 0.2.0
File Interpreter ABI Platform Actions
lingoqa_dataset-0.2.0-py3-none-any.whl Python 3 none any Details for lingoqa_dataset-0.2.0-py3-none-any.whl

Total release size: 6.8 kB

Release files / lingoqa_dataset-0.2.0.tar.gz

Download URL lingoqa_dataset-0.2.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7a76b634bee69868e424a1e351763493d8fcf03797847fa8a58a0c27a6de3889
BLAKE2b-256 checksum
How to use checksums
dc0cd42e3ca636240ab42c9d85bef5fe70f173e14e762351649ee7bc8d7a2fd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.4 Linux/6.5.0-26-generic

Release files / lingoqa_dataset-0.2.0-py3-none-any.whl

Download URL lingoqa_dataset-0.2.0-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8840f62bd1fd2ccbccf563c0397d5c61c59d13c74a9a53629848c55dc65ca9a2
BLAKE2b-256 checksum
How to use checksums
9ae3363fba381c283a24012790cc5c4d9848d4bfeb255d3b1926b682ef79c37f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.10.4 Linux/6.5.0-26-generic

Security for lingoqa-dataset 0.2.0

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