Instructions to use leslyarun/grammatical-error-correction-quantized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leslyarun/grammatical-error-correction-quantized with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("leslyarun/grammatical-error-correction-quantized") model = AutoModelForSeq2SeqLM.from_pretrained("leslyarun/grammatical-error-correction-quantized", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download encoder_model_quantized.onnx from leslyarun/grammatical-error-correction-quantized: direct link, hf CLI and curl.
- Browser
- Download file 184 MB
-
https://huggingface.co/leslyarun/grammatical-error-correction-quantized/resolve/main/encoder_model_quantized.onnx
- Command line
-
hf download hf://leslyarun/grammatical-error-correction-quantized/encoder_model_quantized.onnx
-
curl -L -o encoder_model_quantized.onnx https://huggingface.co/leslyarun/grammatical-error-correction-quantized/resolve/main/encoder_model_quantized.onnx
184 MB
- Xet hash:
- 948ef1ad9adb920650f673efbcb925aea1054716f99a13ae7a2afcb8ebbe7986
- Size of remote file:
- 184 MB
- SHA256:
- 956493dc9aa97690028980d30a3d4b720172c2104453bc3799f34a0906d271d9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.