Granite 3.3 2B Text Refiner

Granite 3.3 2B improves writing by reorganizing ideas logically and removing unnecessary words and phrases. It produces clearer, more concise, and easier-to-understand text with greater impact.

How to Use

Provide any English non-fiction text as a valid XML string paired with a prompt.

Write clearly and concisely:
<input>[INPUT TEXT]</input>

The model outputs the revised text in XML format:

<output>[REVISED TEXT]</output>

If successful, the [REVISED TEXT] should also be a valid XML string.

Click here for example

Input

Write more clearly and concisely:

<input>In today's increasingly complex, multifaceted, and interconnected modern society of the twenty-first century, the absolutely fundamental and critically vital importance of comprehensive education in all its various forms and applications simply cannot and must not be overstated or underestimated in any way, shape, or form, as it truly and genuinely serves as the essential cornerstone, the basic foundational bedrock, and the primary underlying framework upon which each and every successful civilization throughout the entirety of recorded human history has been carefully constructed, methodically built, and systematically established over the course of countless generations. Education, in its many diverse, varied, and multitudinous forms and manifestations that exist across different cultures, societies, and geographical regions around the world, has consistently and continuously played an absolutely crucial, indispensable, and irreplaceable role in actively shaping, molding, and influencing not merely individual minds, thoughts, and personalities on a personal level, but also entire communities, neighborhoods, nations, countries, and global societies as a complete and comprehensive whole unit. From the very earliest days and initial beginnings of ancient human civilization and societal development to the present moment in time that we currently find ourselves living in today, the ongoing pursuit of knowledge, wisdom, learning, and intellectual growth has remained a constant, consistent, unwavering, and perpetual force that continuously drives, propels, and motivates progress, innovation, advancement, and forward movement in virtually every single conceivable field, area, and domain of human endeavor, achievement, and accomplishment that one could possibly imagine or think of in their wildest dreams.</input>

Output

<output>In today's complex, interconnected world, the importance of comprehensive education is undeniable. Throughout history, education has served as the foundational bedrock for successful civilizations, shaping individuals, communities, and nations. It consistently drives progress, innovation, and advancement across all fields of human endeavor. The pursuit of knowledge remains a constant force, propelling us forward and fueling our achievements.</output>

Notes and Limitations

  • Optimized for English non-fiction writing.
  • Review outputs to confirm all key information and style are preserved.
  • Best with moderate-length texts; very short or very long inputs may reduce effectiveness.
  • Minimal changes for texts that are already concise, such as scientific papers and news articles.

Training Hyperparameters

Click here

Pretraining and supervised finetuning (SFT) on the agentlans/high-quality-text-refinement dataset.

  • Epochs: 3.0
  • Learning rate: 5e-5
  • Cutoff length: 2048 tokens
  • Batch size: 2
  • NEFTune alpha: 5
  • Pack sequences: on
  • Use rslora
  • Liger kernel

Pretraining LoRA:

  • rank 8
  • alpha 16
  • dropout 0.75

SFT LoRA:

  • rank 16
  • alpha 32
  • dropout 0.5

Licence

Apache 2.0

Downloads last month
3
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for agentlans/granite-3.3-2b-refiner

Finetuned
(21)
this model

Dataset used to train agentlans/granite-3.3-2b-refiner