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") - 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 +1 -1
role_adapter.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 656289
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fde7d847d75ed71a2f56cb96567330db49cb69633e6351fa3c4c9a4a9140f0ef
|
| 3 |
size 656289
|