Instructions to use darkstudio009/Vanessa-1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use darkstudio009/Vanessa-1B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="darkstudio009/Vanessa-1B")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("darkstudio009/Vanessa-1B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use darkstudio009/Vanessa-1B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "darkstudio009/Vanessa-1B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "darkstudio009/Vanessa-1B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/darkstudio009/Vanessa-1B
- SGLang
How to use darkstudio009/Vanessa-1B 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 "darkstudio009/Vanessa-1B" \ --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": "darkstudio009/Vanessa-1B", "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 "darkstudio009/Vanessa-1B" \ --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": "darkstudio009/Vanessa-1B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use darkstudio009/Vanessa-1B with Docker Model Runner:
docker model run hf.co/darkstudio009/Vanessa-1B
Commit History
-
Upload pretok_progress.json with huggingface_hub
Verified signature1746484 -
Upload pretok_progress.json with huggingface_hub
Verified signature591a88f -
Upload pretok_progress.json with huggingface_hub
Verified signature930922e -
Upload pretok_progress.json with huggingface_hub
Verified signature55bb4e7 -
Upload pretok_progress.json with huggingface_hub
Verified signature9678328 -
Upload pretok_progress.json with huggingface_hub
Verified signaturefb1728e -
Upload pretok_progress.json with huggingface_hub
Verified signature45a09bc -
Upload pretok_progress.json with huggingface_hub
Verified signature6cc617e -
Upload pretok_progress.json with huggingface_hub
Verified signature73ab467 -
Upload pretok_progress.json with huggingface_hub
Verified signature9bc05b0 -
Upload pretok_progress.json with huggingface_hub
Verified signatureca26303 -
Upload pretok_progress.json with huggingface_hub
Verified signaturef069f6d -
Upload pretok_progress.json with huggingface_hub
Verified signature50f6558 -
Upload pretok_progress.json with huggingface_hub
Verified signatureb21d151 -
Upload pretok_progress.json with huggingface_hub
Verified signaturede59b97 -
Upload pretok_progress.json with huggingface_hub
Verified signatureb06dcfb -
Upload pretok_progress.json with huggingface_hub
Verified signature0461a3e -
Upload pretok_progress.json with huggingface_hub
Verified signaturec4c3e1f -
Upload pretok_progress.json with huggingface_hub
Verified signatured67f859 -
Upload pretok_progress.json with huggingface_hub
Verified signature7c1bae5 -
Upload pretok_progress.json with huggingface_hub
Verified signature46da8e5 -
Upload pretok_progress.json with huggingface_hub
Verified signaturebd20426 -
Upload pretok_progress.json with huggingface_hub
Verified signatureec935c8 -
Upload pretok_progress.json with huggingface_hub
Verified signature39fbae9 -
Upload pretok_progress.json with huggingface_hub
Verified signature78043b0 -
Upload pretok_progress.json with huggingface_hub
Verified signature77e4a67 -
Upload pretok_progress.json with huggingface_hub
Verified signature2d7d695 -
Upload pretok_progress.json with huggingface_hub
Verified signature86885ad -
Upload pretok_progress.json with huggingface_hub
Verified signature4e7f7b2 -
Upload pretok_progress.json with huggingface_hub
Verified signature49c1502 -
Upload pretok_progress.json with huggingface_hub
Verified signature8ac4ae4 -
Upload pretok_progress.json with huggingface_hub
Verified signaturefbff494 -
Upload pretok_progress.json with huggingface_hub
Verified signatureaa9264a -
Upload pretok_progress.json with huggingface_hub
Verified signaturecb6e8a8 -
Upload pretok_progress.json with huggingface_hub
Verified signature9f8475d -
Upload pretok_progress.json with huggingface_hub
Verified signature331d86a -
Upload pretok_progress.json with huggingface_hub
Verified signatureda3c5c5 -
Upload pretok_progress.json with huggingface_hub
Verified signature458078f -
Upload pretok_progress.json with huggingface_hub
Verified signature2942afd -
Upload pretok_progress.json with huggingface_hub
Verified signatureb33839e -
Upload pretok_progress.json with huggingface_hub
Verified signature021d117 -
Upload pretok_progress.json with huggingface_hub
Verified signature36ba9e1 -
Upload pretok_progress.json with huggingface_hub
Verified signature9125819 -
Upload pretok_progress.json with huggingface_hub
Verified signature98f9157 -
Upload pretok_progress.json with huggingface_hub
Verified signature2c6f475 -
Upload pretok_progress.json with huggingface_hub
Verified signature13f601d -
Upload pretok_progress.json with huggingface_hub
Verified signature3d1e309 -
Upload pretok_progress.json with huggingface_hub
Verified signaturee7ca464 -
Upload pretok_progress.json with huggingface_hub
Verified signature3946497 -
Upload pretok_progress.json with huggingface_hub
Verified signature673b86e