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
Upload training_log.txt with huggingface_hub
Browse files14 unmodified lines15161714 unmodified lines[disk] 1036.9 free/8656.9 GB (reported) | train.bin=50.0GB | vanessa_ckpt_rank0of2.pt=6.6GB | vanessa_ckpt_rank1of2.pt=6.6GBstep 3,320 | loss 3.2574 (avg 3.2575, overall 4.1072) | tokens 870.3M/25B (3.481%) | lr 3.00e-04 | bos_seen 418,452 eos_seen 418,452 | 92.6s/step | ram 26.3 free/30.0 GiB | rss 1.8 GiB | vram 13.4/14.6 GiB peak_vram 13.4 GiB | disk 1036.9 free/8656.9 GB (reported) | elapsed 79.9m, 607m leftstep 3,340 | loss 3.2759 (avg 3.2614, overall 4.1021) | tokens 875.6M/25B (3.502%) | lr 3.00e-04 | bos_seen 420,949 eos_seen 420,949 | 92.4s/step | ram 26.3 free/30.0 GiB | rss 1.8 GiB | vram 13.4/14.6 GiB peak_vram 13.4 GiB | disk 1036.9 free/8656.9 GB (reported) | elapsed 110.7m, 576m left14 unmodified lines15161718192014 unmodified lines[disk] 1036.9 free/8656.9 GB (reported) | train.bin=50.0GB | vanessa_ckpt_rank0of2.pt=6.6GB | vanessa_ckpt_rank1of2.pt=6.6GBstep 3,320 | loss 3.2574 (avg 3.2575, overall 4.1072) | tokens 870.3M/25B (3.481%) | lr 3.00e-04 | bos_seen 418,452 eos_seen 418,452 | 92.6s/step | ram 26.3 free/30.0 GiB | rss 1.8 GiB | vram 13.4/14.6 GiB peak_vram 13.4 GiB | disk 1036.9 free/8656.9 GB (reported) | elapsed 79.9m, 607m leftstep 3,340 | loss 3.2759 (avg 3.2614, overall 4.1021) | tokens 875.6M/25B (3.502%) | lr 3.00e-04 | bos_seen 420,949 eos_seen 420,949 | 92.4s/step | ram 26.3 free/30.0 GiB | rss 1.8 GiB | vram 13.4/14.6 GiB peak_vram 13.4 GiB | disk 1036.9 free/8656.9 GB (reported) | elapsed 110.7m, 576m left[checkpoint saved scheduled at step 3,359 | sharded | 6.62 GB/rank | 176s including push | ram 23.7 free/30.0 GiB | rss 4.2 GiB][disk] 1023.6 free/8656.9 GB (reported) | train.bin=50.0GB | vanessa_ckpt_rank0of2.pt=6.6GB | vanessa_ckpt_rank0of2.pt.prev=6.6GB | vanessa_ckpt_rank1of2.pt.prev=6.6GB | vanessa_ckpt_rank1of2.pt=6.6GB | hf_cache=0.1GBstep 3,360 | loss 3.2773 (avg 3.2613, overall 4.0971) | tokens 880.8M/25B (3.523%) | lr 3.00e-04 | bos_seen 423,263 eos_seen 423,263 | 92.5s/step | ram 26.3 free/30.0 GiB | rss 1.6 GiB | vram 13.4/14.6 GiB peak_vram 13.4 GiB | disk 1023.6 free/8656.9 GB (reported) | elapsed 144.5m, 542m left
training_log.txt+3