README / README.md
hamdanuk's picture
Update README.md
7447e35 verified
---
title: README
emoji: 🏢
colorFrom: pink
colorTo: purple
sdk: static
pinned: false
---
[<img src="https://assets-global.website-files.com/63f3e085b054e9e3120238f1/63f3e0ba605c2a218c60f27e_image%201.svg" width="250"/>](image.png)
On this organization, you can find the following:
**Llama3 Chat**
- Llama3 - [Interactive UI](https://huggingface.co/chat/)
Change the current model to Llama3
**Llama2 Interactive UI**
- Llama2 7B Chat - [Interactive UI](https://huggingface.co/spaces/huggingface-projects/llama-2-7b-chat)
- Llama2 13B Chat - [Interactive UI](https://huggingface.co/spaces/huggingface-projects/llama-2-13b-chat)
**Llama3 Inference API**
import requests
API_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B-Instruct"
headers = {"Authorization": "Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
def query(payload):
response = requests.post(API_URL, headers=headers, json=payload)
return response.json()
output = query({
"inputs": "What is the capital of france?",
})