Instructions to use SCANSKY/BERTopic-Tourism-Japanese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BERTopic
How to use SCANSKY/BERTopic-Tourism-Japanese with BERTopic:
from bertopic import BERTopic model = BERTopic.load("SCANSKY/BERTopic-Tourism-Japanese") - Notebooks
- Google Colab
- Kaggle
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -2,7 +2,7 @@ import json
|
|
| 2 |
from bertopic import BERTopic
|
| 3 |
|
| 4 |
class EndpointHandler:
|
| 5 |
-
def __init__(self, model_path="SCANSKY/BERTopic-Tourism-
|
| 6 |
"""
|
| 7 |
Initialize the handler. Load the BERTopic model from Hugging Face.
|
| 8 |
"""
|
|
|
|
| 2 |
from bertopic import BERTopic
|
| 3 |
|
| 4 |
class EndpointHandler:
|
| 5 |
+
def __init__(self, model_path="SCANSKY/BERTopic-Tourism-Japanese"):
|
| 6 |
"""
|
| 7 |
Initialize the handler. Load the BERTopic model from Hugging Face.
|
| 8 |
"""
|