Instructions to use GlimmaryKarl/quantum-transformer-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GlimmaryKarl/quantum-transformer-v1 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("GlimmaryKarl/quantum-transformer-v1", dtype="auto") - Notebooks
- Google Colab
- Kaggle
whitepaper and dataset
Real-Time Quantum Transformer Framework
This repository hosts the official architecture implementation and weights for the Real-Time Quantum Transformer Framework for Multidimensional Interaction Tracking and Emergent Phenomenon Prediction.
The model unifies multi-dimensional quantum tracking, structural datasets, and theoretical models into a single framework, bounding operational fields using geometric manifolds like organic molecular crystal trajectories (OMC25) and temporal discretization baselines (QM40).
Model Description
Instead of traditional dot-product self-attention mechanisms, this model implements Quantum Self-Attention acting over an isomorphic Hilbert space mapping.
- State Vector Mapping: Maps deep-feature representations via an MLP projection onto continuous latent state trajectories.
- Quantum Attention Overlaps: Calculates attention transition scores dynamically using state amplitude interference metrics: $| \langle Q_i | K_j \rangle |^2$.
- Downstream Tracking: Tracks non-linear, non-Euclidean quantum trajectories (e.g., Quantum 2 Curves) for forecasting structural deformations, localized stress, and multi-photon spectral dynamics.
Quickstart & Usage
To instantiate this model dynamically, make sure you have torch and transformers installed:
from transformers import AutoModel
import torch
# Load the model directly from the Hugging Face Hub
model = AutoModel.from_pretrained("GlimmaryKarl/quantum-transformer-v1", trust_remote_code=True)
# Example: Run a forward pass using a sequence of 12-dimensional tracking features
# Tensor shape: [Batch_size=1, Sequence_length=5, Input_dim=12]
sample_input = torch.randn(1, 5, 12)
output_logits = model(sample_input)
print("Output matrix shape:", output_logits.shape)
- Downloads last month
- 134