Text Generation
Transformers
Safetensors
NeMo
English
mistral
model_stock
Merge
mergekit
conversational
text-generation-inference
Instructions to use EldritchLabs/Blue20-Model_Stock-12B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EldritchLabs/Blue20-Model_Stock-12B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EldritchLabs/Blue20-Model_Stock-12B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EldritchLabs/Blue20-Model_Stock-12B") model = AutoModelForCausalLM.from_pretrained("EldritchLabs/Blue20-Model_Stock-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]:])) - NeMo
How to use EldritchLabs/Blue20-Model_Stock-12B with NeMo:
# tag did not correspond to a valid NeMo domain.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use EldritchLabs/Blue20-Model_Stock-12B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EldritchLabs/Blue20-Model_Stock-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": "EldritchLabs/Blue20-Model_Stock-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/EldritchLabs/Blue20-Model_Stock-12B
- SGLang
How to use EldritchLabs/Blue20-Model_Stock-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 "EldritchLabs/Blue20-Model_Stock-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": "EldritchLabs/Blue20-Model_Stock-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 "EldritchLabs/Blue20-Model_Stock-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": "EldritchLabs/Blue20-Model_Stock-12B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use EldritchLabs/Blue20-Model_Stock-12B with Docker Model Runner:
docker model run hf.co/EldritchLabs/Blue20-Model_Stock-12B
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- Aleteian/Magnum-Opus-Galatea-MN-12B
|
| 4 |
+
- Azazelle/MN-Halide-12b-v1.0
|
| 5 |
+
- crestf411/MN-Slush
|
| 6 |
+
- DavidAU/MN-GRAND-Gutenberg-Lyra4-Lyra-12B-DARKNESS
|
| 7 |
+
- EldritchLabs/Altair-Stock-12B-v1
|
| 8 |
+
- EldritchLabs/Cactus-Dream-Horror-12B
|
| 9 |
+
- FallenMerick/MN-Violet-Lotus-12B
|
| 10 |
+
- Khetterman/AbominationScience-12B-v4
|
| 11 |
+
- Khetterman/DarkAtom-12B-v3
|
| 12 |
+
- MarinaraSpaghetti/NemoMix-Unleashed-12B
|
| 13 |
+
- Nitral-AI/Captain-Eris_Violet-V0.420-12B
|
| 14 |
+
- ohyeah1/Violet-Lyra-Gutenberg-v2
|
| 15 |
+
- Retreatcost/Darkstar-12B
|
| 16 |
+
- Vortex5/Astral-Noctra-12B
|
| 17 |
+
- Vortex5/Azure-Starlight-12B
|
| 18 |
+
- Vortex5/Crimson-Constellation-12B
|
| 19 |
+
- Vortex5/Red-Synthesis-12B
|
| 20 |
+
- Vortex5/Shining-Seraph-12B
|
| 21 |
+
- Vortex5/Starlit-Shadow-12B
|
| 22 |
+
- Vortex5/Vermilion-Sage-12B
|
| 23 |
+
- yamatazen/BlueLight-12B
|
| 24 |
+
language:
|
| 25 |
+
- en
|
| 26 |
+
library_name: transformers
|
| 27 |
+
license: apache-2.0
|
| 28 |
+
tags:
|
| 29 |
+
- model_stock
|
| 30 |
+
- mistral
|
| 31 |
+
- nemo
|
| 32 |
+
- merge
|
| 33 |
+
- mergekit
|
| 34 |
+
---
|