Text Generation
Transformers
Safetensors
mixtral
Mixture of Experts
frankenmoe
Merge
mergekit
lazymergekit
mlabonne/NeuralBeagle14-7B
jsfs11/TurdusTrixBeagle-DARETIES-7B
FelixChao/WestSeverus-7B-DPO-v2
CultriX/Wernicke-7B-v7
Eval Results (legacy)
text-generation-inference
Instructions to use jsfs11/MixtureofMerges-MoE-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jsfs11/MixtureofMerges-MoE-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jsfs11/MixtureofMerges-MoE-v2")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jsfs11/MixtureofMerges-MoE-v2") model = AutoModelForCausalLM.from_pretrained("jsfs11/MixtureofMerges-MoE-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jsfs11/MixtureofMerges-MoE-v2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jsfs11/MixtureofMerges-MoE-v2" # 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-v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jsfs11/MixtureofMerges-MoE-v2
- SGLang
How to use jsfs11/MixtureofMerges-MoE-v2 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-v2" \ --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-v2", "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-v2" \ --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-v2", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jsfs11/MixtureofMerges-MoE-v2 with Docker Model Runner:
docker model run hf.co/jsfs11/MixtureofMerges-MoE-v2
Update README.md
Browse files
README.md
CHANGED
|
@@ -19,6 +19,9 @@ base_model:
|
|
| 19 |
|
| 20 |
# MixtureofMerges-MoE-v2
|
| 21 |
|
|
|
|
|
|
|
|
|
|
| 22 |
MixtureofMerges-MoE-v2 is a Mixure of Experts (MoE) made with the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
| 23 |
* [mlabonne/NeuralBeagle14-7B](https://huggingface.co/mlabonne/NeuralBeagle14-7B)
|
| 24 |
* [jsfs11/TurdusTrixBeagle-DARETIES-7B](https://huggingface.co/jsfs11/TurdusTrixBeagle-DARETIES-7B)
|
|
|
|
| 19 |
|
| 20 |
# MixtureofMerges-MoE-v2
|
| 21 |
|
| 22 |
+
Credit to [CultriX/Wernicke-MoE](https://huggingface.co/CultriX/Wernicke-MoE) for the inspiration on this model.
|
| 23 |
+
I'm quite pleased with how it turned out.
|
| 24 |
+
|
| 25 |
MixtureofMerges-MoE-v2 is a Mixure of Experts (MoE) made with the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
| 26 |
* [mlabonne/NeuralBeagle14-7B](https://huggingface.co/mlabonne/NeuralBeagle14-7B)
|
| 27 |
* [jsfs11/TurdusTrixBeagle-DARETIES-7B](https://huggingface.co/jsfs11/TurdusTrixBeagle-DARETIES-7B)
|