Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
21.0
TFLOPS
61
5
258
aifeifei
PRO
aifeifei798
Follow
fire1818c's profile picture
Kiranasuka's profile picture
locke12's profile picture
188 followers
·
285 following
aifeifei.bsky.social
AI & ML interests
roleplay aifeifei
Recent Activity
liked
a model
about 9 hours ago
google/gemma-3-4b-it
posted
an
update
about 13 hours ago
😊 This program is designed to remove emojis from a given text. It uses a regular expression (regex) pattern to match and replace emojis with an empty string, effectively removing them from the text. The pattern includes a range of Unicode characters that correspond to various types of emojis, such as emoticons, symbols, and flags. By using this program, you can clean up text data by removing any emojis that may be present, which can be useful for text processing, analysis, or other applications where emojis are not desired. 💻 ```python import re def remove_emojis(text): # Define a function to remove emojis from a given text emoji_pattern = re.compile( "[" u"\U0001F600-\U0001F64F" # emoticons, such as smiling faces u"\U0001F300-\U0001F5FF" # symbols and pictographs, like stars and hearts u"\U0001F680-\U0001F6FF" # transport and map symbols, like cars and airplanes u"\U0001F1E0-\U0001F1FF" # flags, like country flags u"\U00002702-\U000027B0" u"\U000024C2-\U0001F251" "]+", flags=re.UNICODE ) # Use the compiled pattern to replace emojis with an empty string return emoji_pattern.sub(r'', text) ```
updated
a model
about 21 hours ago
aifeifei798/big-boobs-clothed
View all activity
Organizations
aifeifei798
's activity
All
Models
Datasets
Spaces
Papers
Collections
Community
Posts
Upvotes
Likes
Articles
upvoted
an
article
5 days ago
view article
Article
SmolVLM Grows Smaller – Introducing the 250M & 500M Models!
Jan 23
•
157