Text Generation
Transformers
Safetensors
English
mistral
4-bit precision
AWQ
text-generation-inference
awq
Instructions to use solidrust/Garbage_9B-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use solidrust/Garbage_9B-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="solidrust/Garbage_9B-AWQ")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("solidrust/Garbage_9B-AWQ") model = AutoModelForCausalLM.from_pretrained("solidrust/Garbage_9B-AWQ") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use solidrust/Garbage_9B-AWQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "solidrust/Garbage_9B-AWQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "solidrust/Garbage_9B-AWQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/solidrust/Garbage_9B-AWQ
- SGLang
How to use solidrust/Garbage_9B-AWQ 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 "solidrust/Garbage_9B-AWQ" \ --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": "solidrust/Garbage_9B-AWQ", "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 "solidrust/Garbage_9B-AWQ" \ --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": "solidrust/Garbage_9B-AWQ", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use solidrust/Garbage_9B-AWQ with Docker Model Runner:
docker model run hf.co/solidrust/Garbage_9B-AWQ
Updated and moved existing to merged_models base_model tag in README.md
Browse files
README.md
CHANGED
|
@@ -1,22 +1,23 @@
|
|
| 1 |
---
|
| 2 |
-
base_model:
|
| 3 |
-
- ChaoticNeutrals/InfinityNexus_9B
|
| 4 |
-
- jeiku/luna_lora_9B
|
| 5 |
-
library_name: transformers
|
| 6 |
-
license: apache-2.0
|
| 7 |
datasets:
|
| 8 |
- ResplendentAI/Luna_Alpaca
|
|
|
|
| 9 |
language:
|
| 10 |
- en
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
tags:
|
| 12 |
- 4-bit
|
| 13 |
- AWQ
|
| 14 |
- text-generation
|
| 15 |
- autotrain_compatible
|
| 16 |
- endpoints_compatible
|
| 17 |
-
pipeline_tag: text-generation
|
| 18 |
-
inference: false
|
| 19 |
-
quantized_by: Suparious
|
| 20 |
---
|
| 21 |
# jeiku/Garbage_9B AWQ
|
| 22 |
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: jeiku/Garbage_9B
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
datasets:
|
| 4 |
- ResplendentAI/Luna_Alpaca
|
| 5 |
+
inference: false
|
| 6 |
language:
|
| 7 |
- en
|
| 8 |
+
library_name: transformers
|
| 9 |
+
license: apache-2.0
|
| 10 |
+
merged_models:
|
| 11 |
+
- ChaoticNeutrals/InfinityNexus_9B
|
| 12 |
+
- jeiku/luna_lora_9B
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
quantized_by: Suparious
|
| 15 |
tags:
|
| 16 |
- 4-bit
|
| 17 |
- AWQ
|
| 18 |
- text-generation
|
| 19 |
- autotrain_compatible
|
| 20 |
- endpoints_compatible
|
|
|
|
|
|
|
|
|
|
| 21 |
---
|
| 22 |
# jeiku/Garbage_9B AWQ
|
| 23 |
|