JDVariadic commited on
Commit
96988dd
·
1 Parent(s): 16fe227

format headings

Browse files
Files changed (1) hide show
  1. README.md +24 -6
README.md CHANGED
@@ -1,14 +1,32 @@
 
1
  Credits to https://www.kaggle.com/datasets/fabiochiusano/medium-articles for the dataset
2
 
3
- Use-Case:
4
  This article generator is to brainstorm introduction and ideas for blogging purposes. Due to hardware limitations, the API can only effectively return up to 300-400 tokens.
5
 
6
  Link to API: https://jdvariadic-gpt2-article-generator.hf.space
7
  POST endpoint: generate-article
8
 
9
- Query Parameters:
10
- title(str): Generates a short article given the title
11
- max_length(int, optional): Specifies the max number of tokens generated by GPT-2
12
- top_k(int, optional): Specifices the parameter top_k for the sampling method usedd.
13
 
14
- Setup Guide:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Note:
2
  Credits to https://www.kaggle.com/datasets/fabiochiusano/medium-articles for the dataset
3
 
4
+ # Use-Case:
5
  This article generator is to brainstorm introduction and ideas for blogging purposes. Due to hardware limitations, the API can only effectively return up to 300-400 tokens.
6
 
7
  Link to API: https://jdvariadic-gpt2-article-generator.hf.space
8
  POST endpoint: generate-article
9
 
10
+ # Query Parameters:
 
 
 
11
 
12
+ **title**(str): Generates a short article given the title
13
+
14
+ **max_length**(int, optional): Specifies the max number of tokens generated by GPT-2
15
+
16
+ **top_k**(int, optional): Specifices the parameter top_k for the sampling method used.
17
+
18
+ # Setup Guide:
19
+
20
+ Go to https://huggingface.co/spaces
21
+
22
+ Click on Create New Space.
23
+
24
+ Specify name, license, and click on Blank Docker template
25
+
26
+ Select Space hardware (For this implementation, the CPU basic is used)
27
+
28
+ Build the endpoint by selecting Create Space.
29
+
30
+ # Model Fine-Tuning guide:
31
+
32
+ Feel free to reference preprocessing.ipynb