Run this model with HF Jobs
Run deepcode-ai/Prompt-Injection-LLM01 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/deepcode-ai/Prompt-Injection-LLM01. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/deepcode-ai/Prompt-Injection-LLM01 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use deepcode-ai/Prompt-Injection-LLM01 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use deepcode-ai/Prompt-Injection-LLM01 with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("deepcode-ai/Prompt-Injection-LLM01", set_active=True) - Notebooks
- Google Colab
- Kaggle
Create Makefile
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677################################################################################## GLOBALS ##################################################################################
PROJECT_NAME = prompt-injectionPYTHON_VERSION = 3.10PYTHON_INTERPRETER = python
################################################################################## COMMANDS ##################################################################################
## Install Python Dependencies.PHONY: requirementsrequirements: $(PYTHON_INTERPRETER) -m pip install -U pip $(PYTHON_INTERPRETER) -m pip install -r requirements.txt
## Delete all compiled Python files.PHONY: cleanclean: find . -type f -name "*.py[co]" -delete find . -type d -name "__pycache__" -delete
## Lint using flake8 and black (use `make format` to do formatting).PHONY: lintlint: flake8 prompt_injection isort --check --diff --profile black prompt_injection black --check --config pyproject.toml prompt_injection
## Format source code with black.PHONY: formatformat: black --config pyproject.toml prompt_injection
## Set up python interpreter environment.PHONY: create_environmentcreate_environment: conda create --name $(PROJECT_NAME) python=$(PYTHON_VERSION) -y @echo ">>> conda env created. Activate with:\nconda activate $(PROJECT_NAME)"
################################################################################## PROJECT RULES ##################################################################################
################################################################################## Self Documenting Commands ##################################################################################
.DEFAULT_GOAL := help
define PRINT_HELP_PYSCRIPTimport re, sys; \lines = '\n'.join([line for line in sys.stdin]); \matches = re.findall(r'\n## (.*)\n[\s\S]+?\n([a-zA-Z_-]+):', lines); \print('Available rules:\n'); \print('\n'.join(['{:25}{}'.format(*reversed(match)) for match in matches]))endefexport PRINT_HELP_PYSCRIPT
help: @python -c "${PRINT_HELP_PYSCRIPT}" < $(MAKEFILE_LIST)MakefileAdded+77