Spaces:
Sleeping
Sleeping
File size: 827 Bytes
cf957e4 cfb0d15 cf957e4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
"""
Configuration settings for the Emoji Mashup application.
"""
# Application configuration
CONFIG = {
"model_name": "all-mpnet-base-v2",
"emotion_file": "google-emoji-kitchen-emotion.txt",
"item_file": "google-emoji-kitchen-item.txt",
"emoji_kitchen_url": "https://emojik.vercel.app/s/{emoji1}_{emoji2}",
"default_size": 256
}
# Available embedding models
EMBEDDING_MODELS = {
"mpnet": {
"id": "all-mpnet-base-v2",
"size": "110M",
"notes": "Balanced, great general-purpose model"
},
"gte": {
"id": "thenlper/gte-large",
"size": "335M",
"notes": "Context-rich, good for emotion & nuance"
},
"bge": {
"id": "BAAI/bge-large-en-v1.5",
"size": "350M",
"notes": "Tuned for ranking & high-precision similarity"
}
} |