Laplaces-Red-Devils/fol-v01-origin-qwen2.5-3

Hugging Face
TEXT GENERATIONConcurrency Cost:1Model Size:3.1BQuant:BF16Ctx Length:32kPublished:May 25, 2026License:apache-2.0Architecture:Transformer Open Weights Warm

The Laplaces-Red-Devils/fol-v01-origin-qwen2.5-3 is a 3.1 billion parameter Qwen2.5-3B-Instruct model fine-tuned using LoRA SFT. This model is specifically designed for translating natural language premises into First-Order Logic (FOL) premises, outputting them in a JSON format. Its primary function is to convert complex natural language statements into a structured logical representation, making it suitable for applications requiring formal logical reasoning or knowledge representation.

Loading preview...

Overview

The Laplaces-Red-Devils/fol-v01-origin-qwen2.5-3 is a fine-tuned version of the Qwen/Qwen2.5-3B-Instruct model, specifically adapted for the task of translating natural language premises into First-Order Logic (FOL) premises. This model utilizes LoRA SFT (Low-Rank Adaptation for Supervised Fine-Tuning) to achieve its specialized function.

Key Capabilities

  • Natural Language to FOL Translation: The model's core capability is to convert natural language statements into a structured JSON output containing FOL premises.
  • JSON Output Format: It is designed to produce FOL premises within a premises_fol key in a JSON object, facilitating programmatic use.
  • Base Model: Built upon the Qwen2.5-3B-Instruct architecture, providing a robust foundation for language understanding.

Training Details

The model was trained for 1 epoch with a max_seq_length of 2048 and a gradient_accumulation_steps of 8. It leveraged unsloth for efficient training, loading the model in 8-bit precision.

Performance Notes

During evaluation, the model achieved an eval_loss of 0.576187. The current exact match rate for FOL translation on the train, dev, and test splits is 0%, indicating that further fine-tuning or dataset refinement may be necessary for higher accuracy. Inference latency averaged 17.747 seconds per sample on the test set.

Good for

  • Research in Logic and NLP: Exploring methods for automated logical form generation from natural language.
  • Prototyping: Initial development of systems that require converting natural language into a formal logical representation for reasoning engines.