CodeBERT-language-detect / adapter_config.json
tbung's picture
fix: reduce number of languages, add lora
42edf3c
{
"alora_invocation_tokens": null,
"alpha_pattern": {},
"arrow_config": null,
"auto_mapping": {
"base_model_class": "RobertaForSequenceClassification",
"parent_library": "transformers.models.roberta.modeling_roberta"
},
"base_model_name_or_path": "huggingface/CodeBERTa-small-v1",
"bias": "none",
"corda_config": null,
"ensure_weight_tying": false,
"eva_config": null,
"exclude_modules": null,
"fan_in_fan_out": false,
"inference_mode": true,
"init_lora_weights": true,
"layer_replication": null,
"layers_pattern": null,
"layers_to_transform": null,
"loftq_config": {},
"lora_alpha": 16,
"lora_bias": false,
"lora_dropout": 0.1,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": [
"classifier"
],
"peft_type": "LORA",
"peft_version": "0.18.0",
"qalora_group_size": 16,
"r": 16,
"rank_pattern": {},
"revision": null,
"target_modules": [
"value",
"query"
],
"target_parameters": null,
"task_type": null,
"trainable_token_indices": null,
"use_dora": false,
"use_qalora": false,
"use_rslora": false
}