final

Model Description

This model is a fine-tuned version of LiquidAI/LFM2-VL-450M using the brute-force-training package.

  • Base Model: LiquidAI/LFM2-VL-450M
  • Training Status: โœ… Complete
  • Generated: 2025-08-13 20:55:44
  • Training Steps: 100,000

Training Details

Dataset

  • Dataset: CATMuS/medieval
  • Training Examples: 148,000
  • Validation Examples: 1,999

Training Configuration

  • Max Steps: 100,000
  • Batch Size: 10
  • Learning Rate: 1e-05
  • Gradient Accumulation: 4 steps
  • Evaluation Frequency: Every 10,000 steps

Current Performance

  • Training Loss: 0.577758
  • Evaluation Loss: 0.964953

Pre-Training Evaluation

Initial Model Performance (before training):

  • Loss: 6.793952
  • Perplexity: 892.43
  • Character Accuracy: 26.3%
  • Word Accuracy: 12.3%

Evaluation History

All Checkpoint Evaluations

Step Checkpoint Type Loss Perplexity Char Acc Word Acc Improvement vs Pre
Pre pre_training 6.7940 892.43 26.3% 12.3% +0.0%
10,000 checkpoint 1.2432 3.47 N/A N/A +81.7%
20,000 checkpoint 1.1137 3.05 N/A N/A +83.6%
30,000 checkpoint 1.0552 2.87 N/A N/A +84.5%
40,000 checkpoint 1.0253 2.79 N/A N/A +84.9%
50,000 checkpoint 0.9995 2.72 N/A N/A +85.3%
60,000 checkpoint 0.9958 2.71 N/A N/A +85.3%
70,000 checkpoint 0.9797 2.66 N/A N/A +85.6%
80,000 checkpoint 0.9754 2.65 N/A N/A +85.6%
90,000 checkpoint 0.9666 2.63 N/A N/A +85.8%
100,000 final 0.9650 2.62 N/A N/A +85.8%

Training Progress

Recent Training Steps (Loss Only)

Step Training Loss Timestamp
99,991 0.840175 2025-08-13T20:55
99,992 1.373497 2025-08-13T20:55
99,993 0.742625 2025-08-13T20:55
99,994 0.721798 2025-08-13T20:55
99,995 0.724344 2025-08-13T20:55
99,996 0.936712 2025-08-13T20:55
99,997 1.066488 2025-08-13T20:55
99,998 0.496979 2025-08-13T20:55
99,999 0.792133 2025-08-13T20:55
100,000 0.577758 2025-08-13T20:55

Training Visualizations

Training Progress and Evaluation Metrics

Training Curves

This chart shows the training loss progression, character accuracy, word accuracy, and perplexity over time. Red dots indicate evaluation checkpoints.

Evaluation Comparison Across All Checkpoints

Evaluation Comparison

Comprehensive comparison of all evaluation metrics across training checkpoints. Red=Pre-training, Blue=Checkpoints, Green=Final.

Available Visualization Files:

  • training_curves.png - 4-panel view: Training loss with eval points, Character accuracy, Word accuracy, Perplexity
  • evaluation_comparison.png - 4-panel comparison: Loss, Character accuracy, Word accuracy, Perplexity across all checkpoints

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
# For vision-language models, use appropriate imports

model = AutoModelForCausalLM.from_pretrained("./final")
tokenizer = AutoTokenizer.from_pretrained("./final")

# Your inference code here

Training Configuration

{
  "dataset_name": "CATMuS/medieval",
  "model_name": "LiquidAI/LFM2-VL-450M",
  "max_steps": 100000,
  "eval_steps": 10000,
  "num_accumulation_steps": 4,
  "learning_rate": 1e-05,
  "train_batch_size": 10,
  "val_batch_size": 10,
  "train_select_start": 0,
  "train_select_end": 148000,
  "val_select_start": 148001,
  "val_select_end": 150000,
  "train_field": "train",
  "val_field": "train",
  "image_column": "im",
  "text_column": "text",
  "user_text": "Transcribe this medieval manuscript line",
  "max_image_size": 200
}

Model Card Metadata

  • Base Model: LiquidAI/LFM2-VL-450M
  • Training Framework: brute-force-training
  • Training Type: Fine-tuning
  • License: Inherited from base model
  • Language: Inherited from base model

This model card was automatically generated by brute-force-training on 2025-08-13 20:55:44

Downloads last month
3
Safetensors
Model size
0.5B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for wjbmattingly/lfm2-vl-450M-medieval-base

Finetuned
(14)
this model