Instructions to use nothingiisreal/MN-12B-Celeste-V1.9 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nothingiisreal/MN-12B-Celeste-V1.9 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nothingiisreal/MN-12B-Celeste-V1.9") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nothingiisreal/MN-12B-Celeste-V1.9") model = AutoModelForCausalLM.from_pretrained("nothingiisreal/MN-12B-Celeste-V1.9") 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
- Local Apps Settings
- vLLM
How to use nothingiisreal/MN-12B-Celeste-V1.9 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nothingiisreal/MN-12B-Celeste-V1.9" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nothingiisreal/MN-12B-Celeste-V1.9", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nothingiisreal/MN-12B-Celeste-V1.9
- SGLang
How to use nothingiisreal/MN-12B-Celeste-V1.9 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 "nothingiisreal/MN-12B-Celeste-V1.9" \ --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": "nothingiisreal/MN-12B-Celeste-V1.9", "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 "nothingiisreal/MN-12B-Celeste-V1.9" \ --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": "nothingiisreal/MN-12B-Celeste-V1.9", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nothingiisreal/MN-12B-Celeste-V1.9 with Docker Model Runner:
docker model run hf.co/nothingiisreal/MN-12B-Celeste-V1.9
Update README.md
Browse files
README.md
CHANGED
|
@@ -28,7 +28,7 @@ license: apache-2.0
|
|
| 28 |
<h1>Mistral Nemo 12B Celeste V1.9</h1>
|
| 29 |
<h2 style="color: red; font-weight: bold;">Read the Usage Tips Below! Use ChatML.</h2><h2>Join <a href="https://discord.gg/EWzsFddYAd">our Discord</a> for testing newer versions and news! We are also on KoboldAI</h2>
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
We trained [Mistral NeMo 12B Instruct](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407) at 8K context using [Reddit Writing Prompts](https://huggingface.co/datasets/nothingiisreal/Reddit-Dirty-And-WritingPrompts), [Kalo's Opus 25K Instruct](https://huggingface.co/datasets/kalomaze/Opus_Instruct_25k) and
|
| 34 |
<br>[c2 logs cleaned](https://huggingface.co/datasets/Sao10K/c2-Logs-Filtered)
|
|
@@ -64,9 +64,16 @@ TODO
|
|
| 64 |
|
| 65 |
<h2>Sampler Settings for V1.9</h2>
|
| 66 |
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
-
If it falls into repetition set rep pen to 1.08 and increase temperature.<br>
|
| 70 |
Don't shy away from experimenting after you get a feel for the model though.
|
| 71 |
|
| 72 |
<h2>Preset</h2>
|
|
|
|
| 28 |
<h1>Mistral Nemo 12B Celeste V1.9</h1>
|
| 29 |
<h2 style="color: red; font-weight: bold;">Read the Usage Tips Below! Use ChatML.</h2><h2>Join <a href="https://discord.gg/EWzsFddYAd">our Discord</a> for testing newer versions and news! We are also on KoboldAI</h2>
|
| 30 |
|
| 31 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/630cf5d14ca0a22768bbe10c/QcU3xEgVu18jeFtMFxIw-.webp" alt="" width="800"/>
|
| 32 |
|
| 33 |
We trained [Mistral NeMo 12B Instruct](https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407) at 8K context using [Reddit Writing Prompts](https://huggingface.co/datasets/nothingiisreal/Reddit-Dirty-And-WritingPrompts), [Kalo's Opus 25K Instruct](https://huggingface.co/datasets/kalomaze/Opus_Instruct_25k) and
|
| 34 |
<br>[c2 logs cleaned](https://huggingface.co/datasets/Sao10K/c2-Logs-Filtered)
|
|
|
|
| 64 |
|
| 65 |
<h2>Sampler Settings for V1.9</h2>
|
| 66 |
|
| 67 |
+
**Okay so there is actually 2 recommended ones this time**
|
| 68 |
+
|
| 69 |
+
I usually start the first few messages with Stable and see how it goes. If it falls into repetition I switch to Creative. But you can also just use either the whole way through, creative may need a few swipes from time to time.
|
| 70 |
+
|
| 71 |
+
<h3>Stable</h3>
|
| 72 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/630cf5d14ca0a22768bbe10c/1m18WnuomY8jEZTA87Iun.png" alt="" width="400"/>
|
| 73 |
+
|
| 74 |
+
<h3>Creative</h3>
|
| 75 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/630cf5d14ca0a22768bbe10c/DaL2hWZst0yW34CYK4df8.png" alt="" width="400"/>
|
| 76 |
|
|
|
|
| 77 |
Don't shy away from experimenting after you get a feel for the model though.
|
| 78 |
|
| 79 |
<h2>Preset</h2>
|