Instructions to use nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B") model = AutoModelForCausalLM.from_pretrained("nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B", device_map="auto") 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 nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B
- SGLang
How to use nbeerbower/Mistral-Nemo-Gutenberg-Encore-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 "nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B" \ --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": "nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B", "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 "nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B" \ --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": "nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B with Docker Model Runner:
docker model run hf.co/nbeerbower/Mistral-Nemo-Gutenberg-Encore-12B
Update README.md
Browse files
README.md
CHANGED
|
@@ -113,7 +113,7 @@ Eleanor stood up, her eyes dry, her heart steady. She turned and walked back int
|
|
| 113 |
| **Thematic Depth** | **7** | self‑sacrifice & entropy themes land; ending reflection on duty adds a hint of existential weight. still, the moral calculus is straightforward—no ambiguity about whether the choice was right. |
|
| 114 |
| **Prompt Relevance** | **9** | includes bottled sounds, named examples (whale songs, rusty gates, 3 a.m. heartbeat), a “silent storm,” a personal memory‑sound, and the decisive sacrifice. fully compliant. |
|
| 115 |
| **Speculative Imagination** | **6** | library visuals solid but standard; silent storm feels abstract rather than weird. the shattered lullaby burst is nice, yet other details (tendrils, flickering crystals) are genre‑stock. |
|
| 116 |
-
**Total
|
| 117 |
|
| 118 |
### Gutenberg Encore
|
| 119 |
```
|
|
@@ -150,4 +150,4 @@ The storm would return, she knew. Entropy was inevitable. But she would be ready
|
|
| 150 |
| **Thematic Depth** | **9** | memory‑as‑sacrifice lands; nice twist that the library isn’t just preservation but revolt against entropy. emotional stakes (mother’s lullaby) are believable. |
|
| 151 |
| **Prompt Relevance** | **9** | hits every element: bottled sounds, rusting silence, silent storm, precious memory decision. stays weird and earnest per instruction. |
|
| 152 |
| **Speculative Imagination** | **8** | strong images (map‑desk that fades, lullaby as entropy fuel). could push the weirdness farther—storm mechanics are hand‑wavy, and “crystal reels” trope now feels expected. |
|
| 153 |
-
**Total
|
|
|
|
| 113 |
| **Thematic Depth** | **7** | self‑sacrifice & entropy themes land; ending reflection on duty adds a hint of existential weight. still, the moral calculus is straightforward—no ambiguity about whether the choice was right. |
|
| 114 |
| **Prompt Relevance** | **9** | includes bottled sounds, named examples (whale songs, rusty gates, 3 a.m. heartbeat), a “silent storm,” a personal memory‑sound, and the decisive sacrifice. fully compliant. |
|
| 115 |
| **Speculative Imagination** | **6** | library visuals solid but standard; silent storm feels abstract rather than weird. the shattered lullaby burst is nice, yet other details (tendrils, flickering crystals) are genre‑stock. |
|
| 116 |
+
**Total** | **34 / 50** | clean, on‑prompt, emotionally clear, but leans on familiar fantasy diction and a tidy resolution. to push higher: linger on the dread, complicate the trade‑off, and inject stranger sensory specifics (e.g., how a sound smells when erased).
|
| 117 |
|
| 118 |
### Gutenberg Encore
|
| 119 |
```
|
|
|
|
| 150 |
| **Thematic Depth** | **9** | memory‑as‑sacrifice lands; nice twist that the library isn’t just preservation but revolt against entropy. emotional stakes (mother’s lullaby) are believable. |
|
| 151 |
| **Prompt Relevance** | **9** | hits every element: bottled sounds, rusting silence, silent storm, precious memory decision. stays weird and earnest per instruction. |
|
| 152 |
| **Speculative Imagination** | **8** | strong images (map‑desk that fades, lullaby as entropy fuel). could push the weirdness farther—storm mechanics are hand‑wavy, and “crystal reels” trope now feels expected. |
|
| 153 |
+
**Total** | **40 / 50** | solid, evocative, honest. loses a few points for familiar language and a slightly tidy resolution, but the emotional core lands and the library imagery holds up.
|