Instructions to use AIAT/EXP-mindblow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIAT/EXP-mindblow with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="AIAT/EXP-mindblow")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("AIAT/EXP-mindblow") model = AutoModelForCausalLM.from_pretrained("AIAT/EXP-mindblow", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use AIAT/EXP-mindblow with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "AIAT/EXP-mindblow" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AIAT/EXP-mindblow", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/AIAT/EXP-mindblow
- SGLang
How to use AIAT/EXP-mindblow 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 "AIAT/EXP-mindblow" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AIAT/EXP-mindblow", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "AIAT/EXP-mindblow" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "AIAT/EXP-mindblow", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use AIAT/EXP-mindblow with Docker Model Runner:
docker model run hf.co/AIAT/EXP-mindblow
Commit History
-
Upload folder using huggingface_hub
Verified signature90ef4f7 -
Update README.md
Verified signaturea9b008c
-
Update README.md
Verified signatureeb140a6 -
added EXP icon
Verified signature821d9df -
Upload DALLE_2024-04-05_22.01.14_-_A_logo_representing_the_acronym_EXP_which_stands_for_experience_integrated_into_a_design_that_embodies_an_AI_theme._The_logo_should_be_enclosed_w.webp
Verified signaturead2c129 -
Update Model Card 2
Verified signature993f6c4 -
Update Model card
Verified signature4d19512 -
Update Tag
Verified signature89c426e -
initial commit
Verified signatureccdc57a