Text Classification
Transformers
PyTorch
Arabic
English
distilbert
chemistry
biology
finance
legal
music
code
art
climate
medical
emotion
endpoints-template
Instructions to use PetraAI/Zalmati with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PetraAI/Zalmati with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PetraAI/Zalmati")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PetraAI/Zalmati") model = AutoModelForSequenceClassification.from_pretrained("PetraAI/Zalmati", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download BERTopic from PetraAI/Zalmati: direct link, hf CLI and curl.
- Browser
- Download file 70 Bytes
-
https://huggingface.co/PetraAI/Zalmati/resolve/main/BERTopic
- Command line
-
hf download hf://PetraAI/Zalmati/BERTopic
-
curl -L -o BERTopic https://huggingface.co/PetraAI/Zalmati/resolve/main/BERTopic
70 Bytes
| from bertopic import BERTopic | |
| model = BERTopic.load("PetraAI/Nashmi") |