Text Generation
Transformers
Safetensors
English
llama
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use QuixiAI/MegaDolphin-120b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuixiAI/MegaDolphin-120b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QuixiAI/MegaDolphin-120b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("QuixiAI/MegaDolphin-120b") model = AutoModelForCausalLM.from_pretrained("QuixiAI/MegaDolphin-120b") 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 QuixiAI/MegaDolphin-120b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QuixiAI/MegaDolphin-120b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QuixiAI/MegaDolphin-120b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/QuixiAI/MegaDolphin-120b
- SGLang
How to use QuixiAI/MegaDolphin-120b 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 "QuixiAI/MegaDolphin-120b" \ --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": "QuixiAI/MegaDolphin-120b", "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 "QuixiAI/MegaDolphin-120b" \ --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": "QuixiAI/MegaDolphin-120b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use QuixiAI/MegaDolphin-120b with Docker Model Runner:
docker model run hf.co/QuixiAI/MegaDolphin-120b
Update README.md
#6
by Balajirajput966 - opened
README.md
CHANGED
|
@@ -7,6 +7,9 @@ datasets:
|
|
| 7 |
- jondurbin/airoboros-2.2.1
|
| 8 |
- ehartford/samantha-data
|
| 9 |
- ehartford/WizardLM_evol_instruct_V2_196k_unfiltered_merged_split
|
|
|
|
|
|
|
|
|
|
| 10 |
base_model:
|
| 11 |
- cognitivecomputations/dolphin-2.2-70b
|
| 12 |
- cognitivecomputations/dolphin-2.2-70b
|
|
@@ -33,7 +36,8 @@ model-index:
|
|
| 33 |
value: 69.03
|
| 34 |
name: normalized accuracy
|
| 35 |
source:
|
| 36 |
-
url:
|
|
|
|
| 37 |
name: Open LLM Leaderboard
|
| 38 |
- task:
|
| 39 |
type: text-generation
|
|
@@ -49,7 +53,8 @@ model-index:
|
|
| 49 |
value: 87.8
|
| 50 |
name: normalized accuracy
|
| 51 |
source:
|
| 52 |
-
url:
|
|
|
|
| 53 |
name: Open LLM Leaderboard
|
| 54 |
- task:
|
| 55 |
type: text-generation
|
|
@@ -66,7 +71,8 @@ model-index:
|
|
| 66 |
value: 69.26
|
| 67 |
name: accuracy
|
| 68 |
source:
|
| 69 |
-
url:
|
|
|
|
| 70 |
name: Open LLM Leaderboard
|
| 71 |
- task:
|
| 72 |
type: text-generation
|
|
@@ -82,7 +88,8 @@ model-index:
|
|
| 82 |
- type: mc2
|
| 83 |
value: 59.28
|
| 84 |
source:
|
| 85 |
-
url:
|
|
|
|
| 86 |
name: Open LLM Leaderboard
|
| 87 |
- task:
|
| 88 |
type: text-generation
|
|
@@ -99,7 +106,8 @@ model-index:
|
|
| 99 |
value: 81.85
|
| 100 |
name: accuracy
|
| 101 |
source:
|
| 102 |
-
url:
|
|
|
|
| 103 |
name: Open LLM Leaderboard
|
| 104 |
- task:
|
| 105 |
type: text-generation
|
|
@@ -116,8 +124,16 @@ model-index:
|
|
| 116 |
value: 46.25
|
| 117 |
name: accuracy
|
| 118 |
source:
|
| 119 |
-
url:
|
|
|
|
| 120 |
name: Open LLM Leaderboard
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
---
|
| 122 |
|
| 123 |
MegaDolphin 2.2 120b 🐬
|
|
@@ -416,5 +432,4 @@ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-le
|
|
| 416 |
|MMLU (5-Shot) |69.26|
|
| 417 |
|TruthfulQA (0-shot) |59.28|
|
| 418 |
|Winogrande (5-shot) |81.85|
|
| 419 |
-
|GSM8k (5-shot) |46.25|
|
| 420 |
-
|
|
|
|
| 7 |
- jondurbin/airoboros-2.2.1
|
| 8 |
- ehartford/samantha-data
|
| 9 |
- ehartford/WizardLM_evol_instruct_V2_196k_unfiltered_merged_split
|
| 10 |
+
- fka/awesome-chatgpt-prompts
|
| 11 |
+
- nvidia/Nemotron-Post-Training-Dataset-v1
|
| 12 |
+
- frascuchon/fka_awesome-chatgpt-prompts__prompts.csv2
|
| 13 |
base_model:
|
| 14 |
- cognitivecomputations/dolphin-2.2-70b
|
| 15 |
- cognitivecomputations/dolphin-2.2-70b
|
|
|
|
| 36 |
value: 69.03
|
| 37 |
name: normalized accuracy
|
| 38 |
source:
|
| 39 |
+
url: >-
|
| 40 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=cognitivecomputations/MegaDolphin-120b
|
| 41 |
name: Open LLM Leaderboard
|
| 42 |
- task:
|
| 43 |
type: text-generation
|
|
|
|
| 53 |
value: 87.8
|
| 54 |
name: normalized accuracy
|
| 55 |
source:
|
| 56 |
+
url: >-
|
| 57 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=cognitivecomputations/MegaDolphin-120b
|
| 58 |
name: Open LLM Leaderboard
|
| 59 |
- task:
|
| 60 |
type: text-generation
|
|
|
|
| 71 |
value: 69.26
|
| 72 |
name: accuracy
|
| 73 |
source:
|
| 74 |
+
url: >-
|
| 75 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=cognitivecomputations/MegaDolphin-120b
|
| 76 |
name: Open LLM Leaderboard
|
| 77 |
- task:
|
| 78 |
type: text-generation
|
|
|
|
| 88 |
- type: mc2
|
| 89 |
value: 59.28
|
| 90 |
source:
|
| 91 |
+
url: >-
|
| 92 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=cognitivecomputations/MegaDolphin-120b
|
| 93 |
name: Open LLM Leaderboard
|
| 94 |
- task:
|
| 95 |
type: text-generation
|
|
|
|
| 106 |
value: 81.85
|
| 107 |
name: accuracy
|
| 108 |
source:
|
| 109 |
+
url: >-
|
| 110 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=cognitivecomputations/MegaDolphin-120b
|
| 111 |
name: Open LLM Leaderboard
|
| 112 |
- task:
|
| 113 |
type: text-generation
|
|
|
|
| 124 |
value: 46.25
|
| 125 |
name: accuracy
|
| 126 |
source:
|
| 127 |
+
url: >-
|
| 128 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=cognitivecomputations/MegaDolphin-120b
|
| 129 |
name: Open LLM Leaderboard
|
| 130 |
+
metrics:
|
| 131 |
+
- accuracy
|
| 132 |
+
new_version: google/gemma-3-270m
|
| 133 |
+
pipeline_tag: any-to-any
|
| 134 |
+
library_name: adapter-transformers
|
| 135 |
+
tags:
|
| 136 |
+
- biology
|
| 137 |
---
|
| 138 |
|
| 139 |
MegaDolphin 2.2 120b 🐬
|
|
|
|
| 432 |
|MMLU (5-Shot) |69.26|
|
| 433 |
|TruthfulQA (0-shot) |59.28|
|
| 434 |
|Winogrande (5-shot) |81.85|
|
| 435 |
+
|GSM8k (5-shot) |46.25|
|
|
|