dair-ai/emotion
Viewer • Updated • 437k • 35.4k • 444
How to use farzanrahmani/NLP_HF_Workshop_HW with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="farzanrahmani/NLP_HF_Workshop_HW") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("farzanrahmani/NLP_HF_Workshop_HW", dtype="auto")Configuration Parsing Warning:Invalid JSON for config file config.json
NLP workshop HW: Introduction to Hugging Face and working with it.