Instructions to use Weyaxi/SlimOpenOrca-Mistral-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Weyaxi/SlimOpenOrca-Mistral-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Weyaxi/SlimOpenOrca-Mistral-7B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Weyaxi/SlimOpenOrca-Mistral-7B") model = AutoModelForCausalLM.from_pretrained("Weyaxi/SlimOpenOrca-Mistral-7B", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Weyaxi/SlimOpenOrca-Mistral-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Weyaxi/SlimOpenOrca-Mistral-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Weyaxi/SlimOpenOrca-Mistral-7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Weyaxi/SlimOpenOrca-Mistral-7B
- SGLang
How to use Weyaxi/SlimOpenOrca-Mistral-7B 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 "Weyaxi/SlimOpenOrca-Mistral-7B" \ --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": "Weyaxi/SlimOpenOrca-Mistral-7B", "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 "Weyaxi/SlimOpenOrca-Mistral-7B" \ --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": "Weyaxi/SlimOpenOrca-Mistral-7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Weyaxi/SlimOpenOrca-Mistral-7B with Docker Model Runner:
docker model run hf.co/Weyaxi/SlimOpenOrca-Mistral-7B
Adding Evaluation Results
#2
by leaderboard-pr-bot - opened
README.md
CHANGED
|
@@ -42,4 +42,17 @@ Quantizationed versions of this model is available thanks to [TheBloke](https://
|
|
| 42 |
| ARC (25-shot) | 62.97 |
|
| 43 |
| HellaSwag (10-shot) | 83.49 |
|
| 44 |
| MMLU (5-shot) | 62.3 |
|
| 45 |
-
| TruthfulQA (0-shot) | 57.39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
| ARC (25-shot) | 62.97 |
|
| 43 |
| HellaSwag (10-shot) | 83.49 |
|
| 44 |
| MMLU (5-shot) | 62.3 |
|
| 45 |
+
| TruthfulQA (0-shot) | 57.39 |
|
| 46 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 47 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_Weyaxi__SlimOpenOrca-Mistral-7B)
|
| 48 |
+
|
| 49 |
+
| Metric | Value |
|
| 50 |
+
|-----------------------|---------------------------|
|
| 51 |
+
| Avg. | 53.43 |
|
| 52 |
+
| ARC (25-shot) | 62.97 |
|
| 53 |
+
| HellaSwag (10-shot) | 83.49 |
|
| 54 |
+
| MMLU (5-shot) | 62.3 |
|
| 55 |
+
| TruthfulQA (0-shot) | 57.39 |
|
| 56 |
+
| Winogrande (5-shot) | 77.43 |
|
| 57 |
+
| GSM8K (5-shot) | 21.46 |
|
| 58 |
+
| DROP (3-shot) | 9.01 |
|