Spaces:
Sleeping
Sleeping
FoodDesert
commited on
Upload app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ Using the same 4 million post dataset, we calculate the conditional probability
|
|
84 |
This is done by creating a co-occurrence matrix from our dataset, which records how frequently each pair of tags appears together across all documents.
|
85 |
By considering the context in which tags are used, we can now not only correct misspellings and rephrasings but also make more contextually relevant suggestions.
|
86 |
The "similarity weight" slider controls how much weight these conditional probabilities are given vs how much weight the FastText similarity model is given when suggesting replacements for invalid tags.
|
87 |
-
A similarity weight slider value of 0 means that only the FastText model's predictions will be used to calculate similarity scores, and a value of 1 means only the
|
88 |
"""
|
89 |
|
90 |
|
|
|
84 |
This is done by creating a co-occurrence matrix from our dataset, which records how frequently each pair of tags appears together across all documents.
|
85 |
By considering the context in which tags are used, we can now not only correct misspellings and rephrasings but also make more contextually relevant suggestions.
|
86 |
The "similarity weight" slider controls how much weight these conditional probabilities are given vs how much weight the FastText similarity model is given when suggesting replacements for invalid tags.
|
87 |
+
A similarity weight slider value of 0 means that only the FastText model's predictions will be used to calculate similarity scores, and a value of 1 means only the conditional probabilities are used (although the FastText model is still used to trim the list of candidates).
|
88 |
"""
|
89 |
|
90 |
|