Text Generation
Transformers
Safetensors
German
English
mistral
mergekit
Merge
text-generation-inference
Instructions to use MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B") model = AutoModelForCausalLM.from_pretrained("MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B
- SGLang
How to use MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B 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 "MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B" \ --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": "MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B", "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 "MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B" \ --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": "MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B with Docker Model Runner:
docker model run hf.co/MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B
Download model-00002-of-00004.safetensors from MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B: direct link, hf CLI and curl.
- Browser
- Download file 3.94 GB
-
https://huggingface.co/MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B/resolve/main/model-00002-of-00004.safetensors
- Command line
-
hf download hf://MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B/model-00002-of-00004.safetensors
-
curl -L -o model-00002-of-00004.safetensors https://huggingface.co/MarcGrumpyOlejak/VerwaltungsAnthologie_Disco_simbad_7B/resolve/main/model-00002-of-00004.safetensors
3.94 GB
- Xet hash:
- 4c2bf33a56ba4254aa4c51d81911be7273fcefac9d5a45573ac77d874c07245b
- Size of remote file:
- 3.94 GB
- SHA256:
- a2b0386785398ae53f55e0d5e5ebb4d5f37f2306fbd47e97de9904ab0cede5a7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.