Downloads · 30 days
0
elmorshedyahmed/Ahmed
Ahmed is a machine learning model from elmorshedyahmed. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This folder contains a custom Inference Endpoint handler for running studio-ousia/mluke-large as a lightweight term-typing judge for Rosetta experiments.
Downloads · 30 days
0
Access
Public
Updated Mar 11, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.pyc8.9 KB · 51%
From the Hugging Face model README
mluke-store-judgeThis folder contains a custom Inference Endpoint handler for running studio-ousia/mluke-large as a lightweight term-typing judge for Rosetta experiments.
Why this exists:
mLUKE exposes a fill-mask interfaceFiles:
handler.py: custom endpoint handler implementing EndpointHandlerrequirements.txt: endpoint dependencies{
"inputs": {
"candidate": "Third Najm",
"context": "Third Najm line: Syria-focused, spans hoodie/crewneck/tee/long-sleeve in black and white. Quoted poetic titles are used as named design concepts.",
"labels": [
"brand_name",
"product_line",
"named_work",
"person_reference",
"cultural_item",
"nationality",
"modifier"
]
}
}
{
"model_id": "studio-ousia/mluke-large",
"candidate": "Third Najm",
"top_label": "named_work",
"results": [
{
"label": "named_work",
"descriptor": "title",
"raw_score": -2.13,
"confidence": 0.44
}
]
}
new-account/mluke-store-judgehandler.py and requirements.txt from this folder to that repo.Custom.MODEL_ID=studio-ousia/mluke-largeHF_MLUKE_ENDPOINT_URL=https://...your-endpoint-url...brand_name -> brandproduct_line -> collectionnamed_work -> titleperson_reference -> personcultural_item -> garmentnationality -> originmodifier -> descriptorinputs.label_map in the request payload.