Text Classification
Transformers
PyTorch
Safetensors
English
gemma2
text-generation
text-generation-inference
unsloth
trl
Run this model with HF Jobs
Run EpistemeAI/EpistemeAI-codegemma-2-9b 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/EpistemeAI/EpistemeAI-codegemma-2-9b. 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/EpistemeAI/EpistemeAI-codegemma-2-9b 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 EpistemeAI/EpistemeAI-codegemma-2-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EpistemeAI/EpistemeAI-codegemma-2-9b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="EpistemeAI/EpistemeAI-codegemma-2-9b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EpistemeAI/EpistemeAI-codegemma-2-9b") model = AutoModelForCausalLM.from_pretrained("EpistemeAI/EpistemeAI-codegemma-2-9b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Update README.md
Browse files17 unmodified lines181920212223242526272829303132333435363738394041424344454647484917 unmodified lines# code```Formated text''pythonformatted_text = f"""Below is an instruction that describes a task. \Write a response that appropriately completes the request.### Instruction:{x['instruction']}### Input:{x['input']}### Response:{x['output']}<eos>else:formatted_text = f"""Below is an instruction that describes a task. \Write a response that appropriately completes the request.### Instruction:{x['instruction']}### Response:{x['output']}<eos>"""''```python17 unmodified lines18192021222317 unmodified lines# code```python
README.md-26