Instructions to use livinNector/indic-bert-v2-mlm-only-dra-tam-mal-aw-classification-lora-r12 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use livinNector/indic-bert-v2-mlm-only-dra-tam-mal-aw-classification-lora-r12 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="livinNector/indic-bert-v2-mlm-only-dra-tam-mal-aw-classification-lora-r12")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("livinNector/indic-bert-v2-mlm-only-dra-tam-mal-aw-classification-lora-r12") model = AutoModelForSequenceClassification.from_pretrained("livinNector/indic-bert-v2-mlm-only-dra-tam-mal-aw-classification-lora-r12") - Notebooks
- Google Colab
- Kaggle
File size: 476 Bytes
d451bf8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | {
"config": {
"activation_function": "ReLU",
"bias": true,
"dropout_prob": null,
"head_type": "classification",
"label2id": {
"Abusive": 1,
"Non-Abusive": 0
},
"layers": 2,
"num_labels": 2,
"use_pooler": false
},
"hidden_size": 768,
"model_class": "BertAdapterModel",
"model_name": "ai4bharat/IndicBERTv2-MLM-only",
"model_type": "bert",
"name": "tam_mal_ai_aw_classification_head",
"version": "adapters.1.0.1"
} |