Instructions to use ppx007/ThisIsTest with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ppx007/ThisIsTest with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ppx007/ThisIsTest")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ppx007/ThisIsTest") model = AutoModelForCausalLM.from_pretrained("ppx007/ThisIsTest", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ppx007/ThisIsTest with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ppx007/ThisIsTest" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ppx007/ThisIsTest", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ppx007/ThisIsTest
- SGLang
How to use ppx007/ThisIsTest 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 "ppx007/ThisIsTest" \ --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": "ppx007/ThisIsTest", "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 "ppx007/ThisIsTest" \ --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": "ppx007/ThisIsTest", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use ppx007/ThisIsTest with Docker Model Runner:
docker model run hf.co/ppx007/ThisIsTest
Commit History
-
Trained with Unsloth
Verified signature55114a6 -
Upload tokenizer
Verified signature846f0d9 -
Delete pytorch_model.bin.index.json
Verified signature72a613d -
Delete special_tokens_map.json
Verified signaturecc6133b -
Delete tokenizer.json
Verified signaturef2cec73 -
Delete tokenizer.model
Verified signature1247993 -
Delete tokenizer_config.json
Verified signature5aba5c3 -
Delete generation_config.json
Verified signature6fa6888 -
Delete config.json
Verified signature7a9a46a -
Delete README.md
Verified signaturedb21daa
-
Trained with Unsloth
Verified signaturee0eb0be -
Upload tokenizer
Verified signature348113c -
initial commit
Verified signature1ae753e