Views
No views yet
mluke-store-judgestudio-ousia/mluke-large as a lightweight term-typing judge for Rosetta experiments.mLUKE exposes a fill-mask interfacehandler.py: custom endpoint handler implementing EndpointHandlerrequirements.txt: endpoint dependencies1{
2 "inputs": {
3 "candidate": "Third Najm",
4 "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.",
5 "labels": [
6 "brand_name",
7 "product_line",
8 "named_work",
9 "person_reference",
10 "cultural_item",
11 "nationality",
12 "modifier"
13 ]
14 }
15}1{
2 "model_id": "studio-ousia/mluke-large",
3 "candidate": "Third Najm",
4 "top_label": "named_work",
5 "results": [
6 {
7 "label": "named_work",
8 "descriptor": "title",
9 "raw_score": -2.13,
10 "confidence": 0.44
11 }
12 ]
13}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.