Transformers
PyTorch
English
t5
text2text-generation
grammar
spell
correction
text-generation-inference
Instructions to use leoyt61/spellcheck_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leoyt61/spellcheck_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("leoyt61/spellcheck_model") model = AutoModelForSeq2SeqLM.from_pretrained("leoyt61/spellcheck_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download dockerfile from leoyt61/spellcheck_model: direct link, hf CLI and curl.
- Browser
- Download file 116 Bytes
-
https://huggingface.co/leoyt61/spellcheck_model/resolve/main/dockerfile
- Command line
-
hf download hf://leoyt61/spellcheck_model/dockerfile
-
curl -L -o dockerfile https://huggingface.co/leoyt61/spellcheck_model/resolve/main/dockerfile
116 Bytes
| FROM python:3.9 | |
| WORKDIR /app | |
| COPY . . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| CMD ["python", "train.py"] | |