Skip to content

Commit 2612b1e

Browse files
committed
Remove random garbage.
1 parent 028d98a commit 2612b1e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/tasks/src/model-libraries-snippets.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -679,13 +679,9 @@ model.score("query", ["doc1", "doc2", "doc3"])`,
679679
export const llama_cpp_python = (model: ModelData): string[] => {
680680
const snippets = [
681681
`# !pip install llama-cpp-python
682-
683-
from llama_cpp import Llama
684682
685-
# Download model from Hugging Face Hub
686-
model_path = "hf://${model.id}"
683+
from llama_cpp import Llama
687684
688-
# Load model
689685
llm = Llama.from_pretrained(
690686
repo_id="${model.id}",
691687
filename="{{GGUF_FILE}}",

0 commit comments

Comments
 (0)