Downloads · 30 days
0
Kadidiatou131313/modele-classification-intentions-agricoles
modele-classification-intentions-agricoles is a machine learning model from Kadidiatou131313. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a text classifier for agricultural user intentions, trained on a dataset of farmer questions in French. It identifies the type of request a user makes, such as seeking technical advice, validation, or pl…
Downloads · 30 days
0
Access
Public
Updated Oct 27, 2025
Repo size
37.8 KB
Likes
0
Public
Click a slice to open those files.
.joblib37.8 KB · 91%
From the Hugging Face model README
This model is a text classifier for agricultural user intentions, trained on a dataset of farmer questions in French. It identifies the type of request a user makes, such as seeking technical advice, validation, or planning.
This classifier is intended to power an AI assistant for farmers, helping to route the user's question to the right processing module (calendar, technical, validation, etc.).
The model predicts one of the following 7 intention labels:
alert / preventioncalendar / planningrecommendation / advicetechnical questionvalidation requestoptimizationproblem solvingfrom joblib import load
# Load the model
model = load("model_svc_intention_predictor.joblib")
# Example prediction
question = "Can I plant millet just before the rainy season?"
prediction = model.predict([question])[0]
print("Predicted intention:", prediction)
Ce modèle est un classifieur d’intention en contexte agricole, entraîné sur un corpus de questions posées par des agriculteurs en français. Il permet d’identifier le type de demande exprimée par l’utilisateur (ex : conseil, validation, calendrier...).
Ce modèle est conçu pour alimenter un assistant vocal intelligent dédié aux agriculteurs, capable d’interpréter automatiquement les intentions pour orienter les requêtes vers les bons modules de traitement.
alerte / préventioncalendrier / planificationconseil / recommandationquestion technique / pratiquedemande de validationoptimisation / améliorationproblème / résolutionfrom joblib import load
# Charger le modèle
model = load("model_svc_intention_predictor.joblib")
# Exemple de prédiction
question = "Puis-je planter du mil juste avant la saison des pluies ?"
prediction = model.predict([question])[0]
print("Intention prédite :", prediction)
Model trained using scikit-learn and TF-IDF vectorization (max_features=2000), based on a cleaned and labeled dataset.