Text Generation
Transformers
Safetensors
qwen3_5
image-text-to-text
Merge
qwen3.5
reasoning
chain-of-thought
distillation
agentic
text-generation-inference
heretic
uncensored
decensored
abliterated
reproducible
conversational
Instructions to use xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic") model = AutoModelForMultimodalLM.from_pretrained("xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic
- SGLang
How to use xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic 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 "xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic" \ --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": "xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic", "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 "xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic" \ --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": "xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic with Docker Model Runner:
docker model run hf.co/xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic
Download reproduce/requirements.txt from xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic: direct link, hf CLI and curl.
- Browser
- Download file 1.94 kB
-
https://huggingface.co/xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic/resolve/main/reproduce/requirements.txt
- Command line
-
hf download hf://xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic/reproduce/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/xtools-at/Qwen3.5-4B-MultiDistill-Megamix-8xMerge-UNCENSORED-heretic/resolve/main/reproduce/requirements.txt
1.94 kB
| absl-py==1.4.0 | |
| accelerate==1.15.0 | |
| alembic==1.20.0 | |
| annotated-doc==0.0.5 | |
| annotated-types==0.8.0 | |
| anyio==4.15.1 | |
| bitsandbytes==0.50.2 | |
| certifi==2026.7.22 | |
| chardet==5.2.0 | |
| charset-normalizer==3.4.9 | |
| click==8.5.0 | |
| cloudpickle==3.1.2 | |
| colorama==0.4.6 | |
| colorlog==6.12.0 | |
| cuda-bindings==13.0.3 | |
| cuda-pathfinder==1.8.2 | |
| cuda-toolkit==13.0.2 | |
| dataproperty==1.1.1 | |
| datasets==5.1.0 | |
| dill==0.4.1 | |
| evaluate==0.4.6 | |
| filelock==4.0.7 | |
| fsspec==2025.12.0 | |
| h11==0.16.0 | |
| hf-xet==1.6.0 | |
| httpcore==1.0.9 | |
| httpx==0.28.1 | |
| huggingface-hub==1.33.0 | |
| idna==3.20 | |
| immutabledict==4.3.1 | |
| importlib-metadata==9.0.1 | |
| jinja2==3.1.6 | |
| joblib==1.6.0 | |
| langdetect==1.0.9 | |
| lm-eval==0.4.13 | |
| lxml==6.1.3 | |
| mako==1.3.2.dev0 | |
| markdown-it-py==4.2.0 | |
| markupsafe==3.0.3 | |
| mbstrdecoder==1.1.5 | |
| mdurl==0.1.2 | |
| more-itertools==10.8.0 | |
| mpmath==1.3.0 | |
| multiprocess==0.70.19 | |
| networkx==3.7 | |
| nltk==3.9.1 | |
| numpy==2.5.4 | |
| nvidia-cublas==13.1.0.3 | |
| nvidia-cudnn-cu13==9.19.0.56 | |
| nvidia-cusparselt-cu13==0.8.0 | |
| nvidia-nccl-cu13==2.28.9 | |
| nvidia-nvshmem-cu13==3.4.5 | |
| optuna==5.0.0 | |
| packaging==26.3 | |
| pandas==2.2.3 | |
| pathvalidate==3.3.1 | |
| peft==0.21.1 | |
| pillow==11.3.0 | |
| portalocker==4.4.0 | |
| prompt-toolkit==3.0.53 | |
| psutil==7.2.2 | |
| py-cpuinfo==9.0.0 | |
| pyarrow==26.0.0 | |
| pydantic==2.13.5 | |
| pydantic-core==2.46.5 | |
| pydantic-settings==2.16.0 | |
| pygments==2.21.0 | |
| pytablewriter==1.2.1 | |
| python-dateutil==2.9.0.post0 | |
| python-dotenv==1.2.3 | |
| pytz==2025.2 | |
| pyyaml==6.0.3 | |
| questionary==2.1.1 | |
| regex==2025.11.3 | |
| requests==2.32.4 | |
| rich==15.0.0 | |
| rouge-score==0.1.2 | |
| sacrebleu==2.6.0 | |
| safetensors==0.8.0 | |
| scikit-learn==1.6.1 | |
| scipy==1.16.3 | |
| setuptools==80.10.2 | |
| shellingham==1.5.4 | |
| six==1.17.0 | |
| sqlalchemy==2.1.1 | |
| sqlitedict==2.1.0 | |
| sympy==1.14.0 | |
| tabledata==1.3.5 | |
| tabulate==0.9.0 | |
| tcolorpy==0.1.7 | |
| threadpoolctl==3.7.0 | |
| tokenizers==0.23.2 | |
| tomli-w==1.2.0 | |
| torch==2.11.0 | |
| torchaudio==2.11.0 | |
| torchvision==0.26.0 | |
| tqdm==4.70.1 | |
| transformers==5.18.0 | |
| triton==3.6.0 | |
| typepy==1.3.5 | |
| typer==0.27.2 | |
| typing-extensions==4.16.0 | |
| typing-inspection==0.4.4 | |
| tzdata==2026.4 | |
| urllib3==2.5.0 | |
| wcwidth==0.9.1 | |
| word2number==1.1 | |
| xxhash==4.0.1 | |
| zipp==4.1.0 | |