train-fasttext

Train FastText text classification models under size and accuracy constraints.

134|21|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/letta-ai/skills --skill train-fasttext
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: train-fasttext
Source: https://github.com/letta-ai/skills/tree/main/ai/benchmarks/letta/terminal-bench-2/trajectory-only/train-fasttext
Command: npx skills add https://github.com/letta-ai/skills --skill train-fasttext

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides training FastText text classification models under constraints that balance model size and accuracy.

Core Features & Use Cases

  • Systematic experimentation: Quick baselines, hyperparameter sweeps, and autotuning.
  • Compression tactics: Quantization and dimensionality reductions to meet size limits.
  • Validation strategy: Proper validation splits and performance tracking.

Quick Start

Example: train a baseline FastText classifier, then apply autotuning to meet a target size while preserving accuracy.

Frequently Asked Questions about train-fasttext

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I train a FastText text classification model under size constraints?

FastText training balances model size and accuracy through hyperparameter tuning, quantization, and systematic experimentation. This Skill guides you through setting baselines, applying compression tactics, and validating performance to meet your deployment size limits while preserving classifier accuracy.

What's the best way to reduce FastText model size without losing accuracy?

Quantization and dimensionality reduction are core compression tactics within FastText training workflows. This Skill applies autotuning and hyperparameter sweeps to find the optimal trade-off between model size and accuracy for your specific dataset and deployment scenario.

How do I set up hyperparameter tuning for FastText text classification?

Define parameter grids, validation splits, and checkpointing strategies to enable reproducible hyperparameter sweeps. This Skill systematizes baseline training, autotuning workflows, and performance tracking so you can efficiently explore configurations and verify results across diverse datasets.

Can I automate FastText model training and compression workflows?

Yes. This Skill automates baseline generation, hyperparameter sweeps, quantization decisions, and monitoring to enable end-to-end reproducible training and compression. Autotune workflows systematically balance accuracy and model size without manual configuration.

What validation strategy should I use when training FastText under size limits?

Proper validation splits and performance tracking are essential when optimizing for both accuracy and size constraints. This Skill defines validation strategies and checkpointing methods to ensure FastText models meet your target size while maintaining classifier performance across diverse deployment scenarios.

Does FastText training work for balancing multiple constraints simultaneously?

FastText training under this Skill's approach systematically handles multiple constraints—model size, accuracy, and deployment context—through hyperparameter grids, quantization tactics, and validation strategies. Experiments and monitoring enable reproducible workflows across different datasets and target platforms.