Instructions to use akaruineko/qltan-1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use akaruineko/qltan-1.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="akaruineko/qltan-1.5")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("akaruineko/qltan-1.5") model = AutoModelForSequenceClassification.from_pretrained("akaruineko/qltan-1.5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
QLTAN-1.5 (QualiText Analysis Network)
Model Description
QLTAN-1.5 is a fine-tuned XLM-RoBERTa model designed for multi-class text origin and quality classification. The model categorizes text into five distinct classes to help identify the provenance and quality characteristics of textual content.
The model is based on FacebookAI/xlm-roberta-base and was fine-tuned on the QualiText dataset, achieving strong performance in distinguishing between human-written, machine-generated, corrupted, marketing, and low-quality text.
Model Classes
| Class ID | Label | Description |
|---|---|---|
| 0 | corrupted |
Text with deliberate word deletions, swaps, duplications, or typo-like edits |
| 1 | human |
Human-authored text from Wikipedia and 4chan |
| 2 | low_quality |
Spam, email corpus examples, and text with removed punctuation and shuffled words |
| 3 | machine_generated |
Text generated by Qwen3.8-Max, GLM-5.2, and Kimi-K3 models |
| 4 | marketing |
Marketing-oriented content from FineWeb-Marketing |
Intended Uses
The model is designed for:
- Text provenance analysis: Identifying whether text was human-written or machine-generated
- Data quality assessment: Detecting corrupted or low-quality text in datasets
- Content moderation: Filtering marketing content or spam from user-generated content
- Dataset cleaning: Automatically identifying problematic examples in training data
- Research: Studying text quality characteristics and synthetic data detection
Limitations
- Not for authorship verification: The model cannot definitively prove whether a specific person wrote text or used AI assistance
- Domain-specific performance: Performance may vary on text from domains not represented in the training data
- Language restriction: Model is trained on English text only
- Style bias: The machine-generated class may reflect the specific styles of the teacher models used in training data
- Adversarial vulnerability: The model may be fooled by sophisticated adversarial attacks or novel text generation methods
Training Data
The model was trained on the QualiText dataset, which contains 492,275 balanced examples across five classes (98,455 per class). The dataset was split with 90% for training and 10% for evaluation.
The source datasets include:
- Wikipedia (human and corrupted classes)
- 4chan political discussions (human class)
- Qwen3.8-Max, GLM-5.2, Kimi-K3 distillation corpus (machine-generated class)
- FineWeb-Marketing (marketing and low-quality classes)
- Spam/ham/phishing email corpus (low-quality class)
Training Procedure
Preprocessing
Text was split into sentence windows with:
- Maximum 12 sentences per window
- Maximum 3,000 characters per window
- Fallback of 256 words for text without clear sentence boundaries
- Maximum token length of 256
Usage
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
# Load model and tokenizer
model_name = "akaruineko/qltan-1.5"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
# Example text
text = "The quick brown fox jumps over the lazy dog. This is a test sentence."
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=256, return_token_type_ids=False)
with torch.no_grad():
outputs = model(**inputs)
predictions = torch.softmax(outputs.logits, dim=-1)
# Get predicted class
predicted_class = torch.argmax(predictions, dim=-1).item()
class_labels = {0: "corrupted", 1: "human", 2: "low_quality",
3: "machine_generated", 4: "marketing"}
print(f"Predicted class: {class_labels[predicted_class]}")
print(f"Confidence: {predictions[0][predicted_class]:.4f}")
- Downloads last month
- -
Model tree for akaruineko/qltan-1.5
Base model
FacebookAI/xlm-roberta-baseDataset used to train akaruineko/qltan-1.5
Space using akaruineko/qltan-1.5 1
Evaluation results
- Accuracy on QualiTexttest set self-reported0.980
- F1 Score on QualiTexttest set self-reported0.981