Instructions to use Abdullah6395/Text_Emotion_Recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Abdullah6395/Text_Emotion_Recognition with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ProsusAI/finbert", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Abdullah6395/Text_Emotion_Recognition") prompt = "None" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from Abdullah6395/Text_Emotion_Recognition: direct link, hf CLI and curl.
- Browser
- Download file 1.83 kB
-
https://huggingface.co/Abdullah6395/Text_Emotion_Recognition/resolve/main/README.md
- Command line
-
hf download hf://Abdullah6395/Text_Emotion_Recognition/README.md
-
curl -L -o README.md https://huggingface.co/Abdullah6395/Text_Emotion_Recognition/resolve/main/README.md
1.83 kB
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - output: | |
| url: images/Screenshot from 2025-08-20 00-50-33.png | |
| text: None | |
| parameters: | |
| negative_prompt: None | |
| base_model: ProsusAI/finbert | |
| instance_prompt: null | |
| license: other | |
| license_name: useless | |
| license_link: LICENSE | |
| # Emotion | |
| <Gallery /> | |
| ## Model description | |
| Emotion Recognition Model (BERT-based) | |
| 📌 Overview | |
| This is a BERT-based emotion recognition model that I created purely for educational and learning purposes. | |
| The model was trained as part of my journey to understand transformers, distillation, GPU management, fine-tuning, and Hugging Face workflows. | |
| ⚙️ How I built it | |
| I started with a pretrained BERT model. | |
| I experimented with layer distillation (copying a few layers into a smaller student model). | |
| I trained it on an emotion classification dataset to predict different emotional states from text. | |
| I focused on hands-on practice: learning about tokenization, GPU memory issues, checkpointing, and model saving/loading. | |
| ⚠️ Disclaimer | |
| This model is not production-ready. | |
| It is not optimized for real-world use. | |
| It should not be used for commercial, fine-tuning, or deployment purposes. | |
| It was built only as a learning exercise to explore Hugging Face and model training. | |
| 💡 Purpose | |
| To help me (and maybe others) understand how Hugging Face works. | |
| To practice model distillation and fine-tuning techniques. | |
| To learn the workflow of pushing models to Hugging Face Hub. | |
| 🚫 Limitations | |
| Accuracy and reliability are not guaranteed. | |
| Not suitable for critical applications (mental health, customer service, etc.). | |
| Limited number of layers and trained on a small dataset. | |
| ## Download model | |
| [Download](/Abdullah6395/Text_Emotion_Recognition/tree/main) them in the Files & versions tab. | |