Downloads · 30 days
218
23% of all-time downloads
redromnon/LFM2-700M-grammar-correction
LFM2-700M-grammar-correction is a machine learning model from redromnon. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is fine-tuned on a grammar-correction dataset. Use the following prefix before the text you would like to correct as the user query:
Downloads · 30 days
218
23% of all-time downloads
All-time downloads
958
Public
Repo size
1.8 GB
Likes
0
Public
Click a slice to open those files.
.gguf1.8 GB · 100%
From the Hugging Face model README
This model is fine-tuned on a grammar-correction dataset. Use the following prefix before the text you would like to correct as the user query:
Fix grammar only. Return the corrected sentence only: {text}
Also adjust the following parameters:
temperature = 0.3
min_p = 0.15
repetition_penalty = 1.05
This model was finetuned and converted to GGUF format using Unsloth.
Example usage with llama.cpp:
./llama.cpp/llama-cli -hf redromnon/LFM2-700M-grammar-correction --jinja./llama.cpp/llama-mtmd-cli -hf redromnon/LFM2-700M-grammar-correction --jinjaLFM2-700M.Q5_K_M.ggufLFM2-700M.Q8_0.ggufLFM2-700M.Q4_K_M.ggufThe model's BOS token behavior was adjusted for GGUF compatibility. This was trained 2x faster with Unsloth <img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>