Skip to main content

faker-ai-provider

Faker provider for generating AI/ML-related fake data with correlated relationships between models, companies, architectures, and capabilities.

Model Data Updated: July 2026 (includes Claude Fable 5, GPT-5.5, Gemini 3.5 Flash, DeepSeek-V4, Qwen3.7-Max, Grok 4.3, Kimi K2.6, and more)

Installation

pip install faker-ai-provider

Quick Start

from faker import Faker
from faker_ai import AiProvider

fake = Faker()
fake.add_provider(AiProvider)

# Generate correlated AI data
fake.ai_model()  # 'Claude Opus 4.7'
fake.ai_company()  # 'Anthropic'
fake.full_ai_model_spec()  # 'gpt-oss-120b by OpenAI: Transformer architecture, 120B parameters, for reasoning.'

Seeding for Reproducibility

Use Faker's seeding to generate consistent, reproducible data across runs:

fake = Faker()
fake.add_provider(AiProvider)
fake.seed_instance(42)

# These will always return the same values with seed 42
print(fake.ai_model())  # Always 'LLaMA 3 70B'
print(fake.ai_company())  # Always 'Apple'

Available Methods

Basic Methods

Method Example
ai_model() GPT-5.3-Codex, Claude Opus 4.7, Gemini 3 Pro Preview
ai_company() OpenAI, Anthropic, Google DeepMind
ai_architecture() Transformer, Diffusion, Mixture of Experts
ai_task() text-generation, code-generation, reasoning
ai_modality() text, image, audio, video
ml_framework() PyTorch, TensorFlow, LangChain
ai_dataset() ImageNet, COCO, MMLU, FineWeb

Correlation Methods

Method Description
ai_model_for_company(company) Get a model from a specific company
ai_company_for_model(model) Get the company that created a model
ai_tasks_for_model(model) Get tasks supported by a model
ai_models_for_task(task) Get models that support a task
ai_models_by_architecture(arch) Filter models by architecture
ai_models_by_modality(modality) Filter models by modality
model_scenario(model=None) Get complete correlated model data

Composite Methods

Method Description
full_ai_model_spec() Formatted spec: "Model by Company: arch, params, for task."
ai_training_run() Dict with model, framework, dataset, task
ai_deployment() Dict with model, endpoint, version, status
ai_experiment() Dict with experiment_id, accuracy, loss, epochs

Advanced Usage

Populate a Database with AI Records

from faker import Faker
from faker_ai import AiProvider

fake = Faker()
fake.add_provider(AiProvider)

# Generate 100 AI deployment records
deployments = [fake.ai_deployment() for _ in range(100)]

# Generate experiment tracking data
experiments = [fake.ai_experiment() for _ in range(50)]

Generate ML Pipeline Configuration

fake.seed_instance(42)  # Reproducible pipeline

pipeline = {
    "name": f"pipeline-{fake.random_int(1000, 9999)}",
    "training": fake.ai_training_run(),
    "deployment": fake.ai_deployment(),
    "experiment": fake.ai_experiment(),
}

Filter Models by Capability

# Get all models that support code generation
code_models = fake.ai_models_for_task("code-generation")

# Get all diffusion models
diffusion_models = fake.ai_models_by_architecture("Diffusion")

# Get all multimodal models
video_models = fake.ai_models_by_modality("video")

Model Scenario

Get complete, correlated model information:

scenario = fake.model_scenario()
# {
#     'model': 'GPT-5.2',
#     'company': 'OpenAI',
#     'architecture': 'Transformer',
#     'modality': ['text', 'image', 'audio', 'video'],
#     'tasks': ['text-generation', 'reasoning', 'code-generation', ...],
#     'parameters': 'undisclosed',
#     'release_year': 2026
# }

License

MIT

Release files for faker-ai-provider 2.3.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 faker-ai-provider 2.3.0
File Size Uploaded
faker_ai_provider-2.3.0.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for faker-ai-provider 2.3.0
File Interpreter ABI Platform
faker_ai_provider-2.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.9 kB

Release files / faker_ai_provider-2.3.0.tar.gz

Download URL faker_ai_provider-2.3.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b11824c2376c8dfe40c84caf5ac52a97bf938318fd415f99edaa63a410ca81b2
BLAKE2b-256 checksum
How to use checksums
60b529d655b9ddf7c9e0e2987853d8f6099035a98d2383dcf36a014b02cd5838
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.

Transparency log

Release files / faker_ai_provider-2.3.0-py3-none-any.whl

Download URL faker_ai_provider-2.3.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19789195577535db2f5b320138ae0462d325599d93f12452d5158542f2900d19
BLAKE2b-256 checksum
How to use checksums
bc398a8f40efc11785bacb95c0d68cab3d8ca88519abdf58133ebb52c7fcbfb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.0

2 release files

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