Novadotgg commited on
Commit
b1f72eb
·
verified ·
1 Parent(s): 336659a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -1
README.md CHANGED
@@ -1,7 +1,37 @@
1
  ---
2
  language:
3
  - en
 
 
 
 
 
4
  metrics:
5
  - accuracy
6
  pipeline_tag: text-classification
7
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  language:
3
  - en
4
+ tags:
5
+ - intent-recognition
6
+ - text-classification
7
+ - crop-recommendation
8
+ - price-prediction
9
  metrics:
10
  - accuracy
11
  pipeline_tag: text-classification
12
+ ---
13
+
14
+ # Intent Recognition Model
15
+
16
+ This model is designed for **intent recognition** in crop recommendation and price prediction.
17
+ It uses **Natural Language Processing (NLP)** techniques to classify user input into different intents.
18
+
19
+ ## 📌 Usage
20
+
21
+ To use this model, download the `.pkl` files and load them using Python.
22
+
23
+ ```python
24
+ from huggingface_hub import hf_hub_download
25
+ import pickle
26
+
27
+ # Load the model and vectorizer
28
+ model_path = hf_hub_download(repo_id="<your-username>/<your-model-name>", filename="intent_model.pkl")
29
+ vectorizer_path = hf_hub_download(repo_id="<your-username>/<your-model-name>", filename="vectorizer.pkl")
30
+
31
+ with open(model_path, "rb") as f:
32
+ model = pickle.load(f)
33
+
34
+ with open(vectorizer_path, "rb") as f:
35
+ vectorizer = pickle.load(f)
36
+
37
+ print("Model and vectorizer successfully loaded!")