Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,6 +73,8 @@ def evaluate(
|
|
| 73 |
if token in args.token_stop:
|
| 74 |
break
|
| 75 |
all_tokens += [token]
|
|
|
|
|
|
|
| 76 |
if token not in occurrence:
|
| 77 |
occurrence[token] = 1
|
| 78 |
else:
|
|
|
|
| 73 |
if token in args.token_stop:
|
| 74 |
break
|
| 75 |
all_tokens += [token]
|
| 76 |
+
for xxx in occurrence:
|
| 77 |
+
occurrence[xxx] *= 0.996
|
| 78 |
if token not in occurrence:
|
| 79 |
occurrence[token] = 1
|
| 80 |
else:
|