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")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PetraAI/Zalmati") model = AutoModelForSequenceClassification.from_pretrained("PetraAI/Zalmati") - Notebooks
- Google Colab
- Kaggle
| FROM python:3-alpine | |
| WORKDIR /app | |
| COPY ./requirements.txt /app | |
| COPY ./src/* /app | |
| RUN pip3 install -r requirements.txt | |
| ENV PORT=5500 | |
| EXPOSE "$PORT/tcp" | |
| #ENTRYPOINT nginx && uwsgi --ini /app/params.ini -w FreeGPT4_Server | |
| #shell form necessary | |
| SHELL ["python3","/app/FreeGPT4_Server.py"] | |
| ENTRYPOINT ["python3","/app/FreeGPT4_Server.py"] | |
| CMD ["--cookie-file","/cookies.json"] | |