Instructions to use kevin009/llama371 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kevin009/llama371 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kevin009/llama371", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use kevin009/llama371 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 kevin009/llama371 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 kevin009/llama371 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kevin009/llama371 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="kevin009/llama371", max_seq_length=2048, )
Update adapter_config.json
Browse files- adapter_config.json +4 -6
adapter_config.json
CHANGED
|
@@ -1,10 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
-
"base_model_name_or_path": "
|
| 5 |
"bias": "none",
|
| 6 |
-
"eva_config": null,
|
| 7 |
-
"exclude_modules": null,
|
| 8 |
"fan_in_fan_out": false,
|
| 9 |
"inference_mode": true,
|
| 10 |
"init_lora_weights": true,
|
|
@@ -23,13 +21,13 @@
|
|
| 23 |
"rank_pattern": {},
|
| 24 |
"revision": null,
|
| 25 |
"target_modules": [
|
| 26 |
-
"gate_proj",
|
| 27 |
"up_proj",
|
| 28 |
-
"v_proj",
|
| 29 |
"q_proj",
|
|
|
|
| 30 |
"k_proj",
|
|
|
|
| 31 |
"o_proj",
|
| 32 |
-
"
|
| 33 |
],
|
| 34 |
"task_type": "CAUSAL_LM",
|
| 35 |
"use_dora": false,
|
|
|
|
| 1 |
{
|
| 2 |
"alpha_pattern": {},
|
| 3 |
"auto_mapping": null,
|
| 4 |
+
"base_model_name_or_path": "meta-llama/Meta-Llama-3.1-8B-Instruct",
|
| 5 |
"bias": "none",
|
|
|
|
|
|
|
| 6 |
"fan_in_fan_out": false,
|
| 7 |
"inference_mode": true,
|
| 8 |
"init_lora_weights": true,
|
|
|
|
| 21 |
"rank_pattern": {},
|
| 22 |
"revision": null,
|
| 23 |
"target_modules": [
|
|
|
|
| 24 |
"up_proj",
|
|
|
|
| 25 |
"q_proj",
|
| 26 |
+
"down_proj",
|
| 27 |
"k_proj",
|
| 28 |
+
"v_proj",
|
| 29 |
"o_proj",
|
| 30 |
+
"gate_proj"
|
| 31 |
],
|
| 32 |
"task_type": "CAUSAL_LM",
|
| 33 |
"use_dora": false,
|