Instructions to use ananyarn/python_code_from_algo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ananyarn/python_code_from_algo with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TheBloke/Mistral-7B-Instruct-v0.1-GPTQ") model = PeftModel.from_pretrained(base_model, "ananyarn/python_code_from_algo") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from ananyarn/python_code_from_algo: direct link, hf CLI and curl.
- Browser
- Download file 1.8 MB
-
https://huggingface.co/ananyarn/python_code_from_algo/resolve/6d0c3e6d4bcf52fb7601c0647160eb43b3d6fb38/tokenizer.json
- Command line
-
hf download hf://ananyarn/python_code_from_algo@6d0c3e6d4bcf52fb7601c0647160eb43b3d6fb38/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ananyarn/python_code_from_algo/resolve/6d0c3e6d4bcf52fb7601c0647160eb43b3d6fb38/tokenizer.json
1.8 MB
File too large to display, you can check the raw version instead.