Run this model with HF Jobs

Run TheBloke/Llama-2-7B-GGML 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 and TRL to fine-tune https://huggingface.co/TheBloke/Llama-2-7B-GGML. 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/TheBloke/Llama-2-7B-GGML 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/TheBloke/Llama-2-7B-GGML. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/TheBloke/Llama-2-7B-GGML. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Enhance response time

#8
by Janmejay123 - opened

I used the llama-2-7b-chat.ggmlv3.q8_0.bin model and tried to get response from the prompt i provided and it is taking around 2-3mins to return the response locally. How to reduce the response time?

@Situn007
Well first I think update your llama.cpp or whatever thing you are using. Ggml is a very outdated format and you should use gguf models.

If you are using a gpu, install llama cpp with cublas and set gpu layers to -1

Else install llama cpp with openblas

@YaTharThShaRma999
The way i am using ggml can i use gguf the same way?

@Janmejay123 yeah it’s the same exact thing except gguf has a bunch of metadata attached like prompt format, rope, and more so it’s easier to run(it’s still 1 file).

And since you update llama.cpp, it should be much faster as new things have been introduced

Sign up or log in to comment