Downloads · 30 days
3
8% of all-time downloads
TheImed/ner-tourism-model
ner-tourism-model is a machine learning model from TheImed. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
1. Install dependencies: pip install -r requirements.txt
Downloads · 30 days
3
8% of all-time downloads
All-time downloads
40
Public
Parameters
135M
538 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors538 MB · 100%
From the Hugging Face model README
Install dependencies: pip install -r requirements.txt
Set your MongoDB URI in config.py
In your backend, just do:
from ner_pipeline import analyze_and_store
result = analyze_and_store("تيمقاد في باتنة") print(result)
The function will:
{ "site_name": "تيمقاد", "wilaya": "باتنة", "type": null, "period": "رومانية", "description": [], "sentiment": null, "raw_entities": [...], "_id": "mongo_id" }