Instructions to use Moraliane/SAINEMO-reMIX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Moraliane/SAINEMO-reMIX with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Moraliane/SAINEMO-reMIX") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Moraliane/SAINEMO-reMIX") model = AutoModelForCausalLM.from_pretrained("Moraliane/SAINEMO-reMIX") 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]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Moraliane/SAINEMO-reMIX with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Moraliane/SAINEMO-reMIX" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Moraliane/SAINEMO-reMIX", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Moraliane/SAINEMO-reMIX
- SGLang
How to use Moraliane/SAINEMO-reMIX 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 "Moraliane/SAINEMO-reMIX" \ --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": "Moraliane/SAINEMO-reMIX", "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 "Moraliane/SAINEMO-reMIX" \ --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": "Moraliane/SAINEMO-reMIX", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Moraliane/SAINEMO-reMIX with Docker Model Runner:
docker model run hf.co/Moraliane/SAINEMO-reMIX
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 "Moraliane/SAINEMO-reMIX" \
--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": "Moraliane/SAINEMO-reMIX",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'SAINEMO-reMIX
GGUF: thx team mradermacher
https://huggingface.co/mradermacher/SAINEMO-reMIX-GGUF
GGUF imatrix
https://huggingface.co/mradermacher/SAINEMO-reMIX-i1-GGUF
learderboard
Presets
The given presets are quite suitable for this model. https://huggingface.co/MarinaraSpaghetti/SillyTavern-Settings/tree/main/Customized/Mistral%20Improved
Sampler
Temp - 0,7 - 1,2 ~
TopA - 0,1
DRY - 0,8 1,75 2 0
I recommend trying the stock presets from SillyTavern, such as simple-1.
This is a merge of pre-trained language models created using mergekit.
Merge Details
Merge Method
This model was merged using the della_linear merge method using E:\Programs\TextGen\text-generation-webui\models\IlyaGusev_saiga_nemo_12b as a base.
Models Merged
The following models were included in the merge:
- E:\Programs\TextGen\text-generation-webui\models\elinas_Chronos-Gold-12B-1.0
- E:\Programs\TextGen\text-generation-webui\models\Vikhrmodels_Vikhr-Nemo-12B-Instruct-R-21-09-24
- E:\Programs\TextGen\text-generation-webui\models\MarinaraSpaghetti_NemoMix-Unleashed-12B
Configuration
The following YAML configuration was used to produce this model:
models:
- model: E:\Programs\TextGen\text-generation-webui\models\IlyaGusev_saiga_nemo_12b
parameters:
weight: 0.55 # ะัะฝะพะฒะฝะพะน ะฐะบัะตะฝั ะฝะฐ ััััะบะพะผ ัะทัะบะต
density: 0.4
- model: E:\Programs\TextGen\text-generation-webui\models\MarinaraSpaghetti_NemoMix-Unleashed-12B
parameters:
weight: 0.2 # ะ ะ ะผะพะดะตะปั, ัััั ะผะตะฝััะธะน ะฒะตั ะธะท-ะทะฐ ะพัะธะตะฝัะฐัะธะธ ะฝะฐ ะฐะฝะณะปะธะนัะบะธะน
density: 0.4
- model: E:\Programs\TextGen\text-generation-webui\models\elinas_Chronos-Gold-12B-1.0
parameters:
weight: 0.15 # ะัะพัะฐั ะ ะ ะผะพะดะตะปั
density: 0.4
- model: E:\Programs\TextGen\text-generation-webui\models\Vikhrmodels_Vikhr-Nemo-12B-Instruct-R-21-09-24
parameters:
weight: 0.25 # ะ ัััะบะพัะทััะฝะฐั ะฟะพะดะดะตัะถะบะฐ ะธ ะฑะฐะปะฐะฝั
density: 0.4
merge_method: della_linear
base_model: E:\Programs\TextGen\text-generation-webui\models\IlyaGusev_saiga_nemo_12b
parameters:
epsilon: 0.05
lambda: 1
dtype: float16
tokenizer_source: base
- Downloads last month
- 831


Install from pip and serve model
# Install SGLang from pip: pip install sglang# Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Moraliane/SAINEMO-reMIX" \ --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": "Moraliane/SAINEMO-reMIX", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'