Spaces:
Running
Running
Upload 12 files
Browse files- Pipfile.lock +0 -0
- README.md +1 -12
- __pycache__/BART_utils.cpython-38.pyc +0 -0
- __pycache__/load_data.cpython-38.pyc +0 -0
- mbti_map.json +9 -49
- requirements.txt +5 -5
Pipfile.lock
ADDED
The diff for this file is too large to render.
See raw diff
|
|
README.md
CHANGED
@@ -1,14 +1,3 @@
|
|
1 |
-
---
|
2 |
-
title: Text to MBTI
|
3 |
-
emoji: π€
|
4 |
-
colorFrom: yellow
|
5 |
-
colorTo: orange
|
6 |
-
sdk: streamlit
|
7 |
-
app_file: app.py
|
8 |
-
pinned: false
|
9 |
-
license: apache-2.0
|
10 |
-
---
|
11 |
-
|
12 |
# Text to MBTI (Zero Shot - model)
|
13 |
π MBTI Translator (Infer you personality type based on your sentence)
|
14 |
|
@@ -61,4 +50,4 @@ pip install -r requirements.txt
|
|
61 |
```
|
62 |
```
|
63 |
streamlit run app.py
|
64 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Text to MBTI (Zero Shot - model)
|
2 |
π MBTI Translator (Infer you personality type based on your sentence)
|
3 |
|
|
|
50 |
```
|
51 |
```
|
52 |
streamlit run app.py
|
53 |
+
```
|
__pycache__/BART_utils.cpython-38.pyc
ADDED
Binary file (3.12 kB). View file
|
|
__pycache__/load_data.cpython-38.pyc
ADDED
Binary file (263 Bytes). View file
|
|
mbti_map.json
CHANGED
@@ -1,58 +1,18 @@
|
|
1 |
{
|
2 |
"E_I": {
|
3 |
-
"E": [
|
4 |
-
|
5 |
-
"expression",
|
6 |
-
"outside",
|
7 |
-
"together"
|
8 |
-
],
|
9 |
-
"I": [
|
10 |
-
"introvert",
|
11 |
-
"indirect",
|
12 |
-
"Concerns",
|
13 |
-
"alone"
|
14 |
-
]
|
15 |
},
|
16 |
"N_S": {
|
17 |
-
"N": [
|
18 |
-
|
19 |
-
"ideal",
|
20 |
-
"theoretical",
|
21 |
-
"prediction"
|
22 |
-
],
|
23 |
-
"S": [
|
24 |
-
"sensing",
|
25 |
-
"realistic",
|
26 |
-
"useful",
|
27 |
-
"implimentation"
|
28 |
-
]
|
29 |
},
|
30 |
"T_F": {
|
31 |
-
"T": [
|
32 |
-
|
33 |
-
"logical",
|
34 |
-
"factful",
|
35 |
-
"objective"
|
36 |
-
],
|
37 |
-
"F": [
|
38 |
-
"feeling",
|
39 |
-
"relationship",
|
40 |
-
"value",
|
41 |
-
"sympathy"
|
42 |
-
]
|
43 |
},
|
44 |
"P_J": {
|
45 |
-
"P": [
|
46 |
-
|
47 |
-
"elasticity",
|
48 |
-
"autonomy",
|
49 |
-
"indiscriminate"
|
50 |
-
],
|
51 |
-
"J": [
|
52 |
-
"judging",
|
53 |
-
"planning",
|
54 |
-
"objective",
|
55 |
-
"systematic"
|
56 |
-
]
|
57 |
}
|
58 |
-
}
|
|
|
1 |
{
|
2 |
"E_I": {
|
3 |
+
"E": ["extrovert", "expression", "outside", "together"],
|
4 |
+
"I": ["introvert", "indirect", "Concerns", "alone"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
},
|
6 |
"N_S": {
|
7 |
+
"N": ["intuition", "ideal", "theoretical", "prediction"],
|
8 |
+
"S": ["sensing", "realistic", "useful", "implimentation"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
},
|
10 |
"T_F": {
|
11 |
+
"T": ["thinking", "logical", "factful", "objective"],
|
12 |
+
"F": ["feeling", "relationship", "value", "sympathy"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
},
|
14 |
"P_J": {
|
15 |
+
"P": ["perceiving", "elasticity", "autonomy", "indiscriminate"],
|
16 |
+
"J": ["judging", "planning", "objective", "systematic"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
18 |
+
}
|
requirements.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
matplotlib
|
2 |
-
matplotlib-inline
|
3 |
-
numpy
|
4 |
-
streamlit
|
5 |
-
torch
|
6 |
watchdog
|
7 |
transformers
|
|
|
1 |
+
matplotlib
|
2 |
+
matplotlib-inline
|
3 |
+
numpy==1.23.4
|
4 |
+
streamlit
|
5 |
+
torch
|
6 |
watchdog
|
7 |
transformers
|