Instructions to use MarinaraSpaghetti/Nemomix-v2.0-12B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MarinaraSpaghetti/Nemomix-v2.0-12B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MarinaraSpaghetti/Nemomix-v2.0-12B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MarinaraSpaghetti/Nemomix-v2.0-12B") model = AutoModelForCausalLM.from_pretrained("MarinaraSpaghetti/Nemomix-v2.0-12B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MarinaraSpaghetti/Nemomix-v2.0-12B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MarinaraSpaghetti/Nemomix-v2.0-12B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MarinaraSpaghetti/Nemomix-v2.0-12B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MarinaraSpaghetti/Nemomix-v2.0-12B
- SGLang
How to use MarinaraSpaghetti/Nemomix-v2.0-12B 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 "MarinaraSpaghetti/Nemomix-v2.0-12B" \ --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": "MarinaraSpaghetti/Nemomix-v2.0-12B", "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 "MarinaraSpaghetti/Nemomix-v2.0-12B" \ --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": "MarinaraSpaghetti/Nemomix-v2.0-12B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MarinaraSpaghetti/Nemomix-v2.0-12B with Docker Model Runner:
docker model run hf.co/MarinaraSpaghetti/Nemomix-v2.0-12B
V4.0 is the best one, use that one.
Information
Description
My main goal is to merge the smartness of the base Instruct Nemo with the better prose from the different roleplaying fine-tunes. This is version v0.2, still to be tested. Not sure if it's better than v1.0. All credits and thanks go to Intervitens, Mistralai, and NeverSleep for providing amazing models used in the merge.
Instruct
Mistral Instruct.
<s>[INST] {system} [/INST]{assistant}</s>[INST] {user} [/INST]
Settings
Lower Temperature of 0.35 recommended, although I had luck with Temperatures above one (1.0-1.2) if you crank up the Min P (0.01-0.1). Run with base DRY of 0.8/1.75/2/0 and you're good to go.
GGUF
https://huggingface.co/MarinaraSpaghetti/Nemomix-v2.0-12B-GGUF
Other Versions
V1: https://huggingface.co/MarinaraSpaghetti/Nemomix-v1.0-12B
V2: https://huggingface.co/MarinaraSpaghetti/Nemomix-v2.0-12B
V3: https://huggingface.co/MarinaraSpaghetti/Nemomix-v3.0-12B
V4: https://huggingface.co/MarinaraSpaghetti/Nemomix-v4.0-12B
Nemomix-v2.0-12B
This is a merge of pre-trained language models created using mergekit.
Merge Details
Merge Method
This model was merged using the Model Stock merge method using F:\mergekit\mistralaiMistral-Nemo-Base-2407 as a base.
Models Merged
The following models were included in the merge:
- F:\mergekit\intervitens_mini-magnum-12b-v1.1
- F:\mergekit\NeverSleep_Lumimaid-v0.2-12B
- F:\mergekit\mistralaiMistral-Nemo-Instruct-2407
Configuration
The following YAML configuration was used to produce this model:
models:
- model: F:\mergekit\NeverSleep_Lumimaid-v0.2-12B
- model: F:\mergekit\intervitens_mini-magnum-12b-v1.1
- model: F:\mergekit\mistralaiMistral-Nemo-Instruct-2407
merge_method: model_stock
base_model: F:\mergekit\mistralaiMistral-Nemo-Base-2407
parameters:
filter_wise: false
dtype: bfloat16
Ko-fi
Enjoying what I do? Consider donating here, thank you!
- Downloads last month
- 30

