Instructions to use augustocsc/gpt2_medium_prefix_682k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use augustocsc/gpt2_medium_prefix_682k with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("gpt2-medium") model = PeftModel.from_pretrained(base_model, "augustocsc/gpt2_medium_prefix_682k") - Notebooks
- Google Colab
- Kaggle
Download scripts/preprocess_data.py from augustocsc/gpt2_medium_prefix_682k: direct link, hf CLI and curl.
- Browser
- Download file 54 Bytes
-
https://huggingface.co/augustocsc/gpt2_medium_prefix_682k/resolve/main/scripts/preprocess_data.py
- Command line
-
hf download hf://augustocsc/gpt2_medium_prefix_682k/scripts/preprocess_data.py
-
curl -L -o preprocess_data.py https://huggingface.co/augustocsc/gpt2_medium_prefix_682k/resolve/main/scripts/preprocess_data.py
54 Bytes
| # Script para pré-processar dados (raw -> processed) | |