{"id":23294,"library":"autogluon.text","title":"AutoGluon-Text","description":"AutoGluon-Text is a submodule of AutoGluon for text classification and regression. It provides automated machine learning with multi-modal support (text, image, tabular). The latest PyPI version is 0.6.2, but the project has moved to a unified autogluon package (current version ~1.5.0). Release cadence is quarterly. Note: The autogluon.text package is deprecated; use autogluon>=1.0 and import from autogluon.multimodal instead.","status":"deprecated","version":"0.6.2","language":"python","source_language":"en","source_url":"https://github.com/autogluon/autogluon","tags":["autogluon","text","classification","automl","deprecated"],"install":[{"cmd":"pip install autogluon.text","lang":"bash","label":"Install standalone text module (legacy)"}],"dependencies":[{"reason":"Required for base AutoGluon functionality.","package":"autogluon.core","optional":false},{"reason":"Deep learning framework for text models.","package":"torch","optional":false}],"imports":[{"note":"TextPredictor is in autogluon.text, not autogluon directly.","wrong":"from autogluon import TextPredictor","symbol":"TextPredictor","correct":"from autogluon.text import TextPredictor"}],"quickstart":{"code":"from autogluon.text import TextPredictor\n\n# Download and train on a sample dataset\npredictor = TextPredictor(label='label', eval_metric='acc')\npredictor.fit('https://autogluon.s3.amazonaws.com/datasets/Inc/train.csv')\n\n# Predict on test data\npredictions = predictor.predict('https://autogluon.s3.amazonaws.com/datasets/Inc/test.csv')\nprint(predictions.head())","lang":"python","description":"Train a text classifier using AutoGluon-Text on a sample dataset. Note: use autogluon>=1.0 for new projects."},"warnings":[{"fix":"Switch to autogluon>=1.0 and use MultiModalPredictor from autogluon.multimodal.","message":"autogluon.text is deprecated in favor of autogluon.multimodal. New projects should use 'from autogluon.multimodal import MultiModalPredictor'.","severity":"deprecated","affected_versions":">=1.0"},{"fix":"Install autogluon (full) for all features: 'pip install autogluon'.","message":"pip install autogluon.text does not install the full autogluon suite. It only installs the text subpackage, which may have missing dependencies for image or tabular tasks.","severity":"gotcha","affected_versions":"All"},{"fix":"Use Python 3.8 or 3.9, or upgrade to autogluon>=1.0 which supports Python 3.8-3.12.","message":"Python 3.10+ not supported in autogluon.text 0.6.2. Requires Python >=3.7,<3.10.","severity":"breaking","affected_versions":"0.6.2"},{"fix":"Transition to 'pip install autogluon' and use MultiModalPredictor.","message":"The standalone autogluon.text package is no longer maintained. All future updates are in the unified autogluon package.","severity":"deprecated","affected_versions":">=0.6.2"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install autogluon.text: pip install autogluon.text. For new code, use autogluon>=1.0: pip install autogluon; then import from autogluon.multimodal.","cause":"autogluon.text not installed; also autogluon>=1.0 renamed the module.","error":"ModuleNotFoundError: No module named 'autogluon.text'"},{"fix":"Use: from autogluon.text import TextPredictor","cause":"TextPredictor is not exported from the top-level autogluon package, it's in autogluon.text.","error":"ImportError: cannot import name 'TextPredictor' from 'autogluon'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}