Text Generation
Transformers
Safetensors
English
llama
text2text-generation
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use pankajmathur/orca_mini_v5_8b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pankajmathur/orca_mini_v5_8b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pankajmathur/orca_mini_v5_8b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("pankajmathur/orca_mini_v5_8b") model = AutoModelForCausalLM.from_pretrained("pankajmathur/orca_mini_v5_8b") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use pankajmathur/orca_mini_v5_8b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pankajmathur/orca_mini_v5_8b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pankajmathur/orca_mini_v5_8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/pankajmathur/orca_mini_v5_8b
- SGLang
How to use pankajmathur/orca_mini_v5_8b 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 "pankajmathur/orca_mini_v5_8b" \ --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": "pankajmathur/orca_mini_v5_8b", "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 "pankajmathur/orca_mini_v5_8b" \ --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": "pankajmathur/orca_mini_v5_8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use pankajmathur/orca_mini_v5_8b with Docker Model Runner:
docker model run hf.co/pankajmathur/orca_mini_v5_8b
Adding Evaluation Results
#1
by leaderboard-pr-bot - opened
README.md
CHANGED
|
@@ -1,9 +1,104 @@
|
|
| 1 |
---
|
| 2 |
-
license: llama3
|
| 3 |
language:
|
| 4 |
- en
|
|
|
|
| 5 |
library_name: transformers
|
| 6 |
pipeline_tag: text2text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
|
| 9 |
**Model Name: llama_3_orca_mini_v5_8b**
|
|
@@ -79,3 +174,17 @@ GGUF : Coming Soon
|
|
| 79 |
|
| 80 |
AWQ: Coming Soon
|
| 81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
license: llama3
|
| 5 |
library_name: transformers
|
| 6 |
pipeline_tag: text2text-generation
|
| 7 |
+
model-index:
|
| 8 |
+
- name: orca_mini_v5_8b
|
| 9 |
+
results:
|
| 10 |
+
- task:
|
| 11 |
+
type: text-generation
|
| 12 |
+
name: Text Generation
|
| 13 |
+
dataset:
|
| 14 |
+
name: IFEval (0-Shot)
|
| 15 |
+
type: HuggingFaceH4/ifeval
|
| 16 |
+
args:
|
| 17 |
+
num_few_shot: 0
|
| 18 |
+
metrics:
|
| 19 |
+
- type: inst_level_strict_acc and prompt_level_strict_acc
|
| 20 |
+
value: 48.06
|
| 21 |
+
name: strict accuracy
|
| 22 |
+
source:
|
| 23 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=pankajmathur/orca_mini_v5_8b
|
| 24 |
+
name: Open LLM Leaderboard
|
| 25 |
+
- task:
|
| 26 |
+
type: text-generation
|
| 27 |
+
name: Text Generation
|
| 28 |
+
dataset:
|
| 29 |
+
name: BBH (3-Shot)
|
| 30 |
+
type: BBH
|
| 31 |
+
args:
|
| 32 |
+
num_few_shot: 3
|
| 33 |
+
metrics:
|
| 34 |
+
- type: acc_norm
|
| 35 |
+
value: 29.35
|
| 36 |
+
name: normalized accuracy
|
| 37 |
+
source:
|
| 38 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=pankajmathur/orca_mini_v5_8b
|
| 39 |
+
name: Open LLM Leaderboard
|
| 40 |
+
- task:
|
| 41 |
+
type: text-generation
|
| 42 |
+
name: Text Generation
|
| 43 |
+
dataset:
|
| 44 |
+
name: MATH Lvl 5 (4-Shot)
|
| 45 |
+
type: hendrycks/competition_math
|
| 46 |
+
args:
|
| 47 |
+
num_few_shot: 4
|
| 48 |
+
metrics:
|
| 49 |
+
- type: exact_match
|
| 50 |
+
value: 7.85
|
| 51 |
+
name: exact match
|
| 52 |
+
source:
|
| 53 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=pankajmathur/orca_mini_v5_8b
|
| 54 |
+
name: Open LLM Leaderboard
|
| 55 |
+
- task:
|
| 56 |
+
type: text-generation
|
| 57 |
+
name: Text Generation
|
| 58 |
+
dataset:
|
| 59 |
+
name: GPQA (0-shot)
|
| 60 |
+
type: Idavidrein/gpqa
|
| 61 |
+
args:
|
| 62 |
+
num_few_shot: 0
|
| 63 |
+
metrics:
|
| 64 |
+
- type: acc_norm
|
| 65 |
+
value: 4.92
|
| 66 |
+
name: acc_norm
|
| 67 |
+
source:
|
| 68 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=pankajmathur/orca_mini_v5_8b
|
| 69 |
+
name: Open LLM Leaderboard
|
| 70 |
+
- task:
|
| 71 |
+
type: text-generation
|
| 72 |
+
name: Text Generation
|
| 73 |
+
dataset:
|
| 74 |
+
name: MuSR (0-shot)
|
| 75 |
+
type: TAUR-Lab/MuSR
|
| 76 |
+
args:
|
| 77 |
+
num_few_shot: 0
|
| 78 |
+
metrics:
|
| 79 |
+
- type: acc_norm
|
| 80 |
+
value: 7.7
|
| 81 |
+
name: acc_norm
|
| 82 |
+
source:
|
| 83 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=pankajmathur/orca_mini_v5_8b
|
| 84 |
+
name: Open LLM Leaderboard
|
| 85 |
+
- task:
|
| 86 |
+
type: text-generation
|
| 87 |
+
name: Text Generation
|
| 88 |
+
dataset:
|
| 89 |
+
name: MMLU-PRO (5-shot)
|
| 90 |
+
type: TIGER-Lab/MMLU-Pro
|
| 91 |
+
config: main
|
| 92 |
+
split: test
|
| 93 |
+
args:
|
| 94 |
+
num_few_shot: 5
|
| 95 |
+
metrics:
|
| 96 |
+
- type: acc
|
| 97 |
+
value: 23.07
|
| 98 |
+
name: accuracy
|
| 99 |
+
source:
|
| 100 |
+
url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard?query=pankajmathur/orca_mini_v5_8b
|
| 101 |
+
name: Open LLM Leaderboard
|
| 102 |
---
|
| 103 |
|
| 104 |
**Model Name: llama_3_orca_mini_v5_8b**
|
|
|
|
| 174 |
|
| 175 |
AWQ: Coming Soon
|
| 176 |
|
| 177 |
+
|
| 178 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)
|
| 179 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_pankajmathur__orca_mini_v5_8b)
|
| 180 |
+
|
| 181 |
+
| Metric |Value|
|
| 182 |
+
|-------------------|----:|
|
| 183 |
+
|Avg. |20.16|
|
| 184 |
+
|IFEval (0-Shot) |48.06|
|
| 185 |
+
|BBH (3-Shot) |29.35|
|
| 186 |
+
|MATH Lvl 5 (4-Shot)| 7.85|
|
| 187 |
+
|GPQA (0-shot) | 4.92|
|
| 188 |
+
|MuSR (0-shot) | 7.70|
|
| 189 |
+
|MMLU-PRO (5-shot) |23.07|
|
| 190 |
+
|