Text Generation
PEFT
Safetensors
Spanish
English
bittensor
subnet-20
LoRA
fine-tune
phi-2
antonio-bfcl
rogue-tensor
artificial-intelligence
open-source
Instructions to use Tonit23/antonio-phi2-bitagent-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Tonit23/antonio-phi2-bitagent-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "Tonit23/antonio-phi2-bitagent-lora") - Notebooks
- Google Colab
- Kaggle
Auto-push desde hf_push.py (BitAgent Subnet 20)
Browse files- adapter_config.json +1 -1
adapter_config.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"megatron_core": "megatron.core",
|
| 25 |
"modules_to_save": null,
|
| 26 |
"peft_type": "LORA",
|
| 27 |
-
"r":
|
| 28 |
"revision": null,
|
| 29 |
"target_modules": [
|
| 30 |
"q_proj",
|
|
|
|
| 24 |
"megatron_core": "megatron.core",
|
| 25 |
"modules_to_save": null,
|
| 26 |
"peft_type": "LORA",
|
| 27 |
+
"r": 4,
|
| 28 |
"revision": null,
|
| 29 |
"target_modules": [
|
| 30 |
"q_proj",
|