Text Generation
Transformers
Safetensors
English
notoken_gen55
notokenlm
byte-level
tokenizer-free
hybrid
hierarchical
code
code-generation
custom_code
Instructions to use VeroLM/NoTokenLM-CodeGen-5.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VeroLM/NoTokenLM-CodeGen-5.5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="VeroLM/NoTokenLM-CodeGen-5.5", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("VeroLM/NoTokenLM-CodeGen-5.5", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use VeroLM/NoTokenLM-CodeGen-5.5 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VeroLM/NoTokenLM-CodeGen-5.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-CodeGen-5.5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/VeroLM/NoTokenLM-CodeGen-5.5
- SGLang
How to use VeroLM/NoTokenLM-CodeGen-5.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-CodeGen-5.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-CodeGen-5.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-CodeGen-5.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-CodeGen-5.5", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use VeroLM/NoTokenLM-CodeGen-5.5 with Docker Model Runner:
docker model run hf.co/VeroLM/NoTokenLM-CodeGen-5.5
Update README.md
Browse files28 unmodified lines29303132333428 unmodified lines# CodeGen-5.5**CodeGen-5.5** is a **tokenizer-free, byte-level language model for code**. It is [NoTokenLM-Gen-5.5](https://huggingface.co/VeroLM/NoTokenLM-Gen-5.5) further trained on source-code files and code instruction data. There is no vocabulary and no BPE: UTF-8 bytes go in, UTF-8 bytes come out. Instead of spending a full forward pass on every byte, the model groups bytes into variable-length *patches* (about 5 bytes on code) and runs its large trunk once per patch.It can **complete code** and it can **follow a simple plain-text instruction template** (`### Instruction:` / `### Response:`). It is a small research model (≈ 169 M parameters): its code often has the right shape but is frequently wrong, so treat every output as untrusted.28 unmodified lines293031323334353628 unmodified lines# CodeGen-5.5NOTE: Due to the nature of some entries, this model does not have a cover image. Please excuse this.**CodeGen-5.5** is a **tokenizer-free, byte-level language model for code**. It is [NoTokenLM-Gen-5.5](https://huggingface.co/VeroLM/NoTokenLM-Gen-5.5) further trained on source-code files and code instruction data. There is no vocabulary and no BPE: UTF-8 bytes go in, UTF-8 bytes come out. Instead of spending a full forward pass on every byte, the model groups bytes into variable-length *patches* (about 5 bytes on code) and runs its large trunk once per patch.It can **complete code** and it can **follow a simple plain-text instruction template** (`### Instruction:` / `### Response:`). It is a small research model (≈ 169 M parameters): its code often has the right shape but is frequently wrong, so treat every output as untrusted.
README.md+2