How to use from the
Use from the
Transformers library
# 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")
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
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support