Instructions to use A-Funakoshi/bert-wrime-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use A-Funakoshi/bert-wrime-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="A-Funakoshi/bert-wrime-base")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("A-Funakoshi/bert-wrime-base") model = AutoModelForSequenceClassification.from_pretrained("A-Funakoshi/bert-wrime-base") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("A-Funakoshi/bert-wrime-base")
model = AutoModelForSequenceClassification.from_pretrained("A-Funakoshi/bert-wrime-base")Quick Links
wrime-sentimentデータセットをbertベースのモデルでfinetuningしたもの
- ベースモデル:cl-tohoku/bert-base-japanese-whole-word-masking
- データセット:llm-book/wrime-sentiment
- 学習率スケジュールタイプ(lr_scheduler_type): constant
- 学習率(learning rate): 2e-5
- 勾配累積ステップ(gradient_accumulation_steps): なし
- 正則化(weight_decay): なし
- Epoch: 100
- EarlyStopping: early_stopping_patience=3
- Downloads last month
- 2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="A-Funakoshi/bert-wrime-base")