Instructions to use HashTag766/QwenAssistant with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HashTag766/QwenAssistant with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("HashTag766/QwenAssistant", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Studio
How to use HashTag766/QwenAssistant 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 HashTag766/QwenAssistant 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 HashTag766/QwenAssistant to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for HashTag766/QwenAssistant to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="HashTag766/QwenAssistant", max_seq_length=2048, )
(Trained with Unsloth)
Browse files- config.json +2 -30
config.json
CHANGED
|
@@ -1,31 +1,3 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
],
|
| 5 |
-
"attention_dropout": 0.0,
|
| 6 |
-
"eos_token_id": 151643,
|
| 7 |
-
"hidden_act": "silu",
|
| 8 |
-
"hidden_size": 2048,
|
| 9 |
-
"initializer_range": 0.02,
|
| 10 |
-
"intermediate_size": 11008,
|
| 11 |
-
"max_position_embeddings": 32768,
|
| 12 |
-
"max_window_layers": 36,
|
| 13 |
-
"model_type": "qwen2",
|
| 14 |
-
"num_attention_heads": 16,
|
| 15 |
-
"num_hidden_layers": 36,
|
| 16 |
-
"num_key_value_heads": 2,
|
| 17 |
-
"pad_token_id": 151654,
|
| 18 |
-
"rms_norm_eps": 1e-06,
|
| 19 |
-
"rope_scaling": null,
|
| 20 |
-
"rope_theta": 1000000.0,
|
| 21 |
-
"sliding_window": 32768,
|
| 22 |
-
"tie_word_embeddings": true,
|
| 23 |
-
"torch_dtype": "float16",
|
| 24 |
-
"transformers_version": "4.51.1",
|
| 25 |
-
"unsloth_fixed": true,
|
| 26 |
-
"unsloth_version": "2025.3.19",
|
| 27 |
-
"use_cache": true,
|
| 28 |
-
"use_mrope": false,
|
| 29 |
-
"use_sliding_window": false,
|
| 30 |
-
"vocab_size": 151936
|
| 31 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "qwen2"
|
| 3 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|