Text Classification
Transformers
Safetensors
Persian
hes_shenaas_rizehpizeh
persian
farsi
emotion-classification
albert
small-model
custom_code
Instructions to use Reza2kn/Hes-Shenaas-RizehPizeh-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Reza2kn/Hes-Shenaas-RizehPizeh-v0.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Reza2kn/Hes-Shenaas-RizehPizeh-v0.1", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("Reza2kn/Hes-Shenaas-RizehPizeh-v0.1", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download __init__.py from Reza2kn/Hes-Shenaas-RizehPizeh-v0.1: direct link, hf CLI and curl.
- Browser
- Download file 195 Bytes
-
https://huggingface.co/Reza2kn/Hes-Shenaas-RizehPizeh-v0.1/resolve/main/__init__.py
- Command line
-
hf download hf://Reza2kn/Hes-Shenaas-RizehPizeh-v0.1/__init__.py
-
curl -L -o __init__.py https://huggingface.co/Reza2kn/Hes-Shenaas-RizehPizeh-v0.1/resolve/main/__init__.py
195 Bytes
| from .configuration_hesshenaas import HesShenaasConfig | |
| from .modeling_hesshenaas import HesShenaasForSequenceClassification | |
| __all__ = ["HesShenaasConfig", "HesShenaasForSequenceClassification"] | |