Text Generation
Transformers
Safetensors
mixtral
Mixture of Experts
frankenmoe
Merge
mergekit
lazymergekit
flemmingmiguel/MBX-7B-v3
Kukedlc/NeuTrixOmniBe-7B-model-remix
PetroGPT/WestSeverus-7B-DPO
vanillaOVO/supermario_v4
Eval Results (legacy)
text-generation-inference
Instructions to use jsfs11/MixtureofMerges-MoE-4x7b-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jsfs11/MixtureofMerges-MoE-4x7b-v4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jsfs11/MixtureofMerges-MoE-4x7b-v4")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jsfs11/MixtureofMerges-MoE-4x7b-v4") model = AutoModelForCausalLM.from_pretrained("jsfs11/MixtureofMerges-MoE-4x7b-v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jsfs11/MixtureofMerges-MoE-4x7b-v4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jsfs11/MixtureofMerges-MoE-4x7b-v4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jsfs11/MixtureofMerges-MoE-4x7b-v4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jsfs11/MixtureofMerges-MoE-4x7b-v4
- SGLang
How to use jsfs11/MixtureofMerges-MoE-4x7b-v4 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 "jsfs11/MixtureofMerges-MoE-4x7b-v4" \ --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": "jsfs11/MixtureofMerges-MoE-4x7b-v4", "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 "jsfs11/MixtureofMerges-MoE-4x7b-v4" \ --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": "jsfs11/MixtureofMerges-MoE-4x7b-v4", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jsfs11/MixtureofMerges-MoE-4x7b-v4 with Docker Model Runner:
docker model run hf.co/jsfs11/MixtureofMerges-MoE-4x7b-v4
Adding Evaluation Results
#3
by leaderboard-pr-bot - opened
README.md
CHANGED
|
@@ -236,3 +236,17 @@ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-le
|
|
| 236 |
|Winogrande (5-shot) |84.85|
|
| 237 |
|GSM8k (5-shot) |71.34|
|
| 238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 236 |
|Winogrande (5-shot) |84.85|
|
| 237 |
|GSM8k (5-shot) |71.34|
|
| 238 |
|
| 239 |
+
|
| 240 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 241 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_jsfs11__MixtureofMerges-MoE-4x7b-v4)
|
| 242 |
+
|
| 243 |
+
| Metric |Value|
|
| 244 |
+
|---------------------------------|----:|
|
| 245 |
+
|Avg. |76.23|
|
| 246 |
+
|AI2 Reasoning Challenge (25-Shot)|72.53|
|
| 247 |
+
|HellaSwag (10-Shot) |88.85|
|
| 248 |
+
|MMLU (5-Shot) |64.53|
|
| 249 |
+
|TruthfulQA (0-shot) |75.30|
|
| 250 |
+
|Winogrande (5-shot) |84.85|
|
| 251 |
+
|GSM8k (5-shot) |71.34|
|
| 252 |
+
|