Instructions to use bigcode/astraios-7b-adapterp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bigcode/astraios-7b-adapterp with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoderbase-7b") model = PeftModel.from_pretrained(base_model, "bigcode/astraios-7b-adapterp") - Notebooks
- Google Colab
- Kaggle
File size: 455 Bytes
ba56562 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | {
"adapter_dropout": 0.0,
"auto_mapping": null,
"base_model_name_or_path": "bigcode/starcoderbase-7b",
"bias": "none",
"bottleneck_size": 256,
"inference_mode": true,
"init_weights": "bert",
"modules_to_save": null,
"non_linearity": "tanh",
"peft_type": "BOTTLENECK",
"revision": null,
"scaling": 1.0,
"target_modules": [
"mlp.c_proj"
],
"task_type": "CAUSAL_LM",
"use_adapterp": true,
"use_parallel_adapter": false
} |