File size: 747 Bytes
91fe01a
e696975
91fe01a
 
 
 
 
 
 
 
e696975
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: "POC: Dataset To Endpoint"
emoji: 🐠
colorFrom: pink
colorTo: indigo
sdk: docker
pinned: false
license: mit
---

This Space acts as proof-of-concept integration of the following components of
the Hugging Face ecosystem:

- Docker Spaces;
- Secret management thereof;
- Dedicated inference endpoints (protected);
- Datasets.

The flow will be as follows.

The Space will act as a pseudo-inference-endpoint. Rather than taking in
features or lookup indexes, however, it will take a reference to **another
Dataset hosted on Hugging Face**. From this dataset, we'll pull in the prompts
to feed to a gated model, hosted on a protected dedicated inference
endpoint. For said endpoint, we'll store the access token in the Space as a
secret.