Run this model with HF Jobs
Run nmcco/15_flashattn_gemma 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/nmcco/15_flashattn_gemma. 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/nmcco/15_flashattn_gemma 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 nmcco/15_flashattn_gemma with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nmcco/15_flashattn_gemma with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nmcco/15_flashattn_gemma", device_map="auto") - Notebooks
- Google Colab
- Kaggle
nmcco/15_flashattn_gemma
Browse files12345671 unmodified line91011121314154 unmodified lines2021222324252627282930313233---base_model: nmcco/gemma-2-2b-with-fim-tokenslibrary_name: transformersmodel_name: 14_gemma_deepspeed_250words_lr-2e-4_100k_5epochtags:- generated_from_trainer- trl1 unmodified linelicence: license---# Model Card for 14_gemma_deepspeed_250words_lr-2e-4_100k_5epochThis model is a fine-tuned version of [nmcco/gemma-2-2b-with-fim-tokens](https://huggingface.co/nmcco/gemma-2-2b-with-fim-tokens).It has been trained using [TRL](https://github.com/huggingface/trl).4 unmodified linesfrom transformers import pipelinequestion = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"generator = pipeline("text-generation", model="nmcco/14_gemma_deepspeed_250words_lr-2e-4_100k_5epoch", device="cuda")output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]print(output["generated_text"])```## Training procedure[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/hwerzog-huh/huggingface/runs/trcpoz1j)This model was trained with SFT.12345671 unmodified line91011121314154 unmodified lines2021222324252627282930313233---base_model: nmcco/gemma-2-2b-with-fim-tokenslibrary_name: transformersmodel_name: 15_flashattn_gemmatags:- generated_from_trainer- trl1 unmodified linelicence: license---# Model Card for 15_flashattn_gemmaThis model is a fine-tuned version of [nmcco/gemma-2-2b-with-fim-tokens](https://huggingface.co/nmcco/gemma-2-2b-with-fim-tokens).It has been trained using [TRL](https://github.com/huggingface/trl).4 unmodified linesfrom transformers import pipelinequestion = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"generator = pipeline("text-generation", model="nmcco/15_flashattn_gemma", device="cuda")output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]print(output["generated_text"])```## Training procedure[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/hwerzog-huh/huggingface/runs/j92t2ivw)This model was trained with SFT.
README.md+4-4