Instructions to use Ilanchetchenni/Ecommerce-NER with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use Ilanchetchenni/Ecommerce-NER with spaCy:
!pip install https://huggingface.co/Ilanchetchenni/Ecommerce-NER/resolve/main/Ecommerce-NER-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("Ecommerce-NER") # Importing as module. import Ecommerce-NER nlp = Ecommerce-NER.load() - Notebooks
- Google Colab
- Kaggle
Ecommerce NER
A fine-tuned spaCy NER model that extracts BRAND, PRODUCT, PRICE, OPERATION (e.g. above, under, between), and FEATURE entities from e-commerce product search queries.
Example
Input: Find Samsung smartphones above $500 with 5G support
Output:
| Entity | Label |
|---|---|
| Samsung | BRAND |
| smartphones | PRODUCT |
| above | OPERATION |
| $500 | PRICE |
| 5G | FEATURE |
Usage
import spacy
from huggingface_hub import snapshot_download
path = snapshot_download("llanchetchenni/Ecommerce-NER")
nlp = spacy.load(path)
doc = nlp("Show me Nike shoes under $100 with waterproof features")
for ent in doc.ents:
print(ent.text, ent.label_)
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support