Instructions to use faraja/mycontext-codegen2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use faraja/mycontext-codegen2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("faraja/mycontext-codegen2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from faraja/mycontext-codegen2: direct link, hf CLI and curl.
- Browser
- Download file 3.73 MB
-
https://huggingface.co/faraja/mycontext-codegen2/resolve/43c602d18fb3fbf9f02cbbdbf60fcde80404e8ba/tokenizer.json
- Command line
-
hf download hf://faraja/mycontext-codegen2@43c602d18fb3fbf9f02cbbdbf60fcde80404e8ba/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/faraja/mycontext-codegen2/resolve/43c602d18fb3fbf9f02cbbdbf60fcde80404e8ba/tokenizer.json
3.73 MB
File too large to display, you can check the raw version instead.