TabLLMGenOptions<T>
Options & Configuration · AiDotNet.Models.Options
Configuration options for TabLLM-Gen, an LLM-style tabular data generator that uses schema-aware tokenization and autoregressive transformers with column prompts.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → FinancialNeuralNetworkOptions → RiskModelOptions<T> → SyntheticDataGeneratorOptions<T> → TabLLMGenOptions<T>
For Beginners
TabLLM-Gen treats table generation like text generation:
- A row becomes a “sentence”: “[Age: 35] [Income: 75000] [Education: MS]”
- The model learns to predict each column value given previous columns
- Column names and types serve as “instructions” to guide generation
This approach naturally captures column dependencies and produces coherent rows.
Example:
How It Works
TabLLM-Gen adapts large language model techniques for tabular data:
- Schema-aware tokenization: Column names and types become special tokens
- Column prompts: Each column is prompted with its name/type for context
- Autoregressive generation: Generates one column at a time, left to right
- Few-shot learning: Can condition on example rows for in-context learning
Reference: “LLM-based Tabular Data Generation” (2024)
Constructors
| Constructor | Summary |
|---|---|
TabLLMGenOptions() |
Properties
| Property | Summary |
|---|---|
double DropoutRate { get; set; } |
Gets or sets the dropout rate. |
double LearningRate { get; set; } |
Gets or sets the learning rate. |
double Temperature { get; set; } |
Gets or sets the sampling temperature for generation. |
int BatchSize { get; set; } |
Gets or sets the training batch size. |
int EmbeddingDimension { get; set; } |
Gets or sets the embedding dimension. |
int Epochs { get; set; } |
Gets or sets the number of training epochs. |
int FeedForwardDimension { get; set; } |
Gets or sets the feed-forward dimension. |
int NumBins { get; set; } |
Gets or sets the number of bins for discretizing continuous values. |
int NumHeads { get; set; } |
Gets or sets the number of attention heads. |
int NumLayers { get; set; } |
Gets or sets the number of transformer layers. |
int SchemaTokensPerColumn { get; set; } |
Gets or sets the number of extra schema tokens per column. |