Downloads · 30 days
13
7% of all-time downloads
ar08/TinyLlama-1.1B-Chat-v1.0-GGUF-LAPTOP
TinyLlama-1.1B-Chat-v1.0-GGUF-LAPTOP is a machine learning model from ar08. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
- Finetuned+Capable for laptop ------------ Capable for run in Low-end laptop
Downloads · 30 days
13
7% of all-time downloads
All-time downloads
175
Public
Repo size
433 MB
Likes
0
Public
Click a slice to open those files.
.gguf432 MB · 99%
From the Hugging Face model README
Capable for run in Low-end laptop
Developed by: Tiny-llama
Finetuned from model [optional]: Tiny-llama
from llama_cpp import Llama
llm = Llama(
model_path="path/to/llama",
# n_gpu_layers=-1, # Uncomment to use GPU acceleration
# seed=1337, # Uncomment to set a specific seed
# n_ctx=2048, # Uncomment to increase the context window
)
output = llm(
"Q: Name the planets in the solar system? A: ", # Prompt
max_tokens=32, # Generate up to 32 tokens, set to None to generate up to the end of the context window
stop=["Q:", "\n"], # Stop generating just before the model would generate a new question
echo=True # Echo the prompt back in the output
) # Generate a completion, can also call create_completion
print(output)