Pendrokar commited on
Commit
84c02ea
1 Parent(s): d93b509

back to model clone; uberduck's config is old

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -1
README.md CHANGED
@@ -7,7 +7,7 @@ sdk: gradio
7
  sdk_version: 4.8.0
8
  python_version: 3.8
9
  model_name: hf-deepmoji
10
- base_model: Uberduck/torchmoji
11
  app_file: app.py
12
  pinned: false
13
  license: gpl-3.0
 
7
  sdk_version: 4.8.0
8
  python_version: 3.8
9
  model_name: hf-deepmoji
10
+ base_model: Pendrokar/TorchMoji
11
  app_file: app.py
12
  pinned: false
13
  license: gpl-3.0
app.py CHANGED
@@ -11,7 +11,7 @@ import numpy as np
11
  from torchmoji.sentence_tokenizer import SentenceTokenizer
12
  from torchmoji.model_def import torchmoji_emojis
13
  from transformers import AutoModel
14
- model_name = "Uberduck/torchmoji"
15
  model = AutoModel.from_pretrained(model_name)
16
  model_path = model
17
  vocab_path = './' + model_name + "/vocabulary.json"
 
11
  from torchmoji.sentence_tokenizer import SentenceTokenizer
12
  from torchmoji.model_def import torchmoji_emojis
13
  from transformers import AutoModel
14
+ model_name = "Pendrokar/TorchMoji"
15
  model = AutoModel.from_pretrained(model_name)
16
  model_path = model
17
  vocab_path = './' + model_name + "/vocabulary.json"