Text Generation
Transformers
Safetensors
mistral
Merge
mergekit
lazymergekit
abideen/NexoNimbus-7B
fblgit/UNA-TheBeagle-7b-v1
argilla/distilabeled-Marcoro14-7B-slerp
text-generation-inference
Instructions to use CultriX/MergeTrix-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CultriX/MergeTrix-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CultriX/MergeTrix-7B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CultriX/MergeTrix-7B") model = AutoModelForCausalLM.from_pretrained("CultriX/MergeTrix-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CultriX/MergeTrix-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CultriX/MergeTrix-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CultriX/MergeTrix-7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/CultriX/MergeTrix-7B
- SGLang
How to use CultriX/MergeTrix-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 "CultriX/MergeTrix-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": "CultriX/MergeTrix-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 "CultriX/MergeTrix-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": "CultriX/MergeTrix-7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use CultriX/MergeTrix-7B with Docker Model Runner:
docker model run hf.co/CultriX/MergeTrix-7B
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,12 +23,18 @@ However I do not want to mislead anybody or produce any unfair scores, hence thi
|
|
| 23 |
The full training configuration is also fully transparant and can be found below.
|
| 24 |
|
| 25 |
Hope this model will prove useful.
|
| 26 |
-
There's GGUF versions available here: https://huggingface.co/CultriX/MergeTrix-7B-GGUF
|
| 27 |
|
| 28 |
Kind regards,
|
| 29 |
CultriX
|
| 30 |
|
| 31 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
MergeTrix-7B is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
| 34 |
* [abideen/NexoNimbus-7B](https://huggingface.co/abideen/NexoNimbus-7B)
|
|
|
|
| 23 |
The full training configuration is also fully transparant and can be found below.
|
| 24 |
|
| 25 |
Hope this model will prove useful.
|
| 26 |
+
There's GGUF versions available here for inference: https://huggingface.co/CultriX/MergeTrix-7B-GGUF
|
| 27 |
|
| 28 |
Kind regards,
|
| 29 |
CultriX
|
| 30 |
|
| 31 |
+
# Shoutout
|
| 32 |
+
Once again, a major thank you and shoutout to @mlabonne for his amazing article that I used to produce this result which can be found here: https://towardsdatascience.com/merge-large-language-models-with-mergekit-2118fb392b54
|
| 33 |
+
My other model, CultriX/MistralTrix-v1, was based on another great article from the same guy, which can be found here: https://towardsdatascience.com/fine-tune-a-mistral-7b-model-with-direct-preference-optimization-708042745aac
|
| 34 |
+
(I hope he doesn't mind me using his own articles to beat him on the LeaderBoards for the second time this week... Like last time, all credit should be directed at him really!)
|
| 35 |
+
|
| 36 |
+
# MODEL INFORMATION:
|
| 37 |
+
# NAME: MergeTrix-7B
|
| 38 |
|
| 39 |
MergeTrix-7B is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
|
| 40 |
* [abideen/NexoNimbus-7B](https://huggingface.co/abideen/NexoNimbus-7B)
|