Instructions to use MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam") model = AutoModelForCausalLM.from_pretrained("MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam
- SGLang
How to use MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam 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 "MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam" \ --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": "MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam", "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 "MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam" \ --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": "MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam with Docker Model Runner:
docker model run hf.co/MaziyarPanahi/Experiment26Neuralsirkrishna_Multi_verse_modelYam
Commit History
-
Upload folder using huggingface_hub (#1)
Verified signature- 04d0ecf850902dc0e8fc3e11896cfd9f9db3aec932ff167b0977f1039c0011c6 (d2b326b460c5605b327ee602ac49367de0438fc8) - d839cf107b4e9f02273eba80891b96c48b5b888c796a92f1e95870ca633fb2df (d5b60fb12958c2cc6b3ec01cd032159414d25758) - 22336d69f1633526ae30faafd2818f21cb814c9625c4eede75d08d29c1a47302 (f934ea380e21bd159ff22a50a84ceba4141f7c2b)32ba43f