pathikg/DogLLAMA-small
Viewer • Updated • 3.18k • 33 • 2
Run pathikg/DogLLaMA_7b 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:
Use HF Jobs to fine-tune https://huggingface.co/pathikg/DogLLaMA_7b. 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.
Use HF Jobs to run batch inference with https://huggingface.co/pathikg/DogLLaMA_7b 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.
How to use pathikg/DogLLaMA_7b with Transformers:
# Use a pipeline as a high-level helper
# Warning: Pipeline type "question-answering" is no longer supported in transformers v5.
# You must load the model directly (see below) or downgrade to v4.x with:
# pip install "transformers<5.0.0"
from transformers import pipeline
pipe = pipeline("question-answering", model="pathikg/DogLLaMA_7b") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("pathikg/DogLLaMA_7b")
model = AutoModelForCausalLM.from_pretrained("pathikg/DogLLaMA_7b", device_map="auto")DogLLaMA is a language model specifically designed to translate user queries into the language of dogs. Built on the LLaMA-7b architecture and DogLLaMA-small dataset generated using gpt3.5, this model provides responses in a playful and enthusiastic manner, mimicking the communication style of our furry friends. Whether you're curious about a dog's perspective on jokes, treats, or the weather, DogLLaMA is here to bark out the answers!