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