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
- 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:2b524a4593ddbe5c8a57c7f2b8a69ab6a5e69694d57bf43b11aa3d04db4fbec8
|
| 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:86ffb9612c5b5893c1527fcecdb2b82666cef53612b1b313bd18c43f37e8bb84
|
| 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:b9762f7d62fd4e6e90432517de38373a98549d0e87b36c05d2a116fc36427ffa
|
| 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:b20d4c7188e378500d2a141264bf16c1f968599aabdc573a2528980c10cdab84
|
| 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:330c22ad4147f8222fcd547eae140f79c763fd5d4f684c8e11b95740741d94c3
|
| 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:4a016261d234492b16916413b4a32a01b7b5dc46b4e76d2e637073d9495a75e8
|
| 3 |
size 4249014896
|