LLMs by OpenSkyML
Collection
1 item
•
Updated
•
1
SkyGPT-2 is a fine-tuned GPT-2, get to know it!
Free Inference API:
import requests
HF_TOKEN = "..." # paste your read HF_TOKEN
API_URL = "https://api-inference.huggingface.co/models/openskyml/skygpt2"
headers = {"Authorization": f"Bearer {HF_TOKEN}"}
def query(payload):
response = requests.post(API_URL, headers=headers, json=payload)
return response.json()
output = query({
"inputs": "Can you please let us know more details about your ",
})