Text Classification
Transformers
TensorFlow
Keras
roberta
multi-label-classification
emotion-detection
tensorflow
generated_from_keras_callback
Eval Results (legacy)
text-embeddings-inference
Instructions to use athallabf/fp-ai-modul-6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use athallabf/fp-ai-modul-6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="athallabf/fp-ai-modul-6")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("athallabf/fp-ai-modul-6") model = AutoModelForSequenceClassification.from_pretrained("athallabf/fp-ai-modul-6", device_map="auto") - Keras
How to use athallabf/fp-ai-modul-6 with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://athallabf/fp-ai-modul-6") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!