Instructions to use Molbap/code2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Molbap/code2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Molbap/code2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.model from Molbap/code2: direct link, hf CLI and curl.
- Browser
- Download file 588 kB
-
https://huggingface.co/Molbap/code2/resolve/main/tokenizer.model
- Command line
-
hf download hf://Molbap/code2/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/Molbap/code2/resolve/main/tokenizer.model
588 kB
- Xet hash:
- 9a1a9500cabaf0613e042d8fc6ec4bcce96c5a5dc1f788f5b7d19c3c94251e54
- Size of remote file:
- 588 kB
- SHA256:
- 59f95e28944c062244741268596badc900df86c7f5ded05088d2da22a7379e06
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.