Instructions to use mdhugol/indonesia-bert-sentiment-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mdhugol/indonesia-bert-sentiment-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mdhugol/indonesia-bert-sentiment-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mdhugol/indonesia-bert-sentiment-classification") model = AutoModelForSequenceClassification.from_pretrained("mdhugol/indonesia-bert-sentiment-classification") - Inference
- Notebooks
- Google Colab
- Kaggle
Token Error
#5
by MagicDash - opened
{
"detail": "indonesia-bert-sentiment-classification is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'\nIf this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token="
} even after adding huggingface token. what the fuck
fuck this model