Skip to main content

Generates synthetic datasets tailored for transformer-based models

Project description

sugardata

sugardata is a Python package that helps you generate synthetic datasets for NLP tasks, enabling experimentation, prototyping, and training when labeled data is limited or unavailable.

Installation

You can install sugardata via pip:

pip install sugardata

Quick Start

sugardata supports multiple NLP tasks out of the box.

Task 1: Sentiment Analysis

import sugardata as su

results = su.generate_sentiments(concept="online shopping", n_samples=100)

Task 2: Aspect-Based Sentiment Analysis (ABSA)

import sugardata as su

results = su.generate_aspect_sentiments(concept="smartphones", aspects=["battery life", "camera", "price"], n_samples=100)

To learn more about configuration options, advanced parameters, and integration tips, please visit tutorials.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sugardata-0.0.3.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sugardata-0.0.3-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file sugardata-0.0.3.tar.gz.

File metadata

  • Download URL: sugardata-0.0.3.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for sugardata-0.0.3.tar.gz
Algorithm Hash digest
SHA256 fc3f42ad0738f324ef7defb440a1f29565d344088aa4aa13d6f3b870cd54a590
MD5 9509f923597c411483c1889323fd6f08
BLAKE2b-256 7bfd4818fd78425a808d888694f1ebc739ba89d4afb34b775d48288a3a02bd1c

See more details on using hashes here.

File details

Details for the file sugardata-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: sugardata-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for sugardata-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d346bb8ac6b3fbfc5773af5794351eebe15d9685d298ce7f68a4ff6b8c592119
MD5 214b1019995247d8461d618d908e6fd8
BLAKE2b-256 0026050a34ee78dab2c650cd05a5bb6118889525d035002fd2c407a63de4f5f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page