Downloads · 30 days
0
rafay-15/RoBerta-InterestScoring
RoBerta-InterestScoring is a machine learning model from rafay-15. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
. ├── downloadmodel.py Downloads the model from Hugging Face ├── runmodel.py Loads the model and runs predictions ├── requirements.txt Required dependencies ├── README.md Project documentation └── downloadedmodel/ (Au…
Downloads · 30 days
0
Access
Public
Updated May 19, 2025
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.h5329 MB · 25%
From the Hugging Face model README
# Interest Analysis Model 🎯
This repository contains a fine-tuned transformer model for **intent analysis**, built on `j-hartmann/emotion-english-distilroberta-base`.
The model classifies text into three categories:
✅ **Disinterested**
✅ **Neutral**
✅ **Interested**
This model is useful for analyzing customer feedback, social media interactions, and other text-based user intent scenarios.
## 📂 Repository Structure
. ├── download_model.py # Downloads the model from Hugging Face ├── run_model.py # Loads the model and runs predictions ├── requirements.txt # Required dependencies ├── README.md # Project documentation └── downloaded_model/ # (Automatically created) Directory where the model is saved
## 🚀 Installation
### **1️⃣ Clone the Repository**
```bash
git clone https://github.com/Rafay-15/InterestAnalysisModel.git
cd InterestAnalysisModel
pip install -r requirements.txt
To download the fine-tuned model from Hugging Face:
python hf.py
This will create a model_final/ directory containing the model and tokenizer.
Once the model is downloaded, you can test it with sample inputs:
python main.py
--- Model Predictions ---
Text: I absolutely love this! -> Predicted Label: interested
Text: I don't care about this at all. -> Predicted Label: disinterested
Text: It's fine, I guess. -> Predicted Label: neutral
This project is released under the MIT License. Feel free to use and modify it for research and commercial purposes.
If you'd like to contribute or improve the model, feel free to fork the repo and submit a pull request.
🚀 Happy coding! 🎯