Instructions to use ubetu/Qwen2.5-Coder-0.5B-Instruct-code-attention with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ubetu/Qwen2.5-Coder-0.5B-Instruct-code-attention with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ubetu/Qwen2.5-Coder-0.5B-Instruct-code-attention", dtype="auto", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use ubetu/Qwen2.5-Coder-0.5B-Instruct-code-attention 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 ubetu/Qwen2.5-Coder-0.5B-Instruct-code-attention 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 ubetu/Qwen2.5-Coder-0.5B-Instruct-code-attention to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ubetu/Qwen2.5-Coder-0.5B-Instruct-code-attention to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="ubetu/Qwen2.5-Coder-0.5B-Instruct-code-attention", max_seq_length=2048, )
Upload role_adapter.pt with huggingface_hub
Browse files- role_adapter.pt +2 -2
role_adapter.pt
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:236021b9e866d7e6c7b0cdc4065b1d57852f17cdb113c574b5a890a68b3f1d6a
|
| 3 |
+
size 656289
|