Instructions to use A-Funakoshi/bert-multilingual-sentiments-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use A-Funakoshi/bert-multilingual-sentiments-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="A-Funakoshi/bert-multilingual-sentiments-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("A-Funakoshi/bert-multilingual-sentiments-base") model = AutoModelForSequenceClassification.from_pretrained("A-Funakoshi/bert-multilingual-sentiments-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
0b6d57c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:093bf6114a2b698ac241356bf234a1f418db0c98b78472b00ff63ba536ca7a73
size 442545135
|