Text Classification
PEFT
Safetensors
Japanese
bert
japanese
lora
qlora
bridge-inspection
civil-engineering
Eval Results (legacy)
Instructions to use yasunotkt/damage-cause-encoder-v05 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use yasunotkt/damage-cause-encoder-v05 with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("cl-tohoku/bert-large-japanese-v2") model = PeftModel.from_pretrained(base_model, "yasunotkt/damage-cause-encoder-v05") - Notebooks
- Google Colab
- Kaggle
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "1": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "2": { | |
| "content": "[CLS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "3": { | |
| "content": "[SEP]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "4": { | |
| "content": "[MASK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "backend": "custom", | |
| "cls_token": "[CLS]", | |
| "do_lower_case": false, | |
| "do_subword_tokenize": true, | |
| "do_word_tokenize": true, | |
| "is_local": false, | |
| "jumanpp_kwargs": null, | |
| "mask_token": "[MASK]", | |
| "mecab_kwargs": { | |
| "mecab_dic": "unidic_lite" | |
| }, | |
| "model_max_length": 512, | |
| "never_split": null, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "subword_tokenizer_type": "wordpiece", | |
| "sudachi_kwargs": null, | |
| "tokenizer_class": "BertJapaneseTokenizer", | |
| "unk_token": "[UNK]", | |
| "word_tokenizer_type": "mecab" | |
| } | |