Text Generation
Transformers
Safetensors
English
mistral
pretrained
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use Felladrin/Minueza-32M-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Felladrin/Minueza-32M-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Felladrin/Minueza-32M-Base") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Felladrin/Minueza-32M-Base") model = AutoModelForCausalLM.from_pretrained("Felladrin/Minueza-32M-Base") 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Felladrin/Minueza-32M-Base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Felladrin/Minueza-32M-Base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Felladrin/Minueza-32M-Base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Felladrin/Minueza-32M-Base
- SGLang
How to use Felladrin/Minueza-32M-Base 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 "Felladrin/Minueza-32M-Base" \ --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": "Felladrin/Minueza-32M-Base", "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 "Felladrin/Minueza-32M-Base" \ --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": "Felladrin/Minueza-32M-Base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Felladrin/Minueza-32M-Base with Docker Model Runner:
docker model run hf.co/Felladrin/Minueza-32M-Base
Add reference to Felladrin/Minueza-2-96M
Browse files
README.md
CHANGED
|
@@ -27,7 +27,8 @@ widget:
|
|
| 27 |
content: Water, planet, resource, future
|
| 28 |
- messages:
|
| 29 |
- role: user
|
| 30 |
-
content:
|
|
|
|
| 31 |
world. The story takes place in a...
|
| 32 |
inference:
|
| 33 |
parameters:
|
|
@@ -55,7 +56,8 @@ model-index:
|
|
| 55 |
value: 21.33
|
| 56 |
name: normalized accuracy
|
| 57 |
source:
|
| 58 |
-
url:
|
|
|
|
| 59 |
name: Open LLM Leaderboard
|
| 60 |
- task:
|
| 61 |
type: text-generation
|
|
@@ -71,7 +73,8 @@ model-index:
|
|
| 71 |
value: 26.39
|
| 72 |
name: normalized accuracy
|
| 73 |
source:
|
| 74 |
-
url:
|
|
|
|
| 75 |
name: Open LLM Leaderboard
|
| 76 |
- task:
|
| 77 |
type: text-generation
|
|
@@ -88,7 +91,8 @@ model-index:
|
|
| 88 |
value: 24.8
|
| 89 |
name: accuracy
|
| 90 |
source:
|
| 91 |
-
url:
|
|
|
|
| 92 |
name: Open LLM Leaderboard
|
| 93 |
- task:
|
| 94 |
type: text-generation
|
|
@@ -104,7 +108,8 @@ model-index:
|
|
| 104 |
- type: mc2
|
| 105 |
value: 47.45
|
| 106 |
source:
|
| 107 |
-
url:
|
|
|
|
| 108 |
name: Open LLM Leaderboard
|
| 109 |
- task:
|
| 110 |
type: text-generation
|
|
@@ -121,7 +126,8 @@ model-index:
|
|
| 121 |
value: 53.2
|
| 122 |
name: accuracy
|
| 123 |
source:
|
| 124 |
-
url:
|
|
|
|
| 125 |
name: Open LLM Leaderboard
|
| 126 |
- task:
|
| 127 |
type: text-generation
|
|
@@ -138,8 +144,10 @@ model-index:
|
|
| 138 |
value: 0.38
|
| 139 |
name: accuracy
|
| 140 |
source:
|
| 141 |
-
url:
|
|
|
|
| 142 |
name: Open LLM Leaderboard
|
|
|
|
| 143 |
---
|
| 144 |
|
| 145 |
# Minueza-32M-Base
|
|
@@ -258,4 +266,4 @@ Detailed results can be found [here](https://huggingface.co/datasets/open-llm-le
|
|
| 258 |
|
| 259 |
## License
|
| 260 |
|
| 261 |
-
This model is licensed under the [Apache License 2.0](https://huggingface.co/Felladrin/Minueza-32M-Base/resolve/main/license.txt).
|
|
|
|
| 27 |
content: Water, planet, resource, future
|
| 28 |
- messages:
|
| 29 |
- role: user
|
| 30 |
+
content: >-
|
| 31 |
+
Background story of an RPG game about wizards and dragons in a sci-fi
|
| 32 |
world. The story takes place in a...
|
| 33 |
inference:
|
| 34 |
parameters:
|
|
|
|
| 56 |
value: 21.33
|
| 57 |
name: normalized accuracy
|
| 58 |
source:
|
| 59 |
+
url: >-
|
| 60 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Felladrin/Minueza-32M-Base
|
| 61 |
name: Open LLM Leaderboard
|
| 62 |
- task:
|
| 63 |
type: text-generation
|
|
|
|
| 73 |
value: 26.39
|
| 74 |
name: normalized accuracy
|
| 75 |
source:
|
| 76 |
+
url: >-
|
| 77 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Felladrin/Minueza-32M-Base
|
| 78 |
name: Open LLM Leaderboard
|
| 79 |
- task:
|
| 80 |
type: text-generation
|
|
|
|
| 91 |
value: 24.8
|
| 92 |
name: accuracy
|
| 93 |
source:
|
| 94 |
+
url: >-
|
| 95 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Felladrin/Minueza-32M-Base
|
| 96 |
name: Open LLM Leaderboard
|
| 97 |
- task:
|
| 98 |
type: text-generation
|
|
|
|
| 108 |
- type: mc2
|
| 109 |
value: 47.45
|
| 110 |
source:
|
| 111 |
+
url: >-
|
| 112 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Felladrin/Minueza-32M-Base
|
| 113 |
name: Open LLM Leaderboard
|
| 114 |
- task:
|
| 115 |
type: text-generation
|
|
|
|
| 126 |
value: 53.2
|
| 127 |
name: accuracy
|
| 128 |
source:
|
| 129 |
+
url: >-
|
| 130 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Felladrin/Minueza-32M-Base
|
| 131 |
name: Open LLM Leaderboard
|
| 132 |
- task:
|
| 133 |
type: text-generation
|
|
|
|
| 144 |
value: 0.38
|
| 145 |
name: accuracy
|
| 146 |
source:
|
| 147 |
+
url: >-
|
| 148 |
+
https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard?query=Felladrin/Minueza-32M-Base
|
| 149 |
name: Open LLM Leaderboard
|
| 150 |
+
new_version: Felladrin/Minueza-2-96M
|
| 151 |
---
|
| 152 |
|
| 153 |
# Minueza-32M-Base
|
|
|
|
| 266 |
|
| 267 |
## License
|
| 268 |
|
| 269 |
+
This model is licensed under the [Apache License 2.0](https://huggingface.co/Felladrin/Minueza-32M-Base/resolve/main/license.txt).
|