Instructions to use patrickxchong/bert-tiny-bahasa-cased-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use patrickxchong/bert-tiny-bahasa-cased-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="patrickxchong/bert-tiny-bahasa-cased-sentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("patrickxchong/bert-tiny-bahasa-cased-sentiment") model = AutoModelForSequenceClassification.from_pretrained("patrickxchong/bert-tiny-bahasa-cased-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from patrickxchong/bert-tiny-bahasa-cased-sentiment: direct link, hf CLI and curl.
- Browser
- Download file 626 Bytes
-
https://huggingface.co/patrickxchong/bert-tiny-bahasa-cased-sentiment/resolve/main/README.md
- Command line
-
hf download hf://patrickxchong/bert-tiny-bahasa-cased-sentiment/README.md
-
curl -L -o README.md https://huggingface.co/patrickxchong/bert-tiny-bahasa-cased-sentiment/resolve/main/README.md
626 Bytes
| language: | |
| - ms | |
| - en | |
| - multilingual | |
| license: apache-2.0 | |
| tags: | |
| - text-classification | |
| - sentiment-analysis | |
| widget: | |
| - text: Saya sangat gembira hari ini! | |
| # bert-tiny-bahasa-cased-sentiment | |
| Proof of concept of creating a sentiment analysis model with using | |
| https://huggingface.co/malay-huggingface/bert-base-bahasa-cased as the base model. | |
| Tokenizer is copied directly from https://huggingface.co/malay-huggingface/bert-base-bahasa-cased. | |
| Sentiment analysis fine tuning was done with data compiled by [huseinzol05](https://github.com/huseinzol05/) at https://github.com/huseinzol05/malay-dataset/tree/master/sentiment. | |