Text Generation
Transformers
Safetensors
Chinese
English
joyai_llm_flash
conversational
custom_code
Eval Results
Instructions to use jdopensource/JoyAI-LLM-Flash with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jdopensource/JoyAI-LLM-Flash with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jdopensource/JoyAI-LLM-Flash", 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("jdopensource/JoyAI-LLM-Flash", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jdopensource/JoyAI-LLM-Flash with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jdopensource/JoyAI-LLM-Flash" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jdopensource/JoyAI-LLM-Flash", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jdopensource/JoyAI-LLM-Flash
- SGLang
How to use jdopensource/JoyAI-LLM-Flash 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 "jdopensource/JoyAI-LLM-Flash" \ --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": "jdopensource/JoyAI-LLM-Flash", "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 "jdopensource/JoyAI-LLM-Flash" \ --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": "jdopensource/JoyAI-LLM-Flash", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use jdopensource/JoyAI-LLM-Flash with Docker Model Runner:
docker model run hf.co/jdopensource/JoyAI-LLM-Flash
Commit History
-
Update modeling_deepseek.py
Verified signature8d31d53
-
Update README.md
Verified signaturee416e67
-
Delete mergekit_config.yml
Verified signatured498117 -
Add files using upload-large-folder tool
Verified signature41b26a6 -
Add files using upload-large-folder tool
Verified signature87b0d64
-
Upload JoyAI_Flash_techreport.pdf
Verified signature38dc87b -
Delete JoyAI_Flash_techreport.pdf
Verified signature42d883c
-
Update README.md
Verified signature4b526a1
-
Add files using upload-large-folder tool
Verified signatured255639 -
Upload JoyAI_Flash_techreport.pdf (#19)
- Upload JoyAI_Flash_techreport.pdf (f4e3b64060f174754187e10e351d2d8fb70a9cc1)84b87c5
-
Update README.md
Verified signature7770a36
-
Update docs/deploy_guidance.md
Verified signaturef4526ac -
fix vllm deployment (#16)
- fix vllm depl (0f54f262e9a4a23e93896a63c1b7bf841f60499d)0fe2627
-
Adding `transformers` as the library name (#7)
- Adding `transformers` as the library name (e51dcce302919589f54cec9fcb12d3f403fe8878) Co-authored-by: Aritra Roy Gosthipaty <ariG23498@users.noreply.huggingface.co>41b4a17
-
add tp1 deployment (#8)
- add tp1 deployment (7f3e6cebe2fa33a6442324e1d383700a8a1502e1)53dea28
-
Update README.md
Verified signatureee80a7f -
Update LICENSE
Verified signaturea07b5c6 -
Update LICENSE (#1)
- Update LICENSE (17647cb070cf1b2aaa4d38f2d8e3ad1d397ff6f2) Co-authored-by: aimar <aimarbenzemamessi@users.noreply.huggingface.co>de267d7 -
Update README.md
Verified signature8114648 -
Update docs/deploy_guidance.md
Verified signature135b9af -
Add files using upload-large-folder tool
Verified signature482bdbe -
Add files using upload-large-folder tool
Verified signature580d962 -
initial commit
Verified signature10dbb72