File size: 747 Bytes
096ba7b
 
 
 
 
e9ecb6c
096ba7b
e9ecb6c
096ba7b
e9ecb6c
096ba7b
e9ecb6c
096ba7b
e9ecb6c
096ba7b
e9ecb6c
096ba7b
e9ecb6c
096ba7b
e9ecb6c
096ba7b
e9ecb6c
096ba7b
e9ecb6c
 
096ba7b
e9ecb6c
 
096ba7b
e9ecb6c
 
 
096ba7b
e9ecb6c
 
 
096ba7b
e9ecb6c
096ba7b
 
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
---
library_name: transformers
tags:
- trl
- sft
---

# FineTune_Llama_3_01

This is a fine-tuned Llama 3 model for causal language modeling.

## Model Description

This model is fine-tuned on a custom dataset for generating text based on input prompts.

## Usage

### Inference API

You can use the Hugging Face Inference API to perform inference on this model.

**Example:**

```python
import requests

API_URL = "https://api-inference.huggingface.co/models/Ansh007/FineTune_Llama_3_01"
headers = {"Authorization": "Bearer YOUR_HUGGING_FACE_API_TOKEN"}

def query(payload):
    response = requests.post(API_URL, headers=headers, json=payload)
    return response.json()

data = query({
    "inputs": "Your test sentence here",
})

print(data)