Transformers
PyTorch
ONNX
Safetensors
GGUF
t5
text2text-generation
grammar
spelling
punctuation
error-correction
grammar synthesis
FLAN
text-generation-inference
Instructions to use pszemraj/flan-t5-large-grammar-synthesis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pszemraj/flan-t5-large-grammar-synthesis with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("pszemraj/flan-t5-large-grammar-synthesis") model = AutoModelForSeq2SeqLM.from_pretrained("pszemraj/flan-t5-large-grammar-synthesis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use pszemraj/flan-t5-large-grammar-synthesis with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf pszemraj/flan-t5-large-grammar-synthesis:Q6_K # Run inference directly in the terminal: llama cli -hf pszemraj/flan-t5-large-grammar-synthesis:Q6_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf pszemraj/flan-t5-large-grammar-synthesis:Q6_K # Run inference directly in the terminal: llama cli -hf pszemraj/flan-t5-large-grammar-synthesis:Q6_K
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf pszemraj/flan-t5-large-grammar-synthesis:Q6_K # Run inference directly in the terminal: ./llama-cli -hf pszemraj/flan-t5-large-grammar-synthesis:Q6_K
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf pszemraj/flan-t5-large-grammar-synthesis:Q6_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf pszemraj/flan-t5-large-grammar-synthesis:Q6_K
Use Docker
docker model run hf.co/pszemraj/flan-t5-large-grammar-synthesis:Q6_K
- LM Studio
- Jan
- Ollama
How to use pszemraj/flan-t5-large-grammar-synthesis with Ollama:
ollama run hf.co/pszemraj/flan-t5-large-grammar-synthesis:Q6_K
- Unsloth Desktop
- Docker Model Runner
How to use pszemraj/flan-t5-large-grammar-synthesis with Docker Model Runner:
docker model run hf.co/pszemraj/flan-t5-large-grammar-synthesis:Q6_K
- Lemonade
How to use pszemraj/flan-t5-large-grammar-synthesis with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pszemraj/flan-t5-large-grammar-synthesis:Q6_K
Run and chat with the model
lemonade run user.flan-t5-large-grammar-synthesis-Q6_K
List all available models
lemonade list
- Atomic Chat
Docker model run compatibility?
1
#17 opened 9 months ago
by
keyoti
which dataset split that used for training?
1
#11 opened about 3 years ago
by
Marovlo