Downloads · 30 days
865
4% of all-time downloads
izumi-lab/bert-base-japanese-fin-additional
bert-base-japanese-fin-additional is a machine learning model from izumi-lab. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as cc-by-sa-4.0.
This is a BERT model pretrained on texts in the Japanese language.
Downloads · 30 days
865
4% of all-time downloads
All-time downloads
24.5K
Public
Parameters
111M
2.2 GB on disk
Likes
4
Public
Click a slice to open those files.
.bin445 MB · 50%
How the weights are stored.
F32111M · 100%
From the Hugging Face model README
This is a BERT model pretrained on texts in the Japanese language.
The codes for the pretraining are available at retarfi/language-pretraining.
The model architecture is the same as BERT small in the original BERT paper; 12 layers, 768 dimensions of hidden states, and 12 attention heads.
The models are additionally trained on financial corpus from Tohoku University's BERT base Japanese model (cl-tohoku/bert-base-japanese).
The financial corpus consists of 2 corpora:
The financial corpus file consists of approximately 27M sentences.
You can use the tokenizer:
from transformers import BertJapaneseTokenizer, BertForMaskedLM
tokenizer = BertJapaneseTokenizer.from_pretrained('izumi-lab/bert-base-japanese-fin-additional')
model = BertForMaskedLM.from_pretrained('izumi-lab/bert-base-japanese-fin-additional')
The models are trained with the same configuration as BERT base in the original BERT paper; 512 tokens per instance, 256 instances per batch, and 1M training steps.
@article{Suzuki-etal-2023-ipm,
title = {Constructing and analyzing domain-specific language model for financial text mining}
author = {Masahiro Suzuki and Hiroki Sakaji and Masanori Hirano and Kiyoshi Izumi},
journal = {Information Processing & Management},
volume = {60},
number = {2},
pages = {103194},
year = {2023},
doi = {10.1016/j.ipm.2022.103194}
}
The pretrained models are distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0.
This work was supported by JSPS KAKENHI Grant Number JP21K12010 and JST-Mirai Program Grant Number JPMJMI20B1.