Text Generation
Transformers
Safetensors
qwen3_moe
qwen3
mixture-of-experts
quantization-research
shapleymcg
conversational
Instructions to use brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction") model = AutoModelForCausalLM.from_pretrained("brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction
- SGLang
How to use brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction with Docker Model Runner:
docker model run hf.co/brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction
Download publication-receipt.json from brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction: direct link, hf CLI and curl.
- Browser
- Download file 600 Bytes
-
https://huggingface.co/brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction/resolve/main/publication-receipt.json
- Command line
-
hf download hf://brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction/publication-receipt.json
-
curl -L -o publication-receipt.json https://huggingface.co/brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction/resolve/main/publication-receipt.json
600 Bytes
| {"file_count":31,"manifest_file_sha256":"22b4c9b681558ce3060d4b41af977107be9cec2720af5ac3383e15906d4e24b1","manifest_sha256":"32fec13a96c6c85eb394939a6eb511c821bd05e8ac0960268852d33150d0cde1","receipt_sha256":"e7b3b344321c11e872fc006cbd009c935b9fdbf0fdb8b2b0a99197cce14bffe8","remote_verification":"size-all; sha256-lfs; git-blob-sha1-non-lfs","repo_id":"brandonmusic/Qwen3-30B-A3B-ShapleyMCG-K34-Validation-Reconstruction","repo_type":"model","schema":"quant-pipeline.qwen-validation-model-hf-publication.v1","total_bytes":61079798645,"verified_revision":"c3447f3f8e231ae83afa10ba263346d1ceb98c11"} | |