Instructions to use Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- vLLM
How to use Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM
- SGLang
How to use Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM 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 "Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM" \ --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": "Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM" \ --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": "Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM with Docker Model Runner:
docker model run hf.co/Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM
🌟Gemopus-4-E4B-it-INT8-FOEM
This is an unofficial quantized version of Gemopus-4-E4B-it.
🧠 Quantization Framework
🗺️ Quantization Method
FOEM is an improved quantization method over GPTQ. The resulting model preserves the same inference structure as GPTQ, ensuring compatibility with existing deployment pipelines while achieving better accuracy.
📚 Calibration Dataset
We randomly sampled 512 examples from nohurry/Opus-4.6-Reasoning-3000x-filtered.
📋 Usage Example
This model can be deployed using standard frameworks such as vLLM, just like other GPTQModel-quantized models.
Example evaluation command:
lm-eval --model vllm --model_args pretrained=models/gptqmodel/Gemopus-4-E4B-it-INT8-FOEM,tensor_parallel_size=1,gpu_memory_utilization=0.45 --tasks wikitext --batch_size 1
⚠️ Limitations & Usage Recommendations
(Adapted from the original repository of Jackrong/Gemopus-4-E4B-it)
- Compute & Knowledge Boundaries: This model is designed specifically for ultra-fast local inference on edge devices (like thin-and-light laptops and smartphones). Constrained by its smaller parameter size, the breadth of its world knowledge and extremely deep logical reasoning capabilities cannot rival those of hundred-billion-parameter behemoths in the cloud.
- Potential Hallucinations: When dealing with extremely obscure domains, niche knowledge, or complex math problems that require multi-step long-chain calculations, hallucinations may still occur.
- Best Practices: It is strongly recommended to use it as a local high-frequency text processing assistant, ideal for scenarios involving daily copywriting assistance, code completion, formatting, and summary extraction, especially those that involve privacy or are latency-sensitive.
- Disclaimer: This is an experimental weight optimized independently based on edge interaction needs. You are welcome to conduct local deployment testing and academic exchanges at any time.
🙏 Acknowledgements
Special thanks to Jackrong for providing the original model: Gemopus-4-E4B-it.
📖 Citation
If you use this model in your research or projects, please cite:
@misc{jackrong_qwen35_27b_v3
title = {Jackrong/Gemopus-4-E4B-it},
author = {Jackrong},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Jackrong/Gemopus-4-E4B-it}}
}
@misc{qubitium2024gptqmodel,
author = {ModelCloud.ai and qubitium@modelcloud.ai},
title = {GPT-QModel},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/modelcloud/gptqmodel}},
note = {Contact: qubitium@modelcloud.ai},
year = {2024},
}
@inproceedings{zheng2026first,
title={First-order error matters: Accurate compensation for quantized large language models},
author={Zheng, Xingyu and Qin, Haotong and Li, Yuye and Chu, Haoran and Wang, Jiakai and Guo, Jinyang and Magno, Michele and Liu, Xianglong},
booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
volume={40},
number={34},
pages={28883--28891},
year={2026}
}
- Downloads last month
- 7
Model tree for Xingyu-Zheng/Gemopus-4-E4B-it-INT8-FOEM
Base model
Jackrong/Gemopus-4-E4B-it