Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
flax-community
/
gpt2-medium-persian
like
8
Follow
Flax Community
318
Text Generation
Transformers
PyTorch
google-tensorflow
TensorFlow
JAX
TensorBoard
Persian
gpt2
text-generation-inference
Inference Endpoints
Model card
Files
Files and versions
Metrics
Training metrics
Community
29
Train
Deploy
Use this model
09f9c26
gpt2-medium-persian
/
src
/
regexes
/
punk.py
m3hrdadfi
Hello gpt2-persian
21d29cb
over 3 years ago
raw
Copy download link
history
blame
Safe
135 Bytes
import
re
PUNK_REGEX = re.
compile
(
r"([\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\=\?\@\[\\\]\^\_\`\{\|\}\~\«\»\⸮\؟\،\٬\٫\؛])"
)