Instructions to use netease-youdao/Qwen-7B-QAnything with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use netease-youdao/Qwen-7B-QAnything with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="netease-youdao/Qwen-7B-QAnything", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("netease-youdao/Qwen-7B-QAnything", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#2 opened about 2 years ago
by
SFconvertbot
如果加载时不使用load_in_8bit 会报错
#1 opened over 2 years ago
by
xiaoyq