Text Generation
Transformers
Safetensors
friday
vision-language
multimodal
custom_code
bf16
conversational
Instructions to use kevin510/friday with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kevin510/friday with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kevin510/friday", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("kevin510/friday", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use kevin510/friday with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kevin510/friday" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kevin510/friday", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kevin510/friday
- SGLang
How to use kevin510/friday 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 "kevin510/friday" \ --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": "kevin510/friday", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "kevin510/friday" \ --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": "kevin510/friday", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use kevin510/friday with Docker Model Runner:
docker model run hf.co/kevin510/friday
Commit History
-
Update modeling_friday.py
Verified signature3d0825c -
Upload modeling_friday.py
Verified signature3ab8676 -
Delete modeling_friday.py
Verified signaturef22e168 -
Update config.json
Verified signaturea2b4415 -
Upload 5 files
Verified signature388675b -
Delete modeling_friday.py
Verified signature9b1db25 -
Update friday_map.py
Verified signature222ec11 -
Upload 18 files
Verified signature44d9cf1 -
Delete friday_vlm
Verified signature6af7375 -
Update friday_map.py
Verified signature3a9f1d1 -
Upload 18 files
Verified signaturef91ff15 -
Delete friday
Verified signature9dcacec -
Update friday_map.py
Verified signature36e2a08 -
Update config.json
Verified signaturec12650e -
Upload friday_map.py
Verified signature23a58a5 -
Update config.json
Verified signatureb02c5b7 -
Upload 18 files
Verified signature12b1c1f -
Update modeling_friday.py
Verified signature41ac63b -
Update config.json
Verified signaturec28628f -
Update config.json
Verified signature58bcda4 -
Upload modeling_friday.py
Verified signatureee431b5 -
Update config.json
Verified signaturea4ace73 -
Update config.json
Verified signature11cb0ce -
Update config.json
Verified signature79980ad -
Update config.json
Verified signaturec2c3107 -
Upload requirements.txt
Verified signature96ff0cd -
Update config.json
Verified signature7c00843 -
Update config.json
Verified signaturea51033c
-
Update config.json
Verified signature7e64c6b -
Update config.json
Verified signature2b9c406 -
Update config.json
Verified signaturedc243bf -
upload model
Verified signatureaf60488
-
upload tokenizer configuration
Verified signature7fb1f90 -
initial commit
Verified signature53d3915