rohith083 commited on
Commit
d524363
·
verified ·
1 Parent(s): 683e575

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -4
README.md CHANGED
@@ -1,10 +1,22 @@
1
  ---
2
  title: Scholarform Scibert Primary
3
- emoji: 🐨
4
- colorFrom: pink
5
- colorTo: indigo
6
  sdk: docker
 
7
  pinned: false
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Scholarform Scibert Primary
3
+ emoji: 🧠
4
+ colorFrom: green
5
+ colorTo: blue
6
  sdk: docker
7
+ app_port: 7860
8
  pinned: false
9
  ---
10
 
11
+ # Scholarform SciBERT Service
12
+
13
+ ## Endpoints
14
+ - `GET /` - status + model info
15
+ - `GET /health` - health check
16
+ - `POST /predict` - JSON body: `{"texts": ["...", "..."]}`
17
+
18
+ ## Optional Space Variables
19
+ - `SCIBERT_MODEL` (default: `allenai/scibert_scivocab_uncased`)
20
+ - `SCIBERT_MAX_LENGTH` (default: `512`)
21
+
22
+ Use the same code for both `primary` and `shadow` Spaces.