Text Generation
Transformers
Safetensors
Danish
Swedish
mistral
Merge
mergekit
text-generation-inference
Instructions to use merge-crew/da-sv-task-arithmetic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use merge-crew/da-sv-task-arithmetic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="merge-crew/da-sv-task-arithmetic")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("merge-crew/da-sv-task-arithmetic") model = AutoModelForCausalLM.from_pretrained("merge-crew/da-sv-task-arithmetic") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use merge-crew/da-sv-task-arithmetic with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "merge-crew/da-sv-task-arithmetic" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "merge-crew/da-sv-task-arithmetic", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/merge-crew/da-sv-task-arithmetic
- SGLang
How to use merge-crew/da-sv-task-arithmetic 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 "merge-crew/da-sv-task-arithmetic" \ --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": "merge-crew/da-sv-task-arithmetic", "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 "merge-crew/da-sv-task-arithmetic" \ --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": "merge-crew/da-sv-task-arithmetic", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use merge-crew/da-sv-task-arithmetic with Docker Model Runner:
docker model run hf.co/merge-crew/da-sv-task-arithmetic
Upload MistralForCausalLM
Browse files
model-00001-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4987196936
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a66df1ab67c33c9040c16d39a47f63849312bf1a1adf6e0bd1e3f930b1a84e50
|
| 3 |
size 4987196936
|
model-00002-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4899116440
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6750f5eee9caf77caf11b0bd790a5dde2946b711c59b2bd170356724aed83467
|
| 3 |
size 4899116440
|
model-00003-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4999813120
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:902c8c872cc144f9c77c5279a265842d4ec97dbc7b298b7178d4004edf1d732d
|
| 3 |
size 4999813120
|
model-00004-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4999813128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:acf6e3018b2efd75bc9d3dcdbead51a4f3b003eec1299de2f7779ace7e83a65f
|
| 3 |
size 4999813128
|
model-00005-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4832007496
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73ac94163a9b23134b2e8aa9fbac6a10d2946e52a0f483a2d818402489bb011c
|
| 3 |
size 4832007496
|
model-00006-of-00006.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4249014896
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de64a0f590ac531e917834da437fb0a171a67071db717b060a61e9c92e1fddc3
|
| 3 |
size 4249014896
|