Spaces:
Running
Running
back to model clone; uberduck's config is old
Browse files
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:
|
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 = "
|
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"
|