File size: 1,084 Bytes
57c8224
 
 
 
 
 
 
 
b6a9338
dc124f4
 
 
6a09878
 
 
 
 
 
b6a9338
 
 
 
411c726
 
6a09878
b6a9338
 
6a09878
7447e35
 
 
 
 
 
 
 
 
 
b6a9338
dc124f4
57c8224
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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?",
    })