Instructions to use lilmeaty/fgfgx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lilmeaty/fgfgx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="lilmeaty/fgfgx")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("lilmeaty/fgfgx") model = AutoModelForCausalLM.from_pretrained("lilmeaty/fgfgx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use lilmeaty/fgfgx with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lilmeaty/fgfgx" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lilmeaty/fgfgx", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/lilmeaty/fgfgx
- SGLang
How to use lilmeaty/fgfgx 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 "lilmeaty/fgfgx" \ --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": "lilmeaty/fgfgx", "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 "lilmeaty/fgfgx" \ --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": "lilmeaty/fgfgx", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use lilmeaty/fgfgx with Docker Model Runner:
docker model run hf.co/lilmeaty/fgfgx
Commit History
-
Update config.json
Verified signature3fdb4b2 -
Update config.json
Verified signatured3b9e22 -
Update config.json
Verified signatureec8f850 -
Update config.json
Verified signaturea6d378e -
Update config.json
Verified signature62e2176 -
Update config.json
Verified signatureb3fac39 -
Update config.json
Verified signature682a7c6 -
Update config.json
Verified signatureaf7500b -
Update config.json
Verified signature503e293 -
Update config.json
Verified signature1212e72 -
Update config.json
Verified signaturea8d0c90 -
Update config.json
Verified signature8037295 -
Update config.json
Verified signaturea48b421 -
Update config.json
Verified signature4d53855 -
Update config.json
Verified signature507cbfd -
Update config.json
Verified signatureabb0463 -
Update config.json
Verified signaturee351c61 -
Update config.json
Verified signature114cab9 -
Update config.json
Verified signaturecf7473a -
Update config.json
Verified signatured442846 -
Upload folder using huggingface_hub
Verified signatured9ff344 -
initial commit
Verified signaturef319c8c