Image Classification
OpenCLIP
Safetensors
English
fashion
attribute-extraction
product-attributes
catalog-enrichment
e-commerce
computer-vision
multi-label-classification
siglip
moda-ner
benchmark
reproducibility
fashionpedia
mit
Eval Results (legacy)
Instructions to use HopitAI/moda-ner-v-crop with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenCLIP
How to use HopitAI/moda-ner-v-crop with OpenCLIP:
import open_clip model, preprocess_train, preprocess_val = open_clip.create_model_and_transforms('hf-hub:HopitAI/moda-ner-v-crop') tokenizer = open_clip.get_tokenizer('hf-hub:HopitAI/moda-ner-v-crop') - Notebooks
- Google Colab
- Kaggle
Add machine-readable eval metadata; resolve the placeholder score; correct library_name
Browse files
README.md
CHANGED
|
@@ -1,15 +1,55 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
-
library_name:
|
| 4 |
pipeline_tag: image-classification
|
| 5 |
base_model: HopitAI/moda-fashion-distilled
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
tags:
|
| 7 |
- fashion
|
| 8 |
- attribute-extraction
|
|
|
|
|
|
|
| 9 |
- e-commerce
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
- moda-ner
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
|
|
|
| 13 |
# MODA_NER(V) - Crop
|
| 14 |
|
| 15 |
*Tier `*` - open code, open weights.*
|
|
@@ -56,3 +96,21 @@ Lineage, stated once rather than implied: `moda-fashion-distilled` is itself a d
|
|
| 56 |
**Credit for this model.** If you use these weights or report numbers from this track, cite
|
| 57 |
the MODA General Attribute Suite (see `CITATION.cff`). Scorers stamp the suite name and
|
| 58 |
version into every result file for exactly this reason.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
library_name: open_clip
|
| 4 |
pipeline_tag: image-classification
|
| 5 |
base_model: HopitAI/moda-fashion-distilled
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
metrics:
|
| 9 |
+
- f1
|
| 10 |
+
- accuracy
|
| 11 |
+
datasets:
|
| 12 |
+
- detection-datasets/fashionpedia
|
| 13 |
tags:
|
| 14 |
- fashion
|
| 15 |
- attribute-extraction
|
| 16 |
+
- product-attributes
|
| 17 |
+
- catalog-enrichment
|
| 18 |
- e-commerce
|
| 19 |
+
- computer-vision
|
| 20 |
+
- image-classification
|
| 21 |
+
- multi-label-classification
|
| 22 |
+
- siglip
|
| 23 |
- moda-ner
|
| 24 |
+
- benchmark
|
| 25 |
+
- reproducibility
|
| 26 |
+
- fashionpedia
|
| 27 |
+
- mit
|
| 28 |
+
model-index:
|
| 29 |
+
- name: MODA_NER(V) Crop
|
| 30 |
+
results:
|
| 31 |
+
- task:
|
| 32 |
+
type: image-classification
|
| 33 |
+
name: Fashion attribute extraction
|
| 34 |
+
dataset:
|
| 35 |
+
type: moda-general-attribute-suite
|
| 36 |
+
name: MODA General Attribute Suite (crop track)
|
| 37 |
+
metrics:
|
| 38 |
+
- type: f1
|
| 39 |
+
value: 0.63
|
| 40 |
+
name: Attribute micro-F1
|
| 41 |
+
- type: f1
|
| 42 |
+
value: 0.6074
|
| 43 |
+
name: Field-macro F1
|
| 44 |
+
- type: accuracy
|
| 45 |
+
value: 0.8825
|
| 46 |
+
name: Category accuracy
|
| 47 |
+
- type: accuracy
|
| 48 |
+
value: 0.9215
|
| 49 |
+
name: Master-category accuracy
|
| 50 |
---
|
| 51 |
|
| 52 |
+
|
| 53 |
# MODA_NER(V) - Crop
|
| 54 |
|
| 55 |
*Tier `*` - open code, open weights.*
|
|
|
|
| 96 |
**Credit for this model.** If you use these weights or report numbers from this track, cite
|
| 97 |
the MODA General Attribute Suite (see `CITATION.cff`). Scorers stamp the suite name and
|
| 98 |
version into every result file for exactly this reason.
|
| 99 |
+
|
| 100 |
+
## Links
|
| 101 |
+
|
| 102 |
+
- Benchmark tables and protocol: <https://hopit-ai.github.io/Moda_ner/>
|
| 103 |
+
- Code, scorers and prediction files: <https://github.com/hopit-ai/Moda_ner>
|
| 104 |
+
- All Hopit AI benchmarks: <https://hopit-ai.github.io/>
|
| 105 |
+
|
| 106 |
+
## Usage
|
| 107 |
+
|
| 108 |
+
The heads are not a `transformers` architecture, so load them through the suite
|
| 109 |
+
repository rather than `AutoModel`:
|
| 110 |
+
|
| 111 |
+
```bash
|
| 112 |
+
git clone https://github.com/hopit-ai/Moda_ner && cd Moda_ner
|
| 113 |
+
pip install -r requirements-inference.txt
|
| 114 |
+
huggingface-cli download HopitAI/moda-ner-v-crop --local-dir ./moda-ner-v-crop
|
| 115 |
+
python models/inference.py --route crop --model-dir ./moda-ner-v-crop --images photo.jpg
|
| 116 |
+
```
|