train-fasttext

Community

Optimize FastText models for size and accuracy.

AuthorZurybr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill addresses the challenge of training FastText text classification models efficiently, especially when needing to balance model accuracy with strict file size constraints.

Core Features & Use Cases

  • Hyperparameter Tuning: Guides systematic exploration of parameters like dim, epoch, lr, and wordNgrams to improve accuracy.
  • Size Optimization: Provides strategies to reduce model size by adjusting minCount, bucket, and dim, or by using quantization.
  • Use Case: You need to deploy a text classifier on a mobile device with limited storage. This skill helps you train a FastText model that meets both a minimum accuracy requirement and a maximum file size limit.

Quick Start

Use the train-fasttext skill to train a supervised FastText model on 'train.txt' aiming for high accuracy and a small model size.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: train-fasttext
Download link: https://github.com/Zurybr/lefarma-skills/archive/main.zip#train-fasttext

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.