Instructions to use Carlito-25/sentiment-model-logistic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use Carlito-25/sentiment-model-logistic with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("Carlito-25/sentiment-model-logistic", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Carlito-25/sentiment-model-logistic
Modèle de régression logistique pour l'analyse de sentiment
Usage
from load_model import load_logistic_model, predict_sentiment
import numpy as np
# Charger le modèle
model = load_logistic_model()
# Prédiction (remplace par tes vraies features)
features = np.array([...]) # Tes features TF-IDF ou Word2Vec
result = predict_sentiment(model, features)
print(result)
Model Details
- Algorithm: Logistic Regression (scikit-learn)
- Features: TF-IDF/Word2Vec vectors
- Task: Sentiment Analysis
- Training Data: Custom French YouTube comments dataset
- Downloads last month
- -
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support