Skip to main content

Lace: AI Training Transparency Protocol - Prevent copyright lawsuits with cryptographic proof

Project description

Lace - AI Training Transparency Protocol

PyPI version License Python

Prevent copyright lawsuits by proving what you DIDN'T train on.

Lace provides cryptographic proof of AI training provenance through loss trajectory monitoring. When model outputs resemble copyrighted content, you can prove definitively whether that content was in your training data.

🚀 Quick Start

pip install lace-client
import lace

# Before training: Create attestation of your dataset
attestation_id = lace.attest("./training_data")

# During training: One-line integration (zero overhead)
lace.monitor()  # Automatically hooks into PyTorch/TensorFlow

# After training: Verify training relationship
result = lace.verify(attestation_id)
print(f"Correlation: {result['correlation']['score']:.3f}")
print(f"Legal verdict: {result['correlation']['verdict']}")

🔑 Get Your API Key

All processing happens in our secure cloud infrastructure for IP protection.

Get your free API key: https://withlace.ai/request-demo

export LACE_API_KEY=your_api_key_here

💡 How It Works

  1. Attestation: Before training, Lace creates a cryptographic fingerprint of your dataset
  2. Monitoring: During training, Lace captures loss trajectories with zero overhead
  3. Correlation: After training, Lace proves the training relationship through loss curve analysis
  4. Legal Evidence: Get legally-sufficient evidence for copyright defense

📊 Integration Examples

HuggingFace Transformers

from transformers import Trainer
import lace

# Create attestation
attestation_id = lace.attest("./data")

# Train with monitoring
trainer = Trainer(model, args, dataset)
monitor = lace.monitor(attestation_id)
trainer.train()

# Get correlation
result = monitor.finalize()

PyTorch

import torch
import lace

# Start monitoring
lace.monitor()

# Your normal training loop
for epoch in range(epochs):
    for batch in dataloader:
        loss = model(batch)
        loss.backward()  # Automatically captured!
        optimizer.step()

TensorFlow/Keras

import tensorflow as tf
import lace

# Start monitoring
lace.monitor()

# Your normal training
model.fit(x_train, y_train, epochs=10)  # Automatically captured!

🛡️ Legal Protection

Lace combines multiple verification methods to provide legally defensible evidence:

  • Cryptographic proofs that cannot be forged
  • Loss trajectory analysis unique to your dataset
  • Behavioral verification across multiple metrics
  • Bloom filter checks with 99.99% accuracy

The probability of our verification being wrong is negligible - comparable to DNA evidence in court. When accused of training on copyrighted content, you have definitive proof of what was and wasn't in your dataset.

🏢 Enterprise Features

  • Unlimited attestations: No limits on dataset size
  • Priority support: Direct email support with SLA
  • SLA guarantees: 99.9% uptime commitment
  • Custom deployment: On-premise options available

Contact: support@withlace.ai

📖 Documentation

🤝 Support

📄 License

Apache 2.0 - See LICENSE for details.


Stop worrying about copyright lawsuits. Start building with confidence.

Get Started Free →

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

lace_client-0.5.9.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

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

lace_client-0.5.9-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file lace_client-0.5.9.tar.gz.

File metadata

  • Download URL: lace_client-0.5.9.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for lace_client-0.5.9.tar.gz
Algorithm Hash digest
SHA256 a699b4456b51a1571aaad1dd33dff51df05e295742f7b9ecf892965d9950acf1
MD5 291e9fab618964d81589590310624bb4
BLAKE2b-256 b6cafd66903338f72a951ccc0b73dd3ebcbaaae6f355021a26ad93e85f5798d7

See more details on using hashes here.

File details

Details for the file lace_client-0.5.9-py3-none-any.whl.

File metadata

  • Download URL: lace_client-0.5.9-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for lace_client-0.5.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7cdeaa603e1fceb44856d0f4ff57ecf329a76be48c4b4b647b28b41675e7be42
MD5 f7fc3b90d3868b6e445f0d2d73a4f867
BLAKE2b-256 6f1d525073386d90e6d8f06a846ac7460fa75727b7f2de0c5f350d58b3744cba

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