Stet GLiDE Source Layout
text coherence evaluation
2 min read
The model is a LoRA (a small add-on over a base model) and a special ranking head created to evaluate how well restoring a deleted line recovers the coherence of a web fragment. The development is based on the fastino/GLiDE-0.4B encoder by author ericflo and trained on thousands of examples from public web pages. Compared to the original adapter, this version demonstrates significantly higher accuracy in determining the original text structure. The tool will be useful for developers of text systems dealing with content filtering and text quality analysis.
Key features
- Based on the compact GLiDE-0.4B base model
- Uses a special PEFT adapter and ranking head for fragment ranking
- Shows high accuracy (85.3% balanced accuracy) on test datasets
- Trained on 4,799 triplets from public web crawls
What you can do
- Evaluate the coherence and connectivity of modified or edited web texts
- Integrate the adapter into text processing pipelines using the transformers and peft libraries
- Check the correctness of sentence structure restoration in articles and documents
Example
from transformers import AutoModel
import torch
model = AutoModel.from_pretrained("fastino/GLiDE-0.4B")
# Применение PEFT адаптера и загрузка ранжирующей головки
Read more
DetailsBenchmarks: 85.3% balanced accuracy, 92.6% native line preference
Training: 4,799 triplets from public crawl pages with host splitting
Requirements: 192 token context, right padding, parameters from model-info.json










Comments