Instructions to use nono1224/b3comp-deberta-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nono1224/b3comp-deberta-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nono1224/b3comp-deberta-1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nono1224/b3comp-deberta-1") model = AutoModelForSequenceClassification.from_pretrained("nono1224/b3comp-deberta-1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload DebertaV2ForSequenceClassification
Browse filesFiles changed (2)
- config.json+7-7
- model.safetensors+2-2
1234567891011122 unmodified lines151617181920217 unmodified lines2930313233343536373839405 unmodified lines4647484950{"_name_or_path": "globis-university/deberta-v3-japanese-base","architectures": ["DebertaV2ForSequenceClassification"],"attention_probs_dropout_prob": 0.2,"hidden_act": "gelu","hidden_dropout_prob": 0.2,"hidden_size": 768,"id2label": {"0": "LABEL_0","1": "LABEL_1",2 unmodified lines"4": "LABEL_4"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"LABEL_0": 0,"LABEL_1": 1,7 unmodified lines"max_relative_positions": -1,"model_type": "deberta-v2","norm_rel_ebd": "layer_norm","num_attention_heads": 12,"num_hidden_layers": 12,"pad_token_id": 0,"pooler_dropout": 0,"pooler_hidden_act": "gelu","pooler_hidden_size": 768,"pos_att_type": ["p2c","c2p"5 unmodified lines"torch_dtype": "float32","transformers_version": "4.48.2","type_vocab_size": 0,"vocab_size": 32000}1234567891011122 unmodified lines151617181920217 unmodified lines2930313233343536373839405 unmodified lines4647484950{"_name_or_path": "globis-university/deberta-v3-japanese-large","architectures": ["DebertaV2ForSequenceClassification"],"attention_probs_dropout_prob": 0.2,"hidden_act": "gelu","hidden_dropout_prob": 0.2,"hidden_size": 1024,"id2label": {"0": "LABEL_0","1": "LABEL_1",2 unmodified lines"4": "LABEL_4"},"initializer_range": 0.02,"intermediate_size": 4096,"label2id": {"LABEL_0": 0,"LABEL_1": 1,7 unmodified lines"max_relative_positions": -1,"model_type": "deberta-v2","norm_rel_ebd": "layer_norm","num_attention_heads": 16,"num_hidden_layers": 24,"pad_token_id": 0,"pooler_dropout": 0,"pooler_hidden_act": "gelu","pooler_hidden_size": 1024,"pos_att_type": ["p2c","c2p"5 unmodified lines"torch_dtype": "float32","transformers_version": "4.48.2","type_vocab_size": 0,"vocab_size": 48000}
123version https://git-lfs.github.com/spec/v1oid sha256:abb05a58cf077bd8c39affe0e5772267794e3c729ac822b5e6f781ed1a8a5d88size 442509292123version https://git-lfs.github.com/spec/v1oid sha256:3a3b271537509b4e37ab49667e270f3c52a2f0088407503413880bfa08a29120size 1412226948
config.json+7-7
model.safetensors+2-2