Instructions to use bigcode/astraios-1b-ia3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bigcode/astraios-1b-ia3 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("bigcode/starcoderbase-1b") model = PeftModel.from_pretrained(base_model, "bigcode/astraios-1b-ia3") - Notebooks
- Google Colab
- Kaggle
| { | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "bigcode/starcoderbase-1b", | |
| "fan_in_fan_out": false, | |
| "feedforward_modules": [ | |
| "mlp.c_proj" | |
| ], | |
| "inference_mode": true, | |
| "init_ia3_weights": true, | |
| "modules_to_save": null, | |
| "peft_type": "IA3", | |
| "revision": null, | |
| "target_modules": [ | |
| "c_attn", | |
| "mlp.c_proj" | |
| ], | |
| "task_type": "CAUSAL_LM" | |
| } |