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 lines2930313233343536135 unmodified lines17217317417517617717817918018118218318418518618718818919019119219319419517 unmodified lines21321421521628 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.135 unmodified lines### Benchmarks**Benchmark results: to be added.**| Benchmark | NoTokenLM-Gen-5.5 (base) | CodeGen-5.5 || --------- | :----------------------: | :---------: || HumanEval (pass@1) | – | *to be added* || MBPP (pass@1) | – | *to be added* || HellaSwag | 34.32 | *to be added* || ARC-Easy | 38.68 | *to be added* || PIQA | 60.77 | *to be added* || ArithMark3 | 37.20 | *to be added* || Tiny ToM | 38.15 | *to be added* || BananaMind Base Bench | 54.57 | *to be added* |The base-model column is copied from the [base model card](https://huggingface.co/VeroLM/NoTokenLM-Gen-5.5#evaluation). The general-knowledge rows are listed because specialising on code can cost general ability.## Sample generations*To be added.*## Intended use and limitations17 unmodified lines## LicenseApache-2.0. See the notes on data licenses above.28 unmodified lines293031323334135 unmodified lines17017117217317417517617717817918018118218318418518618718818919017 unmodified lines20820921021128 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.135 unmodified lines### BenchmarksZero-shot accuracy (%) of the EMA weights, with the standard error and the number of correct answers out of all questions. The base-model column is copied from the [base model card](https://huggingface.co/VeroLM/NoTokenLM-Gen-5.5#evaluation). The general-knowledge rows are listed because specialising on code can cost general ability.| Benchmark | NoTokenLM-Gen-5.5 (base) | CodeGen-5.5 | Correct / total || --------- | :----------------------: | :---------: | :-------------: || HumanEval (pass@1) | – | *to be added* | – || MBPP (pass@1) | – | *to be added* | – || HellaSwag | 34.32 | 32.87 ± 0.47 | 3301 / 10042 || ARC-Easy | 38.68 | 35.27 ± 0.98 | 838 / 2376 || PIQA | 60.77 | 57.73 ± 1.15 | 1061 / 1838 || ArithMark3 (v3.0) | 37.20 | 37.90 ± 1.53 | 379 / 1000 || Tiny ToM (Tiny Theory of Mind) | 38.15 | 35.95 ± 1.07 | 719 / 2000 || BananaMind Base Bench (v1.1) | 54.57 | 56.57 ± 2.65 | 198 / 350 |As expected, most general-knowledge scores dropped by one to three points after the code fine-tuning (HellaSwag, ARC-Easy, PIQA, Tiny ToM), while ArithMark3 and BananaMind Base Bench are slightly higher. Several of these differences are within about one to two standard errors (ArithMark3, BananaMind and HellaSwag in particular), so they should not be over-interpreted. The coding benchmarks (HumanEval, MBPP) are still to be added.## Intended use and limitations17 unmodified lines## LicenseApache-2.0. See the notes on data licenses above.
README.md+13-18