File size: 1,195 Bytes
05d5aef |
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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# .space/config.yaml
title: Lyon28 Multi-Model API
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 7860
pinned: false
license: apache-2.0
header: default
short_description: API access to multiple Lyon28 models
tags:
- nlp
- api
- text-generation
- transformers
- pytorch
models:
- Lyon28/Tinny-Llama
- Lyon28/Pythia
- Lyon28/Bert-Tinny
- Lyon28/Albert-Base-V2
- Lyon28/T5-Small
- Lyon28/GPT-2
- Lyon28/GPT-Neo
- Lyon28/Distilbert-Base-Uncased
- Lyon28/Distil_GPT-2
- Lyon28/GPT-2-Tinny
- Lyon28/Electra-Small
---
# .github/workflows/hf-space.yml (Optional CI/CD)
name: Deploy to HF Spaces
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Push to HF Spaces
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git clone https://huggingface.co/spaces/your-username/your-space-name hf-space
cp -r * hf-space/
cd hf-space
git add .
git commit -m "Update from GitHub"
git push |