Instructions to use fpadovani/wiki_w_13 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fpadovani/wiki_w_13 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="fpadovani/wiki_w_13")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("fpadovani/wiki_w_13") model = AutoModelForCausalLM.from_pretrained("fpadovani/wiki_w_13") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use fpadovani/wiki_w_13 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "fpadovani/wiki_w_13" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fpadovani/wiki_w_13", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/fpadovani/wiki_w_13
- SGLang
How to use fpadovani/wiki_w_13 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 "fpadovani/wiki_w_13" \ --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": "fpadovani/wiki_w_13", "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 "fpadovani/wiki_w_13" \ --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": "fpadovani/wiki_w_13", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use fpadovani/wiki_w_13 with Docker Model Runner:
docker model run hf.co/fpadovani/wiki_w_13
Ctrl+K
- check-1
- check-11
- check-113
- check-1204
- check-17
- check-182
- check-1932
- check-2
- check-27
- check-291
- check-3
- check-3099
- check-4
- check-44
- check-468
- check-4973
- check-7
- check-71
- check-750
- check-7980
- checkpoint-1000
- checkpoint-1500
- checkpoint-2000
- checkpoint-2500
- checkpoint-3000
- checkpoint-3500
- checkpoint-4000
- checkpoint-4500
- checkpoint-500
- checkpoint-5000
- checkpoint-5500
- checkpoint-6000
- checkpoint-6500
- checkpoint-7000
- checkpoint-7500
- checkpoint-8000
- 1.52 kB
- 15 Bytes
- 2.33 kB
- 775 Bytes
- 142 Bytes
- 436 MB xet
- 145 Bytes
- 2.01 MB
- 1.35 kB
- 5.91 kB xet
- 3.47 MB