Instructions to use Wonder-Griffin/XL-Judge-LLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wonder-Griffin/XL-Judge-LLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Wonder-Griffin/XL-Judge-LLM") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import JudgeXL model = JudgeXL.from_pretrained("Wonder-Griffin/XL-Judge-LLM", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Wonder-Griffin/XL-Judge-LLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Wonder-Griffin/XL-Judge-LLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Wonder-Griffin/XL-Judge-LLM", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Wonder-Griffin/XL-Judge-LLM
- SGLang
How to use Wonder-Griffin/XL-Judge-LLM 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 "Wonder-Griffin/XL-Judge-LLM" \ --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": "Wonder-Griffin/XL-Judge-LLM", "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 "Wonder-Griffin/XL-Judge-LLM" \ --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": "Wonder-Griffin/XL-Judge-LLM", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Wonder-Griffin/XL-Judge-LLM with Docker Model Runner:
docker model run hf.co/Wonder-Griffin/XL-Judge-LLM
Upload JudgeLLM
Browse files- README.md +2 -2
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
---
|
| 2 |
-
license: unlicense
|
| 3 |
datasets:
|
| 4 |
- proj-persona/PersonaHub
|
| 5 |
- Salesforce/xlam-function-calling-60k
|
|
@@ -10,13 +9,14 @@ datasets:
|
|
| 10 |
- Open-Orca/OpenOrca
|
| 11 |
language:
|
| 12 |
- en
|
|
|
|
|
|
|
| 13 |
metrics:
|
| 14 |
- accuracy
|
| 15 |
- precision
|
| 16 |
- bleu
|
| 17 |
- recall
|
| 18 |
- hack/test_metric
|
| 19 |
-
library_name: transformers
|
| 20 |
pipeline_tag: text-generation
|
| 21 |
---
|
| 22 |
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
datasets:
|
| 3 |
- proj-persona/PersonaHub
|
| 4 |
- Salesforce/xlam-function-calling-60k
|
|
|
|
| 9 |
- Open-Orca/OpenOrca
|
| 10 |
language:
|
| 11 |
- en
|
| 12 |
+
library_name: transformers
|
| 13 |
+
license: unlicense
|
| 14 |
metrics:
|
| 15 |
- accuracy
|
| 16 |
- precision
|
| 17 |
- bleu
|
| 18 |
- recall
|
| 19 |
- hack/test_metric
|
|
|
|
| 20 |
pipeline_tag: text-generation
|
| 21 |
---
|
| 22 |
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 731484912
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84aaebd9c547b71caed84e0e314f9ab8893dbeddb054c0f2a9e3ddfff4ab42a3
|
| 3 |
size 731484912
|