Replies: 1 comment
-
You can run llama.cpp in server mode in the background and perform inference on your dataset by calling the API using a Python script. I believe this is the easiest way to accomplish the task. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Feature Description
Please provide a detailed written description of what you were trying to do, and what you expected
llama.cpp
to do as an enhancement.I want to inference llama.cpp (model: 7B-chat) locally with a dataset from huggingface (e.g. wmt16 Link: https://huggingface.co/datasets/wmt16).
How can i accomplish this?
I could not find any special answers on the internet.
Motivation
Please provide a detailed written description of reasons why this feature is necessary and how it is useful to
llama.cpp
users.I needed for a university project, where i have to measure the power consumption of Llama2 on a local machine.
Possible Implementation
I am currently trying to learn langchain to create an inference file.
If you have an idea as to how it can be implemented, please write a detailed description. Feel free to give links to external sources or share visuals that might be helpful to understand the details better.
Beta Was this translation helpful? Give feedback.
All reactions