Token Classification
Transformers
Safetensors
gec_tagger
feature-extraction
liquid
lfm2
lfm2.5
bidirectional
masked-lm
encoder
grammatical-error-correction
gec
spell-check
gector
custom_code
Instructions to use LiquidAI/LFM2.5-Encoder-350M-Spellchecker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LiquidAI/LFM2.5-Encoder-350M-Spellchecker with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="LiquidAI/LFM2.5-Encoder-350M-Spellchecker", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LiquidAI/LFM2.5-Encoder-350M-Spellchecker", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
| transformers>=4.44 | |
| torch>=2.1 | |
| safetensors | |
| huggingface_hub>=0.26 | |
| errant==3.0.2 | |
| spacy==3.8.14 | |
| https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.8.0/en_core_web_sm-3.8.0-py3-none-any.whl | |