Instructions to use Malte0621/test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Malte0621/test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Malte0621/test")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Malte0621/test", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Malte0621/test with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Malte0621/test" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Malte0621/test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Malte0621/test
- SGLang
How to use Malte0621/test 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 "Malte0621/test" \ --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": "Malte0621/test", "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 "Malte0621/test" \ --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": "Malte0621/test", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Malte0621/test with Docker Model Runner:
docker model run hf.co/Malte0621/test
Upload folder using huggingface_hub
Browse files- .gitattributes +5 -0
- model-123K-F32.gguf +3 -0
- model-235K-F32.gguf +3 -0
- model-394K-F32.gguf +3 -0
- model-66K-F32.gguf +3 -0
- model-6M-F32.gguf +3 -0
.gitattributes
CHANGED
|
@@ -44,3 +44,8 @@ model-235K.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 44 |
model-394K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
model-66K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
model-6M.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
model-394K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
model-66K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
model-6M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
model-123K-F32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
model-235K-F32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
model-394K-F32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
model-66K-F32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
model-6M-F32.gguf filter=lfs diff=lfs merge=lfs -text
|
model-123K-F32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3421a08816cea98e63aab4c80b33ef86bf387e770436b9977938edbd1b67a575
|
| 3 |
+
size 502528
|
model-235K-F32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf991418ac1c294e240a6247d2217c07261d7eb1bc5a4dbece6cd4de039af21f
|
| 3 |
+
size 949568
|
model-394K-F32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c1506b507322b47c88b696f82001c432a3a3bb286a22eb91760bdb3d8f18421c
|
| 3 |
+
size 1585408
|
model-66K-F32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f9b90ce97f3d68e98c905f537db930ccdb9ca42c9abfd314b09d8b5c58222ee
|
| 3 |
+
size 269184
|
model-6M-F32.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70d887e5ed62bbaebef7699ef437d1a566485ad00add3ae713b323f4ab27b224
|
| 3 |
+
size 31227840
|