Instructions to use AhmedLet/Qwen_0.5_python_codes_mbpp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AhmedLet/Qwen_0.5_python_codes_mbpp with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AhmedLet/Qwen_0.5_python_codes_mbpp", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Unsloth Studio new
How to use AhmedLet/Qwen_0.5_python_codes_mbpp 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 AhmedLet/Qwen_0.5_python_codes_mbpp 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 AhmedLet/Qwen_0.5_python_codes_mbpp to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for AhmedLet/Qwen_0.5_python_codes_mbpp to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="AhmedLet/Qwen_0.5_python_codes_mbpp", max_seq_length=2048, )
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,22 +1,22 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
|
|
|
| 3 |
tags:
|
| 4 |
- text-generation-inference
|
| 5 |
- transformers
|
| 6 |
- unsloth
|
| 7 |
- qwen2
|
| 8 |
-
-
|
| 9 |
license: apache-2.0
|
| 10 |
language:
|
| 11 |
- en
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Uploaded model
|
| 15 |
|
| 16 |
- **Developed by:** AhmedLet
|
| 17 |
-
- **License:** apache-2.0
|
| 18 |
-
- **Finetuned from model :** unsloth/qwen2.5-0.5b-instruct-unsloth-bnb-4bit
|
| 19 |
-
|
| 20 |
-
This qwen2 model was trained 2x faster with [Unsloth](https://github.com/unslothai/unsloth) and Huggingface's TRL library.
|
| 21 |
-
|
| 22 |
-
[<img src="https://raw.githubusercontent.com/unslothai/unsloth/main/images/unsloth%20made%20with%20love.png" width="200"/>](https://github.com/unslothai/unsloth)
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model:
|
| 3 |
+
- Qwen/Qwen2.5-0.5B
|
| 4 |
tags:
|
| 5 |
- text-generation-inference
|
| 6 |
- transformers
|
| 7 |
- unsloth
|
| 8 |
- qwen2
|
| 9 |
+
- gguf
|
| 10 |
license: apache-2.0
|
| 11 |
language:
|
| 12 |
- en
|
| 13 |
+
datasets:
|
| 14 |
+
- google-research-datasets/mbpp
|
| 15 |
+
- mlabonne/FineTome-100k
|
| 16 |
+
- MohamedSaeed-dev/python_dataset_codes
|
| 17 |
---
|
| 18 |
|
| 19 |
# Uploaded model
|
| 20 |
|
| 21 |
- **Developed by:** AhmedLet
|
| 22 |
+
- **License:** apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|