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)# pip install -U transformers accelerate # 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
fix: typo in model_id
Browse files
README.md
CHANGED
|
@@ -72,7 +72,7 @@ Run spell checking:
|
|
| 72 |
```python
|
| 73 |
from transformers import AutoModel
|
| 74 |
|
| 75 |
-
model_id = "LiquidAI/LFM2.5-Encoder-
|
| 76 |
|
| 77 |
model = AutoModel.from_pretrained(
|
| 78 |
model_id,
|
|
|
|
| 72 |
```python
|
| 73 |
from transformers import AutoModel
|
| 74 |
|
| 75 |
+
model_id = "LiquidAI/LFM2.5-Encoder-350M-Spellchecker"
|
| 76 |
|
| 77 |
model = AutoModel.from_pretrained(
|
| 78 |
model_id,
|