|
--- |
|
license: mit |
|
language: |
|
- en |
|
- fr |
|
- ru |
|
pipeline_tag: text-generation |
|
tags: [skygpt-2, skygpt, gpt2, openskyml] |
|
--- |
|
|
|
# Model Card for SkyGPT-2 |
|
|
|
**SkyGPT-2** is a fine-tuned **GPT-2**, get to know it! |
|
|
|
## Model Details |
|
|
|
### Model Description |
|
|
|
- **Developed by:** [OpenSkyML](https://hf.co/openskyml) |
|
- **Model type:** [Text Generation](https://huggingface.co/models?pipeline_tag=text-generation) |
|
- **Languages:** [English](https://huggingface.co/models?language=en), [French](https://huggingface.co/models?language=fr), [Russian](https://huggingface.co/models?language=ru) and others |
|
- **License:** [MIT](https://huggingface.co/models?license=license%3Amit) |
|
- **Finetuned from model:** [GPT2](https://hf.co/gpt2) |
|
|
|
### Model Sources [optional] |
|
|
|
<!-- Provide the basic links for the model. --> |
|
|
|
- **Repository:** [on HF.co](https://huggingface.co/openskyml/skygpt2/tree/main) |
|
|
|
|
|
## How to Get Started with the Model |
|
|
|
Free Inference API: |
|
```py |
|
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 ", |
|
}) |
|
``` |
|
|
|
|
|
## Model Card Author |
|
|
|
- [Evgeniy Hristoforu](https://hf.co/ehristoforu) |
|
|
|
|
|
<h3><center>©️ OpenSkyML</center></h3> |