Text Generation
Transformers
Safetensors
English
notoken_gen
character-level
tokenizer-free
from-scratch
transformer
experimental
custom_code
Instructions to use VeroLM/NoTokenLM-Gen-2.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VeroLM/NoTokenLM-Gen-2.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="VeroLM/NoTokenLM-Gen-2.5", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("VeroLM/NoTokenLM-Gen-2.5", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use VeroLM/NoTokenLM-Gen-2.5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VeroLM/NoTokenLM-Gen-2.5" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VeroLM/NoTokenLM-Gen-2.5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/VeroLM/NoTokenLM-Gen-2.5
- SGLang
How to use VeroLM/NoTokenLM-Gen-2.5 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 "VeroLM/NoTokenLM-Gen-2.5" \ --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": "VeroLM/NoTokenLM-Gen-2.5", "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 "VeroLM/NoTokenLM-Gen-2.5" \ --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": "VeroLM/NoTokenLM-Gen-2.5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use VeroLM/NoTokenLM-Gen-2.5 with Docker Model Runner:
docker model run hf.co/VeroLM/NoTokenLM-Gen-2.5
Commit History
Yesterday
-
Upload 2 files
Verified signature2f5932c
-
Update README.md
Verified signature7c0f310
-
Update README.md
Verified signature55622c9
-
Upload README.md with huggingface_hub
Verified signature7b5a4fb -
Upload configuration_notoken.py with huggingface_hub
Verified signature0854f01 -
Upload README.md with huggingface_hub
Verified signature6bae945 -
Upload config.json with huggingface_hub
Verified signature4534be6 -
Upload model.safetensors with huggingface_hub
Verified signature8e7baf4 -
Upload vocab.json with huggingface_hub
Verified signature3b42196 -
Upload modeling_notoken.py with huggingface_hub
Verified signature0f46d83 -
Upload notoken_gen_25.pt with huggingface_hub
Verified signature8f61697 -
Upload README.md with huggingface_hub
Verified signature97b6993 -
Upload Gen-2.5.png with huggingface_hub
Verified signature81199d2 -
initial commit
Verified signatureae99370