Instructions to use Parth03034/finbot-lora-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Parth03034/finbot-lora-adapter with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Parth03034/finbot-lora-adapter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use Parth03034/finbot-lora-adapter with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Parth03034/finbot-lora-adapter to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Parth03034/finbot-lora-adapter to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Parth03034/finbot-lora-adapter to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Parth03034/finbot-lora-adapter", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- adapter_config.json +6 -6
- adapter_model.safetensors +2 -2
adapter_config.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
"parent_library": "transformers.models.llama.modeling_llama",
|
| 8 |
"unsloth_fixed": true
|
| 9 |
},
|
| 10 |
-
"base_model_name_or_path": "unsloth/
|
| 11 |
"bias": "none",
|
| 12 |
"corda_config": null,
|
| 13 |
"ensure_weight_tying": false,
|
|
@@ -34,13 +34,13 @@
|
|
| 34 |
"rank_pattern": {},
|
| 35 |
"revision": null,
|
| 36 |
"target_modules": [
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
"up_proj",
|
| 40 |
"gate_proj",
|
|
|
|
| 41 |
"q_proj",
|
| 42 |
-
"
|
| 43 |
-
"
|
| 44 |
],
|
| 45 |
"target_parameters": null,
|
| 46 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 7 |
"parent_library": "transformers.models.llama.modeling_llama",
|
| 8 |
"unsloth_fixed": true
|
| 9 |
},
|
| 10 |
+
"base_model_name_or_path": "unsloth/tinyllama-chat-bnb-4bit",
|
| 11 |
"bias": "none",
|
| 12 |
"corda_config": null,
|
| 13 |
"ensure_weight_tying": false,
|
|
|
|
| 34 |
"rank_pattern": {},
|
| 35 |
"revision": null,
|
| 36 |
"target_modules": [
|
| 37 |
+
"down_proj",
|
| 38 |
+
"o_proj",
|
|
|
|
| 39 |
"gate_proj",
|
| 40 |
+
"k_proj",
|
| 41 |
"q_proj",
|
| 42 |
+
"v_proj",
|
| 43 |
+
"up_proj"
|
| 44 |
],
|
| 45 |
"target_parameters": null,
|
| 46 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32d7b46d06796c3ffae8e89380abd859f1c4d040db06d42d1ac530afd210d8ab
|
| 3 |
+
size 50503544
|