anugrahap commited on
Commit
8b7797a
·
1 Parent(s): e2adfa5

Resolve all the old dataset link with the new link

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline, AutoTokenizer, AutoModelForCausalLM
5
  # initialize the environment
6
  model_name = 'anugrahap/gpt2-indo-textgen'
7
  HF_TOKEN = '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'
8
- hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "gpt2-indo-textgen")
9
 
10
  # define the tokenization method
11
  tokenizer = AutoTokenizer.from_pretrained(model_name,
@@ -116,7 +116,7 @@ description = "<p><i>This project is a part of thesis requirement of Anugrah Akb
116
  article = """<p style='text-align: center'>
117
  <a href='https://huggingface.co/anugrahap/gpt2-indo-textgen' target='_blank'>Link to the Trained Model<b>&nbsp;|</b></a>
118
  <a href='https://huggingface.co/spaces/anugrahap/gpt2-indo-text-gen/tree/main' target='_blank'>Link to the Project Repository<b>&nbsp;|</b></a>
119
- <a href='https://huggingface.co/datasets/anugrahap/gpt2-indo-textgen/' target='_blank'>Link to the Autosaved Generated Output<b>&nbsp;|</b></a>
120
  <a href='https://d4mucfpksywv.cloudfront.net/better-language-models/language_models_are_unsupervised_multitask_learners.pdf' target='_blank'>Original Paper</a><br></p>
121
  <p style='text-align: center'> Trained on Indo4B Benchmark Dataset of Indonesian language Wikipedia with a Causal Language Modeling (CLM) objective<br></p>
122
  <p style='text-align: center'>Copyright Anugrah Akbar Praramadhan 2023</p>
 
5
  # initialize the environment
6
  model_name = 'anugrahap/gpt2-indo-textgen'
7
  HF_TOKEN = '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'
8
+ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "gpt2-output")
9
 
10
  # define the tokenization method
11
  tokenizer = AutoTokenizer.from_pretrained(model_name,
 
116
  article = """<p style='text-align: center'>
117
  <a href='https://huggingface.co/anugrahap/gpt2-indo-textgen' target='_blank'>Link to the Trained Model<b>&nbsp;|</b></a>
118
  <a href='https://huggingface.co/spaces/anugrahap/gpt2-indo-text-gen/tree/main' target='_blank'>Link to the Project Repository<b>&nbsp;|</b></a>
119
+ <a href='https://huggingface.co/datasets/anugrahap/gpt2-output/' target='_blank'>Link to the Autosaved Generated Output<b>&nbsp;|</b></a>
120
  <a href='https://d4mucfpksywv.cloudfront.net/better-language-models/language_models_are_unsupervised_multitask_learners.pdf' target='_blank'>Original Paper</a><br></p>
121
  <p style='text-align: center'> Trained on Indo4B Benchmark Dataset of Indonesian language Wikipedia with a Causal Language Modeling (CLM) objective<br></p>
122
  <p style='text-align: center'>Copyright Anugrah Akbar Praramadhan 2023</p>