boltuix commited on
Commit
e4a619d
ยท
verified ยท
1 Parent(s): 2887237

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -149,16 +149,16 @@ With support for **120+ local business categories**, NeuroLocale combines open-s
149
  ## ๐Ÿ”ง How to Use
150
 
151
  ```python
152
- from transformers import pipeline # ๐Ÿค— Import the Hugging Face Transformers pipeline tool
153
 
154
- # ๐Ÿš€ Load your fine-tuned intent classification model
155
  classifier = pipeline("text-classification", model="boltuix/NeuroLocale")
156
 
157
  # ๐Ÿง  Predict the user's intent from a sample input sentence
158
- result = classifier("i want to play game") # ๐ŸŽฎ Should ideally classify as something like "game" or related intent
159
 
160
  # ๐Ÿ“Š Print the classification result with label and confidence score
161
- print(result) # ๐Ÿ–จ๏ธ Example Output: [{'label': 'game', 'score': 0.9999}]
162
  ```
163
 
164
  ---
 
149
  ## ๐Ÿ”ง How to Use
150
 
151
  ```python
152
+ from transformers import pipeline # ๐Ÿค— Import Hugging Face pipeline
153
 
154
+ # ๐Ÿš€ Load the fine-tuned intent classification model
155
  classifier = pipeline("text-classification", model="boltuix/NeuroLocale")
156
 
157
  # ๐Ÿง  Predict the user's intent from a sample input sentence
158
+ result = classifier("Where can I see ocean creatures behind glass?") # ๐Ÿ  Expecting Aquarium
159
 
160
  # ๐Ÿ“Š Print the classification result with label and confidence score
161
+ print(result) # ๐Ÿ–จ๏ธ Example output: [{'label': 'aquarium', 'score': 0.999}]
162
  ```
163
 
164
  ---