Instructions to use migtissera/Tess-M-Creative-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use migtissera/Tess-M-Creative-v1.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="migtissera/Tess-M-Creative-v1.0")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("migtissera/Tess-M-Creative-v1.0") model = AutoModelForCausalLM.from_pretrained("migtissera/Tess-M-Creative-v1.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use migtissera/Tess-M-Creative-v1.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "migtissera/Tess-M-Creative-v1.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "migtissera/Tess-M-Creative-v1.0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/migtissera/Tess-M-Creative-v1.0
- SGLang
How to use migtissera/Tess-M-Creative-v1.0 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 "migtissera/Tess-M-Creative-v1.0" \ --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": "migtissera/Tess-M-Creative-v1.0", "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 "migtissera/Tess-M-Creative-v1.0" \ --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": "migtissera/Tess-M-Creative-v1.0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use migtissera/Tess-M-Creative-v1.0 with Docker Model Runner:
docker model run hf.co/migtissera/Tess-M-Creative-v1.0
Commit History
Update README.md 87a3a0d
Update README.md 2e2fd11
Update README.md 2c7b514
Update README.md 5d7599b
Update README.md 65a1709
Update README.md 6b25774
Update README.md 0668564
Upload Tess.png 7ac0434
Update README.md abda4c4
Update README.md 8a2f6d7
Update README.md 0b85dd6
first commit 2e9a7ed
Migel Tissera commited on