Instructions to use Alprocco/Swiss_bertopic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Alprocco/Swiss_bertopic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Alprocco/Swiss_bertopic")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Alprocco/Swiss_bertopic", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ pipeline_tag: text-classification
|
|
| 6 |
|
| 7 |
To use this model, please install BERTopic:
|
| 8 |
|
| 9 |
-
pip install bertopic
|
| 10 |
|
| 11 |
You can use the model as follows:
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
To use this model, please install BERTopic:
|
| 8 |
|
| 9 |
+
Bash: pip install bertopic
|
| 10 |
|
| 11 |
You can use the model as follows:
|
| 12 |
|