Instructions to use FatCat87/taopanda-1_3f7fae45-8e9e-4c49-9035-f4c04b728391 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use FatCat87/taopanda-1_3f7fae45-8e9e-4c49-9035-f4c04b728391 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("EleutherAI/pythia-160m") model = PeftModel.from_pretrained(base_model, "FatCat87/taopanda-1_3f7fae45-8e9e-4c49-9035-f4c04b728391") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from FatCat87/taopanda-1_3f7fae45-8e9e-4c49-9035-f4c04b728391: direct link, hf CLI and curl.
- Browser
- Download file 697 Bytes
-
https://huggingface.co/FatCat87/taopanda-1_3f7fae45-8e9e-4c49-9035-f4c04b728391/resolve/main/adapter_config.json
- Command line
-
hf download hf://FatCat87/taopanda-1_3f7fae45-8e9e-4c49-9035-f4c04b728391/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/FatCat87/taopanda-1_3f7fae45-8e9e-4c49-9035-f4c04b728391/resolve/main/adapter_config.json
697 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "EleutherAI/pythia-160m", | |
| "bias": "none", | |
| "fan_in_fan_out": null, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 16, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "r": 32, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "dense", | |
| "dense_h_to_4h", | |
| "query_key_value", | |
| "dense_4h_to_h" | |
| ], | |
| "task_type": "CAUSAL_LM", | |
| "use_dora": false, | |
| "use_rslora": false | |
| } |