Downloads · 30 days
0
jashanjotsinghdhiman/llama3.2-1b
llama3.2-1b is a machine learning model from jashanjotsinghdhiman. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
import requests url = "http://localhost:11434/api/generate" data = { "model": "llama3.2:1b", "prompt": "Why is the sky blue?" } response = requests.post(url, json=data) print(response.json())
Downloads · 30 days
0
Access
Public
Updated Mar 15, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 88%
From the Hugging Face model README
import requests url = "http://localhost:11434/api/generate" data = { "model": "llama3.2:1b", "prompt": "Why is the sky blue?" } response = requests.post(url, json=data) print(response.json())