Instructions to use Sauten/UAV-CodeAgent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sauten/UAV-CodeAgent with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Sauten/UAV-CodeAgent", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use Sauten/UAV-CodeAgent 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 Sauten/UAV-CodeAgent 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 Sauten/UAV-CodeAgent to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Sauten/UAV-CodeAgent to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Sauten/UAV-CodeAgent", max_seq_length=2048, )
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- adapter_config.json +2 -2
- adapter_model.safetensors +1 -1
adapter_config.json
CHANGED
|
@@ -12,9 +12,9 @@
|
|
| 12 |
"layers_pattern": null,
|
| 13 |
"layers_to_transform": null,
|
| 14 |
"loftq_config": {},
|
| 15 |
-
"lora_alpha":
|
| 16 |
"lora_bias": false,
|
| 17 |
-
"lora_dropout": 0.
|
| 18 |
"megatron_config": null,
|
| 19 |
"megatron_core": "megatron.core",
|
| 20 |
"modules_to_save": null,
|
|
|
|
| 12 |
"layers_pattern": null,
|
| 13 |
"layers_to_transform": null,
|
| 14 |
"loftq_config": {},
|
| 15 |
+
"lora_alpha": 8,
|
| 16 |
"lora_bias": false,
|
| 17 |
+
"lora_dropout": 0.15,
|
| 18 |
"megatron_config": null,
|
| 19 |
"megatron_core": "megatron.core",
|
| 20 |
"modules_to_save": null,
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 103144136
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfb024fc0d0f446d426d638bdd19b16680de2dfb2cb34af9466468cd6f14145a
|
| 3 |
size 103144136
|