Instructions to use TeeZee/GALAXY-XB-v.03 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TeeZee/GALAXY-XB-v.03 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="TeeZee/GALAXY-XB-v.03")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("TeeZee/GALAXY-XB-v.03") model = AutoModelForCausalLM.from_pretrained("TeeZee/GALAXY-XB-v.03") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use TeeZee/GALAXY-XB-v.03 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TeeZee/GALAXY-XB-v.03" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TeeZee/GALAXY-XB-v.03", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/TeeZee/GALAXY-XB-v.03
- SGLang
How to use TeeZee/GALAXY-XB-v.03 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 "TeeZee/GALAXY-XB-v.03" \ --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": "TeeZee/GALAXY-XB-v.03", "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 "TeeZee/GALAXY-XB-v.03" \ --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": "TeeZee/GALAXY-XB-v.03", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use TeeZee/GALAXY-XB-v.03 with Docker Model Runner:
docker model run hf.co/TeeZee/GALAXY-XB-v.03
Adding Evaluation Results
#2
by leaderboard-pr-bot - opened
README.md
CHANGED
|
@@ -130,4 +130,17 @@ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-le
|
|
| 130 |
- small quality loss can be observed comparing to base model, as described in the DUS paper
|
| 131 |
- this merge has best evaluation results, so it will be finetuned to 'recover' from the merge
|
| 132 |
- finetunig will be done on 5-10% of openorca dataset and full DPO datasets used by SOLAR
|
| 133 |
-
- v03 > v01 > v02 - based on average evaluation scores, removing 1/4 of total layers seems to be the correct way to scale DUS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
- small quality loss can be observed comparing to base model, as described in the DUS paper
|
| 131 |
- this merge has best evaluation results, so it will be finetuned to 'recover' from the merge
|
| 132 |
- finetunig will be done on 5-10% of openorca dataset and full DPO datasets used by SOLAR
|
| 133 |
+
- v03 > v01 > v02 - based on average evaluation scores, removing 1/4 of total layers seems to be the correct way to scale DUS
|
| 134 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 135 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_TeeZee__GALAXY-XB-v.03)
|
| 136 |
+
|
| 137 |
+
| Metric |Value|
|
| 138 |
+
|---------------------------------|----:|
|
| 139 |
+
|Avg. |63.37|
|
| 140 |
+
|AI2 Reasoning Challenge (25-Shot)|61.77|
|
| 141 |
+
|HellaSwag (10-Shot) |83.59|
|
| 142 |
+
|MMLU (5-Shot) |64.55|
|
| 143 |
+
|TruthfulQA (0-shot) |44.19|
|
| 144 |
+
|Winogrande (5-shot) |81.06|
|
| 145 |
+
|GSM8k (5-shot) |45.03|
|
| 146 |
+
|